SAP Reports / Programs | Contract Accounts Receivable and Payable | SAP Utilities | Contract Accounts Receivable and Payable(IS-U-CA) SAP IS

RFKK_OFFICIALDOC_CORRECT_MAIN SAP ABAP Report - Correct Official Document Number for Terminated Jobs







RFKK_OFFICIALDOC_CORRECT_MAIN 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 RFKK_OFFICIALDOC_CORRECT_MAIN 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 RFKK_OFFICIALDOC_CORRECT_MAIN. "Basic submit
SUBMIT RFKK_OFFICIALDOC_CORRECT_MAIN AND RETURN. "Return to original report after report execution complete
SUBMIT RFKK_OFFICIALDOC_CORRECT_MAIN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Corrections Planned for Following Jobs
Selection Text: S_GUIDNR = GUID Number
Selection Text: S_JOB = Job Name
Title: Correct Official Document Number for Terminated Jobs
Text Symbol: 001 = All temp. official document numbers will be corrected
Text Symbol: 002 = Process Completed, Read Reports in Log
Text Symbol: 003 = No GUID No. Found
Text Symbol: 005 = No
Text Symbol: 006 = Yes
Text Symbol: 007 = When jobs are complete, read log
001 Successful JobName Job ID GUID No.


INCLUDES used within this REPORT RFKK_OFFICIALDOC_CORRECT_MAIN

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:

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING * DELANFREP = ' ' * JOBGROUP = ' ' JOBNAME = h_submitjob_final * SDLSTRTDT = NO_DATE * SDLSTRTTM = NO_TIME IMPORTING JOBCOUNT = h_jobcount EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3 OTHERS = 4 .

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING IMMEDIATELY = ' ' NO_DIALOG = 'X' USER = SY-UNAME IMPORTING * OUT_ARCHIVE_PARAMETERS = OUT_PARAMETERS = h_print_parameters * VALID = EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 1 INVALID_PRINT_PARAMS = 2 INVALID_ARCHIVE_PARAMS = 3 OTHERS = 4 .

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = h_jobcount JOBNAME = h_submitjob_final STRTIMMED = 'X' EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7 OTHERS = 8 .



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