SAP Reports / Programs

FAA_TENV_RETRIEVE_DATA_COLLECT SAP ABAP Report - Call of Data Collection for Creating Test Cases







FAA_TENV_RETRIEVE_DATA_COLLECT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FAA_TENV_RETRIEVE_DATA_COLLECT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

AATENV1 - Create Data Collection


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FAA_TENV_RETRIEVE_DATA_COLLECT. "Basic submit
SUBMIT FAA_TENV_RETRIEVE_DATA_COLLECT AND RETURN. "Return to original report after report execution complete
SUBMIT FAA_TENV_RETRIEVE_DATA_COLLECT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_RDC_FP = Called Data Collection
Selection Text: P_RDC_UP = D .
Selection Text: P_BUKRS = D .
Selection Text: P_DEST = D .
Selection Text: P_RDCDSC = D .
Selection Text: S_ANLN1 = D .
Selection Text: S_ANLN2 = D .
Title: Call of Data Collection for Creating Test Cases
Text Symbol: 001 = Path and File Name for Data Collection Called Using Test Case Data
Text Symbol: 010 = Save Data Collection
Text Symbol: 011 = Save Data Collection Despite Error Log
Text Symbol: H00 = Source System
Text Symbol: H01 = Fixed Assets
Text Symbol: H02 = Description of Contents of Data Collection
Text Symbol: H03 = Path and File Name for


INCLUDES used within this REPORT FAA_TENV_RETRIEVE_DATA_COLLECT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

/SAPDMC/LSM_F4_SERVER_FILE CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE' EXPORTING directory = ' ' * DIRECTORY = ' ' * FILEMASK = ' ' IMPORTING serverfile = ld_selected_fullpath EXCEPTIONS canceled_by_user = 1 OTHERS = 2.

FAA_TENV_DATA_RETRIEVER_RFC CALL FUNCTION 'FAA_TENV_DATA_RETRIEVER_RFC' DESTINATION p_dest EXPORTING id_bukrs = p_bukrs it_anln1 = lt_mainno_range it_anln2 = lt_subno_range id_rdc_dsc = p_rdcdsc ib_execute_consistency_test = abap_true IMPORTING et_rdc_xmlraw = lt_rdc_xmlraw et_messages = lt_messages eb_program_termination = lb_program_termination.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = -arbgb msgty = -msgty msgv1 = -msgv1 msgv2 = -msgv2 msgv3 = -msgv3 msgv4 = -msgv4 txtnr = -txtnr zeile = -zeile.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW'.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-010 * DIAGNOSE_OBJECT = ' ' text_question = text-011 * TEXT_BUTTON_1 = 'Ja'(001) icon_button_1 = 'ICON_OKAY' * TEXT_BUTTON_2 = 'Nein'(002) icon_button_2 = 'ICON_CANCEL' * default_button = '1' display_cancel_button = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = ld_answer * TABLES * PARAMETER = * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FAA_TENV_RETRIEVE_DATA_COLLECT or its description.