‎2007 Sep 07 11:32 AM
Hi,
I am selecting some fields from infotype by using provide.
like ..
provide aedtm
ename
plans
orgeh
kostl from p0001 between pn-begda and pn-endda.
when I am writing where condition the data will be printing with zero's.
where p0001-aedtm le p_aedtm.
why it is giving I am not getting.
please guide me how to follow.
Regards
Anil
‎2007 Sep 07 11:46 AM
Hi Anil
See the below code. Also make sure you have data in infotype PA0001 and the LDB 'PNP' is included in your program.
TABLES pernr.
INFOTYPES: 0001.
GET PERNR.
provide aedtm
ename
plans
orgeh
kostl from p0001 between pn-begda and pn-endda
where p0001-aedtm le sy-datum.
write:/
p0001-aedtm,
p0001-ename,
p0001-plans,
p0001-orgeh,
p0001-kostl.
endprovide.