RLMG0060 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 / storage type view from R/2 warehouses into an R/3 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 RLMG0060 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OL17 - Data transfer material storage type
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 Connect.?
Title: Batch Input for Material Master Data Transfer, Storage Type View
Text Symbol: 001 = Material WhN Plnt Ty. Stor.bin Max.bin qty Control qty
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: 006 = The following materials were imported:
Text Symbol: 007 = Final report data
Text Symbol: 008 = Number of material records read:
Text Symbol: 009 = Number of incorrect material records:
Text Symbol: 010 = Number of processed material records:
Text Symbol: 012 = Materials processed via BATCH-INPUT with folder
Text Symbol: 013 = Materials transferred via Call transaction
Text Symbol: 020 = No material master exists for warehouse number
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 IT_FIELDCAT = LT_FIELDCAT[] TABLES T_OUTTAB = GT_LDK31[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'LDK31' CHANGING CT_FIELDCAT = CT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
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.
RLMG0060 - Batch Input for Material Master Data Transfer, Storage Type View RLMG0060 - Batch Input for Material Master Data Transfer, Storage Type View 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)