Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Conditions in a Sales Order

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

How are you creating them?  Are you creating them with a BAPI?  A BDC?

Neal

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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