on 11-05-2021 12:43 PM
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
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 ? .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.