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: 

condition type:BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

HI

Where to give conidtion type for line items like VKP0,z004 in bapi BAPI_SALESORDER_CREATEFROMDAT2.

I tried by giving conidtion type in order_conditions_in , but it accepts only for header level condition.

pls tell me where to give condition type for line items.

thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

Hello,

probably you´re forgetting to feed some fields like ITM_NUMBER, COND_ST_NO or COND_COUNT, either in table ORDER_CONDITIONS_IN or in table ORDER_ITEMS_IN. Field ITM_NUMBER is common to both for linking the condition type, so check whether you pass this information to the BAPI.

0 Kudos

Hi jorge

thanks. i forgot to giv cond_count. nw its wrking fine.

regards

prabhu

Former Member
0 Kudos

Hello

Please go to T Code V/06 , Select your Condition type and go to details(CntrlShiftF2) and check whether for your condition type , the check box <b>item condition</b> is checked. Only if this is checked then you can enter the condition at item level.

Regards

Saket Sharma

null