Skip to Content
author's profile photo
Former Member

HR_INFOTYPE_OPERATION

Hello!

Using HR_INFOTYPE_OPERATION if I try to create a record in AWARDS INFOTYPE 0183 . Then on checking PAYROLL RELEVENT field it should create a corresponding entry for Infotype 0015 .

Do I manually have to take care and use HR_INFOTYPE_OPERATION to insert 0015 again as in foreground mode an entry is automatically created for

0015 when this field Is checked .

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Jan 18, 2005 at 04:03 PM

    Annalyn,

    I think Infty 15 is created via a Dynamic action which is only triggered in foreground processing using PA30 or PA40 tcodes. Table T588Z has all the dynamic actions listed. You will have to create it manually in your program.

    Kshitij.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Kshitij,

      Infotype 15 is created only if a certain field in ticked in 0183 infotype ( payroll relevent ) .

      What if i would need is the info , that if i run HR_INFOTYPE_OPERATION in simulation mode ie. with NO_COMMIT = 'X' for a infotypes , can i use one COMMIT WORK to save data later .

      eg. I want to create a record in infotype 2 .

      So the sequence is like .

      CAll HR_IN.. for infotype 2 with NO_COMMIT = 'X'

      check if sy-subrc = 0 .

      COMMIT WORK

      else in case sy-subrc <> 0

      ROLLBACK WORK .

      The eg. here is for updating one infotype , but we would be using it to update a sequence of infotypes and thus we call COMMIT WORK only once in the end .

      Thanks!

      Annalyn