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

RLBEST00 SAP ABAP Report - Batch Input for Init.Entry of Stock Data







RLBEST00 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 stocks from a previous warehouse 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 RLBEST00 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

OL12 - Data transfer stock RLBES-> B.I.
LX19 - Inventory Data Takeover by Btch Inp.


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 RLBEST00. "Basic submit
SUBMIT RLBEST00 AND RETURN. "Return to original report after report execution complete
SUBMIT RLBEST00 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: 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 Init.Entry of Stock Data
Text Symbol: 001 = WNo Ty. Sec Stor.bin Qty. UoM GR number
Text Symbol: 002 = Stock Data Transfer via BATCH-INPUT with Folder
Text Symbol: 003 = The following stocks were transferred via the Call trans.
Text Symbol: 004 = copied
Text Symbol: 006 = The following stock figures were imported:


INCLUDES used within this REPORT RLBEST00

No INCLUDES are used within this REPORT code!


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.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = TCODE_TA_ERZEUGEN 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 = sy-repid I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_GRID_TITLE = LV_TITLE IT_FIELDCAT = LT_FIELDCAT[] TABLES T_OUTTAB = GT_RLBES[] EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = 'RLBES' CHANGING CT_FIELDCAT = CT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .



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