cancel
Showing results for 
Search instead for 
Did you mean: 

User Authorization for IE4N transaction

Former Member
0 Kudos

Dear Experts,

I have an query regarding the user authorization at transaction IE4N. It is but obvious in standard SAP that person authorized to Do IE4N should be authorized for Transaction IE02 & IL02 (Equipment and Functional Location Change).

But my requirement is slightly different I want the end user (Bottom Most level) to be authorized to operate transaction IE4N but he should not have authorizations for operating IE02 & IL02 Directly.

Any Clues how I can do it?

Thanks In Advance....!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Have you tried by giving authorization only for IE4N & not for IE02 / IL02.

I have not tried this. If it doesn't work, then you may have to check for some development option.

INST_AUTHORITY_CHECK PM/CS Enhanced Authorization Checks

I have not tried above BADI as well. Try & update.

Former Member
0 Kudos

Thanks Mahesh,

It worked !!

Regards

Amol

Answers (2)

Answers (2)

Former Member
0 Kudos

With Pleasure,

There are two methods in it,

CHECK_FLOC

CHECK_EQUI

We created a Ztable and maintained users in it and wrote a small code as below

Method IF_EX_INST_AUTHORITY_CHECK~CHECK_EQUI.

DATA T_UNAME TYPE SY-UNAME.

CLEAR T_UNAME.

SELECT SINGLE UNAME INTO T_UNAME FROM ZPM_IE02AUTHO WHERE FLAG = 'X' AND UNAME = SY-UNAME.

   if SY-SUBRC <> 0.

     if  sy-tcode = 'IE02'.

*     BREAK-POINT.

       MESSAGE 'NO AUTHORIZATION FOR THIS TRANSACTION' TYPE 'E'.

     ENDIF.

   ENDIF.

Endmethod.

It was simple unless you suggested the  BAdI,

So Thanks to You Again

Former Member
0 Kudos

If you can update the solution by which you achieved your requirement, it will be helpful for me as well as for others.