SAP BAPI_OBJCL_PROXY_CREATE Function Module for Proxy BAPI for Sales Order Upload in SFA Context: Create
BAPI_OBJCL_PROXY_CREATE is a standard bapi objcl proxy create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Proxy BAPI for Sales Order Upload in SFA Context: Create 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 bapi objcl proxy create FM, simply by entering the name BAPI_OBJCL_PROXY_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CRM8
Program Name: SAPLCRM8
Main Program: SAPLCRM8
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_OBJCL_PROXY_CREATE 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 'BAPI_OBJCL_PROXY_CREATE'"Proxy BAPI for Sales Order Upload in SFA Context: Create.
EXPORTING
I_UPLOAD_ID = "Upload Flag
* I_BEHAVE_WHEN_ERROR = 'R' "Error Handling
* I_LOGIC_SWITCH = "Internal control parameter
* I_TESTRUN = "Test Run
I_DESTIN = "RFC Destination of SFA Server
* I_SFA_REL = "R/3 Release of SFA Server
* I_USREXITOFF = "Flag for User Exits
* I_KEYWORD_IN = "
I_BAPICLALOC = "Order Header
* I_SENDER = "Logical System - Sender
* I_BINARY_RELATIONSHIPTYPE = "Binary Relationship type (private)
* I_INT_NUMBER_ASSIGNMENT = 'X' "Internal Item Number Assignment
IMPORTING
E_STATUS = "Return Status of BAPI
TABLES
TI_SFA_KEYS = "Assignment of BAPI Structure to Tables
* TO_RETURN = "Return Messages
TI_BAPICLALVA = "
IMPORTING Parameters details for BAPI_OBJCL_PROXY_CREATE
I_UPLOAD_ID - Upload Flag
Data type: BAPICRMDH2-REF_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_BEHAVE_WHEN_ERROR - Error Handling
Data type: BAPIFLAG-BAPIFLAGDefault: 'R'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LOGIC_SWITCH - Internal control parameter
Data type: BAPISDLSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TESTRUN - Test Run
Data type: BAPIFLAG-BAPIFLAGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DESTIN - RFC Destination of SFA Server
Data type: CRM_PARA-RFCSERVEROptional: No
Call by Reference: No ( called with pass by value option)
I_SFA_REL - R/3 Release of SFA Server
Data type: CRM_PARA-SERVER_RELOptional: Yes
Call by Reference: No ( called with pass by value option)
I_USREXITOFF - Flag for User Exits
Data type: CRMPAROLTP-PARVAL1Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KEYWORD_IN -
Data type: BAPICRMDH1-KEYWORD_INOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BAPICLALOC - Order Header
Data type: BAPICLALOCOptional: No
Call by Reference: No ( called with pass by value option)
I_SENDER - Logical System - Sender
Data type: BDI_LOGSYSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BINARY_RELATIONSHIPTYPE - Binary Relationship type (private)
Data type: BRELTYP-RELTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_INT_NUMBER_ASSIGNMENT - Internal Item Number Assignment
Data type: BAPIFLAG-BAPIFLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_OBJCL_PROXY_CREATE
E_STATUS - Return Status of BAPI
Data type: CRM_PARA-UPLOADSTATOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_OBJCL_PROXY_CREATE
TI_SFA_KEYS - Assignment of BAPI Structure to Tables
Data type: BAPICRMSFKOptional: No
Call by Reference: No ( called with pass by value option)
TO_RETURN - Return Messages
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
TI_BAPICLALVA -
Data type: BAPICLALVAOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_OBJCL_PROXY_CREATE 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_e_status | TYPE CRM_PARA-UPLOADSTAT, " | |||
| lv_i_upload_id | TYPE BAPICRMDH2-REF_ID, " | |||
| lt_ti_sfa_keys | TYPE STANDARD TABLE OF BAPICRMSFK, " | |||
| lv_i_behave_when_error | TYPE BAPIFLAG-BAPIFLAG, " 'R' | |||
| lv_i_logic_switch | TYPE BAPISDLS, " | |||
| lv_i_testrun | TYPE BAPIFLAG-BAPIFLAG, " | |||
| lv_i_destin | TYPE CRM_PARA-RFCSERVER, " | |||
| lt_to_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_i_sfa_rel | TYPE CRM_PARA-SERVER_REL, " | |||
| lt_ti_bapiclalva | TYPE STANDARD TABLE OF BAPICLALVA, " | |||
| lv_i_usrexitoff | TYPE CRMPAROLTP-PARVAL1, " | |||
| lv_i_keyword_in | TYPE BAPICRMDH1-KEYWORD_IN, " | |||
| lv_i_bapiclaloc | TYPE BAPICLALOC, " | |||
| lv_i_sender | TYPE BDI_LOGSYS, " | |||
| lv_i_binary_relationshiptype | TYPE BRELTYP-RELTYPE, " | |||
| lv_i_int_number_assignment | TYPE BAPIFLAG-BAPIFLAG. " 'X' |
|   CALL FUNCTION 'BAPI_OBJCL_PROXY_CREATE' "Proxy BAPI for Sales Order Upload in SFA Context: Create |
| EXPORTING | ||
| I_UPLOAD_ID | = lv_i_upload_id | |
| I_BEHAVE_WHEN_ERROR | = lv_i_behave_when_error | |
| I_LOGIC_SWITCH | = lv_i_logic_switch | |
| I_TESTRUN | = lv_i_testrun | |
| I_DESTIN | = lv_i_destin | |
| I_SFA_REL | = lv_i_sfa_rel | |
| I_USREXITOFF | = lv_i_usrexitoff | |
| I_KEYWORD_IN | = lv_i_keyword_in | |
| I_BAPICLALOC | = lv_i_bapiclaloc | |
| I_SENDER | = lv_i_sender | |
| I_BINARY_RELATIONSHIPTYPE | = lv_i_binary_relationshiptype | |
| I_INT_NUMBER_ASSIGNMENT | = lv_i_int_number_assignment | |
| IMPORTING | ||
| E_STATUS | = lv_e_status | |
| TABLES | ||
| TI_SFA_KEYS | = lt_ti_sfa_keys | |
| TO_RETURN | = lt_to_return | |
| TI_BAPICLALVA | = lt_ti_bapiclalta | |
| . " BAPI_OBJCL_PROXY_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_OBJCL_PROXY_CREATE
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.| "SELECT single UPLOADSTAT FROM CRM_PARA INTO @DATA(ld_e_status). | ||||
| "SELECT single REF_ID FROM BAPICRMDH2 INTO @DATA(ld_i_upload_id). | ||||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_behave_when_error). | ||||
| DATA(ld_i_behave_when_error) | = 'R'. | |||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_testrun). | ||||
| "SELECT single RFCSERVER FROM CRM_PARA INTO @DATA(ld_i_destin). | ||||
| "SELECT single SERVER_REL FROM CRM_PARA INTO @DATA(ld_i_sfa_rel). | ||||
| "SELECT single PARVAL1 FROM CRMPAROLTP INTO @DATA(ld_i_usrexitoff). | ||||
| "SELECT single KEYWORD_IN FROM BAPICRMDH1 INTO @DATA(ld_i_keyword_in). | ||||
| "SELECT single RELTYPE FROM BRELTYP INTO @DATA(ld_i_binary_relationshiptype). | ||||
| "SELECT single BAPIFLAG FROM BAPIFLAG INTO @DATA(ld_i_int_number_assignment). | ||||
| DATA(ld_i_int_number_assignment) | = 'X'. | |||
Search for further information about these or an SAP related objects