Skip to Content

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

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 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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 12, 2017 at 09:34 AM

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

    look at condition type 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.



    Add comment
    10|10000 characters needed characters exceeded