SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Data Transfer Workbench(BC-SRV-DX-DXW) SAP BC

DXTOOLSPAI SAP ABAP INCLUDE - documentation and ABAP source code







DXTOOLSPAI is a standard ABAP INCLUDE 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 DXTOOLSPAI into the relevant SAP transactions such as SE38 or SE80


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 DXTOOLSPAI. "Basic submit
SUBMIT DXTOOLSPAI AND RETURN. "Return to original report after report execution complete
SUBMIT DXTOOLSPAI VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT DXTOOLSPAI

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_CALL_FROM_DXWB CALL FUNCTION '/SAPDMC/LSM_CALL_FROM_DXWB' TABLES i_files = lt_lsmw_i_files o_files = lt_lsmw_o_files CHANGING project = l_lsmw_project subproj = l_lsmw_subproj object = l_lsmw_object EXCEPTIONS canceled_by_user = 1 OTHERS = 2.

DX_REG_DISPLAY CALL FUNCTION 'DX_REG_DISPLAY' EXPORTING objecttype = tdxloadp-objecttype tasktype = tdxloadp-tasktype progtype = tdxloadp-progtype progname = tdxloadp-progname IMPORTING loadregdata = g_loadreg EXCEPTIONS OTHERS = 4.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'BDLR' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

DX_SHOW_PROGRAM_DOCU CALL FUNCTION 'DX_SHOW_PROGRAM_DOCU' EXPORTING objecttype = tdxloadp-objecttype progtype = tdxloadp-progtype progname = tdxloadp-progname EXCEPTIONS OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'BAPI' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

SBF_BW_EXPLORER CALL FUNCTION 'SBF_BW_EXPLORER' EXPORTING jump_objtype = tdxloadp-objecttype EXCEPTIONS OTHERS = 2.

DX_PARSER CALL FUNCTION 'DX_PARSER' EXPORTING objecttype = tdxloadp-objecttype loadtype = tdxloadp-progtype loadprg = tdxloadp-progname EXCEPTIONS OTHERS = 2.

DX_CHEADER CALL FUNCTION 'DX_CHEADER' EXPORTING objecttype = tdxloadp-objecttype loadtype = tdxloadp-progtype loadprg = tdxloadp-progname EXCEPTIONS OTHERS = 5.

OBJ_METHOD_2_MESTYPE CALL FUNCTION 'OBJ_METHOD_2_MESTYPE' EXPORTING objecttype = tdxloadp-objecttype progtype = tdxloadp-progtype loadprg = tdxloadp-progname IMPORTING mestype = l_mestype EXCEPTIONS no_ale_idoc_interface = 1 canceled_by_user = 2 OTHERS = 3.

OBJ_METHOD_2_IDOCTYPE CALL FUNCTION 'OBJ_METHOD_2_IDOCTYPE' EXPORTING objecttype = tdxloadp-objecttype progtype = tdxloadp-progtype loadprg = tdxloadp-progname mestype = l_mestype IMPORTING idoctyp = l_idoctyp EXCEPTIONS no_ale_idoc_interface = 1 canceled_by_user = 2 OTHERS = 3.

/SAPDMC/LSM_GET_OBJECT_VIEW CALL FUNCTION '/SAPDMC/LSM_GET_OBJECT_VIEW' EXPORTING objecttype = tdxloadp-objecttype progtype = tdxloadp-progtype loadprg = l_progname * ORIGINAL_HLEVEL = '' * IMPORTING * X_OBJ_VIEW_OK = EXCEPTIONS OTHERS = 6 .

DX_ONLINE_FLD_MAP_ASST CALL FUNCTION 'DX_ONLINE_FLD_MAP_ASST' EXPORTING objecttype = tdxloadp-objecttype programtype = tdxloadp-progtype programname = tdxloadp-progname EXCEPTIONS OTHERS = 1.

DX_MAP_CREATE_TEST_DATA CALL FUNCTION 'DX_MAP_CREATE_TEST_DATA' EXPORTING objecttype = tdxloadp-objecttype programtype = tdxloadp-progtype programname = tdxloadp-progname filename = dxfile-filename filetype = dxfile-filetype EXCEPTIONS OTHERS = 8.

DX_ONLINE_FLD_MAP_ASST * CALL FUNCTION 'DX_ONLINE_FLD_MAP_ASST' ** EXPORTING ** objecttype = tdxloadp-objecttype ** loadtype = tdxloadp-progtype ** loadprg = tdxloadp-progname * EXCEPTIONS * OTHERS = 5.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'DXFILE-FILETYPE' dynpfield_filename = 'DXFILE-FILENAME' dyname = 'DXTOOLS' dynumb = '0100' location = 'A' server = ''.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filename = 'V_FILENAME_FRN' dyname = 'DXTOOLS' dynumb = '0600' filetype = 'P' location = 'P'.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filename = 'N_FILENAME_FRN' dyname = 'DXTOOLS' dynumb = '0600' filetype = 'P' location = 'P'.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'N_FILETYPE_APP' dynpfield_filename = 'N_FILENAME_APP' dyname = 'DXTOOLS' dynumb = '0600' location = 'A' server = n_server.

F4_DXFILENAME_4_DYNP





CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'V_FILETYPE_APP' dynpfield_filename = 'V_FILENAME_APP' dyname = 'DXTOOLS' dynumb = '0600' location = 'A' server = v_server.

DX_GET_FILE_PORT CALL FUNCTION 'DX_GET_FILE_PORT' EXPORTING objecttype = tdxloadp-objecttype progtype = tdxloadp-progtype loadprg = tdxloadp-progname logsys = dxfields-logsys inb_filename = dxfile-filename inb_filetype = dxfile-filetype IMPORTING mestype = g_mestype port = g_port filename = g_outfilename EXCEPTIONS OTHERS = 6.

TH_SELECT_SERVER CALL FUNCTION 'TH_SELECT_SERVER' IMPORTING server = v_server EXCEPTIONS no_server_selected = 08 OTHERS = 09.

TH_SELECT_SERVER CALL FUNCTION 'TH_SELECT_SERVER' IMPORTING server = n_server EXCEPTIONS no_server_selected = 08 OTHERS = 09.

DX_F4_HELP_PROGNAME_TOOLS CALL FUNCTION 'DX_F4_HELP_PROGNAME_TOOLS' EXPORTING dynpprog = 'DXTOOLS' dynpnr = '0100' dynprofield = 'TDXLOADP-PROGNAME' dynpfield_object = 'TDXLOADP-OBJECTTYPE' dynpfield_progtype = 'TDXLOADP-PROGTYPE'.

DX_F4_HELP_OBJECT_TOOLS CALL FUNCTION 'DX_F4_HELP_OBJECT_TOOLS' EXPORTING dynpprog = 'DXTOOLS' dynpnr = '0100' dynprofield = 'TDXLOADP-OBJECTTYPE' dynpfield_progtype = 'TDXLOADP-PROGTYPE'.

DX_F4_HELP_PROGTYPE_TOOLS CALL FUNCTION 'DX_F4_HELP_PROGTYPE_TOOLS' EXPORTING dynpprog = 'DXTOOLS' dynpnr = '0100' dynprofield = 'TDXLOADP-PROGTYPE' dynpfield_object = 'TDXLOADP-OBJECTTYPE'.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'G_FILES-FILETYPE' dynpfield_filename = 'G_FILES-FILENAME' dyname = 'DXTOOLS' dynumb = '0700' location = 'A' server = ''.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'DXFILE-FILETYPE' dynpfield_filename = 'DXFILE-FILENAME' dyname = 'DXTOOLS' dynumb = '0700' location = 'A' server = ''.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'G_FILES-FILETYPE' dynpfield_filename = 'G_FILES-FILENAME' dyname = 'DXTOOLS' dynumb = '0800' location = 'A' server = ''.

F4_DXFILENAME_4_DYNP CALL FUNCTION 'F4_DXFILENAME_4_DYNP' EXPORTING dynpfield_filetype = 'DXFILE-FILETYPE' dynpfield_filename = 'DXFILE-FILENAME' dyname = 'DXTOOLS' dynumb = '0800' location = 'A' server = ''.



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 DXTOOLSPAI or its description.