FCXL_SET_DATA 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 FCXL_SET_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FCXL
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'FCXL_SET_DATA' "
EXPORTING
aspect_id = " fcxl_casps-aspect_id
simulate = " sy-dayst
sign_handling = " sy-dayst
* updatemode = " sy-dayst
* wait = " sy-dayst
* callno = " fcxl_hirvl-depth
IMPORTING
success = " sy-dayst
exception = " fcxl_messg-message
TABLES
i_request = " fcxl_dreqv
i_data = " fcxl_data
e_error = " fcxl_error
. " FCXL_SET_DATA
The ABAP code below is a full code listing to execute function module FCXL_SET_DATA 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_success | TYPE SY-DAYST , |
| ld_exception | TYPE FCXL_MESSG-MESSAGE , |
| it_i_request | TYPE STANDARD TABLE OF FCXL_DREQV,"TABLES PARAM |
| wa_i_request | LIKE LINE OF it_i_request , |
| it_i_data | TYPE STANDARD TABLE OF FCXL_DATA,"TABLES PARAM |
| wa_i_data | LIKE LINE OF it_i_data , |
| it_e_error | TYPE STANDARD TABLE OF FCXL_ERROR,"TABLES PARAM |
| wa_e_error | LIKE LINE OF it_e_error . |
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_success | TYPE SY-DAYST , |
| ld_aspect_id | TYPE FCXL_CASPS-ASPECT_ID , |
| it_i_request | TYPE STANDARD TABLE OF FCXL_DREQV , |
| wa_i_request | LIKE LINE OF it_i_request, |
| ld_exception | TYPE FCXL_MESSG-MESSAGE , |
| ld_simulate | TYPE SY-DAYST , |
| it_i_data | TYPE STANDARD TABLE OF FCXL_DATA , |
| wa_i_data | LIKE LINE OF it_i_data, |
| ld_sign_handling | TYPE SY-DAYST , |
| it_e_error | TYPE STANDARD TABLE OF FCXL_ERROR , |
| wa_e_error | LIKE LINE OF it_e_error, |
| ld_updatemode | TYPE SY-DAYST , |
| ld_wait | TYPE SY-DAYST , |
| ld_callno | TYPE FCXL_HIRVL-DEPTH . |
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 FCXL_SET_DATA or its description.