Solution : https://service.sap.com/sap/support/notes/996304 (SAP Service marketplace login required)
Summary :
SAP Note details enhancements to the BAdI GET_DEFCCS, crucial for adjusting the cost component split in material ledger for specific postings like goods movements and invoices. It highlights prerequisites, such as the activation of the actual cost component split, and outlines the necessary code changes from related notes for implementation. The BAdI influences how cost components and elements are assigned during updates by allowing custom logic in handling the actual cost component splits, which aren't managed in standard scenarios including order settlements and multi-level actual costing. To utilize, activate the BAdI via transaction SE19 following guidelines in the SAP Library.
Key words :
method mod_hrkft_kstarparameter type pass val optional typing reference typeid_kokrs importi 'x' ' ' type kokrsid_bukrs importi 'x' ' ' type bukrsid_bwkey importi 'x' ' ' type bwkeyid_prctr importi 'x' ' ' type prctrid_categ importi 'x' ' ' type ckml_categid_ptyp importi 'x' ' ' type ckml_prozess_typid_ptyp_org importi 'x' ' ' type ckml_prozess_typid_bvalt importi 'x' ' ' type ckml_alprocnrid_matnr importi 'x' ' ' type matnrid_bwtar importi 'x' ' ' type bwtar_did_bwmod importi 'x' ' ' type bwmodid_ktopl importi 'x' ' ' type ktoplid_bklas importi 'x' ' ' type bklasid_mtart importi 'x' ' ' type mtartid_mtart importi 'x' ' ' type mtartid_zeile importi 'x' ' ' type ck_zeileid_docaly_idx importi 'x' ' ' type sy-tabixid_zelaly_idx importi 'x' ' ' type sy-tabixid_citaly_idx importi 'x' ' ' type sy-tabixid_cit_idx importi 'x' ' ' type sy-tabixid_mlccs importi 'x' ' ' type ck_mlccsid_kscha importi 'x' ' ' type kschaid_valutyp importi 'x' ' ' type valutypid_strategy importi 'x' ' ' type char8id_hkont importi 'x' ' ' type hkontid_hrkft importi 'x' ' ' type hrkftid_kstar importi 'x' ' ' type kstared_hrkft exporti 'x' ' ' type hrkfted_kstar exporti 'x' ' ' type kstared_is_modified exporti 'x' ' ' type center, parameter type pass val optional typing reference typeid_bdatj importing 'x' ' ' type bdatjid_poper importing 'x' ' ' type poperid_poper importing 'x' ' ' type poperid_kalnr importing 'x' ' ' type ck_kalnrid_bvalt importing 'x' ' ' type ckml_alprocnrid_ptyp importing 'x' ' ' type ckml_prozess_typid_categ importing 'x' ' ' type ckml_categid_mlbwg importing 'x' ' ' type ckml_mlbwgid_bldat importing 'x' ' ' type bldatid_waers_doc importing 'x' ' ' type waersid_kursf importing 'x' ' ' type kursfid_bwkey importing 'x' ' ' type bwkeyid_waers importing 'x' ' ' type waersid_curtp importing 'x' ' ' type curtpid_kurst importing 'x' ' ' type kurstid_keart importing 'x' ' ' type keartid_elesm importing 'x' ' ' type ck_elesmhkid_value importing 'x' ' ' type acbtrid_storno importing 'x' ' ' type char3is_accit importing 'x' ' ' type accitis_keph importing 'x' ' ' type ckmlkephes_keph exporting 'x' ' ' type ckmlkephes_result exporting 'x' ' ' type xfelddocumentation, parameter type pass val optional typing reference typeid_bwkey importing 'x' ' ' type bwkeyid_categ importing 'x' ' ' type ckml_categid_ptyp importing 'x' ' ' type ckml_prozess_typed_activity exporting 'x' ' ' type center, flag space / 'x', -> business add-ins -> implementing business add-ins', actual minus standard price cost component split, exchange rate difference cost component split, 'basis components -> abap workbench -> changing, price difference cost component split, method badi_activitythis method controls
Related Notes :
996309 | BAdI used in material ledger - general information |
653503 | Enhancement of BAdI GET_DEFCCS method MOD_CCS |
652591 | Standard modifications for BADI GET_DEFCCS method MOD_CCS |
645112 | Enhancement BADI GET_DEFCCS |
623276 | BADI GET_DEFCCS for goods receipt incorrect |
588865 | BADI GET_DEFCCS w/o diffrncs w/ initial entry of stk balancs |
580450 | Business Add-In GET_DEFCCS inactive |
511443 | BADI for updating actual cost component split in ML |
508228 | Standard modifications for implementation of BADI GET_DEFCCS |