‎2007 Jul 27 4:32 AM
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..........
‎2007 Jul 27 4:37 AM
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