Skip to Content
0

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

Jan 10, 2017 at 06:10 AM

176

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers