SAP Reports / Programs | Controlling | Product Cost Controlling | Cost Object Controlling(CO-PC-OBJ) SAP CO

SAPKKA18 SAP ABAP Report - Actual Results Analysis: Orders with Actual Postings







SAPKKA18 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 SAPKKA18 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 SAPKKA18. "Basic submit
SUBMIT SAPKKA18 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPKKA18 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: RA_BUD = Posting Date Only
Selection Text: RA_PER = Results Analysis Period Only
Selection Text: ABGRBUDA = D .
Selection Text: ABGRNORM = D .
Selection Text: ABGRTEST = D .
Selection Text: ABGRVERS = D .
Selection Text: ACT_REV = D .
Selection Text: ALL_ACT = D .
Selection Text: ANZEFIBU = D .
Selection Text: ANZEIGEN = D .
Selection Text: AUART = D .
Selection Text: AUFNR = D .
Selection Text: BUKRS = D .
Selection Text: ERGPROT = D .
Selection Text: FIBUKONT = D .
Selection Text: FROMPDT = D .
Selection Text: FROMPTM = D .
Selection Text: FROM_DT = D .
Selection Text: FROM_TM = D .
Selection Text: JOBPLANG = D .
Selection Text: KOKRS = D .
Selection Text: MNG_BEL = D .
Selection Text: PRT_DIF = D .
Selection Text: PRT_NIX = D .
Selection Text: P_A_VARI = D .
Selection Text: P_NO0VAL = D .
Selection Text: RFCGROUP = D .
Selection Text: RFCPROC = D .
Selection Text: STA_BEL = D .
Selection Text: STA_EERL = D .
Selection Text: TOPDATE = D .
Selection Text: TOPTIME = D .
Selection Text: TO_DATE = D .
Selection Text: TO_TIME = D .
Selection Text: USR_EXT = D .
Selection Text: WERKS = D .
Selection Text: WITHIMSG = D .
Selection Text: WROBJFRC = D .





Selection Text: ZEITFIBU = D .
Selection Text: P_SUPPIN = No Progress Indicator
Selection Text: P_SUPANZ = Do Not Display Log
Selection Text: PRT_NUR = Orders of Logs Only
Selection Text: PRT_ADD = Add Orders
Selection Text: ANZWKOKR = Controlling Area Currency
Selection Text: ANZWBUKR = Company Code Currency
Selection Text: ANZEABGS = Display Closed Items
Selection Text: ALL_PER = All Posting Periods
Selection Text: ABGRMONA = Calculation to Period
Selection Text: ABGRJAHR = Fiscal Year
Title: Actual Results Analysis: Orders with Actual Postings
Text Symbol: PRT = Error Log Analysis
Text Symbol: POS = Actual Postings to Include
Text Symbol: POB = Restriction to Certain Posting Periods
Text Symbol: POA = Restriction to Certain Transactions
Text Symbol: AUS = Execution Type
Text Symbol: AKO = COArCurrency
Text Symbol: AFI = Simulate Posting in FI
Text Symbol: ABU = CoCdCurrency
Text Symbol: 010 = Extended Control for Dialog Mode
Text Symbol: 009 = Output Options
Text Symbol: 008 = Simulate Posting in Financial Acctg
Text Symbol: 007 = Displayed Currency
Text Symbol: 002 = Processing Options
Text Symbol: 001 = Parameters
Text Symbol: PRU = Logs to Include
Text Symbol: PRV = WBS Elements of Logs
Text Symbol: S00 = Processing internal tables...
Text Symbol: S01 = Reading COEP...
Text Symbol: S02 = Reading COVP...
Text Symbol: S03 = Reading COVPR...
Text Symbol: S05 = Reading AUFK...
Text Symbol: S09 = Reading TKKAS...
Text Symbol: S10 = Reading JCDS...
Text Symbol: S11 = Processing customer enhancement...
Text Symbol: S20 = Reading JEST...
Text Symbol: S22 = Reading CMFK and CMFP...
Text Symbol: SEL = Selected Requests





Text Symbol: SON = Additional Transactions to Include


INCLUDES used within this REPORT SAPKKA18

INCLUDE RKASSEFW.
INCLUDE LKKAGF88.
INCLUDE IKKACRA_COMMON.
INCLUDE IKKACRA_EVENTS.


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:

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = date i_dayst = sy-dayst i_time = '000000' i_tzone = sy-tzone * IMPORTING * E_TIMESTMP = EXCEPTIONS date_invalid = 1 OTHERS = 2.

OBJECT_KEY_GET_OR CALL FUNCTION 'OBJECT_KEY_GET_OR' EXPORTING objnr = objects-objnr IMPORTING AUFNR = object_table-aufnr EXCEPTIONS not_found = 0 wrong_obart = 0 OTHERS = 0.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = ld_callb_prog I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE' * i_callback_pf_status_set = ld_cb_status * i_callback_user_command = ld_cb_ucom * I_STRUCTURE_NAME = * is_layout = ls_layout it_fieldcat = lt_field * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' * it_events = gt_events * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = object_table * EXCEPTIONS * PROGRAM_ERROR = 1 * OTHERS = 2 .

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = from_dt "#EC DOM_EQUAL i_dayst = sy-dayst i_time = from_tm "#EC DOM_EQUAL i_tzone = sy-tzone IMPORTING e_timestmp = from_tst.

RKE_TIMESTAMP_CONVERT_INPUT CALL FUNCTION 'RKE_TIMESTAMP_CONVERT_INPUT' EXPORTING i_date = to_date "#EC DOM_EQUAL i_dayst = sy-dayst i_time = to_time "#EC DOM_EQUAL i_tzone = sy-tzone IMPORTING e_timestmp = to_tst.

OBJECT_KEY_GET_OR CALL FUNCTION 'OBJECT_KEY_GET_OR' EXPORTING objnr = objects_help-objnr IMPORTING aufnr = order_no EXCEPTIONS not_found = 1 wrong_obart = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gd_alv_listheader[].

MODX_FUNCTION_ACTIVE_CHECK CALL FUNCTION 'MODX_FUNCTION_ACTIVE_CHECK' EXPORTING CPROGNAME = prog FUNCNUMBER = funr IMPORTING ACTIVE = act * TABLES ACTIVE_FUNCNUMBERS = EXCEPTIONS NOT_FOUND = 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 SAPKKA18 or its description.