on ‎2013 Oct 31 7:31 AM
Hi All,
We are using ingredient pool in which we have a parent composition with one or more sub compositions which we can use as alternative ingredients. Now we want to update composition of a Parent specification on SAVE which will take highest composition from its child specification.Is there any BADI / Exit which works on Specification save where we can update the composition?
So in general we are looking for exact BADI/ User/Customer Exit, with the help of which, we will be able to create/update Composition values of the Specification (CG02- tcode in ECC backend).
Regards,
Sourabh
Request clarification before answering.
Hi Sourabh,
You may perhaps want to explore secondary data determination. Why do you want this to be in background? Also, what do you mean by highest composition?
Regards,
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rajeev,
let me try to elaborate more. My Parent (Ingredient Pool) Specification (Ex Sugar))will have child specification assigned to it, under say Materials in value tree. Those child will different type of Sugars (various alternatives) say Sugar 1, Sugar 2 & Sugar 3 which is different in composition but. These type of Sugar will have different composition for ex. x , y ,& z.
Now Child composition is like
Sugar1 has x =80 %, y= 15% , z=5%.
Sugar2 has x =75 %, y= 15% , z=10%.
Sugar3 has x =75 %, y= 20% , z=5%.
Now I want when I save Parent composition i.e. Sugar so It should automatically takes its composition from child and that too maximum value of x,y & z.
So It should automatically fill composition of Parent (Sugar) as x= 80%, y=20%, z=10%.
I hope this has gave you more clarity on my requirement. I know it will an enhancement, So I am looking for some option which will work automatically on Specification save.
Regards,
Sourabh
Hi Rajeev,
Thanks for your reply. This requirement is like this only which we need for some reporting purpose, As we will not be directly using this parent specification in recipe.
Seems this badi( BADI_EHSS_SPEC_VAL_CHECK) is for Auth check and will trigger at the time of "Check" action of values entered.I am looking for BADI/Exit (EHSS_SPEC_CHECKS / C1F20001) which can trigger on final "SAVE" action.I tried this badi and Exit, these are triggering on save, however i dont have any structure there which can have at least current Specification no.
Regards,
Sourabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.