2010 Apr 20 6:53 AM
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
2010 Apr 20 7:02 AM
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
oh its gr8 thank u harsha..can i use this FM for both it001 and hrp1051 infotypes right?
2010 Apr 20 6:55 AM
2010 Apr 20 6:56 AM
Have you tried using LSMW - using IDOC message type HRMD_A.
Regards
Vinod
2010 Apr 20 7:02 AM
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
2010 Apr 20 7:25 AM
HR_MAINTAIN_MASTERDATA FM is used for OM infotypes right its not for IT001 infotype.
2010 Apr 20 7:40 AM
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.
2010 Apr 20 7:58 AM
Hi Harsha,
Thanks for your reply,
If its for bulk upload can i use hr_maintain_masterdata?
2010 Apr 20 8:02 AM
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
2010 Apr 20 8:06 AM
oh its gr8 thank u harsha..can i use this FM for both it001 and hrp1051 infotypes right?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |