SAP COM_PARTNER_PARTIAL_DETERM_OW Function Module for Partnerfindung anhand vorhandener Partner im Set









COM_PARTNER_PARTIAL_DETERM_OW is a standard com partner partial determ ow SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Partnerfindung anhand vorhandener Partner im Set processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for com partner partial determ ow FM, simply by entering the name COM_PARTNER_PARTIAL_DETERM_OW into the relevant SAP transaction such as SE37 or SE38.

Function Group: COM_PARTNER_OW
Program Name: SAPLCOM_PARTNER_OW
Main Program: SAPLCOM_PARTNER_OW
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function COM_PARTNER_PARTIAL_DETERM_OW pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'COM_PARTNER_PARTIAL_DETERM_OW'"Partnerfindung anhand vorhandener Partner im Set
EXPORTING
IV_PARTNERSET_GUID = "GUID for a Partner Set (Partner Quantity)
* IV_PREDECESSOR_PARTNERSET_GUID = "GUID eines Vorgänger Partnersets
IS_PARTNER_CONTROL = "Control Data for Partner Processing
IV_POINT_OF_DETERMINATION = "Determination Time in Partner Determination
* IS_BP_ACCESS_STRUCTURE = "
* IV_REDETERMINATE = ' ' "Ein bereits ermittelter Partner soll ermeut ermittelt werden
* IV_PARTNER_FCT_ONLY = ' ' "Nur diese Partnerfunktion ermitteln
* IV_DETERMINE_AGAIN = ' ' "Erneute Ermittlung bereits ermittelter Partner

IMPORTING
EV_SELECTION_NEEDED = "Logical Variable
EV_ALL_PARTNERS_IN_PROC = "Alle zu ermittelnden Partners sind in der Partnermenge enthalten
ET_PARTNER_COM = "Transfer Table for Partners to Partner Processing
ET_INPUT_FIELDS = "Table of Partner-Specific Input Fields
ET_ATTRIBUTES_COM = "Transfer Table for Attributes to Partner Processing
ET_SELECTIONS_COM = "Transfer Table for Partners to Partner Processing
ET_SELECTIONS_FIELDS = "Table of Partner-Specific Input Fields
ET_SELECTIONS_ATTRIBUTES = "Transfer Table for Attributes to Partner Processing
EV_SELECTION_GUID = "Memory-Guid, unter der Selektionen gemerkt wurden
EV_NO_DETERMINATION_FOR_PROC = "Für das angegebene Partnerschema ist keine Findung notwendig

EXCEPTIONS
PARAMETER_ERROR = 1 PARTNERSET_NOT_FOUND = 2 PRED_PARTNERSET_NOT_FOU = 3 DEADLOCK_IN_DETERM_PROC = 4 DETERM_PROC_NOT_FOUND = 5 PARTNER_CUSTOMIZING_ERROR = 6 NO_DETERMINATION = 7
.



IMPORTING Parameters details for COM_PARTNER_PARTIAL_DETERM_OW

IV_PARTNERSET_GUID - GUID for a Partner Set (Partner Quantity)

Data type: COMT_PARTNERSET_GUID
Optional: No
Call by Reference: Yes

IV_PREDECESSOR_PARTNERSET_GUID - GUID eines Vorgänger Partnersets

Data type: COMT_PARTNERSET_GUID
Optional: Yes
Call by Reference: Yes

IS_PARTNER_CONTROL - Control Data for Partner Processing

Data type: COMT_PARTNER_CONTROL
Optional: No
Call by Reference: Yes

IV_POINT_OF_DETERMINATION - Determination Time in Partner Determination

Data type: COMT_PARTNER_POINT_OF_DETERM
Optional: No
Call by Reference: Yes

IS_BP_ACCESS_STRUCTURE -

Data type: ANY
Optional: Yes
Call by Reference: Yes

IV_REDETERMINATE - Ein bereits ermittelter Partner soll ermeut ermittelt werden

Data type: XFLAG
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_PARTNER_FCT_ONLY - Nur diese Partnerfunktion ermitteln

Data type: COMT_PARTNER_FCT
Default: SPACE
Optional: Yes
Call by Reference: Yes

IV_DETERMINE_AGAIN - Erneute Ermittlung bereits ermittelter Partner

Data type: XFLAG
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for COM_PARTNER_PARTIAL_DETERM_OW

EV_SELECTION_NEEDED - Logical Variable

Data type: SX_BOOLEAN
Optional: No
Call by Reference: Yes

EV_ALL_PARTNERS_IN_PROC - Alle zu ermittelnden Partners sind in der Partnermenge enthalten

Data type: SX_BOOLEAN
Optional: No
Call by Reference: Yes

ET_PARTNER_COM - Transfer Table for Partners to Partner Processing

Data type: COMT_PARTNER_COMT
Optional: No
Call by Reference: Yes

ET_INPUT_FIELDS - Table of Partner-Specific Input Fields

Data type: COMT_PARTNER_INPUT_FIELD_TAB
Optional: No
Call by Reference: Yes

ET_ATTRIBUTES_COM - Transfer Table for Attributes to Partner Processing

Data type: COMT_PARTNER_ATTRIBUTE_COM_TAB
Optional: No
Call by Reference: Yes

ET_SELECTIONS_COM - Transfer Table for Partners to Partner Processing

Data type: COMT_PARTNER_COMT
Optional: No
Call by Reference: Yes

ET_SELECTIONS_FIELDS - Table of Partner-Specific Input Fields

Data type: COMT_PARTNER_INPUT_FIELD_TAB
Optional: No
Call by Reference: Yes

ET_SELECTIONS_ATTRIBUTES - Transfer Table for Attributes to Partner Processing

Data type: COMT_PARTNER_ATTRIBUTE_COM_TAB
Optional: No
Call by Reference: Yes

EV_SELECTION_GUID - Memory-Guid, unter der Selektionen gemerkt wurden

Data type: GUID_16
Optional: No
Call by Reference: Yes

EV_NO_DETERMINATION_FOR_PROC - Für das angegebene Partnerschema ist keine Findung notwendig

Data type: SX_BOOLEAN
Optional: No
Call by Reference: Yes

EXCEPTIONS details

PARAMETER_ERROR - Incorrect parameter

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PARTNERSET_NOT_FOUND - Das angegebene Partnerset wurde nicht gefunden

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PRED_PARTNERSET_NOT_FOU - Das angegebene Vorgänger-Partnerset wurde nicht gefunden

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DEADLOCK_IN_DETERM_PROC - Das angegebene Partnerschema enthält ein Deadlock

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

DETERM_PROC_NOT_FOUND - Das angegebene Partnerschema existiert nicht

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PARTNER_CUSTOMIZING_ERROR - Das angegebene Partnerschema enthält Customizingfehler

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_DETERMINATION - Es fand keine Partnerfindung statt

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for COM_PARTNER_PARTIAL_DETERM_OW Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_parameter_error  TYPE STRING, "   
lv_iv_partnerset_guid  TYPE COMT_PARTNERSET_GUID, "   
lv_ev_selection_needed  TYPE SX_BOOLEAN, "   
lv_ev_all_partners_in_proc  TYPE SX_BOOLEAN, "   
lv_et_partner_com  TYPE COMT_PARTNER_COMT, "   
lv_partnerset_not_found  TYPE COMT_PARTNER_COMT, "   
lv_iv_predecessor_partnerset_guid  TYPE COMT_PARTNERSET_GUID, "   
lv_et_input_fields  TYPE COMT_PARTNER_INPUT_FIELD_TAB, "   
lv_is_partner_control  TYPE COMT_PARTNER_CONTROL, "   
lv_pred_partnerset_not_fou  TYPE COMT_PARTNER_CONTROL, "   
lv_et_attributes_com  TYPE COMT_PARTNER_ATTRIBUTE_COM_TAB, "   
lv_deadlock_in_determ_proc  TYPE COMT_PARTNER_ATTRIBUTE_COM_TAB, "   
lv_iv_point_of_determination  TYPE COMT_PARTNER_POINT_OF_DETERM, "   
lv_et_selections_com  TYPE COMT_PARTNER_COMT, "   
lv_determ_proc_not_found  TYPE COMT_PARTNER_COMT, "   
lv_is_bp_access_structure  TYPE ANY, "   
lv_iv_redeterminate  TYPE XFLAG, "   SPACE
lv_et_selections_fields  TYPE COMT_PARTNER_INPUT_FIELD_TAB, "   
lv_partner_customizing_error  TYPE COMT_PARTNER_INPUT_FIELD_TAB, "   
lv_no_determination  TYPE COMT_PARTNER_INPUT_FIELD_TAB, "   
lv_iv_partner_fct_only  TYPE COMT_PARTNER_FCT, "   SPACE
lv_et_selections_attributes  TYPE COMT_PARTNER_ATTRIBUTE_COM_TAB, "   
lv_ev_selection_guid  TYPE GUID_16, "   
lv_iv_determine_again  TYPE XFLAG, "   SPACE
lv_ev_no_determination_for_proc  TYPE SX_BOOLEAN. "   

  CALL FUNCTION 'COM_PARTNER_PARTIAL_DETERM_OW'  "Partnerfindung anhand vorhandener Partner im Set
    EXPORTING
         IV_PARTNERSET_GUID = lv_iv_partnerset_guid
         IV_PREDECESSOR_PARTNERSET_GUID = lv_iv_predecessor_partnerset_guid
         IS_PARTNER_CONTROL = lv_is_partner_control
         IV_POINT_OF_DETERMINATION = lv_iv_point_of_determination
         IS_BP_ACCESS_STRUCTURE = lv_is_bp_access_structure
         IV_REDETERMINATE = lv_iv_redeterminate
         IV_PARTNER_FCT_ONLY = lv_iv_partner_fct_only
         IV_DETERMINE_AGAIN = lv_iv_determine_again
    IMPORTING
         EV_SELECTION_NEEDED = lv_ev_selection_needed
         EV_ALL_PARTNERS_IN_PROC = lv_ev_all_partners_in_proc
         ET_PARTNER_COM = lv_et_partner_com
         ET_INPUT_FIELDS = lv_et_input_fields
         ET_ATTRIBUTES_COM = lv_et_attributes_com
         ET_SELECTIONS_COM = lv_et_selections_com
         ET_SELECTIONS_FIELDS = lv_et_selections_fields
         ET_SELECTIONS_ATTRIBUTES = lv_et_selections_attributes
         EV_SELECTION_GUID = lv_ev_selection_guid
         EV_NO_DETERMINATION_FOR_PROC = lv_ev_no_determination_for_proc
    EXCEPTIONS
        PARAMETER_ERROR = 1
        PARTNERSET_NOT_FOUND = 2
        PRED_PARTNERSET_NOT_FOU = 3
        DEADLOCK_IN_DETERM_PROC = 4
        DETERM_PROC_NOT_FOUND = 5
        PARTNER_CUSTOMIZING_ERROR = 6
        NO_DETERMINATION = 7
. " COM_PARTNER_PARTIAL_DETERM_OW




ABAP code using 7.40 inline data declarations to call FM COM_PARTNER_PARTIAL_DETERM_OW

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_iv_redeterminate) = ' '.
 
 
 
 
DATA(ld_iv_partner_fct_only) = ' '.
 
 
 
DATA(ld_iv_determine_again) = ' '.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!