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

the exit system button on function module

Former Member
0 Likes
823

Hi,guys!

i got a question,when i did a function modules of a dialog(on_line) program,i found the system

exit buttom on the right top window couldnt be trriggered,the result was i coudlnt close the window,

but the same code in report program,it can work,can anyone tell me why and how to corrent my code.

thxs in advance!

5 REPLIES 5
Read only

madan_ullasa
Contributor
0 Likes
797

hi buddy,

In your PBO you have to do the this ...

SET PF-STATUS space.

or, If you want all the functions to be working (Exit, Back, Cancel) then create a new status. double click on it and then give the function codes for it.

eg... set pf-status 'MENU1'.

you can use the standard function codes for this.

Regards,

Madan..

Read only

0 Likes
797

hi,Madan

this question is that the 'X' buttton is show up automaticly by system,in my pbo i wrote the statement ' MODULE %_PF_STATUS.' to monitor ,in report program it works but doesnt in FM.

i did follow ur words ,but i couldnet find the 'X' button through ' set pf-status -- ' ,seems this 'X' button

is other kind of system button,i puzzled!

regards

kevin

Read only

0 Likes
797

when i set the size of the pop-up window like this 'call SCREEN 100 STARTING AT 10 50 ENDING AT 100 100 ' the 'X' button come to appear .

Read only

0 Likes
797

Hi Buddy,

Go to the flow logic of your module pool...u will find something like 'MODULE STATUS_0100.'... here

'_XXXX' will be your screen no...

double click on that...that will create a new module...u can do this there...

module STATUS_0100 output.

SET PF-STATUS space.

  • SET TITLEBAR 'xxx'.

endmodule. " STATUS_0100 OUTPUT

If you want more functionalities then give a menu name and give some function code to that 'Cancel' button and then program for that in the PAI... but i think since it is in standard tool bar, you find the standard function code and just give that name... that should help..

regds,

Madan

Read only

0 Likes
797

the problem is solved,that 'X' button namely is the exit system button, so gotta set a function-code to the button.~