cancel
Showing results for 
Search instead for 
Did you mean: 

Determine the price differences into a cost component CCS

gleisson_ramos
Explorer
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

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.

Answers (2)

Answers (2)

gleisson_ramos
Explorer
0 Kudos

Thanks Amanda and Kamal!!!!

You help me a lot to understand about how ML works on price difference in CCS.

Know, is work to implement the BadI GET_DEFCCS.

Best regards!!!

kamalkumar_biswas2
Active Contributor
0 Kudos

Hi Ramos

Is it for mat having price control S ?

kamal

gleisson_ramos
Explorer
0 Kudos

Hi Kamal,

Yes, it is...

The mat has the price control as S.

I've heard about the ML distribute the price differences values into the cost componentes according to standard price, but I'm not sure.

kamalkumar_biswas2
Active Contributor
0 Kudos

Hi Ramos

Yes..you are right. That's why I mentioned that whether mat have pr control S.

The PRD is booked to PRD a/c at the point of arising ( settlement/revaluation etc) and at the time of CKMLCP it gets actualized at mat inventory and consumption...so the consumption part is distribute to act CCS according to primary cost comp split.

Kamal

gleisson_ramos
Explorer
0 Kudos

Hi Kamal,

So, the only way to change this flow, in other words, determine a specific cost component for this values is by Business Add-In GET_DEFCCS, right?

kamalkumar_biswas2
Active Contributor
0 Kudos

Hi Ramos

Yes...right

Kamal