on 04-07-2011 10:19 AM
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
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"??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.