SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

PRODORD_CCS_DISPLAY_CLASSIMP SAP ABAP INCLUDE - PRODORDCCSDISPLAYCLASSIMP







PRODORD_CCS_DISPLAY_CLASSIMP is a standard ABAP INCLUDE 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 PRODORD_CCS_DISPLAY_CLASSIMP 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 PRODORD_CCS_DISPLAY_CLASSIMP. "Basic submit
SUBMIT PRODORD_CCS_DISPLAY_CLASSIMP AND RETURN. "Return to original report after report execution complete
SUBMIT PRODORD_CCS_DISPLAY_CLASSIMP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PRODORD_CCS_DISPLAY_CLASSIMP

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:

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING MATNR = ls_treestruc-matnr SPRAS = sy-langu IMPORTING WMAKT = l_makt EXCEPTIONS WRONG_CALL = 1 NOT_FOUND = 2 OTHERS = 3.

MBEW_SINGLE_READ CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING MATNR = ls_treestruc-matnr BWKEY = ls_treestruc-werks BWTAR = ls_treestruc-bwtar IMPORTING WMBEW = l_mbew EXCEPTIONS OTHERS = 5.

KE_PROFIT_CENTER_FROM_MARC CALL FUNCTION 'KE_PROFIT_CENTER_FROM_MARC' EXPORTING MATNR = ls_treestruc-matnr WERKS = ls_treestruc-werks IMPORTING PRCTR = l_prctr EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING WERK = es_orddata-werks IMPORTING ORGANISATIONSELEMENTE = g_orgelemnt EXCEPTIONS OTHERS = 99.

COPA_READ_PROD_ORDER_CCS CALL FUNCTION 'COPA_READ_PROD_ORDER_CCS' EXPORTING I_KAUFN = p_vbeln I_KDPOS = p_posnr IT_FAUF = lt_fauf I_ARTNR = es_orddata-matnr I_WERKS = es_orddata-werks I_BUDAT = l_date I_WADAT = l_date IS_TKEVA03 = ls_tkeva03 I_VALUATION = p_valtyp I_MENGE = p_menge I_MEINS = p_meinh I_DETAILED_MSG = 'X' I_NORM_ALL_NODES = 'X' IMPORTING EX_KEKO_TOP = ls_keko ET_AUFNR = lt_aufnr CHANGING CT_ORDERCCS_HIERARCHY = et_orderccs_hierarchy CT_ORDERCCS_VALUES = et_orderccs_values EXCEPTIONS ERROR_OCCURED = 1 OTHERS = 99.

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING WERK = ls_orddata-werks IMPORTING ORGANISATIONSELEMENTE = g_orgelemnt EXCEPTIONS OTHERS = 99.

READ_COSTELEMENT_TEXT CALL FUNCTION 'READ_COSTELEMENT_TEXT' EXPORTING KSTAR = ls_kalktab-kstar KTOPL = g_orgelemnt-ktopl SPRACHE = sy-langu IMPORTING TEXT = l_ktext EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.

CK_F_MATERIAL_CALC_DISPLAY CALL FUNCTION 'CK_F_MATERIAL_CALC_DISPLAY' TABLES T_KEKO_IMP = lt_keko EXCEPTIONS WRONG_CALL = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid I_STRUCTURE_NAME = 'RKE_S_ORDERCCS_ALV' * I_INCLNAME = 'PRODORD_CCS_DISPLAY_TOP' CHANGING CT_FIELDCAT = lt_fieldcat_grid.

REUSE_ALV_GRID_COMMENTARY_SET CALL FUNCTION 'REUSE_ALV_GRID_COMMENTARY_SET' EXPORTING document = oref_doc bottom = space.

K_KKB_SPLITTING_CONVERT CALL FUNCTION 'K_KKB_SPLITTING_CONVERT' EXPORTING I_ELEHK = l_elehk I_SICHT = g_sicht I_KEART = ls_keph-keart I_LOSFX = ls_keph-losfx I_WAERS = l_waers TABLES T_KEPH = ls_ccs_values-t_keph T_KKB_SPLIT = ex_ccsplit.

RKE_FIELDNAMES_LIST CALL FUNCTION 'RKE_FIELDNAMES_LIST' EXPORTING AUSWAHL = 'V' ERKRS = g_erkrs IMPORTING ET_FIELDS = lt_fields EXCEPTIONS OTHERS = 99.

S_CUS_IMG_ENTRY_VIA_ACTIVITY CALL FUNCTION 'S_CUS_IMG_ENTRY_VIA_ACTIVITY' EXPORTING SHOW_ALL_ENTRIES_AT_ONCE = 'X' TABLES img_activities = lt_img_activities EXCEPTIONS others = 1.



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