Application Development 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: 

difference between macros..? urguent can any one plz..?

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.