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

screen

Hello,

Please help me, i have made one screen there i have given one exit button when i am clicking exit button that programme have to leave programme.

I have wirrten the below mentioned codes. here i am not getting any error of my codes and when i am clicking exit it is not leaving the programme.

&----


*& Report ZSUJU

*&

&----


*&

*&

&----


REPORT ZSUJU.

Tables : zemp.

Data : it like zemp occurs 0 with header line.

&----


*& Module STATUS_2000 OUTPUT

&----


  • text

----


MODULE STATUS_2000 OUTPUT.

SET PF-STATUS 'ZUOM'.

  • SET TITLEBAR 'xxx'.

ENDMODULE. " STATUS_2000 OUTPUT

&----


*& Module USER_COMMAND_2000 INPUT

&----


  • text

----


MODULE USER_COMMAND_2000 INPUT.

CASE SY-UCOMM.

WHEN 'EXIT'.

LEAVE program.

ENDCASE.

ENDMODULE. " USER_COMMAND_2000 INPUT

Please let me know what i have to do more at your earliest and oblige.

Please do the needful urgently.

thanks,

sujatha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 07:59 AM

    Hi,

    Give the type E where you create the layout of table control .

    Rewards if helpfull.

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 08:03 AM

    Hi,

    Give the function code EXIT to button in the properties.

    GOTO ur screen > double click on the button > In FctCode

    type exit > Save & Activate > then try

    Reward points if useful....

    Regards

    AK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 02, 2008 at 08:25 AM

    hi,

    i think ak give you the right ans..................

    GOTO ur screen > double click on the exit button >then a window apper see FctCode in fctcode write exit

    Save & Activate > then try

    ok try this

    if useful give reward points

    pankaj

    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.