cancel
Showing results for 
Search instead for 
Did you mean: 

Determine the price differences into a cost component CCS

gleisson_ramos
Explorer
0 Kudos
941

Hi Gurus,

in my scenario is used MIRO to post additional costs related to a material after material transference (tributes ICMS-ST) . The post has the same effect by MR22. So, the MIRO is posted to the material and after to the closing period its generate a price difference for the material and we can see this value in CKM3N at "Other input/Consume" and in CCS this value is distributed into some cost components .

The requirement is to assign these costs in a specific cost component (Tributes).


So, it's possible to determine the cost for an specific cost component?


Can anyone help me?

Tks!!

Gleisson

View Entire Topic
former_member253922
Active Participant
0 Kudos

Hi Gleisson,


Please explore Business Add-In GET_DEFCCS. Read the documentation in T-Code SE18.

This badi can help to change the actual cost component split.

Additional information can be found in note 511443 & 996304.

Regards

Satya

gleisson_ramos
Explorer
0 Kudos

Hi Satya,

Thanks for your reply.

I've been explored this Badi. In fact, I'm want to understand how the ML distribute these value (price differences) into cost componentes, and from that, try to change or determine the values for a cost componente pre-determined. If I haven't no choice I'll implement the BadI.

I know that is not by OKTZ, but how?

Again, thank you a lot for your fast reply.


former_member253922
Active Participant
0 Kudos

Hi Gleisson,

  1. You have to pass values to structure ES_KEPH in method GET_DEFCSS. This structure is same as CKMLKEPH.
  2. IS_KEPH is the standard cost component structure in the badi and if business requirement is to change the dollar values in IS_KEPH, then you have to update ES_KEPH.
  3. Badi is also having other requirements which a ABAP resource can understand well and implement accordingly. However, functional consultant has to give the logic to determine the values that would go in to structure ES_KEPH. make sure that total of both structures is same at the end.
  4. Here is quote from SAP documentation:

Parameter IS_KEPH contains the default cost component split, if it determined by the System. See the documentation for method BADI_ACTIVITY.

Parameter ES_KEPH is returned by the method and contains the modified cost component split.


Regards

Satya.