SAP Reports / Programs

/SAPDMC/SAP_LSMW_BI_RECORDING SAP ABAP Report - Batch Input Program for Objects for Recordings







/SAPDMC/SAP_LSMW_BI_RECORDING 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 /SAPDMC/SAP_LSMW_BI_RECORDING 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 /SAPDMC/SAP_LSMW_BI_RECORDING. "Basic submit
SUBMIT /SAPDMC/SAP_LSMW_BI_RECORDING AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPDMC/SAP_LSMW_BI_RECORDING 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_FILE = File Name (with Path)
Selection Text: P_GROUP = Name of Batch Input Folder(s)
Selection Text: P_KEEP = Keep batch input folder(s)?
Selection Text: P_SIZE = Display Trans. per BI Folder
Selection Text: P_USER = User ID
Title: Batch Input Program for Objects for Recordings


INCLUDES used within this REPORT /SAPDMC/SAP_LSMW_BI_RECORDING

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_PROFILE_GET CALL FUNCTION '/SAPDMC/LSM_PROFILE_GET' IMPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT EXCEPTIONS OTHERS = 1.

/SAPDMC/LSM_BISESSN_NAME_BUILD CALL FUNCTION '/SAPDMC/LSM_BISESSN_NAME_BUILD' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT IMPORTING BI_SESSION_NAME = GROUPID_DEFAULT EXCEPTIONS INPUT_MISSING = 1 OTHERS = 2.

/SAPDMC/LSM_FILE_INFO_GET CALL FUNCTION '/SAPDMC/LSM_FILE_INFO_GET' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT IMPORTING FILE_CONV = FILE_CONV EXCEPTIONS NO_SUCH_OBJECT = 1 OTHERS = 2.

/SAPDMC/LSM_PARAMETER_GET CALL FUNCTION '/SAPDMC/LSM_PARAMETER_GET' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT NAME = 'TRANSACTIONS_PER_SESSION' IMPORTING VALUE = P_SIZE EXCEPTIONS NO_VALUE_FOUND = 1 OTHERS = 2.

/SAPDMC/LSM_PARAMETER_PUT CALL FUNCTION '/SAPDMC/LSM_PARAMETER_PUT' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT NAME = 'TRANSACTIONS_PER_SESSION' VALUE = P_SIZE EXCEPTIONS SAVE_ERROR = 1 OTHERS = 2.

/SAPDMC/LSM_OBJECT_CHECK CALL FUNCTION '/SAPDMC/LSM_OBJECT_CHECK' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT EXCEPTIONS NO_SUCH_PROJECT = 1 NO_SUCH_SUBPROJECT = 2 NO_SUCH_OBJECT = 3 OTHERS = 4.

/SAPDMC/LSM_TARGET_STRUCS_GET CALL FUNCTION '/SAPDMC/LSM_TARGET_STRUCS_GET' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT TABLES T_TARGET = IT_TARGET EXCEPTIONS NO_SUCH_OBJECT = 1 NO_TARGET_STRUCTURES_FOUND = 2 OTHERS = 3.

/SAPDMC/LSM_TARGET_FIELDS_GET CALL FUNCTION '/SAPDMC/LSM_TARGET_FIELDS_GET' EXPORTING PROJECT = P_PROJEC SUBPROJ = P_SUBPRO OBJECT = P_OBJECT SEGMENT = TABNAME TABLES T_DFIES = IT2_DFIES EXCEPTIONS NO_SUCH_OBJECT = 1 NO_SUCH_SEGMENT = 2 NO_TARGET_FIELDS_FOUND = 3 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING * CLIENT = SY-MANDT LOGICAL_FILENAME = CON_LOGICAL_FILENAME * OPERATING_SYSTEM = SY-OPSYS * PARAMETER_1 = ' ' * PARAMETER_2 = ' ' * PARAMETER_3 = ' ' * WITH_FILE_EXTENSION = ' ' * USE_BUFFER = ' ' * ELIMINATE_BLANKS = 'X' * IMPORTING * VALIDATION_ACTIVE = * TS_ALIAS = CHANGING PHYSICAL_FILENAME = P_FILE EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT GROUP = P_GROUP USER = P_USER KEEP = P_KEEP.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = TCODE TABLES DYNPROTAB = IT_BDCDATA.



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 /SAPDMC/SAP_LSMW_BI_RECORDING or its description.