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 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 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