Hi Folks!!!
I am having a small problem but can't find out why its happening. All I am trying to do is to get data in my internal table from table LFM1. I test the same code with MARA and it worked. Can anybody tell me why data is not coming in Internal from LFM1.
Here is my peice of code.
*******************************************************************************************************************
REPORT ZAD_POXKTEST .
data: begin of ilfm1 occurs 0.
include structure lfm1.
data: end of ilfm1.
select * from lfm1
into corresponding fields of table ilfm1
where ekorg = '3000'
and ernam = 'Adeel'.
if sy-subrc ne 0.
write:/ 'Error!!!'.
endif.
data: begin of imara occurs 0.
include structure mara.
data: end of imara.
select * from mara
into corresponding fields of table imara
where ernam = 'RUDISILL'.
if sy-subrc ne 0.
write:/ 'Error!!!'.
endif.
***********************************************************************************************************
Thanks alot in Advnce.