cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error while updating header discount with BAPI_SALESORDER_CHANGE

0 Kudos
1,436

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!

View Entire Topic
Abinathsiva
Active Contributor
0 Kudos

Hi,

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

0 Kudos

Hi,

thanks for your advice.

Unfortunately the error still occurs.