cancel
Showing results for 
Search instead for 
Did you mean: 

RP_PROVIDE_FROM_LAST AND PROVIDE AND ENDPROVIDE

Former Member
0 Kudos

hi all,

When to use RP_PROVIDE_FROM_LAST and Provide and EndProvide?

which scenario we go for RP_PROVIDE_FROM_LAST and Provide?

both will do the same purpose?

RP_PROVIDE_FROM_LAST will read recent records.

Provide will read sequentially data.

other than this...difference

can anyone clear my doubt?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member219162
Contributor
0 Kudos

Hi,

For PROVIDE-ENDPROVIDE :

1) You can fetch individual fields of the infotypes.

2) You can also use the JOIN and PROJECTION of infotypes. Based on the criteria, datas can be fetched from two or more infotypes.

3) It is similar to the SELECT STATEMENT of normal ABAP.

4) You can do processing within the Block of PROVIDE - ENDPROVIDE

For RP_PROVIDE_FROM_LAST:

1) You fetch only the recent record of the Infotype.

2) This is a MACRO delivered by SAP and not a statement. You can also create something similar to this.

Regards,

Anirban