2009 Sep 14 2:19 PM
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.
2009 Sep 14 2:21 PM
hi
Is the button u have created is at selection screen?
cheers
s.janagar
2009 Sep 14 2:25 PM
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
2009 Sep 14 2:25 PM
try SET PF-STATUS 'ZFI_POSTS_STAT_PF'. on at selection-screen output.
2009 Sep 14 2:27 PM
Hi,
Try this
AT SELECTION-SCREEN OUTPUT.
SET PF-STATUS 'ZFI_POSTS_STAT_PF'.
Regards
Krishna
2009 Sep 14 2:29 PM
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
2009 Sep 14 3:08 PM
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.