SAP FAA_TENV_CREATE_DATA_COLLECT Function Module for









FAA_TENV_CREATE_DATA_COLLECT is a standard faa tenv create data collect 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 faa tenv create data collect FM, simply by entering the name FAA_TENV_CREATE_DATA_COLLECT into the relevant SAP transaction such as SE37 or SE38.

Function Group: FAA_TENV
Program Name: SAPLFAA_TENV
Main Program: SAPLFAA_TENV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function FAA_TENV_CREATE_DATA_COLLECT 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 'FAA_TENV_CREATE_DATA_COLLECT'"
EXPORTING
ID_BUKRS = "
IT_ANLN1 = "
IT_ANLN2 = "
ID_RDC_DSC = "
* IB_EXECUTE_CONSISTENCY_TEST = ' ' "

IMPORTING
ET_RDC_XMLRAW = "

EXCEPTIONS
PROGRAM_TERMINATION = 1
.



IMPORTING Parameters details for FAA_TENV_CREATE_DATA_COLLECT

ID_BUKRS -

Data type: BUKRS
Optional: No
Call by Reference: No ( called with pass by value option)

IT_ANLN1 -

Data type: FAA_T_MAINNO_RANGE
Optional: No
Call by Reference: No ( called with pass by value option)

IT_ANLN2 -

Data type: FAA_T_SUBNO_RANGE
Optional: No
Call by Reference: No ( called with pass by value option)

ID_RDC_DSC -

Data type: FAA_TENV_RDC_DSC
Optional: No
Call by Reference: No ( called with pass by value option)

IB_EXECUTE_CONSISTENCY_TEST -

Data type: XFLAG
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FAA_TENV_CREATE_DATA_COLLECT

ET_RDC_XMLRAW -

Data type: FAA_T_TENV_XMLRAW
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

PROGRAM_TERMINATION -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FAA_TENV_CREATE_DATA_COLLECT 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_id_bukrs  TYPE BUKRS, "   
lv_et_rdc_xmlraw  TYPE FAA_T_TENV_XMLRAW, "   
lv_program_termination  TYPE FAA_T_TENV_XMLRAW, "   
lv_it_anln1  TYPE FAA_T_MAINNO_RANGE, "   
lv_it_anln2  TYPE FAA_T_SUBNO_RANGE, "   
lv_id_rdc_dsc  TYPE FAA_TENV_RDC_DSC, "   
lv_ib_execute_consistency_test  TYPE XFLAG. "   ' '

  CALL FUNCTION 'FAA_TENV_CREATE_DATA_COLLECT'  "
    EXPORTING
         ID_BUKRS = lv_id_bukrs
         IT_ANLN1 = lv_it_anln1
         IT_ANLN2 = lv_it_anln2
         ID_RDC_DSC = lv_id_rdc_dsc
         IB_EXECUTE_CONSISTENCY_TEST = lv_ib_execute_consistency_test
    IMPORTING
         ET_RDC_XMLRAW = lv_et_rdc_xmlraw
    EXCEPTIONS
        PROGRAM_TERMINATION = 1
. " FAA_TENV_CREATE_DATA_COLLECT




ABAP code using 7.40 inline data declarations to call FM FAA_TENV_CREATE_DATA_COLLECT

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.

 
 
 
 
 
 
DATA(ld_ib_execute_consistency_test) = ' '.
 


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!