SAP Reports / Programs

RKALITER SAP ABAP Report - Allocations: Iteration Analysis







RKALITER 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 RKALITER 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 RKALITER. "Basic submit
SUBMIT RKALITER AND RETURN. "Return to original report after report execution complete
SUBMIT RKALITER 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: CE_INT = Expand Cost Elements
Selection Text: CREA_CYC = Create Cycles
Selection Text: CYCNM = Cycle Name
Selection Text: EXEC_CYC = Run Cycles
Selection Text: GJAHR = Fiscal Year
Selection Text: KOKRS = Controlling Area
Selection Text: NET_BOT = Display Below
Selection Text: NET_LEF = Display Left
Selection Text: NET_RIG = Display Right
Selection Text: NET_TOP = Display Above
Selection Text: NRJOBS = Max. No. of Parallel Jobs
Selection Text: NROFSEQS = Number of Segments per Cycle
Selection Text: PARALLEL = Parallel Processing
Selection Text: PARATIME = Wait Time for Endless Loop
Selection Text: PERIO_F = From Period
Selection Text: PERIO_T = To Period
Selection Text: WAITTIME = Wait Time for Endless Loop
Selection Text: TESTCREA = Test Run
Selection Text: SPLIT_E = Split by Segment Type
Selection Text: SPLIT_C = Split by Subnetworks
Selection Text: SPLITNUM = Number of Segments for Split
Selection Text: SPLITCYC = Split Cycle
Selection Text: SM_SDATE = To Start Date
Selection Text: SM_EDATE = From Start Date
Selection Text: SERIAL = Serial Processing
Selection Text: SEQ_TOP = Display Above
Selection Text: SEQ_RIG = Display Right
Selection Text: SEQ_LEF = Display Left
Selection Text: SEQ_BOT = Display Below
Selection Text: SDATE = Start Date
Selection Text: P_VARI = Template Variant
Title: Allocations: Iteration Analysis
Text Symbol: TOP = Up
Text Symbol: SS_ = Sending Segments
Text Symbol: SSR = Iterative Segments
Text Symbol: SR_ = Receiving Segments
Text Symbol: SDA = Start Date
Text Symbol: S09 = Segments





Text Symbol: S08 = Split Large Networks by Sender Segments, if more than
Text Symbol: S07 = Duplicate Pure Receiver Segments (Only Serial Processing Possible)
Text Symbol: S06 = Serial Processing
Text Symbol: S05 = Wait Time for Endless Loop (sec)
Text Symbol: S04 = Max No. of Parallel Jobs
Text Symbol: S03 = Parallel Processing
Text Symbol: G02 = Segment Allocation Relationships
Text Symbol: G01 = Independent Iteration Networks in Orig. Cycle
Text Symbol: F07 = Display of Iterative Objects of Segments
Text Symbol: F06 = Display of Analysis of Iter. Networks
Text Symbol: F05 = Criteria for Processing the Cycles
Text Symbol: F04 = Criteria for the Generation of Cycles
Text Symbol: F02 = Additional Criteria for Iteration Analysis
Text Symbol: F01 = Definition of Original Cycle
Text Symbol: E04 = When Using Duplicated Receiver Segments
Text Symbol: E03 = Only Serial Processing Possible
Text Symbol: E02 = Indirect Activity Allocation not Poss.
Text Symbol: E01 = Specify Template Variant
Text Symbol: CYC = Cycle Name
Text Symbol: BOT = Below
Text Symbol: A08 = Name of Receiving Segment
Text Symbol: A07 = Receiving Segment
Text Symbol: A06 = Allocate to
Text Symbol: A05 = Sending Segment Name
Text Symbol: A04 = Sending Segment
Text Symbol: A03 = Receives
Text Symbol: A02 = Sends
Text Symbol: A01 = Subnetwks
Text Symbol: S02 = Wait Time for Endless Loop (sec)
Text Symbol: S01 = Expand Cost Elements --> Leads to very long Runtime
Text Symbol: RIG = Right
Text Symbol: PU1 = Display Logs
Text Symbol: POA = Would be created
Text Symbol: PO9 = Cycle Created
Text Symbol: PO8 = Start Cycle
Text Symbol: PO7 = Start of Cycles
Text Symbol: PO6 = Create Cycles
Text Symbol: PO5 = Determine Subiteration Net.
Text Symbol: PO4 = Determine Iteration Net





Text Symbol: PO3 = Read Receiver Definition
Text Symbol: PO2 = Read Sender Definition
Text Symbol: PO1 = Initializ. Completed
Text Symbol: PET = Period to
Text Symbol: PEF = From Period
Text Symbol: NON = Non-Interative Segments
Text Symbol: LEF = Left
Text Symbol: KOK = Controlling Area
Text Symbol: J01 = Cycle
Text Symbol: HEA = Iteration Network Analysis
Text Symbol: GJA = Fiscal Year


INCLUDES used within this REPORT RKALITER

INCLUDE KGALDTYP.


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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = SY-CPROG DYNUMB = SY-DYNNR TRANSLATE_TO_UPPER = true TABLES DYNPFIELDS = DYNPFIELDS.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING DATE_EXTERNAL = dynpfields-fieldvalue IMPORTING DATE_INTERNAL = .

KGAL_F4_ON_CYCLE CALL FUNCTION 'KGAL_F4_ON_CYCLE' EXPORTING TAB = 'CCSS' GROUP = kokrs IMPORTING E_T811C = gs_t811c EXCEPTIONS NO_CYCLE = 1 OTHERS = 2.

CONVERT_DATE_TO_EXTERNAL CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL' EXPORTING DATE_INTERNAL = ld_sdate IMPORTING DATE_EXTERNAL = dynpfields-fieldvalue EXCEPTIONS DATE_INTERNAL_IS_INVALID = 1 OTHERS = 2.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = sy-cprog DYNUMB = sy-dynnr TABLES DYNPFIELDS = dynpfields EXCEPTIONS OTHERS = 1.

G_PERIODS_OF_YEAR_GET CALL FUNCTION 'G_PERIODS_OF_YEAR_GET' EXPORTING VARIANT = gd_lmona YEAR = gjahr TABLES I_PERIODS = gt_periods EXCEPTIONS OTHERS = 1.

G_SET_GET_ALL_VALUES CALL FUNCTION 'G_SET_GET_ALL_VALUES' EXPORTING SETNR = ls_t811k_cc-setid TABLES SET_VALUES = lt_setvalues EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.

G_SET_GET_ALL_VALUES CALL FUNCTION 'G_SET_GET_ALL_VALUES' EXPORTING SETNR = ls_t811k_ce-setid TABLES SET_VALUES = lt_setvalues EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.

KGAL_GET_ACTIVITY CALL FUNCTION 'KGAL_GET_ACTIVITY' EXPORTING ALART = gs_t811c-alart IPKNZ = gs_t811c-ipknz APPL = ap-rks TAB = rfc_tab-rks IMPORTING TCODE = ld_tcode EXCEPTIONS NOT_EXIST = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING IT_FIELDCAT = gt_fieldcat I_SAVE = 'A' it_sort = lt_sort is_layout = ls_layout I_CALLBACK_PROGRAM = gd_repid I_CALLBACK_TOP_OF_PAGE = gd_form TABLES T_OUTTAB = nettab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING IT_FIELDCAT = gt_fieldcat I_SAVE = 'A' is_layout = ls_layout I_CALLBACK_PROGRAM = gd_repid I_CALLBACK_TOP_OF_PAGE = gd_form TABLES T_OUTTAB = lt_seq_out EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = lt_list.

KGAL_GET_ACTIVITY



CALL FUNCTION 'KGAL_GET_ACTIVITY' EXPORTING ALART = gs_t811c-alart IPKNZ = gs_t811c-ipknz APPL = ap-rks TAB = rfc_tab-rks IMPORTING BATCH_REP = ld_repid ACTIVITY = ld_activity EXCEPTIONS NOT_EXIST = 1 OTHERS = 2.

RS_VARIANT_VALUES_TECH_DATA CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA' EXPORTING REPORT = ld_repid VARIANT = P_vari TABLES VARIANT_VALUES = gt_seltab EXCEPTIONS OTHERS = 1.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING REPORT = ld_self MODE = 'BATCH' NO_DIALOG = 'X' IMPORTING OUT_PARAMETERS = PAR_PRIPA OUT_ARCHIVE_PARAMETERS = PAR_ARCPA.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = gd_JOBNAME IMPORTING JOBCOUNT = LD_JNUMM EXCEPTIONS CANT_CREATE_JOB = 01 INVALID_JOB_DATA = 02 JOBNAME_MISSING = 03 OTHERS = 90.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = LD_JNUMM JOBNAME = gd_JOBNAME EXCEPTIONS OTHERS = 99.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = LD_JNUMM JOBNAME = gd_JOBNAME STRTIMMED = 'X' Exceptions others = 2.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING FORCEDMODE = 'X' JOBCOUNT = LD_JNUMM JOBNAME = gd_JOBNAME EXCEPTIONS OTHERS = 99.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING JOB_READ_JOBCOUNT = LD_JNUMM JOB_READ_JOBNAME = JOBNAME JOB_READ_OPCODE = LD_OPCODE IMPORTING JOB_READ_JOBHEAD = LD_JOBHEAD TABLES JOB_READ_STEPLIST = LT_STEPLIST EXCEPTIONS INVALID_OPCODE = 41 JOB_DOESNT_EXIST = 42 JOB_DOESNT_HAVE_STEPS = 43 OTHERS = 92.

ENQUEUE_EKACTVE CALL FUNCTION 'ENQUEUE_EKACTVE' EXPORTING MODE_TKA04 = ld_lock_mode KOKRS = KOKRS ACTIVITY = ACTIVITY _SCOPE = '1' _WAIT = 'X' "Kleine Warteschleife EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DEQUEUE_EKACTVE call function 'DEQUEUE_EKACTVE' exporting MODE_TKA04 = ld_lock_mode kokrs = kokrs activity = activity _scope = '1'.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = ld_text1.

K_KOSTL_OBJECT_KEYS_GET CALL FUNCTION 'K_KOSTL_OBJECT_KEYS_GET' EXPORTING KOKRS = kokrs TABLES TAB_KOSTL = TAB_KOSTL TAB_OBJNR = TAB_OBJNR.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING LS_DETAIL = lS_DETAIL LS_WITEM = lS_WITEM IMPORTING LS_KEY = lS_KEY TABLES LT_SELKRIT = LT_SELKRIT.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' IMPORTING E_IDENTIFICATION = gd_ident.

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' IMPORTING MAX_SEVERITY = LD_SEVERITY.

MESSAGES_SAVE CALL FUNCTION 'MESSAGES_SAVE' EXPORTING I_BALOBJECT = LD_BALOBJECT I_BALSUBOBJECT = LD_BALSUBOBJECT * i_in_update_task = I_IDENTIFICATION = GD_IDENT IMPORTING E_LOG_HANDLE = lD_LOG_HANDLE EXCEPTIONS NO_MESSAGES = 1 NOT_ACTIVE = 2 PROGRAM_ERROR = 3 SAVE_NOT_ALLOWED = 4 WRONG_IDENTIFICATION = 5.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING LS_KEY = lS_KEY LS_SCMA_EVENT = LS_SCMA_EVENT ls_message = ls_message CHANGING LD_APLSTAT = LD_APLSTAT EXCEPTIONS NO_ID_GIVEN = 1 OTHERS = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = arbgb MSGTY = msgty MSGV1 = v1 MSGV2 = v2 MSGV3 = v3 MSGV4 = v4 TXTNR = txtnr IMPORTING * ACT_SEVERITY = MAX_SEVERITY = gd_max_sever EXCEPTIONS OTHERS = 1.

MONI_IF_GENERIC_CALL CALL FUNCTION 'MONI_IF_GENERIC_CALL' TABLES LT_SELFIELDS = lt_selfields.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = 'RKALITER' I_INTERNAL_TABNAME = 'GS_DET' I_INCLNAME = 'RKALITER' CHANGING CT_FIELDCAT = gt_2_fcat EXCEPTIONS OTHERS = 3.

LVC_TRANSFER_FROM_SLIS CALL FUNCTION 'LVC_TRANSFER_FROM_SLIS' EXPORTING IT_FIELDCAT_ALV = gt_2_fcat IMPORTING ET_FIELDCAT_LVC = gt_fcat_det TABLES IT_DATA = gt_det EXCEPTIONS OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_system_redo text = '' * info = IMPORTING RESULT = gd_icon_redo EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_complete text = '' * info = IMPORTING RESULT = gd_icon_done EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICON_STATUS_CRITICAL text = '' * info = IMPORTING RESULT = gd_icon_endless EXCEPTIONS OTHERS = 0.

RK_AL_GET_ABSCH CALL FUNCTION 'RK_AL_GET_ABSCH' EXPORTING ABSCH = ls_t811s-absch SEQS_SEQNR = ls_t811s-seqnr SEQS_NAME = ls_t811s-name SEQS_SEQPOS = ls_t811s-seqpos SEQS_TXT = space KOKRS = kokrs GJAHR = ld_gjahr * ALL_LINES = ' ' TABLES GT_ABSCH = gt_absch IT_PERIODS = gt_periods EXCEPTIONS NO_ASACC = 1 OTHERS = 2.



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