cancel
Showing results for 
Search instead for 
Did you mean: 

Storage Type

Former Member
0 Kudos

Hi,

I am maintaing Authorisation values for Transaction - LB01, LB02, LB03, LB10, LB11, LB12, LB13,

I am maintaining values in : L_LGNUM (Warehouse Number / Storage Type)

There i am maintaining FROM & TO values for STORAGE TYPES.

But System is Not Supporting.

When i am Performing Transaction : LB13 ....there system is accepting values.

I want to restrict it

Regards

Amey

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Do a trace on the user to see what auth objects are picked up and where the auth check is missing.

Regards,

Hein

former_member1245242
Contributor
0 Kudos

Hey Botha

Could you pls tell us how do u do that trace on the User to check Auth objects?

Rgds

Ramesh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

I am not dure that you can set authorisations as low as St Types

You can do St Locs and movement types but I dont believe st types

I hope that this helps

Frenchy

Former Member
0 Kudos

Hi Frenchy,

You definitely can set auth's up to ST level. The auth check message will be L0002: You have no authorization for storage type 100 999...where 100 is my WH and 999 is the ST.

Ramesh,

An example of my auth role:

Role: WM&GENERAL-FJ01(3), Description: Warehouse Management: FJ01 ST200

Detail:

Logistics Execution - Warehouse Management (Technical Name LE_L)

-- Warehouse Number / Storage Type (Technical Name L_LGNUM)

-- Warehouse Number / Storage Type (Technical Name T-W144004200)

-


Warehouse Number / Warehouse C 100 (Technical Name LGNUM)

-


Storage Type 200 (Technical Name (LGTYP)

You can run the trace from tcode: ST01. Select "Authorization Check", switch the trace on and do the transaction. Go to "Analysis (also in ST01) and select the details for the user who posted the transaction.

My trace gave the following (see the entry with RC=4)...this is where my user got the auth check.

hh:mm:ss:ms Type Lasts(us) Object Text

=========================================================================

14:02:22:23 AUTH - - - L_LGNUM RC=0 tcode=LT01;LGNUM=100;LGTYP=200;

14:02:22:23 AUTH - - - L_LGNUM RC=4 tcode=LT01;LGNUM=100;LGTYP=999;

Regards,

Hein

Former Member
0 Kudos

@ All --- Thanks 2 all of you.

Will these also support if i maintain Values like in storage type

FROM & TO

123 -- 456

Former Member
0 Kudos

@Hein Botha

Can you please tell me where can i maintain this message in customisation.

When i run the trace.

I got the following values :

Line 09:15:21:788 AUTH - - - L_LGNUM RC=0 tcode=LB13;LGNUM=253;LGTYP= ;

Line 09:15:33:665 AUTH - - - L_LGNUM RC=0 tcode=LT04;LGNUM=253;LGTYP= ;

Former Member
0 Kudos

Hi Amey,

From your trace I can see that there are no ST's entered. My trace returned the WH and ST. Your trace returned only the WH. I checked my auth again and noted that together with the ST's I also have an entry for movement type, so my complete role looks like the following:

  • Manually Logistics Execution - Warehouse Management

    • Manually Movement Type in the Warehouse Management System

      • Manually Movement Type in the Warehouse Management System

Movement Type for Warehouse Ma 091, 092, 093, 094, 099, 101, 102, 103, 104, 201, 202, 231, 232, 241, <...>

Warehouse Number / Warehouse C 100

    • Manually Warehouse Number / Storage Type

      • Manually Warehouse Number / Storage Type

Warehouse Number / Warehouse C 100

Storage Type 200

My transaction codes sit in a seperate role.

I'm pretty sure your "From / To" will work. My entries are single ones, for it was generated by a program.

The message is coded in program MM07SFB0. It is not customizing. See the following:

----


  • FORM BERECHTIGUNG_LGNUM *

----


FORM BERECHTIGUNG_LGNUM USING LGNUM LGTYP CHANGING V_XMARK.

AUTHORITY-CHECK OBJECT 'L_LGNUM'

ID 'LGNUM' FIELD LGNUM

ID 'LGTYP' FIELD LGTYP.

IF NOT SY-SUBRC IS INITIAL.

MESSAGE I002(L0) WITH LGNUM LGTYP.

CLEAR V_XMARK.

ENDIF.

ENDFORM.

----


I hope that this will help you.

Regards,

Hein

Former Member
0 Kudos

@Hein Botha

Thanks for the help.

In my Authorisation i have kept this values

Movement Type in the Warehouse Management System

Movement Type for Warehouse --- 888

Warehouse Number / Warehouse-- 253

Warehouse Number / Warehouse 253

Storage Type PPO

After the trial for these values it passed with

Line 09:15:21:788 AUTH - - - L_LGNUM RC=0 tcode=LB13;LGNUM=253;LGTYP= ;

Line 09:15:33:665 AUTH - - - L_LGNUM RC=0 tcode=LT04;LGNUM=253;LGTYP= ;

Do we need to activate the Program --- MM07SFB0

As well as i think your search strategy is different.

Former Member
0 Kudos

Hi Amey,

The problem is still that your ST is not pulling through with the auth check.

My next suggestion would be to enter a numeric number for the ST...long shot in the dark (I checked the field type and it is CHAR...)

Hein

Former Member
0 Kudos

@Hein Botha

I checked but it is passsing dummy values.

Former Member
0 Kudos

Amey,

See my business card for my contact address. Maybe we can sort it out there and put the answer on the forum?

Hein

Former Member
0 Kudos

1

Former Member
0 Kudos

what was the answer to this question on restricting storage type? I am having a similar issue when trying to restrict view access for a specific storage type in LS02. The auth LGTYP is restricted in the role but trace shows that LGTYP is not not taken into consideration.

Former Member
0 Kudos

I don't know? Have you check your settings as described above?

thx,

Hein