SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

MGV_LAMASCREENS2 SAP ABAP Report - Updates the screens with the LAMA informa. from table MGV_LAMASCRLAYOU







MGV_LAMASCREENS2 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 MGV_LAMASCREENS2 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 MGV_LAMASCREENS2. "Basic submit
SUBMIT MGV_LAMASCREENS2 AND RETURN. "Return to original report after report execution complete
SUBMIT MGV_LAMASCREENS2 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_DNUM = Screen
Selection Text: P_PROG = Program


INCLUDES used within this REPORT MGV_LAMASCREENS2

INCLUDE MSEUSBIT.
INCLUDE MGV_LAMASCREENS_TOP.
INCLUDE MGV_APPL_LOG.


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:

MGV_LAMA_SCR_GET_LAYOUT call FUNCTION 'MGV_LAMA_SCR_GET_LAYOUT' exporting progname = header-prog dynpro = header-dnum importing header = cust_d020s TABLES ET_LAMASCRLAYOUT = cust_d021se "customer screens ET_FLOWLOGIC = cust_FLOWLOGIC "customer screens ET_PARAMS = cust_d023s "customer screens EXCEPTIONS NOT_FOUND = 1.

MGV_LAMA_SCR_REPLACE_LAYOUT CALL FUNCTION 'MGV_LAMA_SCR_REPLACE_LAYOUT' EXPORTING PROGNAME = header-prog DYNPRO = header-dnum TABLES ET_LAMASCRLAYOUT = cust_d021se "customer screens ET_FLOWLOGIC = cust_FLOWLOGIC "customer screens ET_PARAMS = cust_d023s "customer screens ET_ERROR_LOG = errorprot changing header = cust_d020s EXCEPTIONS REPLACE_NOT_OK = 1 NOT_FOUND = 2 OTHERS = 3 .

MGV_LAMA_SCR_UPDATE_ON_DATABAS CALL FUNCTION 'MGV_LAMA_SCR_UPDATE_ON_DATABAS' "in update task EXPORTING IV_MODE = 'C' header = cust_d020s TABLES FIELDLIST = cust_d021se FLOWLOGIC = cust_FLOWLOGIC PARAMS = cust_d023s EXCEPTIONS SAVE_FAILED = 1 not_generated = 2 OTHERS = 3 .

CLM_UPGRADE_FLAG_SET CALL FUNCTION 'CLM_UPGRADE_FLAG_SET' "Set SPAU flag TABLES MODOBJECTS = t_smodupgrad .

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_log_handle.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_log IMPORTING e_log_handle = l_loghandle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

UPG_GET_COMPONENT_RELEASES CALL FUNCTION 'UPG_GET_COMPONENT_RELEASES' EXPORTING IV_COMPONENT = P_DIMP_COMPONENT IV_BUFFERED = 'X' * IMPORTING * EV_COMPCNT = * EV_BASISSTATE = TABLES TT_CVERS = XX_CVers EXCEPTIONS NO_RELEASE_FOUND = 1 COMPONENT_RELEASE_NOT_FOUND = 2 OTHERS = 3 .



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