Skip to Content
0
Former Member
Mar 25, 2009 at 04:22 PM

RH_INSERT_INFTY not creating new records

850 Views

Hi All,

I am using the FM RH_INSERT_INFTY to insert new records in HRP1000.

See the below FM call :

CALL FUNCTION 'RH_INSERT_INFTY'

EXPORTING

fcode = 'INSE'

vtask = 'D'

  • order_flg = 'X'

  • commit_flg = 'X'

  • authy = 'X'

  • PPPAR_IMP =

  • OLD_TABNR = ' '

  • REPID = ' '

  • FORM = ' '

keep_lupd = keep_lupd

TABLES

innnn = it_i1000

EXCEPTIONS

no_authorization = 1

error_during_insert = 2

repid_form_initial = 3

corr_exit = 4

begda_greater_endda = 5

OTHERS = 6.

But instead of creating new records it is changing the existing record in HRP1000.

Actually I want to create new records with different long text and short text in different languages so in case object id and object type even the dates can be same but the language would be different.

So I need to create a new records with a different language key and different short text. But this function module is changing the existing object short text,long text and language.

Could you please reply at the earliest.

Thanks & Regards,

Poonam