Application Development 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: 

screen exit qqma0001

Former Member
0 Kudos

hi !

i created screen exit for screen 102.

in the screen I created pushbutton ZSRC, when i push the

button it does something and then i get error mesasge

'requested function zsrc is not avliable here'.

i debugged it and found that the message comes from the sap program.

when i clear the sy-ucomm it fills again with value ZSRC.

how can i fix it?

regards

yifat

1 ACCEPTED SOLUTION

athavanraja
Active Contributor
0 Kudos

go to the screen Element list of screen 102 (SE51) and check whether any variable is used for OK CODE

you need to clear that variable.

Regards

Raja

6 REPLIES 6

athavanraja
Active Contributor
0 Kudos

go to the screen Element list of screen 102 (SE51) and check whether any variable is used for OK CODE

you need to clear that variable.

Regards

Raja

Former Member
0 Kudos

hi!

there is no ok-code is no ok_code in the element list of the screen.

i tried to add one but i couldnt open any new lines in the screen.

thanks

yifat

Former Member
0 Kudos

hi!

i need someone help, in the screen element the last line has in column screen type the value OK, but the name of teh the field is grey and its impossible to enter field.

regards

yifat

0 Kudos

Hi Yifat

You're using a subscreen to develop your screen-exit and in this kind of screen it's not possible to indicate a variable for OK_CODE: it can do it only in the main screen.

If you have inserted a pushbutton in your screen exit, you should manage it in the PAI of the same sscreen-exit,

but if the the main program checks the SY-UCOMM before trigging the PAI of screen-exit you can't do nothing (you can change the main program of course).

Max

Former Member
0 Kudos

hi!

thanks for your answer.

when i am debugging the program, after using the pushbutton, i see that it triggers the pai of the subscreen, and at the end of the pai , i clean the sy-ucomm, but then it goes on into the main program and the sy-ucomm is filled again with the fcode, is ther something i can do about it?

regards

yifat

0 Kudos

Dear Friend,

I am also facing the same problem, Please suggest what you had done to get rid of thsis problem. It is so thankfule if you suggest the answer for this.

Regards

R Dinakar