SlideShare ist ein Scribd-Unternehmen logo
1 von 11
How HR ABAP differs from 
general ABAP? 
By : Ravin Joshi
        
Simple Graphical View
Points of Difference*
Normal (General) ABAP
• Less Usage of Logical 
Databases
• Do not cover much additional 
functional concepts 
• Non coverage of Time 
dependent data
• Less Usage of Macros and 
Function Modules
• Storage and Access of Data
• Authorization Checks
• No Use of Provide Statements 
and repetitive structure
HR ABAP
• More Usage of Logical 
Databases
• Covers more additional HR 
functional concepts
• Coverage of Time Dependent 
data
• More Usage of HR specific 
Macros and Function Modules
• Storage & Access of Data
• Authorization Checks
• Use of Provide Statements and 
repetitive structure
* Described further in lateral slides
Logical Databases
• In General ABAP, we rarely use Logical
Databases in our programs while in HR ABAP,
most of the time we are using Logical
Databases to select data from Infotypes by
using GET event.
• Logical Databases used in HR module are:
PNP, PNPCE, PCH, PAP, PTRVP etc. It provides
Standard Selection-Screen, Data retrieval and
Automatic authorization check facilities to the
user.
Functional Concepts
• In ABAP HR, use of certain SAP HR specific
functional concepts are involved such as,
Infotype Concepts, Time Constraint concepts,
Retroactive evaluation of employee data etc.
• HR module uses a system of data grouped
together called Infotypes. It’s a four character
numerical string. It can be processed
Individually or in Fast entry mode.
• Infotype can be saved as time-dependent to
enable retroactive evaluation of employee data.
Time Dependent Data
• Infotype provides facility of storing Time
dependent data of employee. It enable you to
determine how the validity periods of Infotype
data records interact. For that mostly used three
time constraints are: Time Constraint 1: Exactly
one valid data record of Infotype exist. Gaps and
Overlapping not allowed. Time Constraint 2: No
more than one valid data record exist at any
given time. Gaps are allowed but Overlapping
not allowed. Time Constraint 3: Any number of
records exist at any given time. Both Gaps and
Overlapping are allowed.
Macros and Functional Modules
• Program that process the cluster data, do not
access the cluster independently. The data is
accessed using a defined Interface created with
macros. Macro contain some part of source code
which may be useful for no. of applications. Ex.
RP_PROVIDE_FROM_FRST,
RP_PROVIDE_FROM_LAST etc. (PNP-SW-FOUND
= 1 for successful records).
• Generally but Not in every cases, HR Specific
function modules starts with HR* and RH*. Ex.
HR_READ_INFOTYPE, R_INFOTYPE_OPERATION,
CU_READ_RGDIR etc.
Storage and Access of Data
• HR specific Data are stored in Infotypes, which can be
accessed through special kind of ABAP/4 program
which is called as Logical Database. Using LDBs,
facilitates the process of reading Database tables.
• Data Retrieval/Access from LDBs:
1. Create Data Structure for Infotype
- INFOTYPES: 0001. “Org. Assignment
2. Fill Data Structure with Infotype records
- START-OF-SELECTION.
GET PERNR. “ Get Event
3. Read Data
- PROVIDE * FROM… “ Provide Statement
ENDPROVIDE.
- END-OF-SELECTION.
Authorization Checks
• Authorization for Persons:
In the authorization check for persons, the system
determines whether the user has the authorizations
required for the organizational features of the
employees selected with GET PERNR.
• Authorization for Data:
In the authorization check for data, the system determines
whether the user is authorized to read the Infotypes
specified in the report.
• Deactivating the Authorization Check:
In certain reports, it may be useful to deactivate the
authorization check in order to improve performance.
(e.g. when running payroll)
Provide Statements and Repetitive Structure
• The infotype records (selected within the period) are
processed sequentially by the PROVIDE - ENDPROVIDE
loop. Ex. PROVIDE * FROM Pnnnn BETWEEN PN/BEGDA
AND PN/ENDDA
If Pnnnn-XXXX = ' '. write:/ Pnnnn-XXXX. endif.
ENDPROVIDE.
• In the Repetitive structure, you must define the starting
point, the increment and the work area which contains
the complete field group definition. Ex.
DO 6 TIMES VARYING VACATION
FROM P0005-UAR01 "Starting point
NEXT P0005-UAR02. "Increment
If p0005-xyz then ... endif.
ENDDO.
Thank You !!!

Weitere ähnliche Inhalte

Was ist angesagt?

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
getsarath
 
Time evaluation rptime00 report
Time evaluation rptime00 reportTime evaluation rptime00 report
Time evaluation rptime00 report
jakkanna9
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionary
vkyecc1
 
Sap hr features
Sap hr featuresSap hr features
Sap hr features
sivsamba
 
Organizational Management in SAP HCM
Organizational Management in SAP HCMOrganizational Management in SAP HCM
Organizational Management in SAP HCM
Divyasri_G
 

Was ist angesagt? (20)

Abap hr programing
Abap hr programingAbap hr programing
Abap hr programing
 
Sap abap
Sap abapSap abap
Sap abap
 
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
 
Bapi step-by-step
Bapi step-by-stepBapi step-by-step
Bapi step-by-step
 
SAP HCM - Organization Management end user presentation
SAP HCM - Organization Management end user presentationSAP HCM - Organization Management end user presentation
SAP HCM - Organization Management end user presentation
 
Sap abap
Sap abapSap abap
Sap abap
 
Time evaluation rptime00 report
Time evaluation rptime00 reportTime evaluation rptime00 report
Time evaluation rptime00 report
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
 
Abap dictionary 1
Abap dictionary 1Abap dictionary 1
Abap dictionary 1
 
0104 abap dictionary
0104 abap dictionary0104 abap dictionary
0104 abap dictionary
 
Sap hr features
Sap hr featuresSap hr features
Sap hr features
 
ABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection ScreenABAP Event-driven Programming &Selection Screen
ABAP Event-driven Programming &Selection Screen
 
Organizational Management in SAP HCM
Organizational Management in SAP HCMOrganizational Management in SAP HCM
Organizational Management in SAP HCM
 
Sap abap tutorials
Sap abap tutorialsSap abap tutorials
Sap abap tutorials
 
Version management of abap programs
Version management of abap programsVersion management of abap programs
Version management of abap programs
 
Sap time management
Sap time managementSap time management
Sap time management
 
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 hcm payroll concept - Best SAP HR Training Institute in Pune
Sap hcm payroll concept - Best SAP HR Training Institute in PuneSap hcm payroll concept - Best SAP HR Training Institute in Pune
Sap hcm payroll concept - Best SAP HR Training Institute in Pune
 
Payroll configuration
Payroll configurationPayroll configuration
Payroll configuration
 

Andere mochten auch

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
Milind Patil
 
หน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สาย
หน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สายหน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สาย
หน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สาย
aun-twn
 
законы движения планет кеплера
законы движения планет кеплеразаконы движения планет кеплера
законы движения планет кеплера
Распиздяй Лапик
 

Andere mochten auch (16)

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
 
07.Advanced Abap
07.Advanced Abap07.Advanced Abap
07.Advanced Abap
 
08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview08.Abap Dialog Programming Overview
08.Abap Dialog Programming Overview
 
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!
 
Seo web hosting guide
Seo web hosting guideSeo web hosting guide
Seo web hosting guide
 
Meditation
MeditationMeditation
Meditation
 
อาชญากรรมทางคอมพิวเตอร์
อาชญากรรมทางคอมพิวเตอร์อาชญากรรมทางคอมพิวเตอร์
อาชญากรรมทางคอมพิวเตอร์
 
Cybercrime issue
Cybercrime issueCybercrime issue
Cybercrime issue
 
Airport branding Advertising - Pan India
Airport branding Advertising - Pan IndiaAirport branding Advertising - Pan India
Airport branding Advertising - Pan India
 
Hoarding, unipole, billboard, gantry, bus shelter etc Advertising - Pan India
Hoarding, unipole, billboard, gantry, bus shelter etc Advertising - Pan IndiaHoarding, unipole, billboard, gantry, bus shelter etc Advertising - Pan India
Hoarding, unipole, billboard, gantry, bus shelter etc Advertising - Pan India
 
หน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สาย
หน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สายหน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สาย
หน่วยที่ 5 ระบบเครือข่ายคอมพิวเตอร์ไร้สาย
 
Bareilly Outdoor Advertising Advertisement Branding Outdoor Advertising Adver...
Bareilly Outdoor Advertising Advertisement Branding Outdoor Advertising Adver...Bareilly Outdoor Advertising Advertisement Branding Outdoor Advertising Adver...
Bareilly Outdoor Advertising Advertisement Branding Outdoor Advertising Adver...
 
законы движения планет кеплера
законы движения планет кеплеразаконы движения планет кеплера
законы движения планет кеплера
 
Julsar ppt of literature under republic
Julsar ppt of literature under republicJulsar ppt of literature under republic
Julsar ppt of literature under republic
 
Delhi , New Delhi Transit Bus Branding Advertising Transit - shrii ganness advt
Delhi , New Delhi Transit  Bus Branding Advertising Transit - shrii ganness advtDelhi , New Delhi Transit  Bus Branding Advertising Transit - shrii ganness advt
Delhi , New Delhi Transit Bus Branding Advertising Transit - shrii ganness advt
 
5.2maisnerklas astro
5.2maisnerklas astro5.2maisnerklas astro
5.2maisnerklas astro
 

Ähnlich wie How HR ABAP is difference with ABAP ?

BUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSEBUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSE
Neha Kapoor
 

Ähnlich wie How HR ABAP is difference with ABAP ? (20)

Kushal Data Warehousing PPT
Kushal Data Warehousing PPTKushal Data Warehousing PPT
Kushal Data Warehousing PPT
 
What is Big Data ?
What is Big Data ?What is Big Data ?
What is Big Data ?
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
 
Visual Studio Profiler
Visual Studio ProfilerVisual Studio Profiler
Visual Studio Profiler
 
Expert system
Expert systemExpert system
Expert system
 
Instrumentation and measurement
Instrumentation and measurementInstrumentation and measurement
Instrumentation and measurement
 
OBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.pptOBIEE ARCHITECTURE.ppt
OBIEE ARCHITECTURE.ppt
 
Advanced Database System
Advanced Database SystemAdvanced Database System
Advanced Database System
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
 
Overview of Function Points Analysis
Overview of Function Points Analysis Overview of Function Points Analysis
Overview of Function Points Analysis
 
Function Points
Function PointsFunction Points
Function Points
 
Data Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubeyData Warehouses & Deployment By Ankita dubey
Data Warehouses & Deployment By Ankita dubey
 
05_Decision Support and OLAP.pdf
05_Decision Support and OLAP.pdf05_Decision Support and OLAP.pdf
05_Decision Support and OLAP.pdf
 
Oracle EBS Production Support - Recommendations
Oracle EBS Production Support - RecommendationsOracle EBS Production Support - Recommendations
Oracle EBS Production Support - Recommendations
 
BUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSEBUILDING A DATA WAREHOUSE
BUILDING A DATA WAREHOUSE
 
SplunkLive! Frankfurt 2018 - Data Onboarding Overview
SplunkLive! Frankfurt 2018 - Data Onboarding OverviewSplunkLive! Frankfurt 2018 - Data Onboarding Overview
SplunkLive! Frankfurt 2018 - Data Onboarding Overview
 
SplunkLive! Munich 2018: Data Onboarding Overview
SplunkLive! Munich 2018: Data Onboarding OverviewSplunkLive! Munich 2018: Data Onboarding Overview
SplunkLive! Munich 2018: Data Onboarding Overview
 
Olap and metadata
Olap and metadata Olap and metadata
Olap and metadata
 
Hardware enhanced association rule mining
Hardware enhanced association rule miningHardware enhanced association rule mining
Hardware enhanced association rule mining
 
System design
System designSystem design
System design
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

How HR ABAP is difference with ABAP ?

  • 3. Points of Difference* Normal (General) ABAP • Less Usage of Logical  Databases • Do not cover much additional  functional concepts  • Non coverage of Time  dependent data • Less Usage of Macros and  Function Modules • Storage and Access of Data • Authorization Checks • No Use of Provide Statements  and repetitive structure HR ABAP • More Usage of Logical  Databases • Covers more additional HR  functional concepts • Coverage of Time Dependent  data • More Usage of HR specific  Macros and Function Modules • Storage & Access of Data • Authorization Checks • Use of Provide Statements and  repetitive structure * Described further in lateral slides
  • 4. Logical Databases • In General ABAP, we rarely use Logical Databases in our programs while in HR ABAP, most of the time we are using Logical Databases to select data from Infotypes by using GET event. • Logical Databases used in HR module are: PNP, PNPCE, PCH, PAP, PTRVP etc. It provides Standard Selection-Screen, Data retrieval and Automatic authorization check facilities to the user.
  • 5. Functional Concepts • In ABAP HR, use of certain SAP HR specific functional concepts are involved such as, Infotype Concepts, Time Constraint concepts, Retroactive evaluation of employee data etc. • HR module uses a system of data grouped together called Infotypes. It’s a four character numerical string. It can be processed Individually or in Fast entry mode. • Infotype can be saved as time-dependent to enable retroactive evaluation of employee data.
  • 6. Time Dependent Data • Infotype provides facility of storing Time dependent data of employee. It enable you to determine how the validity periods of Infotype data records interact. For that mostly used three time constraints are: Time Constraint 1: Exactly one valid data record of Infotype exist. Gaps and Overlapping not allowed. Time Constraint 2: No more than one valid data record exist at any given time. Gaps are allowed but Overlapping not allowed. Time Constraint 3: Any number of records exist at any given time. Both Gaps and Overlapping are allowed.
  • 7. Macros and Functional Modules • Program that process the cluster data, do not access the cluster independently. The data is accessed using a defined Interface created with macros. Macro contain some part of source code which may be useful for no. of applications. Ex. RP_PROVIDE_FROM_FRST, RP_PROVIDE_FROM_LAST etc. (PNP-SW-FOUND = 1 for successful records). • Generally but Not in every cases, HR Specific function modules starts with HR* and RH*. Ex. HR_READ_INFOTYPE, R_INFOTYPE_OPERATION, CU_READ_RGDIR etc.
  • 8. Storage and Access of Data • HR specific Data are stored in Infotypes, which can be accessed through special kind of ABAP/4 program which is called as Logical Database. Using LDBs, facilitates the process of reading Database tables. • Data Retrieval/Access from LDBs: 1. Create Data Structure for Infotype - INFOTYPES: 0001. “Org. Assignment 2. Fill Data Structure with Infotype records - START-OF-SELECTION. GET PERNR. “ Get Event 3. Read Data - PROVIDE * FROM… “ Provide Statement ENDPROVIDE. - END-OF-SELECTION.
  • 9. Authorization Checks • Authorization for Persons: In the authorization check for persons, the system determines whether the user has the authorizations required for the organizational features of the employees selected with GET PERNR. • Authorization for Data: In the authorization check for data, the system determines whether the user is authorized to read the Infotypes specified in the report. • Deactivating the Authorization Check: In certain reports, it may be useful to deactivate the authorization check in order to improve performance. (e.g. when running payroll)
  • 10. Provide Statements and Repetitive Structure • The infotype records (selected within the period) are processed sequentially by the PROVIDE - ENDPROVIDE loop. Ex. PROVIDE * FROM Pnnnn BETWEEN PN/BEGDA AND PN/ENDDA If Pnnnn-XXXX = ' '. write:/ Pnnnn-XXXX. endif. ENDPROVIDE. • In the Repetitive structure, you must define the starting point, the increment and the work area which contains the complete field group definition. Ex. DO 6 TIMES VARYING VACATION FROM P0005-UAR01 "Starting point NEXT P0005-UAR02. "Increment If p0005-xyz then ... endif. ENDDO.