SAP Reports / Programs

/SAPDMC/SAP_LSMW_GENERATE_ALL SAP ABAP Report - Generate All Data Import and Data Conversion Programs







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


Text pool values


Title: Generate All Data Import and Data Conversion Programs
Text Symbol: 001 = Import Program
Text Symbol: 002 = Conversion Program
Text Symbol: 003 = generated
Text Symbol: 004 = Error: The import program could not be generated
Text Symbol: 005 = Error: The conversion program could not be generated
Text Symbol: 006 = Reason: Error
Text Symbol: 007 = Generation Log
Text Symbol: 008 = is part of LSMW project
Text Symbol: 009 = Status
Text Symbol: 010 = Text
Text Symbol: I01 = OK
Text Symbol: I02 = Warning
Text Symbol: I03 = Error


INCLUDES used within this REPORT /SAPDMC/SAP_LSMW_GENERATE_ALL

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = I_TEXT.

/SAPDMC/LSM_READPROG_GENERATE CALL FUNCTION '/SAPDMC/LSM_READPROG_GENERATE' EXPORTING PROJECT = IT_LSOATT-PROJECT SUBPROJ = IT_LSOATT-SUBPROJ OBJECT = IT_LSOATT-OBJECT DISPLAY_PROGRAM = NO IMPORTING PROGNAME = I_PROGNAME EXCEPTIONS NO_SOURCE_STRUCTURES = 1 NO_SOURCE_FIELDS = 2 NO_FILES_SPECIFIED = 3 NO_FILES_ASSIGNED = 4 NO_MORE_FREE_NUMBER = 5 SYNTAX_ERROR = 6 OTHERS = 7.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = I_TEXT.

/SAPDMC/LSM_CONVPROG_GENERATE CALL FUNCTION '/SAPDMC/LSM_CONVPROG_GENERATE' EXPORTING PROJECT = IT_LSOATT-PROJECT SUBPROJ = IT_LSOATT-SUBPROJ OBJECT = IT_LSOATT-OBJECT DISPLAY_PROGRAM = NO IMPORTING PROGNAME = I_PROGNAME EXCEPTIONS NO_SUCH_OBJECT = 1 NO_SOURCE_FIELDS = 2 NO_TARGET_FIELDS = 3 NO_STRUCTURE_RELATIONS = 4 INVALID_STRUCTURE_RELATIONS = 5 NO_MORE_FREE_NUMBER = 6 INSERT_ERROR = 7 OTHERS = 8.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_grid_title = l_title is_layout = wa_layout it_fieldcat = it_fieldcat it_excluding = it_excluding TABLES t_outtab = it_content EXCEPTIONS program_error = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_lights info = mess_activ IMPORTING RESULT = green EXCEPTIONS OTHERS = 1.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_lights info = mess_activ IMPORTING RESULT = red EXCEPTIONS OTHERS = 1.



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