CRS_SORDER_CREATE_UPLOAD_PROXY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CRS_SORDER_CREATE_UPLOAD_PROXY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CRMO
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CRS_SORDER_CREATE_UPLOAD_PROXY' "
EXPORTING
i_upload_id = " bapicrmdh2-ref_id
i_destin = " crm_para-rfcserver
i_sfa_rel = " crm_para-server_rel
* i_tech_closed = " bapiflag
* i_user_status = " bapi2080_notusrstati
* i_user_status_inact = " bapismjest-inactive
* i_keyword_in = " bapicrmdh1-keyword_in
i_order_header = " bapi_order_header
IMPORTING
e_status = " crm_para-uploadstat
* TABLES
* in_partner = " bapi_ihpa
* in_operation = " bapi_order_operation
* in_line = " bapi2080_notfulltxti
* in_sfa_keys = " bapicrmsfk
* return = " bapiret2
EXCEPTIONS
BTE_NOT_ACTIVE = 1 "
. " CRS_SORDER_CREATE_UPLOAD_PROXY
The ABAP code below is a full code listing to execute function module CRS_SORDER_CREATE_UPLOAD_PROXY including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_status | TYPE CRM_PARA-UPLOADSTAT , |
| it_in_partner | TYPE STANDARD TABLE OF BAPI_IHPA,"TABLES PARAM |
| wa_in_partner | LIKE LINE OF it_in_partner , |
| it_in_operation | TYPE STANDARD TABLE OF BAPI_ORDER_OPERATION,"TABLES PARAM |
| wa_in_operation | LIKE LINE OF it_in_operation , |
| it_in_line | TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI,"TABLES PARAM |
| wa_in_line | LIKE LINE OF it_in_line , |
| it_in_sfa_keys | TYPE STANDARD TABLE OF BAPICRMSFK,"TABLES PARAM |
| wa_in_sfa_keys | LIKE LINE OF it_in_sfa_keys , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_status | TYPE CRM_PARA-UPLOADSTAT , |
| ld_i_upload_id | TYPE BAPICRMDH2-REF_ID , |
| it_in_partner | TYPE STANDARD TABLE OF BAPI_IHPA , |
| wa_in_partner | LIKE LINE OF it_in_partner, |
| ld_i_destin | TYPE CRM_PARA-RFCSERVER , |
| it_in_operation | TYPE STANDARD TABLE OF BAPI_ORDER_OPERATION , |
| wa_in_operation | LIKE LINE OF it_in_operation, |
| ld_i_sfa_rel | TYPE CRM_PARA-SERVER_REL , |
| it_in_line | TYPE STANDARD TABLE OF BAPI2080_NOTFULLTXTI , |
| wa_in_line | LIKE LINE OF it_in_line, |
| ld_i_tech_closed | TYPE BAPIFLAG , |
| it_in_sfa_keys | TYPE STANDARD TABLE OF BAPICRMSFK , |
| wa_in_sfa_keys | LIKE LINE OF it_in_sfa_keys, |
| ld_i_user_status | TYPE BAPI2080_NOTUSRSTATI , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_i_user_status_inact | TYPE BAPISMJEST-INACTIVE , |
| ld_i_keyword_in | TYPE BAPICRMDH1-KEYWORD_IN , |
| ld_i_order_header | TYPE BAPI_ORDER_HEADER . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CRS_SORDER_CREATE_UPLOAD_PROXY or its description.