Application Development and Automation 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: 
Read only

Which is Better in Performancewise?

Former Member
0 Likes
843

Hi Guys,

In context of ABAP HR, Which Technique is better for selecting Data (Performance wise)?

1) Use of Provide / EndProvide OR

2) Use of Macro like rp_provide_from_last

Kindly reply with suitable reason.

Thanks,

Ravin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
810

>

> Hi Guys,

>

> In context of ABAP HR, Which Technique is better for selecting Data (Performance wise)?

>

> 1) Use of Provide / EndProvide OR

> 2) Use of Macro like rp_provide_from_last

>

> Kindly reply with suitable reason.

>

> Thanks,

> Ravin

Hi,

Accoding to my knowledge

1. PROVIDE ENDPROVIDE is like Loop Endloop

2. If you want to retrieve the latest record then you can go with

rp_provide_from_last.

Hi Guys,

In context of ABAP HR, Which Technique is better for selecting Data (Performance wise)?

1) Use of Provide / EndProvide OR

2) Use of Macro like rp_provide_from_last

Kindly reply with suitable reason.

Thanks,

Ravin

5 REPLIES 5
Read only

Former Member
0 Likes
810

Good way is...

Use of Macro like rp_provide_from_last

Read only

Former Member
0 Likes
811

>

> Hi Guys,

>

> In context of ABAP HR, Which Technique is better for selecting Data (Performance wise)?

>

> 1) Use of Provide / EndProvide OR

> 2) Use of Macro like rp_provide_from_last

>

> Kindly reply with suitable reason.

>

> Thanks,

> Ravin

Hi,

Accoding to my knowledge

1. PROVIDE ENDPROVIDE is like Loop Endloop

2. If you want to retrieve the latest record then you can go with

rp_provide_from_last.

Read only

0 Likes
810

Yes, you are right but performance wise which is better one?

Read only

Former Member
0 Likes
810

Hi Ravin,

RP_PROVIDE_FROM_LAST

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
810

Thanks to all.