SAP Function SD_PARTNER_SELECTION - SD_PARTNER_SELECTION; choose partners via a standard popup

Parameter Reference Type Length Default Optional Text
FREEATTRIB_SHOW C C 0 X
FREEATTRIB_TEXT_HEAD DD03P-REPTEXT C 55 X
FREEATTRIB_TEXT_L DD03P-SCRTEXT_L C 40 X
FREEATTRIB_TEXT_M DD03P-SCRTEXT_M C 20 X
FREEATTRIB_TEXT_S DD03P-SCRTEXT_S C 10 X
NO_POPUP_IF_COMPLETE C C 0 X Flag whether popup must be displayed
POPUP_START_COLUMN 0 5 X Starting column for popup
POPUP_START_LINE 0 5 X Starting line for popup

Parameter Reference Length Optional Text
PRTNR_EINDEUTIG_PFLICHT TPAER 20 X Unique functions/ mandatory functions
SELKZ_KUPAV LV09A_TY_PRTNR_ITAB 0 X List for choice of partners (obsolete!)

Exception Text
EING_NICHT_KONSISTENT The entry contains logical errors
PROGRAMMINTERNERFEHLER Should not occur
USER_HAT_ABGEBROCHEN No every mandatory function was occupied

Description
If NO_POPUP_IF_COMPLETE is set to 'X', then the function module carriesout a test at the start, whether all mandatory partner functions arealready chosen (selkz = 'X') in the transferred partner lists (either'SELKZ_KUPAV' or 'PARTNER LIST'). If this is the case, no popupappears, and the control is immediately returned to the callingprogram.

Value range
SPACE or 'X'.

Default
NO_POPUP_IF_COMPLETE is blank.

Description

PRTNR_EINDEUTIG
List of all the partners whose function is unique in the customerpricing procedure, or who are mandatory partners.
The table has the format:
Partner function:,,Indicator unique:,,,,Indicator mandatorypartner:
PARVW,,PAREI,,,,PAPFL
If a partner function which appears in the transfer table is nottransferred, multiple selection is then allowed for this function,without choosing a partner for this partner function.
In the opposite case: partner functions in PRTNR_EINDEUTIG which do not
correspond to SELKZ_KUPAV are ignored.

Description
'SELKZ_KUPAV' can contain a list of possible partners. 'SELKZ_KUPAV' isoutdated as a transfer structure, and should no longer be used. Thestructure for 'SELKZ_KUPAV' is defined in the type pool 'lv09a'. Ifthis table is not transferred (or contains no lines), then the programpresumes that the partners are transferred in the new structure'PARTNERLISTE'.
Remarks:
As opposed to transferring using the 'PARTNERLISTE' table, which isdisplayed unchanged, the 'SELKZ_KUPAV' table is pressed into thestructure for the 'PARTNERLISTE' table. A prerequsite is defined thatonly one of the attributes 'KUNN2', 'LIFNR', 'PERNR' or 'PARNR' isdefined. This is then moved into the 'PARTNER' attribute for 'PARTNER'PARTNERLISTE'. If several of the attributes referred to are defined,the function module terminates processing, and generates the message'EING_NICHT_KONSISTENT'.
The address data for the 'SELKZ_KUPAV' table is not transferred, but isread by the function module.