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 parameters error

colin_cheong
Contributor
0 Likes
630

In my program, I used Authorization object M_MATE_VKO

My program checked using

VKORG , ACTVT = "03" , VTWEG = '*'

My User had been assigned with M1 - M7 (M1 to M7) for VTWEG.

User not authorized, SU53 shows it required "*" for VTWEG

Now, I modified the checks to

VKORG , ACTVT = "03" , VTWEG = " "

VTWEG is now a BLANK.

User still not authorized, SU53 shows it required "-" for VTWEG (hyphen is this case)

What should I do to allow "No checks" on VTWEG?

Should I just used only VKORG and ACTVT with the objects which state 3 parameters?

How do I code in order to allow User with the appropriate authorization to pass thru?

Thanks

bye

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
560

Hi,

If you don't want to check a value against VTWEG either take it out of the statement or use VTWEG = DUMMY.

Regards,

Nick

2 REPLIES 2
Read only

Former Member
0 Likes
561

Hi,

If you don't want to check a value against VTWEG either take it out of the statement or use VTWEG = DUMMY.

Regards,

Nick

Read only

colin_cheong
Contributor
0 Likes
560

I had removed the parameter VTWEG