Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FM - HR_INFOTYPE_OPERATION - Unable to delimit data using this FM

Hi All,

I am trying to delimit the end date of infotype 0014 using function module "HR_INFOTYPE_OPERATION", Though the FM returns a zero return code and the sy-subrc is also zero. The FM doesnt sav ethe data. I do not get any error in this FM, But i see no date is not delimited.

I have used the below code to demilt the end date.

CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'

EXPORTING

number = int_tab_0014-pernr.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

INFTY = '0014'

NUMBER = int_tab_0014-pernr

SUBTYPE = int_tab_0014-subty

OBJECTID = int_tab_0014-objps

  • OBJECTID = ' '

LOCKINDICATOR = int_tab_0014-sprps

  • VALIDITYEND = int_tab_0014-endda

VALIDITYEND = l_valend "99991231

VALIDITYBEGIN = l_valbegin "20110101

RECORDNUMBER = int_tab_0014-seqnr

RECORD = g_record

OPERATION = 'MOD'

tclas = 'A'

DIALOG_MODE = '1'

  • NOCOMMIT = ' '

IMPORTING

RETURN = g_return

KEY = g_key.

call function 'BAPI_TRANSACTION_COMMIT'.

CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'

EXPORTING

number = int_tab_0014-pernr.

I have also tried commit work, but it doesnt work as well.

Could someone please get me on this? How do i save the delimit of end date?

Regards,

Suchitra

Former Member
Not what you were looking for? View more on this topic or Ask a question