cancel
Showing results for 
Search instead for 
Did you mean: 

DMS Deactivating authorization tab for certain document types

Former Member
0 Kudos

Hi experts,

We have activated ACL in table TDWSWITCH.

But we do not want, that the authorization tab appears for all document types.

Is there any BAdI where I can implement this issue?

Regards

Karl-Wilhelm

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Karl-Wilhelm,

Please see the SAP notes 811389 and 818714 which explain that the BADIs DOCUMENT_AUTH01 and BOM_UPDATE need to be implemented to use the ACL functions.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak Kori,

Thanks for reponse.

I have already read the SAP notes 811389 and 818714. But I don't know how to implement BAdIs DOCUMENT_AUTH01 and BOM_UPDATE to filfile my requirement.

In BAdI DOCUMENT_AUTH01 you can implement METHOD CHECK_AUTHORITY. This BAdI is called with TCODE, DRAW and activity with '01', '02' or '03'. This is good to implement a logic in which situation a user is allowed to maintain a DIR at all.

What I want to achieve is, that the authorization tab does not appear when maintaining certain document types. I want to prevent that the user is able to maitain ACL.

Switching on ACL in table TDWSWITCH effects all document types.

We want to achieve that it is on only for certain document types.

Regards

Karl-Wilhelm

Former Member
0 Kudos

Hi,

Did you come right with this?

You can do the following.

Implement Badi Document_main02.

method->d101_after_pbo

IF s_dokar NE 'ACL '.

    LOOP AT SCREEN.
      IF screen-name EQ  'PM_TEXTS'.           " replace PM_Text with the ACL tab name
        screen-active = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
ENDIF.