‎2008 Aug 16 7:37 AM
Hi Friends,
My question is:
I wanna display list of personal no. employee name, dept, address, dt-of-birth, ABAP-HR.
How we use provide statement for it.
Please reply me.
Thanks in advance,
sandeep dubey
‎2008 Aug 16 10:10 AM
hi,
1. declare PERNR in tables statemnet.
2. declare all the infotypes in INFOTYPES STATEMENT.
3. call the GET PERNR event.
This will fill all the infotypes.
For eg.
tables : pernr.
infotypes : 0002,
0006.
GET PERNR.
PROVIDE * FROM P0002
FROM P0006
WHERE SUBTY = '1'.
WRITE : / .............
ENDPROVIDE.
NOTE : - infotype 0006 has sybtypes also.
Hope this will help u .
Regards,
Aleem.
‎2008 Aug 16 12:35 PM
hi Aleem,
thx for ur reply. i m leaner ,
Dear, i wanna ask i m accesing data from 2 infotypes i.e
0001 and 0002. 3 fields from 0001 and 1 field from 0002.
i m getting data of 3 fields from 0001 throuh Provide.
but i want access 1 field also from 0002.
how we use provide statement for it.
thanks,
sk