SAP Reports / Programs | Logistics Execution | Warehouse Management(LE-WM) SAP LE

RLMG0060 SAP ABAP Report - Batch Input for Material Master Data Transfer, Storage Type View







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OL17 - Data transfer material storage type


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 RLMG0060. "Basic submit
SUBMIT RLMG0060 AND RETURN. "Return to original report after report execution complete
SUBMIT RLMG0060 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: 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


INCLUDES used within this REPORT RLMG0060

INCLUDE MLLVSKON.


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:

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[].



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