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

RKALLOOK SAP ABAP Report - Allocations: Search for Objects in All Cycles







RKALLOOK 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 RKALLOOK 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 RKALLOOK. "Basic submit
SUBMIT RKALLOOK AND RETURN. "Return to original report after report execution complete
SUBMIT RKALLOOK 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: SKOSTL = Cost Center
Selection Text: SAUFNR = Order
Selection Text: PLAN_YES = Plan Cycles
Selection Text: PERPOS = Periodic Reposting
Selection Text: KOSTL = Cost Center
Selection Text: KOKRS = Controlling Area
Selection Text: IST_YES = Actual Cycles
Selection Text: INDACT = Indirect Activity Allocation
Selection Text: GJAHR = Fiscal Year
Selection Text: EDATE = End Date
Selection Text: DISTRI = Distribution
Selection Text: CE7_YES = Profitability Analysis
Selection Text: CCSS_YES = Overhead Cost Controlling
Selection Text: AUFNR = Internal Order
Selection Text: ASSESS = Assessment
Selection Text: ADATE = Start Date
Title: Allocations: Search for Objects in All Cycles
Text Symbol: O02 = Internal Order
Text Symbol: O03 = Activity Type
Text Symbol: O04 = Cost Element
Text Symbol: O05 = Stat. Key Figure
Text Symbol: P01 = Object
Text Symbol: O01 = Cost Center
Text Symbol: G03 = End Date
Text Symbol: G02 = Start Date
Text Symbol: G01 = Fiscal Year
Text Symbol: E03 = Enter an operating concern
Text Symbol: E02 = Enter a controlling area
Text Symbol: E01 = Enter an object
Text Symbol: A04 = Fiscal Year
Text Symbol: A03 = Operating Concern
Text Symbol: A02 = Profitab. Analysis
Text Symbol: A01 = Cost Accounting
Text Symbol: 006 = Restrict Time Frame (Optional)
Text Symbol: 005 = Restriction of the Application
Text Symbol: 004 = Restriction of the Allocation Type
Text Symbol: 003 = Restrict to Plan or Actual
Text Symbol: 002 = Choose Object





Text Symbol: 001 = Choose Application
Text Symbol: P02 = Value
Text Symbol: T03 = Plan/Act.
Text Symbol: T02 = Allocation Type
Text Symbol: T01 = Usage
Text Symbol: P04 = Controlling Area
Text Symbol: P03 = Number of Hits


INCLUDES used within this REPORT RKALLOOK

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:

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = GT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING i_kokrs = ld_kokrs popup = '0'.

G_POSTING_DATE_OF_YEAR_GET CALL FUNCTION 'G_POSTING_DATE_OF_YEAR_GET' EXPORTING VARIANT = ld_variant YEAR = gjahr IMPORTING FROM_DATE = from_date TO_DATE = to_date EXCEPTIONS OTHERS = 1.

G_SET_GET_ALL_VALUES CALL FUNCTION 'G_SET_GET_ALL_VALUES' EXPORTING LEVEL = 0 SETNR = lt_t811k-setid TABLE = lt_t811k-tab TABLES SET_VALUES = lt_VALUES EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_BYPASSING_BUFFER = 'X' IT_FIELDCAT = gt_fieldcat_alv IS_LAYOUT = gs_layout_alv I_CALLBACK_PROGRAM = ld_self IT_EVENTS = gt_events i_save = 'A' TABLES T_OUTTAB = lt_result EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = table CHANGING CT_FIELDCAT = lt_fieldcat.

LVC_TRANSFER_TO_SLIS CALL FUNCTION 'LVC_TRANSFER_TO_SLIS' EXPORTING IT_FIELDCAT_LVC = gt_fieldcat IMPORTING ET_FIELDCAT_ALV = gt_fieldcat_alv.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = GT_EVENTS EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = ld_tab LFIELDNAME = ld_lfield IMPORTING DFIES_WA = ld_dfies EXCEPTIONS OTHERS = 1.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING NAME = 'SETKIND' TEXTS_ONLY = 'X' TABLES DD07V_TAB = lt_dd07v_set.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING NAME = 'ALART' TEXTS_ONLY = 'X' TABLES DD07V_TAB = lt_dd07v_ala.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING NAME = 'IPKNZ' TEXTS_ONLY = 'X' TABLES DD07V_TAB = lt_dd07v_ipk.



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