cancel
Showing results for 
Search instead for 
Did you mean: 

MC45 TCode Specs - Consumption Movements

shru_ingar
Discoverer
0 Kudos

Could anybody help with the design behind MC45 Consumption posting TCode. We are reverse engineering it trying to understand the logic. We have gotten pretty close, but are still missing a logic. So far we use tables

MSEG with SHKZG credit/debit indicator to define the credit/debit on DMBTR (Amount) with

Movement type in T156 where KZSTR = 2 and KZVBU is not null (gives only consumption movements from MSEG)

Postings from T156M with join on BUSTM where KZVBL is not null (gives only consumption postings based on BUSTM field)

But we are still off a little, I know I am missing an additional logic in the second step in to exclude/include only consumption posting line items.

Does anybody have any material on the design behind MC45. It's been a real challenge to reverse engineer this.

Thanks in Advance

Shruthi

former_member763929
Participant
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since this is your first question, I recommend that you familiarize yourself with Community Q&A , as the overview provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your Profile you encourage readers to respond.

Accepted Solutions (0)

Answers (2)

Answers (2)

shru_ingar
Discoverer
0 Kudos

Hi Dominik,


Thanks for your response. I was able to narrow it down to Stat relevant = 2 and Consumption posting from OMJJ/T156. Do you have any further details on "it doesn't read the consumption values directly from the materials documents but from the consumption statistics of the material master records." stat relev I am not sure I understand it. What does the TCode look for when "daily usage" is not selected ? .

DominikTylczyn
Active Contributor
0 Kudos

Hello shru_ingar

The only official documentation to MC45 is SAP Help page Usage Value I know it's not detailed. However the logic is quite straightforward. MC45 takes material documents posted with movement types marked as statistically and consumption relevant in OMJJ:

Typically the standard configuration of the movement types is just fine.

But unless MC45 is run with "Daily Usage" activated:

it doesn't read the consumption values directly from the materials documents but from the consumption statistics of the material master records.

Best regards

Dominik Tylczynski