Application Development and Automation 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: 
Read only

Upload Time Event - An Absence Code

Former Member
0 Likes
294

Hello, everyone.

I have a problem while trying to upload an employee's absence event by using F.M. HR_INFOTYPE_OPERATION with the following parameters:

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

INFTY = '2001'

NUMBER = LV_PERNR

SUBTYPE = 0100

VALIDITYEND = '20060822'

VALIDITYBEGIN = '20060822'

RECORD = GS_P2001

  • GS_P2001-PERNR = 00102695

  • GS_P2001-INFTY = 2001

  • GS_P2001-SUBTY = 0100

  • GS_P2001-ENDDA = 20060822

  • GS_P2001-BEGDA = 20060822

OPERATION = 'I'

NOCOMMIT = SPACE

IMPORTING

RETURN = GS_RETURN.

Does anyone know what's wrong ??

Thanks in advance,

Rebeka

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
263

Hello,

What is the problem you are facing. IS the system gives any syntax erros or short dumps.

if so give the following in

<b>SUBTYPE = '0100'</b>

Thanks,

Krishnakumar

1 REPLY 1
Read only

Former Member
0 Likes
264

Hello,

What is the problem you are facing. IS the system gives any syntax erros or short dumps.

if so give the following in

<b>SUBTYPE = '0100'</b>

Thanks,

Krishnakumar