‎2006 Dec 03 12:51 PM
Hi
i call from sap standard for eaxmple "A" to other program by user exit ( i press on button that i create in dialog Z-prgormam ) for example "B" when i pres back from "B" iget this message
Message no. V0104
Requested function SHOWC is not available here
showc - is the code of pushbutton in z-program
The Z-program is subscrren
The problem when the program back i cant call again
How can i fix it?
Thanks
‎2006 Dec 03 1:01 PM
Hi
Probably the std program checks if the ok-code is assigned to the own gui status.
Many std programs use some tables where it's defined the flow and the routine to be done.
You have inserted a pushbutton in subscreen, so this button doesn't exist in the status, you should try to clear the OK-CODE variable after backing to screen.
Check which is the ok-code variable used in the main screen and clear it using field-symbols:
DATA: OK_CODE LIKE SY-UCOMM VALUE '(PROGRAM)OK_CODE'.
FIELD-SYMBOLS: <OK_CODE> TYPE ANY.
ASSIGN (OK_CODE) TO <OK_CODE>.
.........................................................
CLEAR <OK_CODE>.
Max
‎2006 Dec 03 1:01 PM
Hi
Probably the std program checks if the ok-code is assigned to the own gui status.
Many std programs use some tables where it's defined the flow and the routine to be done.
You have inserted a pushbutton in subscreen, so this button doesn't exist in the status, you should try to clear the OK-CODE variable after backing to screen.
Check which is the ok-code variable used in the main screen and clear it using field-symbols:
DATA: OK_CODE LIKE SY-UCOMM VALUE '(PROGRAM)OK_CODE'.
FIELD-SYMBOLS: <OK_CODE> TYPE ANY.
ASSIGN (OK_CODE) TO <OK_CODE>.
.........................................................
CLEAR <OK_CODE>.
Max
‎2006 Dec 03 4:55 PM
Hi,
when you press the button, CLEAR the ok-code field (sy-ucomm) befor calling program B.
Regards,
Clemens