on 2017 Jan 10 6:10 AM
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?
User | Count |
---|---|
106 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.