SAP Reports / Programs

RKALITER_PCA SAP ABAP Report - Allocations: Iteration Analysis Profit Center







RKALITER_PCA 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_PCA 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_PCA. "Basic submit
SUBMIT RKALITER_PCA AND RETURN. "Return to original report after report execution complete
SUBMIT RKALITER_PCA 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 = Execute 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 = Period To
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: RLDNR = Ledger
Selection Text: P_VARI = Template Variant
Title: Allocations: Iteration Analysis Profit Center
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 = Name of Receiving Seg.
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_PCA

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 = 'GLPCT' GROUP = '8A' 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.

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.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = ld_text1.




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_PCA' I_INTERNAL_TABNAME = 'GS_DET' I_INCLNAME = 'RKALITER_PCA' 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.



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