cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member241303
Participant
0 Kudos

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,

Accepted Solutions (0)

Answers (1)

Answers (1)

BGarcia
Active Contributor
0 Kudos

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