Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Upload data for HR Infotypes

Former Member
0 Likes
700

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.

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
645

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,

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

3 REPLIES 3
Read only

MarcinPciak
Active Contributor
0 Likes
646

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

Read only

Former Member
0 Likes
645

Refer [this|http://www.sapdev.co.uk/sap-fmodules/fms_HR_INFOTYPE_OPERATION.htm] for sample coding.

Read only

Former Member
0 Likes
645

Solved by Own