Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Archiving authorization

Former Member
0 Likes
3,593

Dear Experts,

    How should we provide authorization for archiving object "RL_TA", used for archiving TO data? Also for MM_EKKO used for archiving Purchase Orders.

    Thanks in advance.

Regards,

Shanthi Priya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,131

AUTHORITY-CHECK OBJECT 'S_ARCHIVE'

ID 'ACTVT' FIELD '01'

ID 'APPLIC' FIELD 'MM

ID 'ARCH_OBJ'  FIELD 'RL_TA'.

Which tables are checked when the above statement is run?

21 REPLIES 21
Read only

Former Member
0 Likes
3,131

1. For Purchase order Archiving (MM_EKKO ) use below authorization objects.

  • M_BEST_EKO

  • M_BEST_EKG

  • M_BEST_BSA

  • M_BEST_WRK

2.  For RL_TA use below authorization objects.

CON_BER_BWLVS

CON_BER_LGNU

CON_BER_LGNUM

CON_BER_TCOD

CON_BER_SFUNC

Read only

Former Member
0 Likes
3,131

Hi,

go to SUIM transaction and try to get the correct roles and authorization objects!

Read only

Former Member
0 Likes
3,131

Hi,

   I'm not aware of setting authorization. When i tried archiving using RL_TA & MM_EKKO objects, i got authorization issue and the arching process is getting cancelled. How should i clear this?

Read only

0 Likes
3,131

go to t code SU53 and send the details to your BASIS team, they will resolve it..!!!

Read only

0 Likes
3,131

Hi,

Using TCODE SU53, whether you can not have the authorization. you can get which object you don't have. then add this object authorization.

Regards,

Yawa

Read only

0 Likes
3,131

SU53 is a bad friend.

used the authorization trace : ST01

SU53 will give you only the last authorization object checked, you can't be sure it's the one you are searching.

regards

Fred

Read only

Former Member
0 Likes
3,132

AUTHORITY-CHECK OBJECT 'S_ARCHIVE'

ID 'ACTVT' FIELD '01'

ID 'APPLIC' FIELD 'MM

ID 'ARCH_OBJ'  FIELD 'RL_TA'.

Which tables are checked when the above statement is run?

Read only

0 Likes
3,131

go to SU21 - check the object- double click and change the permitted activities

Read only

0 Likes
3,131

Hi kiran, please look at the attachment and let me know how i can edit it

Regards,

Shanthi

Read only

0 Likes
3,131

Hi Shanthi,

just click the pencil icon in the right hand side, it will take you in change mode.

Where you can change the activities.

Read only

0 Likes
3,131

You can't do it that way!  you have to be first find the roles and subsequently profiles and assignment to the user

Read only

0 Likes
3,131

Hi Kiran,

he has shown that he is in the screen for maintaining the authorization objects,

from where he can do by permitted activies.

Is this not a good way ?  I wants to  know it for myself.

Read only

0 Likes
3,131

Hi Shanti,

go to SU01 -your usr id - change - go to the roles tab : give the role SAP_BC_CCM_DATA_ARCHIVING

log of  and try

Read only

0 Likes
3,131

No Sanjev, it will show only where used list from where the authority objct is used!

we need to maintain the authorization via PFCG txn: first need to create the role with necssary authorizations and objects.

then role will assigned to the user!

Read only

0 Likes
3,131

Ok Kiran,

thanks a lot for this information, because when i have used AUTHORITY CHECK concept,

these stuff was done through basis, and functional ends, i have done coding only to check.

Anyhow thanks a lot again.

Read only

0 Likes
3,131

You welcome

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,131

Look at help.sap.com, all required information is detailled, e.g. : Authorizations for MM_EKKO (MM-PUR) or Authorization Checks in Warehouse Management System (WMS).

Regards,

Raymond

Read only

0 Likes
3,131

Hi,

   When i debugged the program i got sy-subrc = 4 when i ran the below statement. I dont understand it in detail. Does it check whether ACTVT = '01', APPLIC = 'MM', ARCH_OBJ = 'RL_TA'? If so which table is checked for the values for each id?

AUTHORITY-CHECK OBJECT 'S_ARCHIVE'

ID 'ACTVT' FIELD '01'

ID 'APPLIC' FIELD 'MM

ID 'ARCH_OBJ'  FIELD 'RL_TA'.

Regards,

Shanthi

Read only

0 Likes
3,131

Hi Shanthi,

please see this

    AUTHORITY-CHECK OBJECT 'S_ARCHIVE'

                                 ID 'ACTVT' FIELD '01'

                                   ID 'APPLIC' FIELD 'MM

                                 ID 'ARCH_OBJ'  FIELD 'RL_TA'.

    IF SY-SUBRC EQ 0.

    ELSE.

MESSAGE 'YOU ARE NOT AUTHORISED ' TYPE 'E'.

     ENDIF.

 

Read only

0 Likes
3,131

Hi Shanthi,

Using this Tcode S_BCE_68001420, then click all selections in above, you can check whether particular user having authorization for this object.

If yes, sy-subrc value will be 0.

Arivazhagan S

Read only

Former Member
0 Likes
3,131

The issue is cleared. Thank you all.

Regards,

Shanthi