cancel
Showing results for 
Search instead for 
Did you mean: 

parameter for LGNUM in Sapconsole z transaction

former_member182371
Active Contributor
0 Kudos

Hi,

i´ve developed a Z transaction for SAPCONSOLE.

I get parameter id 'LGN' in the PBO of the screen.

This parameter is associated with user profile

i´ve used:

GET PARAMETER ID 'LGN' FIELD RM07M-LGNUM.

and i get the correct value.

But, what happens if the user does the loggin in another center?

is there another way to get this value?.

i´m confused about all this.

Could you please bring some light on this?

Best regards.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182371
Active Contributor
0 Kudos

Hi Sivakumar,

considering that i get LGNUM from GET PARAMETER ID, whar would happen if the user by means of transaction LM77 (Queue change) changes LGNUM?

How can i make sure that LGNUM is always the correct value even if user changes queue?

Best regards.

Former Member
0 Kudos

Hi Calsadillo!

If you are using OLML configurations for WM RF Console Transactions, then you have to read the User's Parameter ID info using the Function Module L_USER_DATA_GET with SY-UNAME to read the Warehouse the User is set.

The recommendation i had given is if you are not using OLML, meaning no WM Configuration just Custom IM Txns or Non WM RF Txns that doesnot uses WM - OLML Config.

Hope it is clear now.

Thank You

Gisk

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Calsadillo!

You can setup these user profile parameters in SU01(if you donot have access use SU3 OR System>>User Profile>>Own Data from any SAP Txn).

Then under the Parameter Tab, setup LGN and the value for it.READ these values from table USR05 for the Parameter ID & SY-UNAME.

Let me kow this meets your requirement.

Thank You

Gisk