Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

deleting pricing conditions using FM /AFS/VBAK_SALESDOCUMENT_CHANGE

Hi all,

following the instructions in oss note 593246 I have succesfully implemented code to delete a discount condition from a sales order using FM /AFS/VBAK_SALESDOCUMENT_CHANGE. But now I also want to delete a condition from a sales order position which has an item which has the AFS 'price by size' characteristic (an item with a shirt for example, with 10 pieces, which are divided in 3 smalls, 4 mediums and 3 large).

Using the same code that was succesful earlier, it deletes the discount condition, but also all standard pricing conditions, making the pricing in the order invalid obviously.

Has anyone else had this problem? And more importantly: has anyone found a way to do this succesfully?

Thanks in advance


Former Member
Not what you were looking for? View more on this topic or Ask a question