Skip to Content
0
Apr 21, 2009 at 08:32 AM

Error in select statement

43 Views

Hi All below is the sample code where it is not fetching the data into itab. Please check where i am doing wrong...

REPORT  YP_TEST1.
tables: pernr , pa0001.
select-options:pernr1 for pa0001-pernr.

data: begin of itab occurs 1.
include structure pa0001.
data:end of itab.

start-of-selection.

select * from pa0001 into table itab where pernr in pernr1

when i am inputting pernr into the selection-screen it is not getting the itab to be populated please let me knwo where i am doing wrong....

Regards

sas