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

ABAP-HR

Former Member
0 Likes
527

what is the major difference between LOOP ENDLOOP & PROVIDE ENDPROVIDE?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
511

hi,

provide and endprovide are used for logicaldatabase(LDB) INSTEAD OF LOOP AND ENDLOOP

PROVIDE / ENDPROVIDE

Provide and Endprovide are used as Looping Constructs while using LDB.

All the data which satisfies the conditions associated with the Provide and Endprovide statements is picked for each Employee between the given Intervals.

regards,

sreelakshmi

3 REPLIES 3
Read only

Former Member
0 Likes
512

hi,

provide and endprovide are used for logicaldatabase(LDB) INSTEAD OF LOOP AND ENDLOOP

PROVIDE / ENDPROVIDE

Provide and Endprovide are used as Looping Constructs while using LDB.

All the data which satisfies the conditions associated with the Provide and Endprovide statements is picked for each Employee between the given Intervals.

regards,

sreelakshmi

Read only

Former Member
0 Likes
511

Hi,

There is difference between loop and endloop and provide...endprovide, functionality remains same.

loop ....endloop can be used in normally with internal tables and provide ....endprovide will be used with LDB - Nodes. specially used in HR ABAP programming.

Thanks,

Sriram Ponna.

Read only

0 Likes
511

loop .. endloop is used in case of internal tables

provide.. endprovide for ldb

LDB are logical databases and should be used if and only if large amount of data is to be processed.

Hope it helps

saipriya