Skip to Content

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

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 15 at 12:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded