Skip to Content
avatar image
Former Member

​Sales Order line item Object status (User Status) change based on line item discount

Sales Order line item Object status change based on line item discount

I have the following requirement:

Sales Order line item Object status (User Status) should set “approval required” if the line Item discount is more than 50%

I am trying to check before sales order save that is in MV45AFZZ-FORM USEREXIT_SAVE_DOCUMENT_PREPARE.

I have tried Function modules 'STATUS_UPDATE' IN UPDATE TASK, 'I_CHANGE_STATUS' but status is not getting updated in JEST table.

Function module is not throwing any exception the sy-subrc is zero. I have used Commit work and wait also.

I have tried with 'STATUS_CHANGE_INTERN' and 'STATUS_CHANGE_EXTERN' this 2 FM is throwing as status is not system status.

Is there any particular Function module to update this status?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers