SAP BLOG DMS -Inconsistency in Browser ACL activation & Its solution

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,367
Tepki puanı
7
Puanları
6
Dear Readers,

Hope all are safe !!!

In this Blogs I will show share insight on SAP DMS ACL activation, Inconsistency & solution. In ACL activation we could see that there are three check box which are below,



Transaction code – DCSWTCH

1. Browser flag

2. ACL flag

3. Edit ACL

dcswitch.png




Basically ACL flag will be used for controlling individual document info record in terms of authorization apart from Standard authorization object. Once above field is activated we could the see one new tab in CV01N,CV02N and CV03N. Apart from transaction and authorization object level controlling of DIR addition to that below activity can also be get controlled against user name and if we use ACL functionalities which are below during creation of DIR,

Admin

Read only

Delete

Write etc.



Also below check box must be flagged to get ACL in CV01N/02/03.

DC10:

dc10.png


DC10 configuration​

In some rare cases even with above configuration said functionalities will not work due to below reason,

  • Inconsistency in table TDWSWITCH

In above table we could see always One entry for area CV but in some cases entry will be there without the area of CV

TDWSWITCH.png


To delete blank entry in above table below program to be used or if we have authorizations to delete the same entry in table level can be used.

Kod:
*&---------------------------------------------------------------------*

*& Report  Z_HOPFC_SWITCH

*&

*&---------------------------------------------------------------------*

*& Version 1.0

*& This is a special correction report if you have originals without workstation application.

*& Please note that this is not an official SAP report.

*&---------------------------------------------------------------------*

 

REPORT  z_hopfc_switch.

 

DATA: it_switch TYPE TABLE OF tdwswitch.

DATA: wa_switch TYPE tdwswitch.

DATA: it_switch_new TYPE TABLE OF tdwswitch.

DATA: it_switch_del TYPE TABLE OF  tdwswitch.

DATA: lf_lines TYPE p.

 

 

 

*Select the entries from table TDWSWITCH

SELECT * FROM  tdwswitch INTO CORRESPONDING FIELDS OF TABLE it_switch.

* If sy-subrc is '4' no entry exists and one standard CV entry should be created.

IF sy-subrc = 4.

   wa_switch-mandt = sy-mandt.

   wa_switch-area = 'CV'.

   INSERT tdwswitch FROM wa_switch.

 

ENDIF.

 

DESCRIBE TABLE it_switch LINES lf_lines.

IF lf_lines > '1'.

*LOOP at it_switch and remove all entries where AREA is not 'CV'

   LOOP AT it_switch INTO wa_switch.

     IF wa_switch-area <> 'CV'.

       DELETE tdwswitch FROM wa_switch.

*        wa_switch-mandt = sy-mandt.

*        wa_switch-area = 'CV'.

*        INSERT tdwswitch FROM wa_switch.

     ENDIF.

   ENDLOOP.

*Check table content

   SELECT * FROM tdwswitch INTO CORRESPONDING FIELDS OF TABLE it_switch.

   DESCRIBE TABLE it_switch LINES lf_lines.

   LOOP AT it_switch INTO wa_switch.

     IF wa_switch-area = 'CV' AND lf_lines = '1'.

       WRITE: 'Table updated successfully'.

     ENDIF.

   ENDLOOP.

ELSE.

*Only one entry - need to check if this entry has area 'CV'

     LOOP AT it_switch INTO wa_switch.

       IF wa_switch-area = 'CV'.

         WRITE: 'Nothing updated'.

         EXIT.

       ELSE.

         DELETE tdwswitch FROM wa_switch.

         wa_switch-mandt = sy-mandt.

         wa_switch-area = 'CV'.

         INSERT tdwswitch FROM wa_switch.

 

       ENDIF.

     ENDLOOP.

   ENDIF.



SE38 : Z_HOPFC_SWITCH by executing of this program dummy area entry will get deleted from table. So that inconsistency will be cleared.

Also In some cases will not work ACL activation due to below check box will not flagged in EA-PLM application also it could be not editable. To clear this inconsistency we need execute program SFW_CHECK_EA_SWITCHES So that inconsistency will get fixed & check box will get flagged.(After this the entry EA-PLM should still be ReadOnly in FIBF but it should appear as flagged.) (Table – TBE11)

T code: FIBF

fibf-1.png


FIBF navigation​



plm-2.png


EA- PLM activation​









Reference:

1561940 – Incomplete activation of enterprise extension (BTE inactive)



Please add in comments if anything is missed & needs to corrected to make more effective.



Please Stay safe from COVID-19 !!!



Best Regards,

Prasath E

Okumaya devam et...
 
Üst