cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict editing documents uploaded in CRMD_ORDER ?

Former Member
0 Kudos

Hi All,

In CRMD_ORDER transaction, Transaction Data -> Documents Tab, we can upload our documents,

Once the document is uploaded and the transaction is saved, I want to restrict editing and deletion of the document.

I got this BADI CRM_DOC_AUTHORITY, but i am not getting how to use it.

In this BADI we have a parameter 'Acivity' which has possible values as,

01 Create Objects

02 Delete Objects

03 Read Objects

04 Change Objects

05 Get Authorization Information

06 Change Authorization Information

If we click on delete, 'the activity is 02 - Delete Objects", I cleared the '' ios_auth' and displayed the message 'Documents cannot be deleted'. It is working fine.

But when we click on 'Edit' button, the activity is not set to '04' and it is allowing to edit the document and overwrite the existing one.

So pls any one help in this. I want to restrict both deletion and editing once the document is uploaded and saved.

any Suggestions pls ?

Regard's

Jean

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Posting the same in ABAP as I didnt got any suggestions here.

Regard's

Jean.