/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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/KYK/IS_COPC_KOS_KUM - Detailed Analysis for Cost Centers /KYK/IS_COPC_KOS_KUM - Detailed Analysis for Cost Centers /KYK/IS_COPC_KOS - Detailed Analysis for Cost Centers /KYK/IS_COPC_KOS - Detailed Analysis for Cost Centers /KYK/IS_COPC_HOE - Detailed Analysis for Summarized Objects /KYK/IS_COPC_HOE - Detailed Analysis for Summarized Objects