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

PF-Status not working

Former Member
0 Likes
2,862

Hi,

I have created a save button for posting purposes. I did it using se41 and activated it.

When i issued the following command, i am not able to see my save button in my report program.

AT SELECTION-SCREEN.

SET PF-STATUS 'ZFI_POSTS_STAT_PF'.

call screen 1000.

=====================

I have tried with or without call screen. I am not able to see my save button.

Hi,

I have created a save button for posting purposes. I did it using se41 and activated it.

When i issued the following command, i am not able to see my save button in my report program.

AT SELECTION-SCREEN.

SET PF-STATUS 'ZFI_POSTS_STAT_PF'.

call screen 1000.

=====================

I have tried with or without call screen. I am not able to see my save button.

6 REPLIES 6
Read only

Former Member
0 Likes
1,330

hi

Is the button u have created is at selection screen?

cheers

s.janagar

Read only

Former Member
0 Likes
1,330

Hi Krish,

Declare your Pf status form and perform with Fm ALV.

Then go to t-code SE41.

If not these are the details . Use it.

Program: SAPLSLVC_FULLSCREEN

Status : STANDARD_FULLSCREEN

Copy this to your customises pf status and activate it.

Hope this will help you.

Regards,

Vijay

Read only

Former Member
0 Likes
1,330

try SET PF-STATUS 'ZFI_POSTS_STAT_PF'. on at selection-screen output.

Read only

Former Member
0 Likes
1,330

Hi,

Try this

AT SELECTION-SCREEN OUTPUT.

SET PF-STATUS 'ZFI_POSTS_STAT_PF'.

Regards

Krishna

Read only

Former Member
0 Likes
1,330

Hi

This is not the dialog program and hence you need to do the below:

To create a button on the application tool bar of the selection screen,

There is a structure: SSCRFIELDS, where you can pass the function codes for the buttons from SSCRFIELDS-FUNCTXT01 to SSCRFIELDS-FUNCTXT015

Hence you can create Max 5 buttons:

Regards

Shiva

Read only

Former Member
0 Likes
1,330

Hello Krishh,

PF-STATUS Buttons can be created for three levels.

1.Application Tool bar ,

2.Function keys and 3.Menu bar.

Since you would like to perform custom functions in your report by capturing the action made by user i.e, "SAVE".

Just create the button in APPLICATION Toolbar and assign a name to the button.

Activate the Status and in your custom program its not required to use the at selection screen event to capture the SAVE option.

You can directly use SET PF-STATUS command as below:

SET PF-STATUS 'SAVE'.

write :all required data.

then use the below code.

AT USER-COMMAND.

case sy-ucomm.

WHEN 'SAVE'.

...............

You can put your required code.

endcase.