Monday 20 May 2013

Mass Deletion of Absence Quota in SAP HCM, Personnel Time Management



SAP ERP is one of the biggest ERP in the world and SAP HCM is one of the largest modules of it. Personnel Time Management (PT) is one of the vital sub module of HCM, which deals with the Work schedules, absences, holiday calendars and many other important features.

For maintaining absences, absence quotas need to be generated first. PT_QTA00 is used by SAP Consultants/ SAP HCM Consultants for this purpose for BATCH Processing and Upload. So, what will happen when this Batch Upload is a total Wrong and traced lately?

Straight forward solution is – Delete each record for each quota for each employee One by One and there may be thousands record. I think it’s not feasible.

Another solution is – Go for Batch Deletion of generated leave quotas and rerun PT_QTA00. Let’s see how we can do Batch Deletion:


1. Run PA71. Select absence quotas and subtypes for specific absence quota. Or keep the subtype blank to choose all the absence quotas for the specified Period/Date Range.  Now press Delete.
 

2. Copy and paste the Personnel Numbers here and press Enter.


3. Press F9 to select all entries in the list and press Delete. This will delete all entries in the list. Or you can delete one by one.

 That’s it! Enjoy :).



Monday 6 May 2013

Customization for Uploading and Viewing Photo of an Employee



There are times when SAP HCM Consultants need to go for customization for uploading and viewing Employee Photograph on PA30, PA20, PA10 and PA40 screen.  For this regard we need to do some configuration. Let’s see how we can do this.

The default PA30 screen shows as follows:

To display photograph we need to modify the Header of entry screen as marked above. Select any of the header field there and check the technical settings, we can see a program name is /1PAPAXX/HDR_13060A. Here 60 is our header modifier.   


Go to SM30 and get the maintenance view of T588J table and for header 60 u need to make entries in the table.

Make a entry in the table as --- 60 2 70 0000 PERNR PIC

So, configuration is done for uploading photograph as a .BMP archive.  

Now, run Tcode – OAAD to upload photo into R/3 select the button “Store and Assign”.
 


Enter Business Object – PREL and Document Type – HRICOLFOTO and Create.
 

Enter Personnel Number and press OK.
 

Browse for photos and press open.
 


The following confirmation screens will come sooner.
 


Now go to PA30. The uploaded photo is showing finally here.

For any queries feel free to share your complement here.

Thanks & Regards,
Razesh Dey 
SAP HCM(HR) Consultant, Bangladesh