Evaluate Indirect Wage amounts using FM RP_EVALUATE_INDIRECTLY_P0008

Indirect Evaluation is a method to calculate the eligible amounts for some of the wage types. INVAL is the Indirect Evaluation Module used to meet the Indian specific business requirements. INVAL calculates the eligible amounts for certain wage types that are defaulted into the Basic Pay infotype (0008) or entered in the Recur. Payments/Deductions infotype […]




Read More

How to use VARYING command in ABAP Code

VARYING command is a function of the DO loop which allows you to move horizontaly along a table row without actually having to specify each individual field name. i.e. if the table row had the fields: Field1 Field2 Field3 Field4 etc you would be able to loop around each field using only one DO..VARYING command. For […]




Read More

How to use PYXX_READ_PAYROLL_RESULT to read payroll result in ABAP

You need to create ABAP HR Program Payroll Report and of course you need to get payroll result data, Payroll result is cluster table. In ABAP Program you can get payroll result using two methods. First you can use Payroll Event and the second is you can use PYXX_READ_PAYROLL_RESULT function module. In this post, we will […]




Read More

How to use Macro to create HR ABAP Report Program

Macro in personnel administration. RP_PROVIDE_FROM_LAST Pnnnn SPACE PN-BEGDA PN-ENDDA. or RP_PROVIDE_FROM_FIRST Pnnnn SPACE PN-BEGDA PN-ENDDA. Important note for those macros : These statements make the most recent or earliest record in the PN/BEGDA to PN/ENDDA data selection period available in the structure Pnnnn for info type nnnn. If the infotype has subtypes, replace the SPACE […]




Read More

How to create Relationship or Update table HRP1001

After you create employee/personnel number or new hiring using function module HR_MAINTAIN_MASTERDATA but you can’t find relationship data in HRP1001 table. Check this link for new hiring How to use HR_MAINTAIN_MASTERDATA for new hiring You can see HRP1001 table above, SAP System will insert data with SCLAS = P ( Personel ) After you start new hire […]




Read More

How to use HR_MAINTAIN_MASTERDATA for new hiring

In HCM SAP Module you can enter new hire employer via PA40 tcode, but in ABAP Code you can use HR_MAINTAIN_MASTERDATA to automate new hire, in my requirement is to create ABAP Program to process new hiring employer via excel upload. Before you use HR_MAINTAIN_MASTERDATA you need to ask your SAP HCM Functional team about […]




Read More