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

Query on uploading data into infotype

Former Member
0 Likes
1,249

Hi,

I am in search of a method to upload data into infotypes IT0001,HRP1001.

I have serached and found we can do it using BDC,LSMW and through Hr_INOFYTPE_OPERATION--fm.

But in my flat file am having pernr ,begda,endda and supervisor..

Some of my searches said if i had a pernr in flat file its impossible to do with HR_INFOTYPE_OPERATION.

CAN ANYONE PLS SUGGEST ME THE BEST WAY TO DO?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,205

Hi Salini

Using BDC or LSMW might lead to some inconsistencies.

Uploading of various infotype data depends upon its volume.

There is a FM: HR_MAINTAIN_MASTERDATA through which you can upload the data. But this does for one record at a time. So the performance gets affected at times. Before calling this FM each time, clear the buffer using the FM: 'HR_PSBUFFER_INITIALIZE'. This will be of great help.

Incase you want to upload all your data at once, you can use BAPI_HRMASTER_SAVE_REPL_MULT.

Let me know incase you need any help in any of these.

Regards

Harsh

Hi,

I am in search of a method to upload data into infotypes IT0001,HRP1001.

I have serached and found we can do it using BDC,LSMW and through Hr_INOFYTPE_OPERATION--fm.

But in my flat file am having pernr ,begda,endda and supervisor..

Some of my searches said if i had a pernr in flat file its impossible to do with HR_INFOTYPE_OPERATION.

CAN ANYONE PLS SUGGEST ME THE BEST WAY TO DO?

Thanks

8 REPLIES 8
Read only

Former Member
0 Likes
1,205

hi every one,..sry its it0001 and HRP1051

Read only

Former Member
0 Likes
1,205

Have you tried using LSMW - using IDOC message type HRMD_A.

Regards

Vinod

Read only

Former Member
0 Likes
1,206

Hi Salini

Using BDC or LSMW might lead to some inconsistencies.

Uploading of various infotype data depends upon its volume.

There is a FM: HR_MAINTAIN_MASTERDATA through which you can upload the data. But this does for one record at a time. So the performance gets affected at times. Before calling this FM each time, clear the buffer using the FM: 'HR_PSBUFFER_INITIALIZE'. This will be of great help.

Incase you want to upload all your data at once, you can use BAPI_HRMASTER_SAVE_REPL_MULT.

Let me know incase you need any help in any of these.

Regards

Harsh

Read only

0 Likes
1,205

HR_MAINTAIN_MASTERDATA FM is used for OM infotypes right its not for IT001 infotype.

Read only

0 Likes
1,205

It can be used for IT0001 as well. Simple conditon being that IT0000 should also be populated.

Infact, it is called within HR_INFOTYPE_OPERATION also.

Read only

0 Likes
1,205

Hi Harsha,

Thanks for your reply,

If its for bulk upload can i use hr_maintain_masterdata?

Read only

0 Likes
1,205

Yes, Surely.

But don't forget to clear the buffer just before you call HR_MAINTAIN_MASTERDATA using the FM i mentioned in my previous post.

Hope this helps.

Harsh

Read only

0 Likes
1,205

oh its gr8 thank u harsha..can i use this FM for both it001 and hrp1051 infotypes right?