on 03-14-2018 5:53 PM
Dear Guru,
We have the following status in a Sales Order.
Status 01 (E0001)
Status 02 (E0002)
Status 03 (E0003)
Status 04 (E0004)
The user can change the document when sales order has the Status 01 and 02. If the document has the status 03 and 04 the user cannot change the document, but the system has to allow a external system to modify the sales order (BAPI).
We did the following test:
We assigned the business transaction to Status 03 and 04
Business transaction Influence Next Action Result Change document Prohibited Set The user cannot change document, but the external system cannot change the document too No Change Allowed Allowed Set The user can change the document Lock Document Allowed Set The user can change the document To Be Distributed Allowed Set The user can change the document
Does someone know how I can do it?
Best regards,
Hi Fernando,
Since you want to include exceptions in your business logic, I would implement badi CRM_ORDER_AUTH_CHECK (or even badi CRM_ORDER_FIELDCHECK if you only want to allow to change specific fields) instead of locking the document through status configuration.
See if that helps you a little more.
Kind regards,
Garcia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.