RLMG0050 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report serves as a tool to assist in taking over the material / warehouse master / warehouse number view from R/2 warehouses into an ECC warehouse...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RLMG0050 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OL15 - Data transfer material whse no.view
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.
Selection Text: BATIN = Batch Input
Selection Text: BILD = Screen Output
Selection Text: CALTR = In Online Mode
Selection Text: LOGINAME = Logical Name of Dataset
Selection Text: MAPPE = Session Name
Selection Text: PCCON = Data from PC/Entire Connection
Title: Batch Input for Transfer of Material Master Data Whse Number Overview
Text Symbol: 001 = Material WhN Plnt PId RId PId
Text Symbol: 002 = Material Transfer via BATCH-INPUT with Folder
Text Symbol: 003 = The following materials were transf. via Call transaction
Text Symbol: 004 = Copied
Text Symbol: 005 = NO BATCH INPUT
Text Symbol: 006 = The following materials were imported:
Text Symbol: 007 = Final Log
Text Symbol: 008 = Number of material records read:
Text Symbol: 009 = Number of processed material records:
Text Symbol: 012 = Materials processed via batch input with session
Text Symbol: 013 = Materials processed with Call transaction
INCLUDE MLLVSKON.
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING LOGICAL_FILENAME = LOGINAME IMPORTING FILE_NAME = PHYSNAME EXCEPTIONS FILE_NOT_FOUND = 01.
BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING CLIENT = SY-MANDT GROUP = MAPPE USER = SY-UNAME.
MATERIAL_BTCI_SELECTION CALL FUNCTION 'MATERIAL_BTCI_SELECTION' EXPORTING MATERIAL = MATNR_DFORMAT MATERIALART = RM03M-MTART SELECTION = XSELEX TRANSAKTION = X130M TABLES BTCI_D0070 = YBDCDATA EXCEPTIONS MATERIAL_NOT_FOUND = 1 MATERIAL_NUMBER_MISSING = 2 MATERIAL_TYPE_MISSING = 3 MATERIAL_TYPE_NOT_FOUND = 4 NO_ACTIVE_DYNPRO_SELECTED = 5 NO_AUTHORITY = 6.
BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = TCODE_MAT_HINZ TABLES DYNPROTAB = BDC_DATEN.
BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = lv_repid I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' I_GRID_TITLE = lv_title IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat[] TABLES T_OUTTAB = gt_ldk30[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = lt_comment[].
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RLMG0050 - Batch Input for Transfer of Material Master Data Whse Number Overview RLMG0050 - Batch Input for Transfer of Material Master Data Whse Number Overview RLMG0020 - Creating WM View for Multiple Material Masters (Decentr.WM) RLMG0020 - Creating WM View for Multiple Material Masters (Decentr.WM) RLMFW_REP - Find Release Orders RLMFW_REP - Find Release Orders