SAP Reports / Programs

/KYK/IS_COPC_KOS_KUM SAP ABAP Report - Detailed Analysis for Cost Centers







/KYK/IS_COPC_KOS_KUM 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 /KYK/IS_COPC_KOS_KUM 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 /KYK/IS_COPC_KOS_KUM. "Basic submit
SUBMIT /KYK/IS_COPC_KOS_KUM AND RETURN. "Return to original report after report execution complete
SUBMIT /KYK/IS_COPC_KOS_KUM 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: P_GJAHR = Fiscal Year
Selection Text: P_KOAGR = Cost Element Group
Selection Text: P_KOKRS = Controlling Area
Selection Text: P_KSTGR = Cost Center Group
Selection Text: P_PERIO = Period
Selection Text: P_PVERS = Plan Version
Selection Text: S_KOSTL = Cost Center
Selection Text: S_KSTAR = Cost Element
Title: Detailed Analysis for Cost Centers
Text Symbol: ACP = Actual: Current Perio
Text Symbol: ACY = Actual: Year to Date
Text Symbol: COP = Period-on-Period Comparison
Text Symbol: COY = Year-on-Year Comparison
Text Symbol: PER = Planned: Current Period
Text Symbol: PLY = Planned: Year to Date
Text Symbol: VAP = Variance: Current Period
Text Symbol: VAY = Variance: Year to Date


INCLUDES used within this REPORT /KYK/IS_COPC_KOS_KUM

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:

/KYK/IS_GEN_CURRENT_PERIOD_GET CALL FUNCTION '/KYK/IS_GEN_CURRENT_PERIOD_GET' IMPORTING E_BUPER = p_perio E_GJAHR = p_gjahr EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.

/KYK/IS_GEN_FIRST_PERIOD_GET CALL FUNCTION '/KYK/IS_GEN_FIRST_PERIOD_GET' IMPORTING E_BUPER = p_perio1 EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = '/KYK/ISS_COS2_CUM' CHANGING CT_FIELDCAT = l_cat EXCEPTIONS OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_STRUCTURE_NAME = '/KYK/ISS_COS2_CUM' it_fieldcat = l_cat TABLES T_OUTTAB = l_costs EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

/KYK/IS_GEN_SET_EXPAND CALL FUNCTION '/KYK/IS_GEN_SET_EXPAND' EXPORTING SETNR = l_setid TABLE = 'CCSS' field = 'KOSTL' TABLES SET_TAB = SETTAB_a EXCEPTIONS NO_AUTHORITY = 1 SET_DOES_NOT_EXIST = 2 SET_IS_BROKEN = 3 OTHERS = 4.

/KYK/IS_GEN_SET_EXPAND CALL FUNCTION '/KYK/IS_GEN_SET_EXPAND' EXPORTING SETNR = l_setid TABLE = 'CCSS' field = 'KSTAR' TABLES SET_TAB = SETTAB_c EXCEPTIONS NO_AUTHORITY = 1 SET_DOES_NOT_EXIST = 2 SET_IS_BROKEN = 3 OTHERS = 4.

G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING SETID = l_set IMPORTING SHORTNAME = p_set.

ROMU_OM_CONVERT_TO_OBJNR CALL FUNCTION 'ROMU_OM_CONVERT_TO_OBJNR' TABLES I_COSEL = REA_COSEL r_obart = rea_t_obart R_OBJNR = REA_T_OBJNR1.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = p_kokrs IMPORTING E_TKA01 = l_tka01 EXCEPTIONS NOT_FOUND = 1 NOT_FOUND_GJAHR = 2 OTHERS = 3.

K_KKB_CO_OBJECT_TO_KKBC CALL FUNCTION 'K_KKB_CO_OBJECT_TO_KKBC' EXPORTING I_KOKRS = p_kokrs * I_ELEHK = I_KWAER = l_tka01-waers I_OWAER = l_tka01-waers
IMPORTING I_T_KKBCS = l_t_kkbcs i_t_kkbcq = l_t_kkbcq TABLES T_COSSA = l_t_cossa T_COSLA = l_t_cosla T_COSPA = l_t_cospa T_COSBA = l_t_cosba .

ROMU_OBJECT_KEY_GET CALL FUNCTION 'ROMU_OBJECT_KEY_GET' EXPORTING I_OBJNR = l_kkbcs-objnr IMPORTING E_IONRA = l_ionra.

/KYK/IS_GEN_PERIOD_INTERVAL CALL FUNCTION '/KYK/IS_GEN_PERIOD_INTERVAL' EXPORTING I_JAHRPER_V = l_jahrperv_p I_JAHRPER_B = l_jahrperb_p I_PERIOD = l_kkbcs-perio EXCEPTIONS OUT_OF_INTERVAL = 1 OTHERS = 2.

/KYK/IS_GEN_PERIOD_INTERVAL CALL FUNCTION '/KYK/IS_GEN_PERIOD_INTERVAL' EXPORTING I_JAHRPER_V = p_jahrperv I_JAHRPER_B = p_jahrperb I_PERIOD = l_kkbcs-perio EXCEPTIONS OUT_OF_INTERVAL = 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 /KYK/IS_COPC_KOS_KUM or its description.