Hi Baerbel,
I ran a quick test in a 731 system and there was no issue for the simplest case. You can see code below. Can you check the code if this suits your scenario?
If yes, may be you want to try this in the system where it fails - to see if you get the error.
If no error is found, then am afraid the whole scenario has to be debugged through.
May be you already used WATCHPOINTs on this variable to track it.
One other thing:
I have seen scenarios in the past whenever the case involves "CALL DIALOG" ABAP statement and update task together, it might behave a little different to the ones that involve a regular dialog program and update task.
Thank you,
Best Regards,
Jothi
REPORT Z......
data: param type SHP_APOINF value 'A'.
CALL FUNCTION 'ZFUNC'
IN UPDATE TASK
EXPORTING
IS_APOINF = param
.
COMMIT WORK.
FUNCTION ZFUNC.
*"----------------------------------------------------------------------
*"*"Update Function Module:
*"
*"*"Local Interface:
*" IMPORTING
*" VALUE(IS_APOINF) LIKE SHP_APOINF STRUCTURE SHP_APOINF DEFAULT
*" SPACE
*"----------------------------------------------------------------------
"http://scn.sap.com/message/15915028#15915028
*IF IS_APOINF IS SUPPLIED. "not supported in update modules.
ASSERT IS_APOINF = 'A'.
*ENDIF.
CALL FUNCTION 'ZFUNC_1'
* EXPORTING
* IS_APOINF = ' '
.
*IF IS_APOINF IS SUPPLIED.
ASSERT IS_APOINF = 'A'.
*ENDIF.
ENDFUNCTION.
FUNCTION ZFUNC_1.
*"----------------------------------------------------------------------
*"*"Update Function Module:
*"
*"*"Local Interface:
*" IMPORTING
*" VALUE(IS_APOINF) LIKE SHP_APOINF STRUCTURE SHP_APOINF DEFAULT
*" SPACE
*"----------------------------------------------------------------------
"http://scn.sap.com/message/15915028#15915028
*IF IS_APOINF IS SUPPLIED. "not supported in update modules.
ASSERT IS_APOINF = space.
*ENDIF.
ENDFUNCTION.