SAP Reports / Programs

RLMG0050 SAP ABAP Report - Batch Input for Transfer of Material Master Data Whse Number Overview







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


Transaction Code(s):

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

OL15 - Data transfer material whse no.view


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


INCLUDES used within this REPORT RLMG0050

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



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