Skip to Content
avatar image
Former Member

Manual condition type when entered through BAPI comes twice.


I created a Sales order through BAPI,ZFNN is my condition type which i entred price through BAPI.

Only problem is that condition type appears twice in Sales Order.But the value did not come twice.

I wanted the condition type to sit on the condition type it self,rather than adding one more condition type.

The major problem is possibility that i can change the price of condition type through BAPI.

Please find the below screen shot.I have made change of price through BAPI_SALESORDER_CHANGE.

Because of this it creates a big impact to my Net Value and Tax.It should be 100000,upon which ZVAT is to be calculated,becuse of reverse pricing mechanism it should be 5213.Then the net value should 94787.My question why should a separate condition line item is created (added) in sales order,when there is a change in price. Because of this i am getting the error.

13.jpg (309.9 kB)
14.jpg (198.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 03, 2015 at 08:02 PM

    Hi Thambi,

    It is likely due to not filling out all of the required fields to change a condition record value.  See the screenshot below from the BAPICONDX table which has all of the key fields highlighted - if you miss one of these and give only ITM_NUMBER & COND_TYPE for instance the system will automatically create a new condition record with whichever value you have passed:

    It is also important to note you have to include all of the key fields for the BAPICOND table as well.


    Ryan Crosby

    Capture.PNG (38.0 kB)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      No it is working fine for me.

      I made change in my pricing procedure.For the condition type ZFNN i entered Count as 01.

      ORDER_CONDITIONS_INX,ORDER_CONDITIONS_IN changes were made to it.Please find the screen shot.I am closing the thread

      17.jpg (144.6 kB)
  • Nov 03, 2015 at 02:09 PM

    Moved from SAP ERP SD Sales to ABAP Development.  Try to post in the right forum to get right direction.  Expecting technical inputs from functional forum is not the right approach

    G. Lakshmipathi

    Add comment
    10|10000 characters needed characters exceeded