Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function module HR_INFOTYPE_OPERATION for Infotype IT0024?

Former Member
0 Kudos

Hi,

Can we use Function module HR_INFOTYPE_OPERATION for updating infotype IT0024?

What i need to do is:

1. Go to PA30.

2. Give PERNR and Infotype 0024 and go into in change mode.

3. Select tab 'Individual development' from the tabstrip.

4. Here change the status of any OBJID.

Can this be acheived using the FM? I tried BDC but not able to select the OBJID i want to change.

Regards,

Naba

Edited by: Naba Kumar Saha on Nov 26, 2009 3:14 PM

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can use it. This function module uses HR_MAINTAIN_MASTERDATA internally which will serve for your purpose.

Regards

Abhii

0 Kudos

Any idea how to use it??

0 Kudos

Hi,

Refer below code :-

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

INFTY = '0015'

NUMBER = P_PERNR

SUBTYPE = P0015-SUBTY

  • OBJECTID =

  • LOCKINDICATOR =

VALIDITYEND = P0015-BEGDA

VALIDITYBEGIN = P0015-BEGDA

  • RECORDNUMBER =

RECORD = P0015

OPERATION = P_OPERATION

  • TCLAS = 'A'

  • DIALOG_MODE = '0'

  • NOCOMMIT =

  • VIEW_IDENTIFIER =

  • SECONDARY_RECORD =

IMPORTING

RETURN = FS_RETURN

  • KEY =

.

REFRESH P0015.

CLEAR P0015.

Regards

Abhii