on 02-03-2007 6:03 AM
Hi <b>HR</b> Frndz,
I need to delimit an entry in HRP1001. Is there any standard <b>function module</b> to do the same. I have to pass the following fields.
OTYPE - P
OBJID - <Old Position>
PLVAR - 01
RELAT - 008
ENDDA - 31.12.9999
SCLAS - S(Optional)
Instead of this we can also update the HRP1001 using the update statement which is currently done. But i need the FM name
Danx in Advance,
<b>Saplok</b>
You said:
> I have to pass the following fields.
>
> TYPE - P
> OBJID - <Old Position>
> PLVAR - 01
> RELAT - 008
> ENDDA - 31.12.9999
> SCLAS - S(Optional)
If the OTYPE = P, than OBJID = <employee> (NOT <Old Position> ) and SOBID = <Old Position> and rsign = 'B'. The other parameters remain like you said.
Best regards,
Laurentiu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the following FM: RH_CUT_INFTY_1001_EXT. Below is a sample of how to use the FM.
DATA: lt_hri1001 LIKE TABLE OF hri1001,
lv_limit_date LIKE hrp1001-begda .
Fill the table lt_hri1001 with the records you want to cut (limit).
Pay atention to the data type: HRI1001, not HRP1001
CALL FUNCTION 'RH_CUT_INFTY_1001_EXT'
EXPORTING
gdate = lv_limit_date
histo = 'H'
vtask = 'S'
TABLES
innnn = lt_hri1001
EXCEPTIONS
error_during_cut = 1
no_authorization = 2
gdate_before_begda = 3
cut_of_timco_one = 4
relation_not_reversible = 5
corr_exit = 6
OTHERS = 7.
Best regards,
Laurentiu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saplok,
you could try
RH_RELATION_MAINTAIN
or
RH_UPDATE_INFTY
Regards
Bernd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.