Skip to Content

Error while updating header discount with BAPI_SALESORDER_CHANGE

Hi guys,

i am trying to update the header discount of an order via BAPI_SALESORDER_CHANGE.
This work well with normal positions.
But in some cases the orders contain textpositions to give them a litte bit more structure.
These positions don't have any conditions.

In these cases the BAPI returns that an error with pricing procedure occured for the textpositions (KOMP-FXMSG = 801 ).

Is there any chance to bypass these positions or another function module to update the header discount?

Thank you very much!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 14, 2020 at 08:26 AM

    Hello,

    Implement SAP note 2899598 - Error VH_BAPI 050 when deleting header conditions with BAPI

    Best Regards,

    R.Brahmankar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 14, 2020 at 08:17 AM

    Hi,

    Try enabling flag for fields PRICE_GRP CUST_GROUP in DATA : wa_header_chk TYPE bapisdhd1x.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.