SlideShare a Scribd company logo
1 of 30
Comparison Between
 ABAP & ABAP-HR
        By Mahender,
           Coke-HP HR Team
• Introduction to
  Human Resources Module


• Basic elements of HR


• Let’s recap the ABAP


• Features of ABAP-HR
  programming / Special
  Statements
Human Resources & sub modules

   Personnel Management
   Time Management
   Payroll
   Benefits
   Organizational Management
   Training & Event Management
   Travel Management
   Information System
Basic Elements of HR
Some Important terms
5




    Company Code           Cost Center

    Personnel area         Payroll area

    Personnel Sub-area     Organizational unit

    Employee Group         Job

    Employee Subgroup      Position
ABAP RECAP

Generally in ABAP the following are done :

1) Table development via SE11
2) Data Processing through internal tables
3) Report development through SELECT statements
4) Data base updation through BDC / BAPI
5) SAP Queries
6) Scripts and smart forms
What is ABAP HR Specialization?
   Programming with Info types
   Logical Data Base
   Macros
   Dealing with the Repetitive structures
   Cluster Programming for Payroll / Time aspects
   Storage and access of data
   Special programming commands
   Authorization checks
   Ad-hoc queries
   HR Forms
   Interface Toolbox
Concepts of Infotypes
8


    What is an Infotype?

         A group of related data fields
         Appears as an entry screen for the user
         Time dependent storage.
         Identifiable through a four character numerical string
         Database table associated with it

       PAnnnn for transparent tables in Personnel Administration
       PBnnnn for transparent tables in Recruitment
       HRPnnnn for transparent tables in Personnel Planning
Number Ranges
9




       0000 – 0999    HR Master Data
       1000 – 1990    Personnel Planning
       2000 – 2999    Time Management
       4000 – 4999    Recruitment
       9000 – 9999    Customer Specific

          Examples
       Org Assignment – 0001, Personal Data – 0002
       Addresses – 0006, Family Member/Dependents - 0021
Transparent Table – PAxxxx
11


            Fields of Transparent Table PA0002
Infotype 0002  Personal Data

12
Retrieve data from Infotypes

   By using the FM HR_READ_INFOTYPE

   Class: CL_HRSEN_READ_INFOTYPE_FMRI

   Macro RP-READ-INFOTYPE A B C D E

   Provide / End Provide
Logical Databases in HR
14


     To reduce programming efforts, HR often make use of the logical databases
     when creating reports. Logical databases are special ABAP Programs that
     provides Standard selection screen, Data retrieval and Authorization check.

                                  Logical Databases used In HR

     1.   PAP ( Applicant administration )
     2.   PNP ( Personnel Management )
     3.   PNPCE - Enhanced version of PNP available form SAP Enterprise version onwards (
          Personnel Management )
     4.   PCH ( Organisational Management )
     5.   PTRVP ( Travel Management )

     The Logical Databases PNP and PCH are mostly used.
Macros in HR
15



     •   Like subroutines and function modules, macro modules can be used to modularize
         programs. Macro modules are frequently used in HR.

     •   These macros are defined in program SAPDBPNP (include DBPNPMAC) with the
         keyword DEFINE. They can be used in any program that uses the logical database
         PNP.

     •   If you want to use these macros in reports that do not use the logical database
         PNP, you must include program DBPNPMAC with the keyword INCLUDE.

     •   You can also define your own macros. In accordance with the naming convention,
         the first two letters stand for the application.

     •   Some macros are also stored in the Macros in ABAP Programs table (TRMAC)
It is not necessary to include logical database PNP in your program
when you are using the macro like

  RP-READ-INFOTYPE A B C D E , where

A corresponds to PERNR which describes for which personnel number
you require records.

B corresponds to INFOTYPE which describes from which infotype you
require records.

C corresponds to data structure of the declared infotype (internal table
like p0000 for infotype 0000) where all the records of the particular
personnel number will be stored.

D corresponds to Start date.

E corresponds to End date.
Purpose of clusters
    Clusters in HR


Database
       Tables PCLn




                      PCLn


                     A1        A3

                          A2




                                    17
Files & Clusters


              PCL3   PCL4          STXL
PCL1   PCL2                 PCL5
              • TY   • P2          • TX
TX      RU    • AP   • U1   PY
TA      ID                  CP
Special ABAP Statements for HR

1.     DO n TIMES VARYING ….
       END DO.

2.     PROVIDE / ENDPROVIDE

3.     IMPORT / EXPORT




                                      19
Evaluating Repetitive Structures
   Various scenarios

   IT-0008 (Basic Pay)
 IT-0025
(Appraisals)
 IT-0041 (Date
Specifications)
   IT-0052 (Wage
    Maintenance)
Importance of Do / End Do Varying statement in this situation




          DO 20 TIMES VARYING s_wagetypes FROM
                p0008-lga01 NEXT p0008-lga02.
            IF s_wagetypes-wage type IS INITIAL.
              EXIT.
            ELSE.
              WRITE: / s_wagetypes-wagetype,
                    s_wagetypes-amount.
            ENDIF.
           ENDDO.
How does Provide statement work?
How can we know in which time period an employee worked at which job
and at which address he or she resided during this time?




 January – June                     Hamburg
  June – December                   Munich




 January – April                    Programmer
 May - December                     Course instructor
   The ABAP syntax for the provide is as follows:
   PROVIDE * FROM Pmmmm
             * FROM Pnnnn
    BETWEEN PN-BEGDA AND PN-ENDDA.

January - April            Hamburg / programmer
May - June                 Hamburg / course instructor

July - December            Munich / Course instructor
IMPORT / EXPORT OPERATIONS
25


     Importing    /   Exporting Using a Buffer




        Program

                             Export                  UPDATE

                                                              PCLn
                             Import
                                            Buffer
Reporting with Import / Export statements

   To minimize the number of times that the database is
    accessed, import and export data is buffered in the
    main memory.
   If a test run is performed, the database is not updated.
    However, the payroll results of the previous period
    form the basis of the calculation used to determine the
    results of the subsequent period. For this reason, a
    difference arises between the results of a live payroll
    run and the results of a test run if test runs are
    performed for several periods.
   Using the buffer enables you to access the required
    results from the previous period.


                                                        26
I ) The clusters can be called from macros.

RP-IMP-Cn-xx ( n = 1,2,3,4 and xx is cluster)
RP-EXP-Cn-xx ( n = 1,2,3,4 and xx is cluster)

II) Use the following code in your ABAP programs to import
data from a cluster.
  IMPORT ITAB1 ITAB2 STRUC1.............
          FROM DATABASE TABNAME(CLUSTER_ID) ID KEY

 EXPORT ITAB1 ITAB2 STRUC1
          TO DATABASE TABNAME(CLUSTER_ID) ID KEY.
HR Form editor
     •   HR form editor is a Customizing tool used for designing payroll
         related forms in HR.
     •   Transaction code is PE51.

     •   Forms are required for creating employee or enterprise-
         specific statements, for example:


     1. Remuneration Statement
     2. Payroll Account
     3. Wage Type Statement
     4. Other Statements




28
?
Questions
Thank You

More Related Content

What's hot

ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infosapdocs. info
 
Sap payroll schema. functions , rules and operations – an overview
Sap payroll schema. functions , rules and operations – an overviewSap payroll schema. functions , rules and operations – an overview
Sap payroll schema. functions , rules and operations – an overviewgetsarath
 
Oracle Advanced Supply chain Planning Setup
Oracle Advanced Supply chain Planning SetupOracle Advanced Supply chain Planning Setup
Oracle Advanced Supply chain Planning SetupMina Lotfy
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailSURESH BABU MUCHINTHALA
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BWtasmc
 
Sap hr overview 58 slides
Sap hr overview 58 slidesSap hr overview 58 slides
Sap hr overview 58 slidesBunty Jain
 
SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)Benedict Yong (杨腾翔)
 
SAP HR AND HCM Interview questions
SAP HR AND HCM Interview questionsSAP HR AND HCM Interview questions
SAP HR AND HCM Interview questionsIT LearnMore
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginnerssapdocs. info
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SDMohammed Azhad
 
201124772 sap-pp-pi-process-flow-docs
201124772 sap-pp-pi-process-flow-docs201124772 sap-pp-pi-process-flow-docs
201124772 sap-pp-pi-process-flow-docsAbhishek Sarkar
 
Sd billing plan
Sd billing planSd billing plan
Sd billing planRao RV
 

What's hot (20)

Abap hr programing
Abap hr programingAbap hr programing
Abap hr programing
 
Sap HR questions
Sap HR questionsSap HR questions
Sap HR questions
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 
Sap payroll schema. functions , rules and operations – an overview
Sap payroll schema. functions , rules and operations – an overviewSap payroll schema. functions , rules and operations – an overview
Sap payroll schema. functions , rules and operations – an overview
 
Sap edi idoc
Sap edi idocSap edi idoc
Sap edi idoc
 
Oracle Advanced Supply chain Planning Setup
Oracle Advanced Supply chain Planning SetupOracle Advanced Supply chain Planning Setup
Oracle Advanced Supply chain Planning Setup
 
SAP HR Configuration Guide
SAP HR Configuration Guide SAP HR Configuration Guide
SAP HR Configuration Guide
 
Automatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mailAutomatic vendor payment advice notes by mail
Automatic vendor payment advice notes by mail
 
MD04 Report in BW
MD04 Report in BWMD04 Report in BW
MD04 Report in BW
 
SAP Time Management
SAP Time Management SAP Time Management
SAP Time Management
 
Sap hr overview 58 slides
Sap hr overview 58 slidesSap hr overview 58 slides
Sap hr overview 58 slides
 
SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)SAP PP Certification Overview (mindmap edition)
SAP PP Certification Overview (mindmap edition)
 
Availability Check in SAP SD
Availability Check in SAP SDAvailability Check in SAP SD
Availability Check in SAP SD
 
SAP HR AND HCM Interview questions
SAP HR AND HCM Interview questionsSAP HR AND HCM Interview questions
SAP HR AND HCM Interview questions
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginners
 
Sap pp-user-manual
Sap pp-user-manualSap pp-user-manual
Sap pp-user-manual
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SD
 
SAP Overview
SAP Overview SAP Overview
SAP Overview
 
201124772 sap-pp-pi-process-flow-docs
201124772 sap-pp-pi-process-flow-docs201124772 sap-pp-pi-process-flow-docs
201124772 sap-pp-pi-process-flow-docs
 
Sd billing plan
Sd billing planSd billing plan
Sd billing plan
 

Viewers also liked

ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screensapdocs. info
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overviewsapdocs. info
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bspMilind Patil
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reportsvbpc
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Groupsapdocs. info
 
SAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.infoSAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.infosapdocs. info
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAPsapdocs. info
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!sapdocs. info
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Tablesapdocs. info
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAPsapdocs. info
 
Final air carriage law_presentation_2016
Final air carriage law_presentation_2016Final air carriage law_presentation_2016
Final air carriage law_presentation_2016Iftikhar Ali Dasti
 
HR Practices in Biotech Industry
HR Practices in Biotech IndustryHR Practices in Biotech Industry
HR Practices in Biotech IndustryMalvika Bansal
 
international trade law- Legal frameworks in regulating the transportation o...
international trade law- Legal frameworks in regulating the  transportation o...international trade law- Legal frameworks in regulating the  transportation o...
international trade law- Legal frameworks in regulating the transportation o...NOR EMYLIA
 
As transformações do capitalismo
As transformações do capitalismoAs transformações do capitalismo
As transformações do capitalismoNelson Silva
 

Viewers also liked (20)

07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screen
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview
 
Abap course chapter 7 abap objects and bsp
Abap course   chapter 7 abap objects and bspAbap course   chapter 7 abap objects and bsp
Abap course chapter 7 abap objects and bsp
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
 
Abap reports
Abap reportsAbap reports
Abap reports
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Group
 
SAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.infoSAP HR Time Management User Guide | www.sapdocs.info
SAP HR Time Management User Guide | www.sapdocs.info
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
 
SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!SAP FICO BBP Sample Document PDF NEW!
SAP FICO BBP Sample Document PDF NEW!
 
ABAP Open SQL & Internal Table
ABAP Open SQL & Internal TableABAP Open SQL & Internal Table
ABAP Open SQL & Internal Table
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
SAP ABAP Material
SAP ABAP MaterialSAP ABAP Material
SAP ABAP Material
 
HR practices
HR practices HR practices
HR practices
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
O NOVO RH E SEUS PROFISSIONAIS
O NOVO RH E SEUS PROFISSIONAISO NOVO RH E SEUS PROFISSIONAIS
O NOVO RH E SEUS PROFISSIONAIS
 
Final air carriage law_presentation_2016
Final air carriage law_presentation_2016Final air carriage law_presentation_2016
Final air carriage law_presentation_2016
 
HR Practices in Biotech Industry
HR Practices in Biotech IndustryHR Practices in Biotech Industry
HR Practices in Biotech Industry
 
international trade law- Legal frameworks in regulating the transportation o...
international trade law- Legal frameworks in regulating the  transportation o...international trade law- Legal frameworks in regulating the  transportation o...
international trade law- Legal frameworks in regulating the transportation o...
 
As transformações do capitalismo
As transformações do capitalismoAs transformações do capitalismo
As transformações do capitalismo
 

Similar to Comparison between abap & abap hr

Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)IT
 
Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)IT
 
sappresentation- By Prithwijit
sappresentation- By Prithwijit sappresentation- By Prithwijit
sappresentation- By Prithwijit PRITHWIJIT PAL
 
S A P Orientation
S A P  OrientationS A P  Orientation
S A P Orientationslgvarma
 
SAP SD CONFIGURATION GUIDE
SAP SD CONFIGURATION GUIDE SAP SD CONFIGURATION GUIDE
SAP SD CONFIGURATION GUIDE Suresh Veluru
 
Sap SD configuration-guide
Sap SD configuration-guideSap SD configuration-guide
Sap SD configuration-guidetechgurusuresh
 
Sap sd notes
Sap sd notesSap sd notes
Sap sd notesMohit2385
 
Sun surya srinivass naidu letast
Sun surya srinivass naidu letast Sun surya srinivass naidu letast
Sun surya srinivass naidu letast Veeru Maddineni
 
ERP Magazine April 2018 Issue 1
ERP Magazine April 2018 Issue 1 ERP Magazine April 2018 Issue 1
ERP Magazine April 2018 Issue 1 Rehan Zaidi
 
ERP Magazine April 2018 - The magazine for SAP ABAP Professionals
ERP Magazine April 2018 - The magazine for SAP ABAP ProfessionalsERP Magazine April 2018 - The magazine for SAP ABAP Professionals
ERP Magazine April 2018 - The magazine for SAP ABAP ProfessionalsRehan Zaidi
 
History and Evolution of ERP & SAP
History and Evolution of ERP & SAPHistory and Evolution of ERP & SAP
History and Evolution of ERP & SAPShivkumar Rai
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERSIICT Chromepet
 
Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919Senthil kumar
 
Capacity planning
Capacity planningCapacity planning
Capacity planningUday Pawar
 

Similar to Comparison between abap & abap hr (20)

Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)
 
Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)Abaphrprograming 121218001552-phpapp02 (2)
Abaphrprograming 121218001552-phpapp02 (2)
 
sappresentation- By Prithwijit
sappresentation- By Prithwijit sappresentation- By Prithwijit
sappresentation- By Prithwijit
 
S A P Orientation
S A P  OrientationS A P  Orientation
S A P Orientation
 
Pi pcs interface
Pi pcs interfacePi pcs interface
Pi pcs interface
 
Resume 1 (3) (1)
Resume 1 (3) (1)Resume 1 (3) (1)
Resume 1 (3) (1)
 
SAP SD CONFIGURATION GUIDE
SAP SD CONFIGURATION GUIDE SAP SD CONFIGURATION GUIDE
SAP SD CONFIGURATION GUIDE
 
SAP SD configuration
SAP SD configuration SAP SD configuration
SAP SD configuration
 
Sap SD configuration-guide
Sap SD configuration-guideSap SD configuration-guide
Sap SD configuration-guide
 
Sap sd notes
Sap sd notesSap sd notes
Sap sd notes
 
Naidu sap sd
Naidu sap sdNaidu sap sd
Naidu sap sd
 
Sun surya srinivass naidu letast
Sun surya srinivass naidu letast Sun surya srinivass naidu letast
Sun surya srinivass naidu letast
 
ERP Magazine April 2018 Issue 1
ERP Magazine April 2018 Issue 1 ERP Magazine April 2018 Issue 1
ERP Magazine April 2018 Issue 1
 
ERP Magazine April 2018 - The magazine for SAP ABAP Professionals
ERP Magazine April 2018 - The magazine for SAP ABAP ProfessionalsERP Magazine April 2018 - The magazine for SAP ABAP Professionals
ERP Magazine April 2018 - The magazine for SAP ABAP Professionals
 
Resume 1 (3) (1)
Resume 1 (3) (1)Resume 1 (3) (1)
Resume 1 (3) (1)
 
History and Evolution of ERP & SAP
History and Evolution of ERP & SAPHistory and Evolution of ERP & SAP
History and Evolution of ERP & SAP
 
Sap erp
Sap erpSap erp
Sap erp
 
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
500+ SAP ABAP INTERVIEW QUESTIONS WITH ANSWERS
 
Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919Sap S4 HANA PM Online training +918660816919
Sap S4 HANA PM Online training +918660816919
 
Capacity planning
Capacity planningCapacity planning
Capacity planning
 

Recently uploaded

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Recently uploaded (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Comparison between abap & abap hr

  • 1. Comparison Between ABAP & ABAP-HR By Mahender, Coke-HP HR Team
  • 2. • Introduction to Human Resources Module • Basic elements of HR • Let’s recap the ABAP • Features of ABAP-HR programming / Special Statements
  • 3. Human Resources & sub modules  Personnel Management  Time Management  Payroll  Benefits  Organizational Management  Training & Event Management  Travel Management  Information System
  • 5. Some Important terms 5 Company Code Cost Center Personnel area Payroll area Personnel Sub-area Organizational unit Employee Group Job Employee Subgroup Position
  • 6. ABAP RECAP Generally in ABAP the following are done : 1) Table development via SE11 2) Data Processing through internal tables 3) Report development through SELECT statements 4) Data base updation through BDC / BAPI 5) SAP Queries 6) Scripts and smart forms
  • 7. What is ABAP HR Specialization?  Programming with Info types  Logical Data Base  Macros  Dealing with the Repetitive structures  Cluster Programming for Payroll / Time aspects  Storage and access of data  Special programming commands  Authorization checks  Ad-hoc queries  HR Forms  Interface Toolbox
  • 8. Concepts of Infotypes 8 What is an Infotype?  A group of related data fields  Appears as an entry screen for the user  Time dependent storage.  Identifiable through a four character numerical string  Database table associated with it  PAnnnn for transparent tables in Personnel Administration  PBnnnn for transparent tables in Recruitment  HRPnnnn for transparent tables in Personnel Planning
  • 9. Number Ranges 9  0000 – 0999 HR Master Data  1000 – 1990 Personnel Planning  2000 – 2999 Time Management  4000 – 4999 Recruitment  9000 – 9999 Customer Specific Examples  Org Assignment – 0001, Personal Data – 0002  Addresses – 0006, Family Member/Dependents - 0021
  • 10.
  • 11. Transparent Table – PAxxxx 11 Fields of Transparent Table PA0002
  • 12. Infotype 0002  Personal Data 12
  • 13. Retrieve data from Infotypes  By using the FM HR_READ_INFOTYPE  Class: CL_HRSEN_READ_INFOTYPE_FMRI  Macro RP-READ-INFOTYPE A B C D E  Provide / End Provide
  • 14. Logical Databases in HR 14 To reduce programming efforts, HR often make use of the logical databases when creating reports. Logical databases are special ABAP Programs that provides Standard selection screen, Data retrieval and Authorization check. Logical Databases used In HR 1. PAP ( Applicant administration ) 2. PNP ( Personnel Management ) 3. PNPCE - Enhanced version of PNP available form SAP Enterprise version onwards ( Personnel Management ) 4. PCH ( Organisational Management ) 5. PTRVP ( Travel Management ) The Logical Databases PNP and PCH are mostly used.
  • 15. Macros in HR 15 • Like subroutines and function modules, macro modules can be used to modularize programs. Macro modules are frequently used in HR. • These macros are defined in program SAPDBPNP (include DBPNPMAC) with the keyword DEFINE. They can be used in any program that uses the logical database PNP. • If you want to use these macros in reports that do not use the logical database PNP, you must include program DBPNPMAC with the keyword INCLUDE. • You can also define your own macros. In accordance with the naming convention, the first two letters stand for the application. • Some macros are also stored in the Macros in ABAP Programs table (TRMAC)
  • 16. It is not necessary to include logical database PNP in your program when you are using the macro like RP-READ-INFOTYPE A B C D E , where A corresponds to PERNR which describes for which personnel number you require records. B corresponds to INFOTYPE which describes from which infotype you require records. C corresponds to data structure of the declared infotype (internal table like p0000 for infotype 0000) where all the records of the particular personnel number will be stored. D corresponds to Start date. E corresponds to End date.
  • 17. Purpose of clusters Clusters in HR Database Tables PCLn PCLn A1 A3 A2 17
  • 18. Files & Clusters PCL3 PCL4 STXL PCL1 PCL2 PCL5 • TY • P2 • TX TX RU • AP • U1 PY TA ID CP
  • 19. Special ABAP Statements for HR 1. DO n TIMES VARYING …. END DO. 2. PROVIDE / ENDPROVIDE 3. IMPORT / EXPORT 19
  • 20. Evaluating Repetitive Structures  Various scenarios  IT-0008 (Basic Pay)  IT-0025 (Appraisals)  IT-0041 (Date Specifications)  IT-0052 (Wage Maintenance)
  • 21.
  • 22. Importance of Do / End Do Varying statement in this situation DO 20 TIMES VARYING s_wagetypes FROM p0008-lga01 NEXT p0008-lga02. IF s_wagetypes-wage type IS INITIAL. EXIT. ELSE. WRITE: / s_wagetypes-wagetype, s_wagetypes-amount. ENDIF. ENDDO.
  • 23. How does Provide statement work? How can we know in which time period an employee worked at which job and at which address he or she resided during this time? January – June Hamburg June – December Munich January – April Programmer May - December Course instructor
  • 24. The ABAP syntax for the provide is as follows:  PROVIDE * FROM Pmmmm * FROM Pnnnn BETWEEN PN-BEGDA AND PN-ENDDA. January - April Hamburg / programmer May - June Hamburg / course instructor July - December Munich / Course instructor
  • 25. IMPORT / EXPORT OPERATIONS 25 Importing / Exporting Using a Buffer Program Export UPDATE PCLn Import Buffer
  • 26. Reporting with Import / Export statements  To minimize the number of times that the database is accessed, import and export data is buffered in the main memory.  If a test run is performed, the database is not updated. However, the payroll results of the previous period form the basis of the calculation used to determine the results of the subsequent period. For this reason, a difference arises between the results of a live payroll run and the results of a test run if test runs are performed for several periods.  Using the buffer enables you to access the required results from the previous period. 26
  • 27. I ) The clusters can be called from macros. RP-IMP-Cn-xx ( n = 1,2,3,4 and xx is cluster) RP-EXP-Cn-xx ( n = 1,2,3,4 and xx is cluster) II) Use the following code in your ABAP programs to import data from a cluster. IMPORT ITAB1 ITAB2 STRUC1............. FROM DATABASE TABNAME(CLUSTER_ID) ID KEY EXPORT ITAB1 ITAB2 STRUC1 TO DATABASE TABNAME(CLUSTER_ID) ID KEY.
  • 28. HR Form editor • HR form editor is a Customizing tool used for designing payroll related forms in HR. • Transaction code is PE51. • Forms are required for creating employee or enterprise- specific statements, for example: 1. Remuneration Statement 2. Payroll Account 3. Wage Type Statement 4. Other Statements 28