Skip to Content
author's profile photo Former Member
Former Member

screen exit qqma0001

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on May 21, 2006 at 10: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2006 at 10: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 21, 2006 at 11:57 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on May 22, 2006 at 07: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.