This note documents a modification, not an error.
New partner functions that have been defined for Sales & Distribution will in future be available for use as objects in the Sales Information System (SIS).
Six partner functions are supported in the standard Sales Information System (SIS):
Sold-to party
Ship-to party
Bill-to party
Payer
Carrier
Sales employee
Any other partner function must be integrated in the Sales Information System as a separate step.
This note also applies if new partner functions are to be used for standard partners.
..
..
What to do:
- Add a new domain/data element for the new partner function in the ABAP/4 Data Dictionary.
Examples are the data elements KUNAG, KUNWE, KUNRE, KUNRG, SPDNR, and VRTNR in structure MCPARTNER. This is where the partner functions for the Standard Sales Information System are defined.
- Store the new partner field in structure MCPARTUSR (user part of structure MCPARTNER) or, if available extend structure MCPARTUSR by an append structure (ZAMCPARTUS).
- Define the assignment of partner function <--> new partner field in the communication structure.
Program RMCSUZ10, routine USR_PARTNER_GET.
Add the following line as in the example given:
WHEN 'xx'. MOVE UPE_VBPA-yyyyy to UPE_PARTNER-zzzzzz.
where xx = new partner function
yyyyy = PERNR if new partner is an employee
KUNNR ..... a customer
LIFNR ..... a vendor
PARNR ..... a contact person
zzzzz = new partner field from MCPARTUSR
You can find the assignment of standard partners in program RMCSSU06, routine PARTNER_ERM (example only, no changes possible).
Note:
If you want to use a different partner function for the standard partners (e.g. not the partner function AG for the partner "sold-to party", but a new "Y1"), you can override the standard assignments in program RMCSUZ10 as in the following example:
...
WHEN 'Y1'. MOVE UPE_VBPA-KUNNR to UPE_PARTNER-PKUNAG.
...
In this case, you no longer need to carry out the steps for defining new partner fields.
Create a new field catalog with a new partner field (choose from header or item data in the sales document).
- Create a new information structure with the new partner field as an object.
- Key word: Partners
No comments:
Post a Comment