RFKK_OFFICIALDOC_CORRECT 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 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: S_GUIDNR = GUID Number
Selection Text: S_JOB = Job Name
Title: Correct Official Document Numbers for Job
Text Symbol: 001 = Specify Job Name or GUID No.
Text Symbol: 002 = Process Completed, Read Reports in Log
Text Symbol: 003 = No GUID No. Found
Text Symbol: 004 = No Temporary Official Document Number under GUID Number:
Text Symbol: 005 = Reserv. Official Doc. Number Interval Deleted for GUID No.:
Text Symbol: 006 = Problem Deleting Reserv. Number Intervals under GUID Number:
Text Symbol: 007 = Job Status is Neither Canceled Nor Closed, Corresponding GUID No.:
Text Symbol: 008 = Problem Determining Job Status, Corresponding GUID Number:
Text Symbol: 009 = GUID No. + First + Last Official Document Number Assigd Is:
Text Symbol: 010 = Restart Program, Problem with Reserv. No. Interval for GUID Number:
INCLUDE EMSG.
INCLUDE RFKKOFFICIALDOCPROTOCOL.
No SAP DATABASE tables are accessed within this REPORT code!
BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = 'N' jobcount = h_jobcount jobname = h_jobname IMPORTING * STATUS_ACCORDING_TO_DB = actual_status = h_actual_status EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.
FKK_S_CRT_EXTCON_EXTDOC CALL FUNCTION 'FKK_S_CRT_EXTCON_EXTDOC' EXPORTING i_guidnr = h_guidnr TABLES it_fkkextcon = wt_fkkextcon et_fimsg = lt_fimsg EXCEPTIONS nothing_found = 1 number_error = 2 OTHERS = 3.
DEQUEUE_ESTNRO CALL FUNCTION 'DEQUEUE_ESTNRO' EXPORTING object = 'FKK_EXTDOC'.
DEQUEUE_ESTNRO CALL FUNCTION 'DEQUEUE_ESTNRO' EXPORTING object = 'FKK_EXTDOC'.
FKK_S_GET_EXTTMP_EXTDOC CALL FUNCTION 'FKK_S_GET_EXTTMP_EXTDOC' EXPORTING i_fkkextcon = wt_fkkextcon TABLES it_fkkexttmp = wt_fkkexttmp EXCEPTIONS number_error = 1 nothing_found = 2 OTHERS = 3.
FKK_S_CRTFINAL_MASS_EXTDOC CALL FUNCTION 'FKK_S_CRTFINAL_MASS_EXTDOC' EXPORTING i_fkkextcon = wt_fkkextcon TABLES xt_fkkexttmp = t_fkkexttmp yt_fkkextdoc = t_fkkextdoc_upd CHANGING i_number = i_next_number EXCEPTIONS number_error = 1 update_error = 2 other_error = 3 OTHERS = 4.
ISU_EXTDOC_ERDK_MASS_UPDATE IF 1 = 2. CALL FUNCTION 'ISU_EXTDOC_ERDK_MASS_UPDATE'. ENDIF.
FKK_DB_UPDATE_EXTCON CALL FUNCTION 'FKK_DB_UPDATE_EXTCON' TABLES * IT_FKKEXTCON_INS = it_fkkextcon_upd = wt_fkkextcon * IT_FKKEXTCON_DEL = .
FKK_DB_UPDATE_EXTCON CALL FUNCTION 'FKK_DB_UPDATE_EXTCON' TABLES it_fkkextcon_del = wt_fkkextcon_dele EXCEPTIONS OTHERS = 1.
ISU_INV_PF_STATUS_HANDLE * CALL FUNCTION 'ISU_INV_PF_STATUS_HANDLE' * EXPORTING * X_HANDLE = G_HANDLE * TABLES * T_OPBEL = T_OPBEL * EXCEPTIONS * IU_ERROR = 1 * SYSTEM_ERROR = 2 * NOT_QUALIFIED = 3 * OTHERS = 4.
MSG_ACTION CALL FUNCTION 'MSG_ACTION' EXPORTING x_msg_handle = g_handle x_action = co_msg_dspl EXCEPTIONS action_not_supported = 1 handle_invalid = 2 not_found = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFKK_OFFICIALDOC_CORRECT - Correct Official Document Numbers for Job RFKK_OFFICIALDOC_CORRECT - Correct Official Document Numbers for Job RFKK_NOTE_TESTTOP - Include RFKK_NOTE_ANALTOP RFKK_NOTE_TEST - Test Program for Note to Payee Analysis RFKK_NOTE_TEST - Test Program for Note to Payee Analysis RFKK_NEWACCADJTOP - RFKKNEWACCADJTOP