05-13-2013 12:22 PM
Hi,
when I create a Sales order some times the condition types are showing as activated on the condition screen, some times they show as
deactivated.
Can some one explain me why is this happening so, am I missing any flag to fill here in my custom code.
Based on what field value does this happen ?
Thanks in advance.
05-13-2013 1:16 PM
How are you creating them? Are you creating them with a BAPI? A BDC?
Neal
05-13-2013 1:46 PM
Hi Kishore,
The conditions of the sales order are based on pricing conditions defined with specific combination by the functional.
If the sales area differs or sales office differs it depends on what set of combination is the configuration done.
Try creating the sales order manually in foreground directly using VA01 using the same data if it is not active in that also ask the functional to check.
I hope it is helpful.
05-13-2013 2:50 PM
Thank you Neal and Yakub for your quick replies.
We have a workbench that resembles a sales order workbench, only thing is we prepare all the required structures and pass them to PRICING and PRICING_COMPLETE depending on the situation.
During PRICING my condition type is showing as activated but when I click on SAVE we call PRICING_COMPLETE there we pass the KOMV data, here the same condition type is showing as deactivated (KINAK = 'X').
How come this happenes ? Am i missing any thing here ?
I have tried debugging but could not find it.
Thanks in advance.
05-13-2013 3:12 PM
Hi friend,
Check if the user exit is active.
and also.
http://wiki.sdn.sap.com/wiki/display/ABAP/Ways+to+find+a+userexit
kidn regrads,
Miguel Ángel Orihuela