We have a custom program to update dates in sales orders.The program uses the FM BAPI_SALESORDER_CHANGE to update the sales order. But, the issue is that along with the dates, the BAPI also changes the pricing for the line items. Based on a few posts on SDN, I tried passing the pricing type as 'G', ''K', 'X' and 'D' in the logic switch. For 'G', the program still performed the repricing. However, it seems that in my client system, it is not permitted to use the pricing types as 'K', 'X' or 'D' (the BAPI throws an error stating that the particular pricing type is not allowed for LOGIC_SWITCH-PRICING).
Please let me know if there is any other solution to change the program or if there is any configuration which can help resolve this issue.