Skip to Content
0

Condition value not updated in line item in sales order creation "BAPI_SALESORDER_CREATEFROMDAT2"

May 11, 2017 at 01:12 PM

84

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

kiran jagana May 12, 2017 at 09:34 AM
0

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


capture.png (36.4 kB)
capture1.png (37.3 kB)
Share
10 |10000 characters needed characters left characters exceeded