I am using below select statement in the RFC
SELECT SINGLE pernr FROM pa0105 INTO loc_pernr
WHERE subty EQ '0001'
AND usrid EQ userid
AND begda LE sy-datum
AND endda GE sy-datum.
when I execute this RFC from backend I am able to get the perner from pa0105 but if i execute the same RFC from portal then the select statements are not getting executed.... Could someone help me out on this?