Skip to Content
0

Status Management – Doesn’t allow the user change document, Allow external system changes document

Mar 14 at 05:53 PM

20

avatar image

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,

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

1 Answer

Bruno Garcia Mar 15 at 12:42 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded