Application Development and Automation 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: 
Read only

Procees on help request

Former Member
0 Likes
667

I have created Help request in module pool for a field..

I have created a screen and i called tht screen which dislays the docu of the field..

I cant close tht window which i have created..Hw to close tht window

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
639

Hi,

in your pf-stus dont forget to activate back button

here i mentioned for exit and cancel as well.

In your PAI.

module USER_COMMAND_1000 input.

CASE OK_CODE.

WHEN 'BACK' OR '%EX' OR 'RW'.

LEAVE TO SCREEN 0.

ENDCASE.

endmodule. " USER_COMMAND_1000 INPUT

Reward if helpful.

Regards,

Harini.S

5 REPLIES 5
Read only

Former Member
0 Likes
639

HI,

check whether you had written the function code for close and push button for cancel window.

like.

case sy-ucomm.

case '..'

-


-


-


case 'BACK'.

SET SCREEN 0.

ENDCASE.

Read only

0 Likes
639

call screen 0002 starting at 10 50

ending at 80 10.

i have created a screen like this..I didnt give any buttons in it..I need to click the close button (x) in the right top corner..Wht is the function code for tht button

Read only

Former Member
0 Likes
640

Hi,

in your pf-stus dont forget to activate back button

here i mentioned for exit and cancel as well.

In your PAI.

module USER_COMMAND_1000 input.

CASE OK_CODE.

WHEN 'BACK' OR '%EX' OR 'RW'.

LEAVE TO SCREEN 0.

ENDCASE.

endmodule. " USER_COMMAND_1000 INPUT

Reward if helpful.

Regards,

Harini.S

Read only

0 Likes
639

Hi

Declare this coding part in your PAI

case 'BACK'.
SET SCREEN 0.
ENDCASE. 

Because this screen will call your screen after you press enter so that it will direct back to your intial screen

Regards

Pavan

Read only

Former Member
0 Likes
639

Hi

Set screen as '0'

this is first finish the PAI of current screen then go to new screen.

Regards

Raghav