05-21-2006 10:19 AM
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
05-21-2006 11:03 AM
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
05-21-2006 11:03 AM
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
05-21-2006 11:37 AM
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
05-21-2006 12:57 PM
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
05-21-2006 3:33 PM
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
05-22-2006 8:13 AM
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
01-29-2008 11:34 AM
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