Skip to Content
0
Former Member
Apr 07, 2011 at 09:19 AM

Update 0077 (Additional Personal Information) using HR_INFOTYPE_OPERATION

25 Views

Hi,

I'm updating 0077 from a BSP using HR_INFOTYPE_OPERATION.

The update is working and saves the values correctly but the function bottoms out everytime it's run and there's no way for me to catch the return values. I've set break points at numerous places in the code after this function is executed.

This means I'm unable to display a success or error message and the subsequent code is not executed. Is there something specific to 0077 that I'm missing or is it related to BSP execution?

The Save method is in the Model using MVC for BSP.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

INFTY = '0077'

NUMBER = P0077-PERNR

RECORD = P0077

OPERATION = 'INS'

DIALOG_MODE = '0'

IMPORTING

RETURN = RETURNE

KEY = KEY.

{/code}

Regards,

Rob