2009 Jun 12 7:27 AM
Hi All,
I've a requirement to upload data for below HR Infotypes in a single report program with modes like Create, Update and delete.
Infotypes:
0008
0014
0015
2010
0041
0071
2001
Please suggest the best approach to achieve this objective.
2009 Jun 12 7:50 AM
Hi,
I think the best would be using FM HR_INFOTYPE_OPERATION with different modes (i.e 'INS' , 'DEL' etc which you would parametrized i.e. within a subroutine and later call that form using different modes) or by means of BDC (if order of operations on infotypes is fixed). You can also use batch input but this would work on each infotype separately and you want it within one report.
Also please refer [HR_MAINTAIN_MASTERDATA update performance|http://shafiq.us/sap/index.php?option=com_content&view=article&id=59:hrmaintainmasterdata-and-hrinfotypeoperation-update-performance&catid=45:hr-abap-tips-and-differences&Itemid=64] for considering performance issues.
Regards
Marcin
Hi All,
I've a requirement to upload data for below HR Infotypes in a single report program with modes like Create, Update and delete.
Infotypes:
0008
0014
0015
2010
0041
0071
2001
Please suggest the best approach to achieve this objective.
2009 Jun 12 7:50 AM
Hi,
I think the best would be using FM HR_INFOTYPE_OPERATION with different modes (i.e 'INS' , 'DEL' etc which you would parametrized i.e. within a subroutine and later call that form using different modes) or by means of BDC (if order of operations on infotypes is fixed). You can also use batch input but this would work on each infotype separately and you want it within one report.
Also please refer [HR_MAINTAIN_MASTERDATA update performance|http://shafiq.us/sap/index.php?option=com_content&view=article&id=59:hrmaintainmasterdata-and-hrinfotypeoperation-update-performance&catid=45:hr-abap-tips-and-differences&Itemid=64] for considering performance issues.
Regards
Marcin
2009 Jun 12 2:12 PM
Refer [this|http://www.sapdev.co.uk/sap-fmodules/fms_HR_INFOTYPE_OPERATION.htm] for sample coding.
2009 Nov 12 2:52 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |