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

SAPKKA08 SAP ABAP Report - Actual Results Analysis: Sales Orders with Actual Postings







SAPKKA08 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to perform analysis for sales document items...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPKKA08 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 SAPKKA08. "Basic submit
SUBMIT SAPKKA08 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPKKA08 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: ANZWBUKR = Company Code Currency
Selection Text: ANZWKOKR = Controlling Area Currency
Selection Text: AUART = D Sales Document Type
Selection Text: BUKRS = D Company Code
Selection Text: ERGPROT = D Output Object List
Selection Text: FIBUKONT = D G/L Accounts to Be Displayed
Selection Text: FROM_DT = D First Entry Date
Selection Text: FROM_TM = D Start Time
Selection Text: JOBPLANG = D Background Processing
Selection Text: KOKRS = D Controlling Area
Selection Text: POSNR = D Item
Selection Text: P_A_VARI = D Layout
Selection Text: P_NO0VAL = D Hide Objects with 0 Value
Selection Text: P_SUPANZ = Do Not Display Log
Selection Text: P_SUPPIN = No Progress Indicator
Selection Text: RA_BUD = Posting Date Only
Selection Text: RA_PER = Results Analysis Period Only
Selection Text: RFCGROUP = D Server Group
Selection Text: RFCPROC = D Parallel Processing
Selection Text: TO_DATE = D Last Entry Date
Selection Text: TO_TIME = D End Time
Selection Text: VBELN = D Sales Document
Selection Text: VKORG = D Sales Organization
Selection Text: WERKS = D Plant
Selection Text: WITHIMSG = D Log Information Messages
Selection Text: WROBJFRC = D Calculate CCC Independently
Selection Text: ZEITFIBU = D Time Period
Selection Text: ANZEIGEN = D Display
Selection Text: ANZEFIBU = D Simulate Posting in FI
Selection Text: ANZEABGS = Display Closed Items
Selection Text: ALL_PER = All Posting Periods
Selection Text: ALL_ACT = D Only Items w/ Actual Postings
Selection Text: ACT_REV = D Only Items w/ Actual Rev. Post
Selection Text: ABGRVERS = D Results Analysis Version
Selection Text: ABGRTEST = D Test Run
Selection Text: ABGRNORM = D Calculate
Selection Text: ABGRMONA = Calculation to Period
Selection Text: ABGRJAHR = Fiscal Year





Selection Text: ABGRBUDA = Posting Date
Title: Actual Results Analysis: Sales Orders with Actual Postings
Text Symbol: 001 = Parameters
Text Symbol: 002 = Processing Options
Text Symbol: 007 = Displayed Currency
Text Symbol: 008 = Simulate Posting in Financial Acctg
Text Symbol: 009 = Output Options
Text Symbol: 010 = Extended Control for Dialog Mode
Text Symbol: ABU = Company Code Cur.
Text Symbol: AFI = Simulate Posting in FI
Text Symbol: AKO = CO Area Currency
Text Symbol: AUS = Execution Type
Text Symbol: POA = Restriction to Certain Business Transactions
Text Symbol: POB = Restriction to Certain Posting Periods
Text Symbol: POS = Actual Postings to Include
Text Symbol: SEL = Sales Document Items Selected:


INCLUDES used within this REPORT SAPKKA08

INCLUDE RKASSEFW.
INCLUDE IKKACRA_COMMON. "H425976
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_VB CALL FUNCTION 'OBJECT_KEY_GET_VB' EXPORTING objnr = objects-objnr IMPORTING posnr = object_table-posnr vbeln = object_table-vbeln 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_VB CALL FUNCTION 'OBJECT_KEY_GET_VB' EXPORTING objnr = objects_help-objnr IMPORTING posnr = sales_doc_item vbeln = sales_doc 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[].



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