SAP Reports / Programs | Logistics - General | Logistics Basic Data | Plant Master(LO-MD-PL) SAP LO

MB01WERK SAP ABAP Report - Site Master Record Changes







MB01WERK 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 MB01WERK 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 MB01WERK. "Basic submit
SUBMIT MB01WERK AND RETURN. "Return to original report after report execution complete
SUBMIT MB01WERK 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: XAUTH_NO = Authorization
Selection Text: WERKS = Plants
Selection Text: VWERK = Plant
Selection Text: USNAM = Changed by
Selection Text: TCODE = Transaction code
Selection Text: SELKEY = Selection
Selection Text: NAME1 = Name
Selection Text: KOART = Account Type
Selection Text: FUNCL = ?...(FUNCL)
Selection Text: FNAME = Field name
Selection Text: DYNCL = ?...(DYNCL)
Selection Text: DATUM = From change date
Selection Text: CALLD = Call
Title: Site Master Record Changes
Text Symbol: W03 = Receiving Point
Text Symbol: W02 = Material group
Text Symbol: W01 = Department
Text Symbol: T05 = Change document
Text Symbol: T04 = Overview
Text Symbol: T03 = Deletions
Text Symbol: T02 = Entries
Text Symbol: T01 = Changed Fields
Text Symbol: 210 = Date Field New Old
Text Symbol: 206 = Plant:
Text Symbol: 204 = Field
Text Symbol: 203 = User
Text Symbol: 202 = Time
Text Symbol: 201 = Date
Text Symbol: 001 = Customer Changes
Text Symbol: 010 = Language
Text Symbol: 013 = Division
Text Symbol: 103 = From
Text Symbol: 104 = To
Text Symbol: 105 = Changed in $1 $2 $3 $4 $5 $6
Text Symbol: 107 = *** Created ***
Text Symbol: 108 = *** Deleted ***
Text Symbol: 109 = Change document
Text Symbol: 114 = Date Entered Object Key





Text Symbol: 115 = Date Object Deleted Key
Text Symbol: 116 = Date Changed By Key
Text Symbol: 117 = Entry
Text Symbol: 118 = Deletion
Text Symbol: 120 = Co Bank Number Account
Text Symbol: 121 = Unloading Point
Text Symbol: 122 = Sa CnDvDoc S
Text Symbol: 123 = Contact person
Text Symbol: 124 = Sa CnDvPart
Text Symbol: 125 = Sa CnDv
Text Symbol: 126 = *
Text Symbol: 127 = CC Dunning Area
Text Symbol: 128 = Country
Text Symbol: 129 = Cy Tax Type
Text Symbol: 130 = Cy Tx License No.
Text Symbol: 131 = *
Text Symbol: 200 = Initial


INCLUDES used within this REPORT MB01WERK

INCLUDE MB01ADAT.
INCLUDE MB01ASEL.


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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events IMPORTING ES_EXIT_CAUSED_BY_USER = gs_user_command TABLES t_outtab = "gt_output_feldtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events IMPORTING ES_EXIT_CAUSED_BY_USER = gs_user_command TABLES t_outtab = "gt_output_feldtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid I_INTERNAL_TABNAME = I_STRUCTURE_NAME = CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save I_CALLBACK_PF_STATUS_SET = gc_set_pf_status_1 I_CALLBACK_TOP_OF_PAGE = gc_topofpage2 I_SCREEN_START_COLUMN = GC_SC1 "WINDOW_SPALTE_ANFANG1 I_SCREEN_START_LINE = GC_SL1 "WINDOW_ZEILE_ANFANG1 I_SCREEN_END_COLUMN = GC_EC1 "WINDOW_SPALTE_ENDE1 I_SCREEN_END_LINE = GC_EL1 "WINDOW_ZEILE_ENDE1 TABLES t_outtab = "gt_output_feldtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page_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 MB01WERK or its description.