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

User Exit

Former Member
0 Likes
243

Tables:zcheck_auth,vbak.

Data: Begin of wa_itab,

usrid like zcheck_auth-usrid,

text like zcheck_auth-ztext,

End of wa_itab.

Data: itab like wa_itab occurs 0,

f like vbak-vkorg.

if sy-ucomm = 'PORE'.

clear f.

get parameter id 'VKO' field f.

if f = 'ACC'.

select * from zcheck_auth into table itab where usrid = sy-uname.

if sy-subrc <> 0.

message e901(zv).

endif.

endif.

endif.

Here,Sy-ucomm value is pore but although parameter id 'VKO' has value 'ACC' it is not getting pulled.its just space ..has no value....

Is there any problem in the code..........

1 REPLY 1
Read only

Former Member
0 Likes
215

Hi,

There is nothing wrong in the code. There must be no values in parameter ID VKO.

If you just want to see if your code is working fine then manually use SET PARA.. to set the values and then your code will work,.

Regards,

Atish