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

SET-PFSTATUS in program

Former Member
0 Likes
686

hi everybody

I have created a program, where there is a selection screen and I have created buttons on SE41 and associate it with the program

at the start of the program, Im setting the status in the program

AT SELECTION-SCREEN OUTPUT.

set PF-STATUS 'ZPL'.

The status is properly set but when I am executing the program, its not going to the START-OF-SELECTION event

anybody can help me on this?

Thanks for your help

5 REPLIES 5
Read only

Former Member
0 Likes
647

Hi,

Set the pf status in start-of-selection as well.

AT SELECTION-SCREEN OUTPUT.

set PF-STATUS 'ZPL'.

START-OF-SELECTION .

set PF-STATUS 'ZPL'.

Regards,

Srini.

Read only

0 Likes
647

Hi

Its not working, it doesnt execute

Read only

0 Likes
647

Hi Prema,

What are the selection screen changes you did in SET-PFSTATUS .

Normally once you use the SET-PFSTATUS you have to write the code for all the Buttons like BACK , EXECUTE etc...

Create a Execute Fcode or Button and Write the code under the Fcode created for the Execute button.

Read only

0 Likes
647

hi

i created screen to handle that issue

thanks for your help

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
647

You cannot do it this way.

Please search for fm RS_SET_SELSCREEN_STATUS and check hoe to use it. You can read the documentation.