HR ABAP Faq’s

Posted on September 14th, 2009 in ABAP-hr, PA by admin

1) What is the difference between ABAP and HR ABAP
2) What is logical data base
3) What are logical data bases used in hr module
4) What is the difference between PNP and PNPCE
5) Explain GET PERNR concept when we use logical data base
6) Explain the program flow when we use logical database PNP or PNPCE
7) What are the program names for logical database PNP and PNPCE

Fast cars and speed driving

Posted on March 19th, 2009 in Uncategorized by admin

Just go through this… Realise the value of life

Sanjay, a rich guy, loved fast cars and he did have a few in his possession. He loved to speed and could not be bothered about breaking speed limits. Many a times he was caught by the cops and speed radars, fined, but still he never bothered until one day as he was driving at a very high speed as usual, he saw a cop following him.
The cop overtook him finally and asked him to stop and checked his license. He then took out his pad and started writing, and then handed over the sheet of paper to Sanjay.

How much was this one going to cost?!!!

Wait a minute. What was this???? Some kind of joke? Certainly not a ticket. Sanjay began to read:

“Once upon a time I had a lovely daughter. She was six when killed by a car. You guessed it – a speeding driver’s car. A fine and three months in jail, and the man was free. Free to hug his three daughters. I only had one, and I’m going to have to wait until Heaven, before I can ever hug her again. A thousand times I’ve tried to forgive that man. A thousand times I thought I had. Maybe I did, but I need to do it again. Even now. Pray for me. And be
careful, my friend, my son is all I have left.”

Sanjay turned around in time to see the cop’s car pull away and head down the road. He watched until it disappeared. A full 15 minutes later, he too, pulled away and drove slowly home, praying for forgiveness and hugging a surprised wife and kids when he arrived.

Life is precious. Handle it with care.

Wage Type Configuration in SAP HR

Posted on March 9th, 2009 in Config documents by admin

Step by step Process to create wage type in SAP HR with screen shorts:

Step1: Create Wage Type using Transaction: OH11

G/L account Configuration in SAP

Posted on February 26th, 2009 in Config documents by admin

Find the below path to General Ledger account creation in SAP:

SPRO Path:
Financial Accounting –> General Ledger Accounting–>GL Accounts–>Master Records–>GL Accounts Creation and Processing–> Edit GL Accounts(Individual Processing)–>(Centrally/`/Co Code) (FS00 /FSP0/ FSS0)

The GL accounts can either be created centrally or for a company specific or for a chart of account specific. By creating the GL Account centrally the GL account will get created in the company code as well as in a centralized COA and the GL accounts so crated in the COA can also be extended to other Company Codes. When GL accounts are created under a COA the same has to be extended to a company code for which the GL Account to be used.

Creation of GL account using FS00 (Centrally)
In this activity, you can edit the master record of a G/L account centrally in both the chart of accounts and company code specific areas.
You can process G/L account master records as follows:

SAP Payroll Schema. Functions , Rules and Operations – An overview

Posted on February 18th, 2009 in Payroll by admin


How to read rules and Schemas

1.Structure of relationship in Rules and Schemas:
a)Schemas consist of Functions and Sub-schemas
b)Some functions have the rules attached to it as one of its parameter
c)Rules consist of a set of operations to perform some actions
d)Operations and Functions are the executable components

NICE STORY- Lets have a small break

Posted on January 30th, 2009 in Uncategorized by admin

The Pickle Jar

The pickle jar as far back as I can remember sat on the floor beside the dresser in my parents’ bedroom. When he got ready f or bed, Dad would empty his pockets and toss his coins into the jar.

As a small boy I was always fascinated at the sounds the coins made as they were dropped into the jar. They landed with a merry jingle when the jar was almost empty. Then the tones gradually muted to a dull thud as the jar was filled.

I used to squat on the floor in front of the jar and admire the copper and silver circles that glinted like a pirate’s treasure when the sun poured through the bedroom window. When the jar was filled, Dad would sit at the kitchen table and roll the coins before taking them to the bank.

Personnel Administration (PA):

Posted on January 26th, 2009 in PA by admin

PA involves administrating employee data, commonly referred to Master Data. Master Data contains all employee data used in HR processing. Master Data includes Personal (Eg. address), Organizational (Position description), Benefits (Insurance, Pension), Time & Payroll.
Master Data is stored in Infotypes. Infotypes are tables (for user Data entry screen) that contain logically related employee data. Data can be stored for specific periods, which includes current and historical.

Components of PA:

• Personnel Area: represents a division of a company code into subunits. It is an organizational entity representing an area within an organization defined by specific aspects of personnel administration, time management and payroll. Personnel areas are subdivided into personnel subareas. Personnel area is specific to HR and is a four character alphanumeric identification. Eg. Personnel area 100 is for employees in Karnataka, 200 is for Chennai.

• Personnel Subarea: is a further subdivision of Personnel area. It may represent geographical locations. Functions include:
1. Set groupings for Time Management, so that work schedules, substitution and absence and leave types can be setup for individual personnel subareas.
2. Generate default pay scale type and area for an employee’s basic pay.
3. Define public holiday calendar.

• Employee Groups: divides or groups employees into various categories. Eg. Active employees, Retired employees, Contractors. Employee groups are used to generate default values for payroll accounting area and basic pay.

• Employee Subgroups: are further differentiated within the employee group. Eg. Salaried employees, Hourly employees, Unionized employees, Executives. The employee subgroup grouping for the payroll rule allows you to define different payroll procedures for different employee subgroups. For eg. you can specify whether an employee’s pay should be determined on hourly or monthly basis. The employee subgroup grouping for the work schedule defines the validity of work schedule, and the attendance or absence quota type determines the validity of time quotas.

Introduction on SAP HR module

Posted on January 26th, 2009 in ABAP-hr by admin

The SAP HR module enables companies to effectively manage information about the people in their organization. It is integrated with other SAP modules and external systems. From the Organization Management perspective, companies can model a business hierarchy, the relationships of employees to various business units and the reporting structure among employees. The Personnel Administration (PA) sub module helps employers to track employee master data, work schedules, salary and benefits information. The Personnel Development (PD) functionality focuses on employees’ skills, qualifications and career plans. Finally, the Time Evaluation and Payroll sub modules process attendance and absences, gross salary and tax calculations, and payments to employees and third party vendors.

What is HR?

The task of Human Resource Management is to produce the organizational hierarchies, relationship between employees and to allow storage and administration of employee data.

Useful Transaction codes in SAP HR module

Posted on January 18th, 2009 in ABAP-hr by admin

Master Data

PA10   Personnel File                
PA20   Display HR Master Data        
PA30   Maintain HR Master Data       
PA40   Personnel Events              
PA41   Change Hiring Data            
PA42   Fast Data Entry for Events
PRMD   Maintain HR Master Data            
PRMF   Travel Expenses: Feature TRVFD     
PRML   Set Country Grouping via Popup     
PRMM   Personnel Events                   
PRMO   Travel Expenses: Feature TRVCO     
PRMP   Travel Expenses: Feature TRVPA     

Macros in HR-ABAP

Posted on December 22nd, 2008 in ABAP-hr by admin


Most commonly used Macros in HR ABAP ?

Macro contains some part of source code which it will be useful for number of applications.( Like function modules )

Generally we use two macros in HR ABAP
RP-PROVIDE-FROM-LAST
RP-PROVIDE-FROM-FRST

The macro RP-PROVIDE-FROM-LAST retrieves the last(latest) data record which is valid in the data selection period.
The macro RP-PROVIDE-FROM-FRST retrieves the first(start)data record which is valid in the data selection period.

What is Logical Database ?

Posted on December 16th, 2008 in ABAP-hr by admin

 

Logical database in SAP
The LDB is special type of ABAP program that combines the contents of certain related database tables and retrieve some related data and make it available to application programs.

In other words, a LDB is a method by which ABAP programs read and process the data. The sequence in which the data is supplied to the  program is determined by a tree structure.

The LDB usually consists of the following components:

 Structure
 Selections
 Database programs

Logical databases have a tree structure.A logical database can contain a maximum of 300 tables

SAPDBPNP is the name of the database program for the logical database PNP.

How are logical database used

Infotype 402 and Payroll results

Posted on November 24th, 2008 in SAP-hr by hivamsi


 

Payroll results can be held in infotype 402, for this we need to do some configuration.
IMG Menu path – Personnel Admin –> Personnel Management –> HRIS –> Payroll Results.

Define Evaluation Results: The evaluation wage type is the name of the field – note it is not the actual wage type. The cumulation can be either M (Monthly cumulation), Q (Quarterly cumulation) and Y (Annual cumulation). If results have to be saved on IT 0402 this should be left blank. These 3 values relate to infotypes 0458 (Accounting infotype), 0459 (Quarterly Cumulation) and 0460 (Annual cumulation). The text  entered in the field “Evaluation WTT Text” will be seen on the infotype. Choose either an amount or a number for the wage type.

Assign Wage Types: In this screen you do much the same as in the first step. In addition you need to link the different wage types to your evaluation wage type. You can also tick the checkbox to indicate that the wage type’s sign should change.

Set Up Payroll Accounting Infotypes: Highlight the wage type where you would like the results to appear – usually 402 to start with. Click on the evaluation assignment icon. Create your entry in the table that appears. Go back to the previous screen, select the infotype and click on the generate icon. You will notice the tick on the “generated” column once this has been done. The infotype should also be active. If you are doing this for the first time, you will need to tick the “acitve” box once you have generated the infotype.

Set Up Assignment for Payroll: Ensure your infotype exists in this table if you wish to have the infotype updated during the course of a payroll run. If you don’t have any data in this table, you can still run the report RPABRI00 to manually populate the infotypes.

So there are to ways to save the payroll results in 402 a) Maintain entries in T521F to automatically update infotype 402 after the payroll run. b) Run the RPABRI00 program to move the payroll data into infotype 402. 

Difference between ABAP and HR ABAP

Posted on November 20th, 2008 in ABAP-hr by admin

 

ABAP vs HR ABAP

 

 

The following concepts are defined in ABAP HR which is different with other modules.

 

n      Use of Infotypes

n      The use of Logical Database

n      Use of Macros and Provide statement

n      Storage and Access of data

n      Authorization checks

 

There is nothing much difference between abap and hr abap. The way we retrieve the data from data base is deferent. 

 

In general ABAP data is stored in Tables, but coming to HR ABAP employee data is sorted through Infotypes. The way we retrieve the data from infotypes is deferent in hr abap.

 

In general ABAP we use Logical data base very rare, as in HR ABAP most of the programs use Logical data base to select data from Infotypes by using Get event.

 

In ABAP we use read statement to read particular record, still in HR ABAP we do use read statement apart from that we have Macros and provide statement.

Macro is pre defined code (like function module) which reads data from internal table (internal infotype) based on dates.

Provide statement is like Select statement but selects data from internal table

 

Storage and access of data in hr abap is completely deferent in hr abap comparing with ABAP. We use transaction code PA20 and PA30 to maintain data in infotypes.  

PA20 is display mode and PA30 is change mode. We can create, change, display, copy, and delete in infotypes with PA30 transaction.

 

For Infotypes authorizations can be maintained infotype and subtype (field) level as HR data is more sensitive and secrete.  

 

 Will discuss in detail of above bullet points as a separately.


Attitude is Everything

Posted on November 17th, 2008 in Uncategorized by admin

An old man lived alone in Minnesota. He wanted to spade his potato garden, but it was very hard work. His only son, who would have helped him, was in prison. The old man wrote a letter to his son and mentioned his situation:

Dear Son,

 I am feeling pretty bad because it looks like I won’t be able to plant my potato garden this year. I hate to miss doing the garden because your mother always loved planting time. I’m just getting too old to be digging up a garden plot. If you were here, all my troubles would be over. I know you would dig the plot for me, if you weren’t in prison.

Love,
Dad
 

Shortly, the old man received this telegram: “For Heaven’s sake, Dad, don’t dig up the garden!! That’s where I buried the GUNS!!”
At 4 a.m. the next morning, a dozen FBI agents and local police officers showed up and dug up the entire garden without finding any guns. Confused, the old man wrote another note to his son telling him what happened, and asked him what to do next.

His son’s reply was: “Go ahead and plant your potatoes, Dad. It’s the best I could do for you from here.”

MORAL: NO MATTER WHERE YOU ARE IN THE WORLD, IF YOU HAVE DECIDED TO DO SOMETHING DEEP FROM YOUR HEART, YOU CAN DO IT. IT IS THE THOUGHT THAT MATTERS NOT WHERE YOU ARE OR WHERE THE PERSON IS.




More information on sap hr-abap infotypes

Posted on November 11th, 2008 in ABAP-hr by admin

 More information on SAP hr abap infotypes:

                 Infotype data is period-based (time-dependent), in other words, it is only valid for specific periods. For this reason, each record has a start date and an end date.

               The database does not normally contain only one record for each infotype and personnel number but several records with different validity periods.

     E.g. 0001 – Org Assignment

             0000 – Actions

 Sap hr Infotype ranges: 

 0000 to 0999 – HR Master data  / Applicant data (PA)

1000 to 1999 – Organizational Management (OM)

2000 to 2999 – Time data (TM)                    

4000 to 4999 – Applicant data           

9000 to 9999 – Customer defined

 Most commonly used infotypes in SAP HR:

 

ABAP vs HR-ABAP

Posted on November 10th, 2008 in ABAP-hr by admin

 

What is the difference between abap and abap hr?

 

The following concepts are defined in ABAP HR which is different with other modules .

 

n      Use of Infotypes

n      The use of Logical Database

n      Use of Macros and Provide statement

n      Storage and Access of data

n      Authorization checks

 


Infotype concept in sap hr, Creation of infotype, Enhancement of infotype

Posted on November 6th, 2008 in ABAP-hr by admin

 

 

What is Infotype?

 

Infotypes are information units through which we can enter the data into tables. The Infotypes are used to group related data fields together. In general words its data entry screen from where we can store the data into tables. Naming conversion of infotype is four digits numerical. Each infotype will have corresponding data base table to it.

 

For example

 Infotype 0006 is Address

 The data stored for this infotype in table PA0006.

 

We can view the infotype data in two ways using below transactions:

New Personnel sub area creation and relevant groupings configurations.

Posted on November 5th, 2008 in Config documents by admin

 

New Personnel sub area creation and relevant groupings configurations. 

1) Create Personnel sub area for a Personnel Area

2) Pay scale Structure to Enterprise Structure

3) Personnel subarea to Primary Wage Types

4) Personnel subarea to Work schedules

5)Work schedules Use value 10 for all

6) Public holiday calendar

7) Assign PA/PERSONNEL SUBA REA to Tax Company code

Go to Payroll section -à US Payroll -àTax à Assign company to Personnel Area 

 -à

Double click the relevant entries and assign the right company code on the next screen

  

Assignment Commnets:

T5U0P: Assign tax company to personnel area

V_001P_M: Define Groupings for the Public Holiday Calendar

V_001P_N:Group Personnel Subareas for the Work Schedule

V_001P_C: Check Assignment of Pay Scale Structure to Enterprise Structure

V_001P_K: Personnel Subareas for Primary Wage Type

V_T001P: Personnel Subareas

 

Find the below document with screen shorts.

create-psa-for-a-pa 

 


Useful function modules in ABAP-HR

Posted on November 3rd, 2008 in ABAP-hr by admin

  

RS_PROGRAM_CHECK_NAME: To check program names if you are generating them.

RS_CORR_INSERT : To insert the correction request in the repository.

REPS_OBJECT_ACTIVATE: To activate repository objects, for example – to activate a newly generated program.

RS_DELETE_PROGRAM: To delete the program.

RS_ACCESS_PERMISSION: To lock or unlock a program.

 

Function Modules related to Date and Time Calculations

CALCULATE_DATE: Calculates the future date based on the input .

DATE_TO_DAY: Returns the Day for the entered date.

DATE_COMPUTE_DAY: Returns weekday for a date

DATE_GET_WEEK: Returns week for a date

RP_CALC_DATE_IN_INTERVAL: Add days / months to a date

 

Function Modules related to (ALV) ADVANCED LIST VIEWER

Bankruptcy concept

Posted on November 3rd, 2008 in Uncategorized by admin

 

  

 

Once there was a little island country. The land of this country was the tiny island itself. The total money in circulation was 2 dollars as there were only two pieces of 1 dollar coins circulating around.

 

1) There were 3 citizens living on this island country. A owned the land. B and C each owned 1 dollar.

 

2) B decided to purchase the land from A for 1 dollar. So, now A and C own 1 dollar each while B owned a piece of land that is worth 1 dollar.

 

* The net asset of the country now = 3 dollars.

 

3) Now C thought that since there is only one piece of land in the country, and land is non producible asset, its value must definitely go up. So, he borrowed 1 dollar from A, and together with his own 1 dollar, he bought the land from B for 2 dollars.

 

*A has a loan to C of 1 dollar, so his net asset is 1 dollar.

* B sold his land and got 2 dollars, so his net asset is 2 dollars.

* C owned the piece of land worth 2 dollars but with his 1 dollar debt to A, his net residual asset is 1 dollar.

* Thus, the net asset of the country = 4 dollars.

 

4) A saw that the land he once owned has risen in value. He regretted having sold it. Luckily, he has a 1 dollar loan to C. He then borrowed 2 dollars from B and acquired the land back from C for 3 dollars. The payment is by 2 dollars cash (which he borrowed) and cancellation of the 1 dollar loan to C. As a result, A now owned a piece of land that is worth 3 dollars. But since he owed B 2 dollars, his net asset is 1 dollar.

 

Next Page »