Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in dialog

Former Member
0 Likes
458

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
408

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

2 REPLIES 2
Read only

Former Member
0 Likes
409

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

Read only

Clemenss
Active Contributor
0 Likes
408

Hi,

when you press the button, CLEAR the ok-code field (sy-ucomm) befor calling program B.

Regards,

Clemens