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

Authorization Object

Former Member
0 Likes
620

Hello,

I am facing the following problem :

  • Check if user has authorization on object M_MSEG_WWA.

AUTHORITY-CHECK OBJECT M_MSEG_WWA

ID ACTVT FIELD '03'

ID WERKS FIELD '1234'.

This is the code i have written.

When i login using the logon language as English, this patch of code works fine without giving an error.

However when i logon using the language as ES (Spanish), it gives me a sy-subrc value of 12 and throws an authorization error.

The data i am using is the same for both the logins....

Please guide me on a solution to solve this problem

Cheers

Nayan Kurup

1 REPLY 1
Read only

Former Member
0 Likes
536

Check the value its howing up in su53 after u get this error, u might me missig some authorizations, then asl ur basisi gut to ass up this authorizations to ur profile.

Authorizations have nothing to do with th elogin language, unless the plant in the authorization object is not restrecite for a specific region / country.

Also check ur profile patameters in su01.