01-02-2008 10:38 AM
1) Rp-read-infotype pernr-pernr 0041 p0041 pn-begda
pn-endda.
2) rp_provide_from_last p0041 space pn-begda pn-endda.
what is the difference between the two macros..?
plz reply as soon as u can friends..?
regards
satish.v
01-02-2008 10:43 AM
i just check both of them i didnt found ion output no effect..?
hai friends waiting from long time can any one plz..?
Edited by: satish v on Jan 2, 2008 11:53 AM
01-02-2008 11:00 AM
Hi Satish,
Not sure though...
You use rp_provide when you use a PNP logical database for your selection using GET PERNR statement. Here the rp_provide is in a loop and takes the employee number of the current loop pass and reads the record for the same.
In case of rp-read-infotype, you can provide the employee number to read the exact record you need.
Hope it helps..
Lokesh
01-02-2008 11:34 AM
both the statments are written under get pernr only..? but what u mean by exact personnel number..? every thing is under full loop of from first personnel number to last personnel number.?
anyway s thankx atleast u responded..
friends any sujjestions plz..
satish
Edited by: satish v on Jan 3, 2008 1:19 PM
02-01-2008 7:17 AM
Hi satish,
rp_provide_from_last p0041 space pn-begda pn-endda.
Retrieve particular employee last record in the selected period.
This is the way to retrive data from database using ldb and macro.
Rp-read-infotype pernr-pernr 0041 p0041 pn-begda
pn-endda.
This is the way to retrive data from database using macro without ldb.