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: 

What is difference between rp-provide-from-last VS rp_provide_all

Former Member
0 Kudos

Hello All:

I have the following code:

rp-provide-from-last p0000 space pn-begda pn-endda. -- I know this statement gets latest record from Infotype 0 for the given period.

rp_provide_all p0210 'FED' pn-begda pn-endda.

Could someone please tell me what exactly the code above does? Rewards assured.

Thanks.

Mithun

2 REPLIES 2

Former Member
0 Kudos

Hi

This fetches all the records from Infotype 210 with subtype value = FED

HR tables/infotypes consists of time period based multiple records for each PERNR. hence this types of Macros used to fetch the first, last or all records.

Regards

Anji

Former Member
0 Kudos

RP_PROVIDE_ALL does not look like a standard macro. I have checked entries in TRMAC table and it does not return anything for this macro name.

I believe there must be custom macro created in your program which is used here. Please check the program and see if the declaration is available for RP_PROVIDE_ALL.

ashish