SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

RMDATTST SAP ABAP Report - Example: UNIX -> R/3 by Direct Input with Restart Option







RMDATTST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RMDATTST into the relevant SAP transactions such as SE38 or SE80


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 RMDATTST. "Basic submit
SUBMIT RMDATTST AND RETURN. "Return to original report after report execution complete
SUBMIT RMDATTST 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: XCALL = Call transaction ... using ..
Selection Text: UPDATE = Update mode
Selection Text: MYLOGNUM = Logical number
Selection Text: MAPNAM = Session name for errors
Selection Text: LDS_NAME = Name of logical file
Selection Text: KZ_PRF = Make preliminary check
Selection Text: DS_NAME = Name of sequential file
Selection Text: ANZ_MODE = Display mode
Title: Example: UNIX -> R/3 by Direct Input with Restart Option
Text Symbol: 016 = Remaining errors:
Text Symbol: 015 = Job not found
Text Symbol: 014 = Internal error in BI CLOSE ENTRY
Text Symbol: 013 = Job name not found
Text Symbol: 012 = Internal error in BI END AKT NUMBER
Text Symbol: 011 = Some ex/internal number
Text Symbol: 010 = Logical error in &
Text Symbol: 008 = You are online. No restart possible.
Text Symbol: 007 = Job ID is
Text Symbol: 006 = LastErrNo was
Text Symbol: 005 = Restarted. Continue with
Text Symbol: 004 = First start for job ID
Text Symbol: 003 = Job ID is
Text Symbol: 002 = Trying to input logical errors
Text Symbol: 001 = Internal error in BI GET STARTING NUMBER


INCLUDES used within this REPORT RMDATTST

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 = LDS_NAME IMPORTING FILE_NAME = DS_NAME EXCEPTIONS FILE_NOT_FOUND = 01.

BI_GET_STARTING_NUMBER CALL FUNCTION 'BI_GET_STARTING_NUMBER' IMPORTING JOBID = JOBNAME " your jobname ACTUAL_NUMBER = STARTNUM " thats where we star LASTERRNUM = LASTERRNUM " not needed, info * NUMERRORS = " not needed, info * EXTERNAL_NUMBER = " not needed, info ACTION = ACTION " retrying errors? EXCEPTIONS WRONG_STATUS_FOUND = 3 NOT_FOUND = 4 OTHERS = 5.

BI_END_AKT_NUMBER CALL FUNCTION 'BI_END_AKT_NUMBER' EXPORTING JOBNAME = JOBNAME ACTUAL_NUMBER = AKTNUM " this is the number NUMBER_OF_ERRORS = NUMERROR " how many logical errs EXTERNAL_NUMBER = 'some ex/internal number'(011) EXCEPTIONS INTERNAL_ERROR = 01 NOT_FOUND = 02 OTHERS = 3.

BI_CLOSE_ENTRY CALL FUNCTION 'BI_CLOSE_ENTRY' EXPORTING JOBNAME = JOBNAME EXCEPTIONS INTERNAL_ERROR = 01 NOT_FOUND = 02 OTHERS = 03.

BI_ERRORS_CLOSE CALL FUNCTION 'BI_ERRORS_CLOSE' EXPORTING JOBNAME = JOBNAME EXCEPTIONS INTERNAL_ERROR = 1 NOT_FOUND = 2 OTHERS = 3.

BI_ERRORS_SOLVED CALL FUNCTION 'BI_ERRORS_SOLVED' EXPORTING JOBNAME = JOBNAME NUMBER_OF_ERRORS = NUMERROR" errors remaining * EXTERNAL_NUMBER = ' ' * CLOSE_ENTRY = ' ' EXCEPTIONS INTERNAL_ERROR = 1 NOT_FOUND = 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 RMDATTST or its description.