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: 

Output screen is not getting closed unless I

Former Member
0 Kudos

Hi all please help me in this!!!

ABAP

Output screen is not getting closed unless I fill all the entries in screen.

Help me!

Subject: dynpro not getting closed

Category ui programming

Regards

d k prajapati

1 ACCEPTED SOLUTION

sridhar_meesala
Active Contributor
0 Kudos

Hi,

You need to write the code for the EXIT button in MODULE AT EXIT-COMMAND in order to avoid the mandatory check.

Hope it helps you.

Revert in case of any issues.

Thanks,

Sri.

3 REPLIES 3

sridhar_meesala
Active Contributor
0 Kudos

Hi,

You need to write the code for the EXIT button in MODULE AT EXIT-COMMAND in order to avoid the mandatory check.

Hope it helps you.

Revert in case of any issues.

Thanks,

Sri.

sridhar_meesala
Active Contributor
0 Kudos

Hi,

the sample coding may look something like this.

MODULE exit INPUT.

  CASE sy-ucomm.
    WHEN 'F_EXIT'.
      LEAVE PROGRAM.
  ENDCASE.

ENDMODULE.

Thanks,

Sri.

Former Member
0 Kudos

Hi,

try it,

Module At Exit Command

if OK_CODE='f_exit'.

Leave Program.

Regards,

Nidhi Kothiyal