SAP Reports / Programs

RKAEP000 SAP ABAP Report - documentation and ABAP source code







RKAEP000 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 RKAEP000 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

KKAA - Sales Document Line Items Res.Anal.
KOB3 - Orders: Variance Line Items
KOBPN - Orders: Plan Line Items New
KOB2N - Orders: Commitment Line Items
CJIG - Display PS Cash Documents
KSBP - Cost Centers: Plan Line Items
KSBPN - Cost Centers: Plan Line Items New
KSBX - Cost Centers: Line Items (Actl/Plan)
KSB2 - Cost Centers: Commitment Line Items
KKFB - RS Header: Line Items Variance
KRMI - Run Sched. Header: Line Items Actual
KOB2 - Orders: Commitment Line Items
KOB1N - Orders: Actual Line Items New
KSB5N - Controlling Documents: Actual
KOB1 - Orders: Actual Line Items
CPBP - Business Processes: Plan Line Items
CPB1 - Business Processes: Act. Line Items
KKCA - Cost Objects: Variance Line Items
KOB4 - Orders: Budget Line Items
KOB7 - Orders: Line Item Settlement Retirem
KSB5 - Controlling Documents: Actual
KSB1N - Cost Centers: Actual Line Items New
KABP - Controlling Documents: Plan
KKCS - Cost Objects: Line Items - Actual
KSB1 - Cost Centers: Actual Line Items
KVBI - Sales Documents: Line Items Actual
KKCP - Cost Object Line Items - Plan
KVBO - Sales Documents: Commit. Line Items
KOB5 - Orders: Maint. Line Item Settlement
KOBP - Orders: Plan Line Items
KOB6 - Orders: Settlement Line Items
KOB8 - Orders: WIP/Results Anal. Line Items


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 RKAEP000. "Basic submit
SUBMIT RKAEP000 AND RETURN. "Return to original report after report execution complete
SUBMIT RKAEP000 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: I_SAFNR = Run Schedule Header
Selection Text: I_SALOR = Sales Document
Selection Text: I_WERKS = Plant
Selection Text: KOAGR = Cost Element Group
Selection Text: KOSTL = Cost Center
Selection Text: KSTAR = Cost Element
Selection Text: KSTGR = Cost Center Group
Selection Text: PRZGR = Business Process Group
Selection Text: PRZNR = Business Process
Selection Text: P_AFABE = Valuation Area
Selection Text: P_AUFNR = Order
Selection Text: P_DBCONX = Database Connection
Selection Text: P_DISINT = Break Down Intervals
Selection Text: P_DISVAR = Layout
Selection Text: P_GESW = Total Values
Selection Text: P_GROBJ = Group Objects
Selection Text: P_HANA = Accelerated Selection
Selection Text: P_IMOUT = Start with Complete List
Selection Text: P_OPEN = Open Items Only
Selection Text: P_TREE = Hierarchy Display
Selection Text: P_UOBJNR = Object
Selection Text: P_UPAROB = Partner Object
Selection Text: P_UUSPOB = Source Object
Selection Text: P_XOBJNR = Object
Selection Text: P_XPAROB = Partner Object
Selection Text: R_AWVRS = Target Cost Version
Selection Text: R_BELNR = Document Number
Selection Text: R_BUDAT = Posting Date
Selection Text: R_BUDAT1 = Posting Date
Selection Text: R_BUDAT2 = Posting Date
Selection Text: R_GJAHR = Fiscal Year
Selection Text: R_GJAHR1 = Fiscal Year
Selection Text: R_GJAHR2 = Fiscal Year
Selection Text: R_OBDAT = Expected Debit Date
Selection Text: R_PERIO = Period
Selection Text: R_PERIO1 = Period
Selection Text: R_VERSA = Results Analysis Version
Selection Text: R_VERSN = Version





Selection Text: I_PROCNR = Production Process
Selection Text: I_POSNR = Item
Selection Text: I_MATNR = Material
Selection Text: I_KSTRG = Cost Object
Selection Text: F_BELNR = Document Number
Selection Text: AUFNR = Order
Selection Text: AUFGR = Order Group
Text Symbol: PAG = Cost Element Group
Text Symbol: HLP = Help: Indicator "Read Variant Fields Only"
Text Symbol: FSG = Display Group...
Text Symbol: FSC = Set CO Area...
Text Symbol: FFS = More Selection Criteria
Text Symbol: ETT = Budget Data
Text Symbol: EIN = : Initial Screen
Text Symbol: COR = or
Text Symbol: BT2 = For documentation, see SAP Note 1644201
Text Symbol: BT1 = More Settings
Text Symbol: BSD = Settlement Data
Text Symbol: BPD = Planning Data
Text Symbol: BDD = Budget Data
Text Symbol: BBD = Posting Data
Text Symbol: BAV = Settings
Text Symbol: PAV = Layout
Text Symbol: PFV = No Variant Changes
Text Symbol: PKG = Cost Center Group
Text Symbol: PKS = Cost Center(s)
Text Symbol: POG = Order Group
Text Symbol: POR = Orders
Text Symbol: PPC = Profit Center
Text Symbol: PPG = Business Process Grp
Text Symbol: TFS = Define More Selection Criteria
Text Symbol: VBL = Sales Documents
Text Symbol: X01 = More than one actual version transferred to RRI
Text Symbol: X02 = More than one valuation view transferred to RRI
Text Symbol: X03 = More than one controlling area transferred to RRI
Text Symbol: XX1 = Database Settings
Text Symbol: XX2 = Choose Selection Field
Text Symbol: XX3 = Display Options


INCLUDES used within this REPORT RKAEP000

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:

MESSAGES_ACTIVE CALL FUNCTION 'MESSAGES_ACTIVE' EXCEPTIONS not_active = 1.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

K_DOCUMENT_SELECT CALL FUNCTION 'K_DOCUMENT_SELECT' EXPORTING imp_kokrs = p_kokrs imp_eptab = ld_table IMPORTING exp_belnr = r_belnr-low.

K_DOCUMENT_SELECT CALL FUNCTION 'K_DOCUMENT_SELECT' EXPORTING imp_kokrs = p_kokrs imp_eptab = ld_table IMPORTING exp_belnr = r_belnr-high.

K_DOCUMENT_SELECT CALL FUNCTION 'K_DOCUMENT_SELECT' EXPORTING imp_kokrs = p_kokrs imp_eptab = ld_table IMPORTING exp_belnr = f_belnr-low.

K_DOCUMENT_SELECT CALL FUNCTION 'K_DOCUMENT_SELECT' EXPORTING imp_kokrs = p_kokrs imp_eptab = ld_table IMPORTING exp_belnr = f_belnr-high.

K_LINE_ITEM_VALUE_TYPES_SET CALL FUNCTION 'K_LINE_ITEM_VALUE_TYPES_SET' CHANGING ct_value_types = gt_wrttp EXCEPTIONS OTHERS = 1.

K_ACTUAL_VERSN_SET CALL FUNCTION 'K_ACTUAL_VERSN_SET' EXPORTING i_kokrs = p_kokrs CHANGING c_act_versn = p_actvrs.

K_LINE_ITEM_TECH_SETTINGS_SET CALL FUNCTION 'K_LINE_ITEM_TECH_SETTINGS_SET' EXPORTING "COGM 1671025 i_item = p_item "COGM 1671025 CHANGING c_fixvar = p_fixvar c_maxsel = p_maxsel c_shownozero = p_nozero. "COGM 1671025

K_LINE_ITEM_TECH_SETTINGS_SET CALL FUNCTION 'K_LINE_ITEM_TECH_SETTINGS_SET' EXPORTING "COGM 1671025 i_item = p_item "COGM 1671025 CHANGING c_fixvar = p_fixvar c_maxsel = p_maxsel c_usegrd = p_usegrd c_shownozero = p_nozero. "COGM 1671025

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = p_kokrs popup = '1' IMPORTING e_kokrs = p_kokrs.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING show_linno = space.

ROMU_RS_CONVERT_ICSEL_TO_COSEL CALL FUNCTION 'ROMU_RS_CONVERT_ICSEL_TO_COSEL' TABLES I_SELECTION_TABLE = lt_dbl_cosel I_COSEL = gt_cosel EXCEPTIONS OTHERS = 1.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = LD_FUNCNAME_CHECK_DATE EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.

KAEPX_LINE_ITEM_HIERARCHY CALL FUNCTION 'KAEPX_LINE_ITEM_HIERARCHY' EXPORTING i_calling_report = self i_item_group = p_item i_rep_object = p_obj i_display_variant = gs_display_variant-variant i_co_area = p_kokrs i_actual_version = p_actvrs it_selection = gt_cosel[] it_fields = gt_cosel_x[] it_groups = gt_groups[] it_free_selection = gt_free_selection it_free_selection_range = gt_free_sel_ranges i_shownozero = p_nozero "COGM 1671025 i_fix_variant = p_fixvar i_online_maxsel = p_maxsel i_called_by_rri = gd-called i_update = gd-update i_usedb = p_usedb i_usear = p_usear i_arobj = p_arobj i_use_grid = p_usegrd i_tcode = p_tcode i_tree_display = p_tree i_hana_active = p_hana i_imm_output = p_imout i_dbcon = p_dbconx i_parob = gd_parob i_uspob = gd_uspob i_disint = p_disint i_group_obj = p_grobj TABLES t_arsel = r_arsel CHANGING it_kaepx_data_carrier = gt_kaepx_data_carrier EXCEPTIONS OTHERS = 1.

K_LINE_ITEMS_SELECT_AND_LIST CALL FUNCTION 'K_LINE_ITEMS_SELECT_AND_LIST' EXPORTING i_calling_report = self i_item_group = p_item i_rep_object = p_obj i_display_variant = gs_display_variant-variant i_co_area = p_kokrs i_actual_version = p_actvrs it_selection = gt_cosel[] it_groups = gt_groups[] it_free_selection = gt_free_selection it_free_selection_range = gt_free_sel_ranges i_shownozero = p_nozero "COGM 1671025 i_fix_variant = p_fixvar i_online_maxsel = p_maxsel i_called_by_rri = gd-called i_update = gd-update i_usedb = p_usedb i_usear = p_usear i_arobj = p_arobj i_use_grid = p_usegrd i_tcode = p_tcode "802740 i_soh_active = gd_soh_active TABLES t_arsel = r_arsel CHANGING it_kaepx_data_carrier = gt_kaepx_data_carrier EXCEPTIONS OTHERS = 1.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.



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