SAP FCXL_GET_MASS_DATA Function Module for









FCXL_GET_MASS_DATA is a standard fcxl get mass 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 get mass data FM, simply by entering the name FCXL_GET_MASS_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: FCXL
Program Name: SAPLFCXL
Main Program: SAPLFCXL
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function FCXL_GET_MASS_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_GET_MASS_DATA'"
EXPORTING
ASPECT_ID = "
SIGN_HANDLING = "
RETURN_UNITS = "
* ADD_DEFAULTS = "
* ADJUST_TO_ITGRP = "

IMPORTING
EXCEPTION = "

TABLES
I_REQUEST = "
E_DATA = "
E_DEFINITION = "
E_ERROR = "
* I_SORT = "
.



IMPORTING Parameters details for FCXL_GET_MASS_DATA

ASPECT_ID -

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

SIGN_HANDLING -

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

RETURN_UNITS -

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

ADD_DEFAULTS -

Data type: SY-DAYST
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADJUST_TO_ITGRP -

Data type: SY-DAYST
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FCXL_GET_MASS_DATA

EXCEPTION -

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

TABLES Parameters details for FCXL_GET_MASS_DATA

I_REQUEST -

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

E_DATA -

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

E_DEFINITION -

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

E_ERROR -

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

I_SORT -

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

Copy and paste ABAP code example for FCXL_GET_MASS_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_aspect_id  TYPE FCXL_CASPS-ASPECT_ID, "   
lv_exception  TYPE FCXL_MESSG-MESSAGE, "   
lt_i_request  TYPE STANDARD TABLE OF FCXL_DREQV, "   
lt_e_data  TYPE STANDARD TABLE OF FCXL_DATA, "   
lv_sign_handling  TYPE SY-DAYST, "   
lt_e_definition  TYPE STANDARD TABLE OF FCXL_DREQV, "   
lv_return_units  TYPE SY-DAYST, "   
lt_e_error  TYPE STANDARD TABLE OF FCXL_ERROR, "   
lv_add_defaults  TYPE SY-DAYST, "   
lt_i_sort  TYPE STANDARD TABLE OF FCXL_SORT, "   
lv_adjust_to_itgrp  TYPE SY-DAYST. "   

  CALL FUNCTION 'FCXL_GET_MASS_DATA'  "
    EXPORTING
         ASPECT_ID = lv_aspect_id
         SIGN_HANDLING = lv_sign_handling
         RETURN_UNITS = lv_return_units
         ADD_DEFAULTS = lv_add_defaults
         ADJUST_TO_ITGRP = lv_adjust_to_itgrp
    IMPORTING
         EXCEPTION = lv_exception
    TABLES
         I_REQUEST = lt_i_request
         E_DATA = lt_e_data
         E_DEFINITION = lt_e_definition
         E_ERROR = lt_e_error
         I_SORT = lt_i_sort
. " FCXL_GET_MASS_DATA




ABAP code using 7.40 inline data declarations to call FM FCXL_GET_MASS_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 ASPECT_ID FROM FCXL_CASPS INTO @DATA(ld_aspect_id).
 
"SELECT single MESSAGE FROM FCXL_MESSG INTO @DATA(ld_exception).
 
 
 
"SELECT single DAYST FROM SY INTO @DATA(ld_sign_handling).
 
 
"SELECT single DAYST FROM SY INTO @DATA(ld_return_units).
 
 
"SELECT single DAYST FROM SY INTO @DATA(ld_add_defaults).
 
 
"SELECT single DAYST FROM SY INTO @DATA(ld_adjust_to_itgrp).
 


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!