cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization Object For Activate Reservation/Purchase Req - IW31

Former Member
0 Kudos

Hi,

I want to authorize only certain users to use button "Activate Reservation/Purchase Req" IW31 transaction. What is the Authorization Object for the above mentioned button, if any. Is there any other way that i can do this activity in customizing? I am using ECC 6.0

We find that activating the objects below (suggests- SU24)

M_BANF_BSA

M_BANF_EKG

M_BANF_EKO

M_BANF_WRK

allowed in IW31, that 'not-authorized-users' would not be able to create purchase requistions. therefore: no material procurement.

But for reservations, we didn´t find the object in IW31.

Thanks and regards

Gabriel.

Edited by: Gabriel_Fornazier on Dec 31, 2010 12:16 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

you can try with transaction code MB21 and find out the object and assign and try with IW31.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank´s all !

The Sap said tath there currently no authorization object in the system which can restrict the use of this button, however user exit IWO10006 can be used to hide buttons and you could create your own authorization object.

We created manually authorization object. We use authority-check within the Exit EXIT_SAPLCOIH_006.

This solve our problem.

Gabriel M. Fornazier

Former Member
0 Kudos

Olá Gabriel,

Estava pesquisando sobre os objetos de autorização para a IW31 e encontrei sua questão, que era o que buscava.

Não entendi muito bem como conseguiu resolver, você fez a validação na exit, certo? Mas escondeu a opção, ou conseguiu bloquear a criação da Remessa através da Exit?

Grata pela atenção.

Michely

Former Member
0 Kudos

Olá Michely

Segundo a SAP não existe objeto de autorização em BASIS para restringir por usuário o botão da transação IW31 que eu precisava(Ativar Reserv./Req. de Compra). Portanto segundo a SAP, poderia usar a ampliação IWO10006 para resolver isso.

E foi o que fiz. Primeiramente criei manualmente um objeto de autorização 'Z' dummy, para atribuir a um usuário que não quero que enxergue o botão. 'DISP' o nome do botão(dar F1 no mesmo) que desejo esconder.

Posteriormete na EXIT desenvolvi o seguinte código para esconder o botão:

AUTHORITY-CHECK OBJECT 'Z_VORG_ORD'

ID 'ZBETRVORG' DUMMY.

IF SY-SUBRC EQ 0.

FCODE_EXC_CUST-FCODE = 'DISP'.

APPEND FCODE_EXC_CUST.

ENDIF.

Portanto, todo usuario que tiver aquele objeto de autorização ''Z'' no seu perfil não vai exergar o botão Reserv./Req. de Compra.

Essa é a melhor solução do que usar objetos de autorização de outras transações.

Espero ter ajudado

abraços,

Gabriel M. Fornazier

SAP FI Certified Professional

Minas Gerais - Brasil

Former Member
0 Kudos

Have you tried performing an authorizations trace (ST01) on that transaction? I have used this transaction sucessfully to find authorization objects. Activate the trace, run the transaction - being sure to enter data and click all the buttons you wish to check, then look at the report.