cancel
Showing results for 
Search instead for 
Did you mean: 

Update 0077 (Additional Personal Information) using HR_INFOTYPE_OPERATION

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

What i have seen is a limitaiton

It is not possible to use the messages of a FM in Web Dynpro or BSP.

These messages can only be displayed in the SAPGui.

This is not a bug but only a restriction of the web technology.

The FM is not designed for this usage. So the possible solution is to

write your own FM which does not raise messages.

You have to think about commit or no commit this can effect too

GIVE_MESSAGES" form, in "MP200140"??