SAP Reports / Programs | Controlling | Overhead Cost Controlling | Cost Center Accounting(CO-OM-CCA) SAP CO

RKPLNC01 SAP ABAP Report - CO-CCA Planning: Test Secondary Cost Record Consistency for Receivers







RKPLNC01 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 RKPLNC01 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 RKPLNC01. "Basic submit
SUBMIT RKPLNC01 AND RETURN. "Return to original report after report execution complete
SUBMIT RKPLNC01 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: B_PER = To Period
Selection Text: GJAHR = Fiscal Year
Selection Text: KOKRS = Controlling Area
Selection Text: KOSTL = Cost Center
Selection Text: LSTAR = Activity Type
Selection Text: RWIN = Integrated Planning
Selection Text: TEST_ON = Test Run
Selection Text: TOLERANZ = Tolerance
Selection Text: VERSN = Plan Version
Selection Text: V_PER = From Period
Title: CO-CCA Planning: Test Secondary Cost Record Consistency for Receivers
Text Symbol: 008 = Currency for Cost Center
Text Symbol: 007 = Enter Tolerance >=0
Text Symbol: 006 = From Period > To Period
Text Symbol: 005 = No entry in version table for CO area/version/fiscal year
Text Symbol: 004 = No entry in control indicators for CO area/fiscal year
Text Symbol: 003 = does not exist
Text Symbol: 002 = Controlling area
Text Symbol: 001 = Deactivate "Fixed decimal point" field in the report attributes
Text Symbol: 015 = No unspecific credit exists for cost center/acty type
Text Symbol: 016 = No record in U ITCOSSA!
Text Symbol: 017 = No receivers exist for CCtr/acty type
Text Symbol: 018 = No receiver records exist for cost center/activity type
Text Symbol: 019 = No credit records exist for cost center/activity type
Text Symbol: 020 = Receiver Order
Text Symbol: 021 = Receiver WBS Element
Text Symbol: 022 = Currency for Receiver Cost Center
Text Symbol: 023 = Receiver Cost Center
Text Symbol: 024 = Object type is unknown
Text Symbol: 014 = No acty quantities exist for CCtr/acty type
Text Symbol: 027 = No problems found by tolerance check
Text Symbol: 026 = not found
Text Symbol: 025 = Credit record for
Text Symbol: 041 = Currency for Receiver Business Process
Text Symbol: 040 = Totals tables were adjusted
Text Symbol: 039 = No update (test run)
Text Symbol: 038 = Incorrect data found
Text Symbol: 037 = Rows





Text Symbol: 036 = Table
Text Symbol: 035 = Cost Center/Activity Type:
Text Symbol: 034 = Correction RKPLNC01
Text Symbol: 033 = Different Receiver Currency
Text Symbol: 032 = Error during number assignment for number range
Text Symbol: 031 = No entry in table TKA04 for transaction
Text Symbol: 030 = No documents have been created
Text Symbol: 029 = The following documents were created:
Text Symbol: 042 = Receiver Business Process
Text Symbol: 044 = Receiver Cost Object
Text Symbol: 043 = Currncy for Receiver Cost Objects
Text Symbol: 028 = Report completed without errors
Text Symbol: 013 = No prices exist for CCtr/acty type
Text Symbol: 012 = No activity type master data for CCtr/acty type
Text Symbol: 011 = No master data for CCtr/activity type
Text Symbol: 010 = Cost Center
Text Symbol: 009 = Different


INCLUDES used within this REPORT RKPLNC01

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:

K_COSSA_READ_SINGLES CALL FUNCTION 'K_COSSA_READ_SINGLES' EXPORTING bis_periode = b_per von_periode = v_per TABLES icossa = itcossa_loc EXCEPTIONS not_found = 1.

K_COSSA_READ_MULTI CALL FUNCTION 'K_COSSA_READ_MULTI' EXPORTING von_periode = v_per bis_periode = b_per modus = 3 progname = 'RKPLNC01' formname = 'PROCESS_S_COSS_RECORD' TABLES t_cosel = itcosel EXCEPTIONS OTHERS = 1.

K_HRKFT_FOR_PARTNER CALL FUNCTION 'K_HRKFT_FOR_PARTNER' CHANGING cd_hrkft = cossa_key-hrkft.

K_DOCUMENT_ACTIV_PRICE_POSTIN CALL FUNCTION 'K_DOCUMENT_ACTIV_PRICE_POSTIN' IN UPDATE TASK EXPORTING epskz = tka07-epskz kokrs = kokrs TABLES itcobk = itcobk_2 itcobk_3 = itcobk_3 itcobk_7 = itcobk_7 itcobk_w = itcobk_w itcobk_x = itcobk_x itcobk_rkpl = itcobk_s "RKPS!!! itcssl = itcssl itcoka = itcoka itcokl = itcokl itcoklu = itcoklu itcoejla = itcoejla itcoejta = itcoejta itcoeja = itcoeja_2 itcoeja_3 = itcoeja_3 itcoeja_7 = itcoeja_7 itcoeja_w = itcoeja_w itcoeja_x = itcoeja_x itcoeja_rkpl = itcoeja_s. "RKPS!!!

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

K_PLANBK_CHECK CALL FUNCTION 'K_PLANBK_CHECK' EXPORTING irkbkpl = ls_rkbkpl TABLES it_coiob = gt_coiob EXCEPTIONS OTHERS = 1.

K_ACTIVITY_INPUT_POSTING CALL FUNCTION 'K_ACTIVITY_INPUT_POSTING' EXPORTING v_commit = space online_vb = 'X' rwin_check_only = test_on IMPORTING integration_error = lb_error TABLES v_cobk3 = gt_cobk v_coeja3 = gt_coeja v_coiob = gt_coiob v_cobk2 = itcobk_2 v_coeja2 = itcoeja_2 v_coejla = itcoejla.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW'.

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = tka07-gjahr i_periv = tka01-lmona i_poper = v_per IMPORTING e_date = gd_date EXCEPTIONS OTHERS = 1.

RPY_MESSAGE_COMPOSE





CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = 'GM' message_number = ld_number message_var1 = sy-msgv1 message_var2 = sy-msgv2 message_var3 = sy-msgv3 message_var4 = sy-msgv4 IMPORTING message_text = ld_text.

K_COSTA_READ_SINGLES CALL FUNCTION 'K_COSTA_READ_SINGLES' EXPORTING von_periode = v_per bis_periode = b_per TABLES icosta = itcosta EXCEPTIONS not_found = 1.

K_COSLA_READ_SINGLES CALL FUNCTION 'K_COSLA_READ_SINGLES' EXPORTING von_periode = v_per bis_periode = b_per TABLES icosla = itcosla EXCEPTIONS not_found = 1.

K_COSSA_READ_SINGLES CALL FUNCTION 'K_COSSA_READ_SINGLES' EXPORTING von_periode = v_per bis_periode = b_per TABLES icossa = u_itcossa EXCEPTIONS not_found = 1.

OBJECT_KEY_GET_AO CALL FUNCTION 'OBJECT_KEY_GET_AO' EXPORTING objnr = help_objnr IMPORTING e_ionrao = ls_ionrao EXCEPTIONS OTHERS = 1.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = ls_ionrao-bukrs IMPORTING e_t001 = ls_t001.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = ld_date foreign_currency = rwaer local_amount = ld_wxxx local_currency = tka01-waers type_of_rate = ld_type IMPORTING foreign_amount = wogxxx EXCEPTIONS OTHERS = 1.

K_COBK_TAB_CURRENCY_FILL CALL FUNCTION 'K_COBK_TAB_CURRENCY_FILL' TABLES itcobk = itcobk_2 EXCEPTIONS OTHERS = 0.

K_COBK_TAB_CURRENCY_FILL CALL FUNCTION 'K_COBK_TAB_CURRENCY_FILL' TABLES itcobk = itcobk_3 EXCEPTIONS OTHERS = 0.

K_COBK_TAB_CURRENCY_FILL CALL FUNCTION 'K_COBK_TAB_CURRENCY_FILL' TABLES itcobk = itcobk_7 EXCEPTIONS OTHERS = 0.

K_COBK_TAB_CURRENCY_FILL CALL FUNCTION 'K_COBK_TAB_CURRENCY_FILL' TABLES itcobk = itcobk_w EXCEPTIONS OTHERS = 0.

K_COBK_TAB_CURRENCY_FILL CALL FUNCTION 'K_COBK_TAB_CURRENCY_FILL' TABLES itcobk = itcobk_x EXCEPTIONS OTHERS = 0.

K_COBK_TAB_CURRENCY_FILL CALL FUNCTION 'K_COBK_TAB_CURRENCY_FILL' TABLES itcobk = itcobk_s EXCEPTIONS OTHERS = 0.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING object = object subobject = subobject nr_range_nr = ngn_inumkr IMPORTING number = ngn_belnr returncode = returncode EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.

K_PERIODS_GET_FOR_GJAHR CALL FUNCTION 'K_PERIODS_GET_FOR_GJAHR' EXPORTING i_kokrs = id_coarea i_gjahr = id_year TABLES t_periods = lt_periods EXCEPTIONS OTHERS = 1.

K_OBJECTS_MASTER_READ CALL FUNCTION 'K_OBJECTS_MASTER_READ' TABLES coiob_tab = ct_coiob i_periods = lt_periods EXCEPTIONS OTHERS = 1.



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