Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PROVIDE

Former Member
0 Likes
443

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

2 REPLIES 2
Read only

Former Member
0 Likes
339

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.

Read only

0 Likes
339

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