SAP FCXL_050_SET_DATA Function Module for
FCXL_050_SET_DATA is a standard fcxl 050 set data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fcxl 050 set data FM, simply by entering the name FCXL_050_SET_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: GLAE
Program Name: SAPLGLAE
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FCXL_050_SET_DATA 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 'FCXL_050_SET_DATA'".
EXPORTING
SIMULATE = "
SIGN_HANDLING = "
* ASPECT_ID = '050' "
* UPDATEMODE = "
* WAIT = "
* CALLNO = "
IMPORTING
SUCCESS = "
TABLES
I_REQUEST = "
I_DATA = "
E_ERROR = "
E_MESSAGE = "
EXCEPTIONS
CHARACTERISTIC_NOT_FOUND = 1 HIERARCHY_NOT_FOUND = 2 ILLEGAL_SIGN_HANDLING = 3 CHARACTERISTIC_VALUE_NOT_FOUND = 4 NO_X_SPECIFIED = 5 NO_Y_SPECIFIED = 6
IMPORTING Parameters details for FCXL_050_SET_DATA
SIMULATE -
Data type: SY-DAYSTOptional: No
Call by Reference: No ( called with pass by value option)
SIGN_HANDLING -
Data type: SY-DAYSTOptional: No
Call by Reference: No ( called with pass by value option)
ASPECT_ID -
Data type: FCXL_CASPS-ASPECT_IDDefault: '050'
Optional: Yes
Call by Reference: No ( called with pass by value option)
UPDATEMODE -
Data type: SY-DAYSTOptional: Yes
Call by Reference: No ( called with pass by value option)
WAIT -
Data type: SY-DAYSTOptional: Yes
Call by Reference: No ( called with pass by value option)
CALLNO -
Data type: FCXL_HIRVL-DEPTHOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FCXL_050_SET_DATA
SUCCESS -
Data type: SY-DAYSTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FCXL_050_SET_DATA
I_REQUEST -
Data type: FCXL_DREQVOptional: No
Call by Reference: No ( called with pass by value option)
I_DATA -
Data type: FCXL_DATAOptional: No
Call by Reference: No ( called with pass by value option)
E_ERROR -
Data type: FCXL_ERROROptional: No
Call by Reference: No ( called with pass by value option)
E_MESSAGE -
Data type: FCXL_MESSGOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CHARACTERISTIC_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
HIERARCHY_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ILLEGAL_SIGN_HANDLING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHARACTERISTIC_VALUE_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_X_SPECIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_Y_SPECIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FCXL_050_SET_DATA 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_success | TYPE SY-DAYST, " | |||
| lv_simulate | TYPE SY-DAYST, " | |||
| lt_i_request | TYPE STANDARD TABLE OF FCXL_DREQV, " | |||
| lv_characteristic_not_found | TYPE FCXL_DREQV, " | |||
| lt_i_data | TYPE STANDARD TABLE OF FCXL_DATA, " | |||
| lv_sign_handling | TYPE SY-DAYST, " | |||
| lv_hierarchy_not_found | TYPE SY, " | |||
| lt_e_error | TYPE STANDARD TABLE OF FCXL_ERROR, " | |||
| lv_aspect_id | TYPE FCXL_CASPS-ASPECT_ID, " '050' | |||
| lv_illegal_sign_handling | TYPE FCXL_CASPS, " | |||
| lt_e_message | TYPE STANDARD TABLE OF FCXL_MESSG, " | |||
| lv_updatemode | TYPE SY-DAYST, " | |||
| lv_characteristic_value_not_found | TYPE SY, " | |||
| lv_wait | TYPE SY-DAYST, " | |||
| lv_no_x_specified | TYPE SY, " | |||
| lv_callno | TYPE FCXL_HIRVL-DEPTH, " | |||
| lv_no_y_specified | TYPE FCXL_HIRVL. " |
|   CALL FUNCTION 'FCXL_050_SET_DATA' " |
| EXPORTING | ||
| SIMULATE | = lv_simulate | |
| SIGN_HANDLING | = lv_sign_handling | |
| ASPECT_ID | = lv_aspect_id | |
| UPDATEMODE | = lv_updatemode | |
| WAIT | = lv_wait | |
| CALLNO | = lv_callno | |
| IMPORTING | ||
| SUCCESS | = lv_success | |
| TABLES | ||
| I_REQUEST | = lt_i_request | |
| I_DATA | = lt_i_data | |
| E_ERROR | = lt_e_error | |
| E_MESSAGE | = lt_e_message | |
| EXCEPTIONS | ||
| CHARACTERISTIC_NOT_FOUND = 1 | ||
| HIERARCHY_NOT_FOUND = 2 | ||
| ILLEGAL_SIGN_HANDLING = 3 | ||
| CHARACTERISTIC_VALUE_NOT_FOUND = 4 | ||
| NO_X_SPECIFIED = 5 | ||
| NO_Y_SPECIFIED = 6 | ||
| . " FCXL_050_SET_DATA | ||
ABAP code using 7.40 inline data declarations to call FM FCXL_050_SET_DATA
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 DAYST FROM SY INTO @DATA(ld_success). | ||||
| "SELECT single DAYST FROM SY INTO @DATA(ld_simulate). | ||||
| "SELECT single DAYST FROM SY INTO @DATA(ld_sign_handling). | ||||
| "SELECT single ASPECT_ID FROM FCXL_CASPS INTO @DATA(ld_aspect_id). | ||||
| DATA(ld_aspect_id) | = '050'. | |||
| "SELECT single DAYST FROM SY INTO @DATA(ld_updatemode). | ||||
| "SELECT single DAYST FROM SY INTO @DATA(ld_wait). | ||||
| "SELECT single DEPTH FROM FCXL_HIRVL INTO @DATA(ld_callno). | ||||
Search for further information about these or an SAP related objects