Hinu Hrforms Mail
-
Upload
nikunj-thaker -
Category
Documents
-
view
303 -
download
6
Transcript of Hinu Hrforms Mail
![Page 1: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/1.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 1/7
HINU_HRFORMS_MAIL
( PC00_M40_HRFORM )
Organizations using HRForms pay-slip (PDF) for their employees can now view the HRForm pay-slip vianew report HINU_HRFORMS_MAIL. Further they can send these pay-slips to the concerned employees
as an e-mail attachment. The system checks the master data Info-type 0105 (communications) subtype
0010 for official mail id.
The report selection screen is as shown below:
HRForm provides the option to view pay-slip for exclusive pay periods (Example: Current Payroll Period,
Other Payroll Period, Special Run etc) . The same options are available in this report under
Payroll Period selection box. The default selection for payroll period is Current Payroll Period.
![Page 2: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/2.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 2/7
This report can be used only for Pay-slip scenarios and not for time statement or payroll journals. Hence
the report selection screen has Form Class defaulted to Payslip. Also the country grouping is defaulted
with value 40 for India.
The Form Name in the selection screen is the HRForm name which has been created using HRFORMS
transaction. This is a mandatory field with F4 help available. One has the choice of specifying the variant
name saved for HRForm in field Variant on selection screen.
Send Mail should be selected in case you are willing to send the employee pay-slip as an e-mail
attachment.
The mail attachment only works if an implementation exists for BAdI HRFORM_HRF02. This BAdI is filter
dependent and hence the HRForm name should be provided as the fi lter value.
![Page 3: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/3.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 3/7
SAP has provided Standard Implementation SAP_PAYSLIP_MAIL_IN which has been delivered as
Inactive by default. This implementation has been created for BAdI definition HRFORM_HRF02 with
filter value SAP_PAYSLIP_IN & SAP_PAYSLIP_IN01 (Standard Pay-slip HRForms for India).
If you choose to send standard HRForms (SAP_PAYSLIP_IN, SAP_PAYSLIP_IN01) as mail attachment, you
need to activate the standard implementation SAP_PAYSLIP_MAIL_IN.
For Customer specific HRForms one can create a custom Z implementation of BAdI definition
HRFORM_HRF02 with filter value name as same that of your custom HRForm name. The source code of
Interface Methods should be referred from standard implementation SAP_PAYSLIP_MAIL_IN.
You should copy the sample source code in the below mentioned interface methods from standard
implementation to your custom implemented interface methods.
The Interface Methods used are:
CHECK_PERNR
BEFORE_PDF_PRINT
AFTER_PDF_PRINT
This Z implementation created should be active for send mail option to work.
Please ensure that only one active implementation exist for your HRForm name.
In case there is no active implementation for the specified HRForm name, an error message is thrown at
status bar in the selection screen of the report.
Example:
Report Selection Screen Inputs
BAdI Implementation Status: Inactive
![Page 4: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/4.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 4/7
Error Message on execution of report in the status bar
Note:
This report can be scheduled as Background Job for sending pay-slip as e-mail attachments.
The pay-slip can be generated in communication language of the employee [Hindi (HI)] which is
maintained in Info-type 0002 for the employee. This is applicable only if the HRForm pay-slip is availablein the relevant language Hindi.
Example:
Employee ‘X’ has communication language marked as ‘HI’ (Hindi) in info-type 0002 and Employee ‘Y’ has
‘EN’ (English) as communication language.In case the variant for a specific HRForm has the selection
Form in Language of Employee checkbox enabled and the same variant is being used inside report
![Page 5: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/5.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 5/7
HINU_HRFORMS_MAIL then system will send pay-slip for employee ‘X’ in Hindi & for employee ‘Y’ in
English.
The Form in Language of Employee checkbox can be checked on execution of specific HRForm while
maintaining variant using HRFORMS transaction.
Application Log:
The application log for this report gets created whenever the send mail option is selected for report
HINU_HRFORMS_MAIL. These logs can be viewed via Transaction SLG1.
You need to provide Object name as HRPAYIN & Sub-object name as HRFORM_MAIL for a specified
period and execute.
![Page 6: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/6.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 6/7
On execution it shows all the success & error cases:
![Page 7: Hinu Hrforms Mail](https://reader037.fdocuments.us/reader037/viewer/2022100208/577cc5211a28aba7119b689a/html5/thumbnails/7.jpg)
8/11/2019 Hinu Hrforms Mail
http://slidepdf.com/reader/full/hinu-hrforms-mail 7/7
Based on the logs if needed errors can be rectified and again e-mails can be sent to particular
employees.