SAP Reports / Programs

FKJO_REORG SAP ABAP Report - Reorganization of Tables/Background Processing







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


Text pool values


Title: Reorganization of Tables/Background Processing


INCLUDES used within this REPORT FKJO_REORG

INCLUDE FKJO_GLOBAL.


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:

FKJO_GET_DEBUG call function 'FKJO_GET_DEBUG' importing e_debug_output = debugon exceptions others = 0.

FKJO_CNTR_PARMS_READ call function 'FKJO_CNTR_PARMS_READ' importing reorgperiod = reorgperiod reorgfac = reorgfac reorgdate = reorgdate reorgtime = reorgtime.

FKK_DTE_ADD_PERIOD call function 'FKK_DTE_ADD_PERIOD' exporting i_base_date = reorgdate i_base_time = reorgtime i_periode = reorgperiod i_period_factor = reorgfac importing e_datum = reorgdate e_zeit = reorgtime exceptions error_occured = 1 others = 2.

FKJO_CNTR_PARMS_SAVE call function 'FKJO_CNTR_PARMS_SAVE' exporting reorgperiod = reorgperiod reorgfac = reorgfac reorgdate = reorgdate reorgtime = reorgtime exceptions others = 0.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Reorganisation von FKKDIJOB beginnt.'."#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Bearbeite Job (Jobcount,JobName)' "#EC NOTEXT i_msg2 = t_fkkdijob-jobcount "#EC NOTEXT i_msg3 = t_fkkdijob-jobname. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Kein Eintrag mehr in TBTCO'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Rufe Reorg-Baustein ' "#EC NOTEXT i_msg2 = reorg_fb.

FKJO_SAMPLE_REORG call function 'FKJO_SAMPLE_REORG'.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Kein Reorg-Baustein vorhanden fuer Typ' "#EC NOTEXT i_msg2 = t_fkkdijob-jtype.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Loesche Job aus FKKDIJOB'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Reorg-Baustein verhindert Loeschen'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Fertig mit Job(Jobcount,JobName)' "#EC NOTEXT i_msg2 = t_fkkdijob-jobcount "#EC NOTEXT i_msg3 = t_fkkdijob-jobname. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Loesche FKKDIJOB (Array-DELETE)'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Reorganisation von DFK_JC_CNTR beginnt.'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = '1.) Alte Laeufe ohne Eintraege.'. "#EC NOTEXT

FKJO_BUILD_RUNID call function 'FKJO_BUILD_RUNID' exporting i_id = t_dfkjccntr-id i_start_date = t_dfkjccntr-start_date i_start_time = t_dfkjccntr-start_time importing e_runid = runid exceptions others = 0.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Teste Lauf mit Run-ID' "#EC NOTEXT i_msg2 = runid.

FKJO_DEBUG_MSG





call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Lauf loeschbar:0 Eintraege oder temporaer.'."#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Lauf nicht loeschen, hat Eintraege.'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Delete fuer DFK_JC_CNTR.'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = '2.) Beginne ausgefuehrte Laeufe.'. "#EC NOTEXT

FKJO_BUILD_RUNID call function 'FKJO_BUILD_RUNID' exporting i_id = t_dfkjccntr-id i_start_date = t_dfkjccntr-start_date i_start_time = t_dfkjccntr-start_time importing e_runid = runid exceptions others = 0.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Loesche Jobs in DFK_JC_CNTR_PROD mit Run-ID' "#EC NOTEXT i_msg2 = runid.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Array-Delete fuer DFK_JC_CNTR.'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = '3.) Loesche DFK_JC_CNTR_PROD abgelaufene Jobs'."#EC NOTEXT

FKJO_GET_RUN_INFO call function 'FKJO_GET_RUN_INFO' exporting i_runid = t_dfkjccntrprod-runid i_ignore_errors = 'X' importing e_start_date = t_dfkjccntr-start_date e_start_time = t_dfkjccntr-start_time e_id = t_dfkjccntr-id exceptions others = 0. "#EC DOM_EQUAL

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Teste Job in DFK_JC_CNTR_PROD mit Run-ID' "#EC NOTEXT i_msg2 = runid.

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Job nicht in Container, kann geloescht werden.'."#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Job hat Verweis in Container, nicht loeschen'."#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = 'Array-Delete fuer DFK_JC_CNTR_PROD.'. "#EC NOTEXT

FKJO_DEBUG_MSG call function 'FKJO_DEBUG_MSG' exporting i_msg1 = s.

FKJO_SAMPLE_REORG call function 'FKJO_SAMPLE_REORG'.

FKJO_SAMPLE_REORG1 call function 'FKJO_SAMPLE_REORG1'.



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