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 the use provide and endprovide???

Former Member
0 Kudos

Hi All,

what r the benefits of using PROVIDE STATEMENT (HR abap) over Select and loops used in ABAP(normal).

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

Welcome to SDN.

Refer the links -

Regards,

Amit

Reward all helpful replies.

5 REPLIES 5

amit_khare
Active Contributor
0 Kudos

Welcome to SDN.

Refer the links -

Regards,

Amit

Reward all helpful replies.

Former Member
0 Kudos

Hi

This is similar to SELECT..ENDSELECT statements to fetch the data from the INFOTYPES.

since they are infotypes we use PROVIDE...ENDPROVIDE.

see the HR doc

HR:

HR deals with the INFOTYPES which are similar to Tables in General ABAP.

There are different ways of fetching data from these infotypes.

There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc

Infotypes for these areas are different from one another area.

storing of records data in each type of area is different

LDBS like PNP are used in HR programing.

Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc

and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.

On the whole Normal ABAP is different from HR abap.

For Personal Admn the Infotypes start with PA0000 to PA1999

Time Related Infotypes start with PA2000 to PA2999.

Orgn related Infotypes start with HRP1000 to HRP1999.

All custom developed infotypes stsrat with PA9000 onwards.

In payroll processing we use Clusters like PCL1,2,3 and 4.

Instead of Select query we use PROVIDE and ENDPROVIDE..

You have to assign a Logical Database in the attributes PNP.

Go through the SAp doc for HR programming and start doing.

http://www.sapdevelopment.co.uk/hr/hrhome.htm

See:

http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm

sites regarding hr-abap:

http://www.sapdevelopment.co.uk/hr/hrhome.htm

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf

http://www.atomhr.com/training/Technical_Topics_in_HR.htm

http://www.planetsap.com/hr_abap_main_page.htm

You can see some Standard Program examples in this one ...

http://www.sapdevelopment.co.uk/programs/programshr.htm

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#...

http://www.erpgenie.com/faq/hr.htm.

http://www.planetsap.com/hr_abap_main_page.htm

http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html

These are the FAQ's that might helps you as well.

http://www.sap-img.com/human/hr-faq.htm

http://www.sapgenie.com/faq/hr.htm

http://www.planetsap.com/hr_abap_main_page.htm

http://www.atomhr.com/library_full.htm

HR Long texts Upload

Look at the below link

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos

Former Member
0 Kudos

with the help of PROVIDE... ENDPROVIDE. statement you can make joins between internal tables... this statement is used mainly for HR infotypes.

while making joins among itabs you should have data fields in internal tables.

Reward if sueful

Regards

Prax

Former Member
0 Kudos

hi

while we are programming in ABAP-Hr we usually use the

statement provide and endprovide.

<b>difference</b>

1. SELECT..ENDSELECT is on a database table whereas PROVIDE..ENDPROVIDE is on an Internal table.

2.SELECT..ENDSELECT can be used ina report without tying it to an LDB whereas to use PROVIDE..ENDPROVIDE, the report has to be tied to an LDB.

<b>reward points for useful ans</b>

Regards

Aarti