05-29-2006 11:10 AM
Hi All,
i'm uploading infotype 1000, for that i can
1. use the fm RH_INSERT_INFOTYPE
2. can run a BDC on transaction 'PP01'
3. use LSMW approach
what is the best option among these 3, considering that i've huge amount of data(around 20k)?
if i opt for using "RH_INSERT_INFOTYPE" do i've the
same issue as with "HR_INFOTYPE_OPERATION", i.e., running into buffering issues(as it uses the CALL DIALOG approach, remember that i've large amount of data).
05-29-2006 11:14 AM
Hi ravi,
1. what is the best option among these 3
HR_INFOTYPE_OPERATION
is the best option.
2. I have used this and it works fantastic.
(no problems of buffering etc.)
3. In my personal opinion, go for
HR_INFOTYPE_OPERATION
regards,
amit m.
05-29-2006 11:14 AM
Hi ravi,
1. what is the best option among these 3
HR_INFOTYPE_OPERATION
is the best option.
2. I have used this and it works fantastic.
(no problems of buffering etc.)
3. In my personal opinion, go for
HR_INFOTYPE_OPERATION
regards,
amit m.
05-29-2006 11:18 AM
Hi Amit,
can we upload OM infotypes using "HR_INFOTYPE_OPERATION"?
05-29-2006 11:25 AM
Hi again,
1. I don't think so. ( i have not tried it)
regards,
amit m.
05-29-2006 11:34 AM
use transaction PP02 and record using SHDB and run the BDC..have used it works good...
reward points if it helps
gunjan
05-29-2006 11:49 AM
Hi Ravi,
The Function Module HR_INFOTYPE_OPEARTION is only for PA Infotypes & cannot be used for loading HRP1000. What PD Objects are you loading into HRP1000? Also, using a conventional BDC on PP01 or a function call that INSERTs the infotypes, really depends on your load/requirement. With the RH_INSERT_INFOTYPE function, I guess you have to use another follow-up function to UPDATE the database.. even an explicit COMMIT WORK statement doesn't help..
Regards,
Suresh Datti
05-29-2006 12:05 PM
Hi Suresh,
Thank you very much for ur reply, the main objects that i'm uploading are Positions,Jobs,Org.Units apart from these objects there may be some other objects(what is the prominence of the objects that i'm uploading?).Can u please provide some more details regarding using RH_INSERT_INFOTYPE or a BDC on PP01 and on the follow up function module.
05-29-2006 12:23 PM
First off, the function module is RH_INSERT_INFTY.. the follow-up to it is 'RH_UPDATE_DATABASE'.Depending on the type of update you need, one of the following values can be passed to this function..
S Synchronous update in the update task
V Asynchronous update in the update task
D Update in dialog
B Update in internal buffer
No update via personnel planning update task
I don't know what you mean by 'prominence'.. In general, the Org Units come in at a higher level & then you have Jobs & Positions in that order..
If this an initial or a one-time load & you have a large number of Objects, I would suggest a BDC on PP01. Just do a recording with SHDB & follow the generated Program, and you should be fine..
Regards,
Suresh Datti
05-29-2006 12:40 PM
Thank you suresh,
one final question
how about using an LSMW approach what are the disadvantages when compared with an BDC on PP01.
05-29-2006 12:46 PM
Ravi,
Not much of a difference..A BDC might be helpful if you have too many validations before the update.. otherwise, you can go for LSMW.
Regards,
Suresh Datti
05-29-2006 12:49 PM
05-29-2006 11:17 AM
Hi Ravi,
IN the FM RH_INSERT_INFTY you have a import parameter called VTASK.
The individual parameter values VTASK (update type) have the following
meanings:
- 'D' -> update in dialog
- 'S' -> synchronous update via update task
- 'V' -> asynchronous update via update task
- 'B' -> update internal in buffer only, no database update
YOu can chose S, A or B if you think you will run into issues with dialog mode updation.
Basically 2 and 3 are similar, in the sense that you can use a call transaction in LSMW.
Call transaction is just fine as long as you can take care of the programming complexity.
Regards,
Ravi
05-29-2006 11:18 AM
Hi,
use the FM <b>HR_INFOTYPE_OPERATION</b>.it is useful in uploading the infotypes.
Regards
vijay