11
SAP HR ABAP, HCM Material Tutorial and Trainings   Home  Material   About  SAP Trainings   Contact   Games  External links Material ABAP-hr (14) Code Samples (2) PA (3) SAP Workflow (3) Basics (1) Introduction (2) SAP-hr (7) Authorizations (1) Configuration (3) Payroll (1) Uncategorized (7) Pages Material   About  SAP Trainings   SAP HR Payroll Training   SAP ABAP Training  HR ABAP Training  SAP HR Training  SAP Workflow  Contact   Useful Links   Games  Recent Tutorials Ads by Google  Sap HR Payroll HR Sap PDF Sap ABAP Jobs Page 1 of 11 sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings 4/14/2011 http://www.abaphr.com/abaphr-program-code/ 

Sample Code1

Embed Size (px)

Citation preview

Page 1: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 1/11

SAP HR ABAP, HCM Material Tutorial andTrainings 

Home  Material  About  SAP Trainings  Contact  Games 

External links

Material

ABAP-hr (14) Code Samples (2) PA (3)

SAP Workflow (3) Basics (1) Introduction (2)

SAP-hr (7) Authorizations (1) Configuration (3) Payroll (1)

Uncategorized (7)

Pages

Material  About  SAP Trainings 

SAP HR Payroll Training  SAP ABAP Training  HR ABAP Training  SAP HR Training  SAP Workflow 

Contact  Useful Links 

Games 

Recent Tutorials

Ads by Google

  Sap HR Payroll 

HR 

Sap PDF 

Sap ABAP Jobs

Page 1 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 2: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 2/11

Creation of Custom Infotype in HR ABAP  Basic Customization for SAP Workflow  SAP Workflow Introduction  SAP Workflow basics  One Minute Dream of Software Engineer  Small break again  Structural Authorizations in SAP HR with gotchas  Evaluating Repetitive Structures in SAP HR ABAP Programming  SAP ABAP HR Program code using LDB PNP  SAP HR ABAP Interview Faq’s  Fast cars and speed driving  Wage Type Configuration in SAP HR  G/L account Configuration in SAP  SAP Payroll Schema. Functions , Rules and Operations – An overview  NICE STORY- Lets have a small break  

Try it out

Page 2 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 3: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 3/11

Online Trainings

Trainings  ABAP  Workflow  SAP-HR 

ABAP-HR  Advanced Training

HCM Payroll 

Google

Join Mailing List

HR Training Courses-Dubai 

Designed For HRProfessionals- UAE

CAMI Certifications.Enroll Today !mecindia.in/Executive-MBA

Programming 

Stay on top of trends inparallel computing.Read our expert blog!www.drdobbs.com/Go-Parallel

PGDM : HumanResource 

Real-WorldUnderstanding of HRMProcesses & Strategies.Apply Now!ITM-GLC.com/HRM

SAP Certification atNIIT 

Enhance Your SAPUnderstanding with OurSAP Training Modules.Enroll!NIIT.com/SAP

HR & IR courses inIndia 

Internationalcertification in HRLimited time offer at Rs5515www.iactglobal.in/humanresources

Page 3 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 4: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 4/11

Enter your email address:

Add to iGoogle

Recent comments

Rupu on SAP Payroll Schema. Functions , Rules and Operations – An overview  Anil on SAP-HR  MONISHA on SAP-HR  Anil on SAP HR Payroll 

RK on ABAP-HR  Write your review

14eb

SAP ABAP HR Program code using LDB PNP 

ere is a basic abap hr program with screen shots step by step for learners who are having knowledgeof abap. This is a basic program but you can use this template for every abap hr program and add if andlse conditions change the Infotype numbers and field names based on your requirement.

nitially I don’t want to confuse the readers adding more coding at first program. All the scenarios are

overed in next posts one by one by using the same program template.

equirement: Select the data from Infotypes using logical database PNP (with out single selectstatement) and display in report. Fields like

ersonnel number, Action Type, Reason for Action, Payroll area, Personnel ID Number

nfotypes Used: 0000, 0001, 0002.

Subscribe

Page 4 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 5: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 5/11

Macros used:

RP-PROVIDE-FROM-LAST P0000 SPACE PN-BEGDA PN-ENDDA.

RP-PROVIDE-FROM-LAST P0001 SPACE PN-BEGDA PN-ENDDA.

RP-PROVIDE-FROM-LAST P0002 SPACE PN-BEGDA PN-ENDDA.

Selection screen:

There is selection screen is defined in this program but by using logical database PNP we do getstandard selection screen.

Steps:

1) Go to se38 transaction

2) Enter the program name ZABAPHROVERVIEW and press on create

3) Enter the TITLE name, select TYPE as executable program, and LOGICAL DATA BASE AS PNP. 

Ads by Google Sap Training  ABAP  HR & Training  Tutorial Sap 

Page 5 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 6: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 6/11

 

4) Press on save button.

And use the below code and execute you will get standard selection screen.

Page 6 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 7: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 7/11

 

Standard selection screen:Ads by Google Staffing in HR  Sap Sap  5 HR Class  Sap HCM 

Page 7 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 8: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 8/11

 

Enter the personnel number and execute the program report display is ready for you…:)

Don’t you feel abap hr is easy….

Incase any question use the below comments section…..

Related Posts

Evaluating Repetitive Structures in SAP HR ABAP Programming  SAP HR ABAP Interview Faq’s  Personnel Administration (PA): Introduction on SAP HR module  Useful Transaction codes in SAP HR module  Macros in HR-ABAP programming  What is Logical Database ?  Infotype 402 and Payroll results 

This entry was posted on Sunday, February 14th, 2010 at 9:44 am and is filed under Code Samples. You can follow any

Page 8 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 9: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 9/11

responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« SAP HR ABAP Interview Faq’s Evaluating Repetitive Structures in SAP HR ABAP Programming »

9 Responses to “SAP ABAP HR Program code using LDB PNP”

1.1duns number lookup Says:

Great posting ! Thank for sharing.

April 30th, 2010 at 6:41 am 

2.2chinna reddy gaddam Says:

give me some sample payroll report and design the pay slip.

May 4th, 2010 at 3:40 pm 

3.3admin Says:

Hi Reddy,In near future You will see more payroll programs using Function modules, Macros and getevent…. Keep watching…..

http://abaphr.com 

May 5th, 2010 at 10:36 am 

4.4 Ravindranath Says:

Hi Please let me know about the corse details and course.Please send it to ID mentioned in.it

May 13th, 2010 at 5:51 pm 

5.5

 Ramakrishna Says:

Hi,

I would like to learn ABAP HR online training. Please send me the details 

Ramakrishna Moturi

August 3rd, 2010 at 8:24 pm 

6.

Page 9 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 10: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 10/11

6Urgent Leads Says:

… 

This blog site is wonderful. How did you come up witht he idea?…

September 24th, 2010 at 1:48 pm 

7.7Khaja Moulali Says:

so nice to Brgin HR ABAP.

Thanks.

Regards,Khaja Moulali.

February 3rd, 2011 at 11:26 am 

8.8rahul Says:

very good

March 11th, 2011 at 8:42 am 

9.9carol Says:

Hi,

I would like to learn ABAP HR, please send me the online training details or materials to the mailid provided.

Thanks,Carol.

March 28th, 2011 at 9:42 am 

Leave a Reply

Name (required) 

Mail (will not be published) (required) 

Website 

Page 10 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings

4/14/2011http://www.abaphr.com/abaphr-program-code/ 

Page 11: Sample Code1

7/28/2019 Sample Code1

http://slidepdf.com/reader/full/sample-code1 11/11

 

© 2011 SAP HR ABAP, HCM Material Tutorial and Trainings | Entries (RSS) and Comments(RSS) 

Design by Web4 Wordpress Themes, © SAP HR ABAP, HCM Material Tutorial and Trainings 2011 |Theme design by Data sub systems.

Submit Comment

Page 11 of 11sap hr abap programming | SAP HR ABAP, HCM Material Tutorial and Trainings