‎2008 Jul 10 6:37 AM
Dear All,
We have implemented the BADI DATA_EXTENSION_CK with the following methods
1. ON_ITEM_VALUATE
2. ON_COSTING_HEADER_CREATE
While executing the std. tcode CK11 OR CK11N, the badi gets executed.
Generally the first method will executed and the second one also executed next to that.( this way is correct way to completion of my scenario)
But some materials, only the second method executes directly without execution of 1st method.
Can anyone tell why its second method executed directly for some materials?
regards,
Arunachalam S
‎2008 Jul 10 12:47 PM
Hi,
I think that for some materials they have some valuation class assigned to them.
For this reason, if the valutaion class is not mentioned then it directly goes to 2nd step, If any valutaion class is mentioned then it will first go to 1st step then execute second.
Valutaion class is for MM-FI Integration.
It determines the type of material. Like Raw material, semi finished good and finished goods etc. We assign
GL accounts based on valuation class with reference to Transaction keys in OBYC and Valuation class will be there in Material master in Accounting view.
In detail -
For the same material type -
the stock values of the material are posted to different G/L accounts.
For the different material type -
the stock values of materials are posted to the same G/L account.
check the valuation class for the materials you have created and try to execute the Tcode.
Reward if helpful.
Best Wishes,
Chandralekha
Edited by: Chandralekha on Jul 10, 2008 1:47 PM