cancel
Showing results for 
Search instead for 
Did you mean: 

HRP 1001, Function land

Former Member
0 Kudos

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>

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Laurentiu Achim ,

I am trying to delimit the postion using the FM RH_CUT_INFTY_1001_EXT...

Still i am getting error_during cut...

kingly help..plz..

regards,

Vamshi

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Saplok,

you could try

RH_RELATION_MAINTAIN

or

RH_UPDATE_INFTY

Regards

Bernd