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 value not updated in line item in sales order creation "BAPI_SALESORDER_CREATEFROMDAT2"

former_member223446
Active Participant
0 Kudos

Hi ,

When I was trying to create sales order by using "BAPI_SALESORDER_CREATEFROMDAT2".condition value is not updated for 2nd line item in item details of condition tab.

actually the line items data pricing condition,pricing type and rest of the data coming from the customer number,it has two line item numbers 10,11...this customer is created at RFC system SCM.

but in flat file we are passing condition value,this value is updated for item 10,not for item11.

in item data(ORDER_ITEMS_IN) if we have pass item number 1 and then 10,11 items are coming from customer from remote system.

if we pass item number 1 ..it tooks 10 ,11

if we pass item number 2 .it tooks 20,21 automatically based on the exsisting set up in remote system.

when pass item number 1 in ORDER_ITEMS_IN..and i am able to see the flat file value in item 10 for conditon value,but not coming for item 11 in sales order

I passed 'G' in LOGIC_SWITCH.but not works.

Kindly help me out this query.

Regards,

Kiran.

1 REPLY 1

former_member223446
Active Participant
0 Kudos

at item level conditions tab..condition value is not updated...Please go through the below screen shot.

look at condition type ZOVR..in item 10 it has value 28.10..but at item 11 also it should be 28.10...but the value is 37.1 which is coming from previous condition type.

I want item 11 should have condition value as 28.10...

i have tried with different options of LOGIC_SWIcth...But it does not work..

Kindly help..if you have worked on similar issue.

Regards,

Kiran