05-15-2007 9:47 PM
Hello,
I need to do the following:
In a program I have developed I need to add two buttons, wich I already have added, creating a PF-STATUS. What is happening is that I have lost the functionality of the other buttons (back, save variant, cancel, print etc). I know that I can copy a standard pf-status from another development, but I dont know which one to choose.... and use them with out any programming. any ideas??
10nks!!
Gabriel
05-15-2007 10:01 PM
Hi,
I believe it is selection-screen right??
For adding buttons to the selection screen application toolbar..You can use Function key..
Ex..
TABLES: sscrfields.
PARAMETERS: p_matnr TYPE matnr.
SELECTION-SCREEN FUNCTION KEY 1.
INITIALIZATION.
MOVE 'My text' TO sscrfields-functxt_01.
Thanks,
Naren
05-15-2007 9:51 PM
Hi,
Is it an ALV program?If so did you copy the STANDARD status in SE41..
Thanks,
Naren
05-15-2007 9:56 PM
05-15-2007 9:52 PM
what was the pf status of the program, before you attached ur pf status ? (to find that..in the report output display screen, goto system--> status...)/. it can be name slike 'MAIN' or 'PICK' or standard..etc depending on what type of report u are using..
copy this same pf status... and add your buttons..
05-15-2007 10:01 PM
Hi,
I believe it is selection-screen right??
For adding buttons to the selection screen application toolbar..You can use Function key..
Ex..
TABLES: sscrfields.
PARAMETERS: p_matnr TYPE matnr.
SELECTION-SCREEN FUNCTION KEY 1.
INITIALIZATION.
MOVE 'My text' TO sscrfields-functxt_01.
Thanks,
Naren
05-15-2007 10:07 PM
Hello,
Thaks for you answer, it is very helpful, but how do I take the event after the user click on the button?
Gabriel
05-15-2007 10:17 PM
GOTO SE41 Transaction,enter ur program and status also.
click on copy Status.Now you will get one pop up window.
From program : Use SAP Standard : SAPLSLVC_FULLSCREEN
Status : STANDARD_FULLSCREEN
To : your program
status : ur status
Now you will get everything and add ur push buttons now.
Reward Points if it is useful
Thanks
Seshu
05-15-2007 10:40 PM
Hi,
you can handle it in the AT SELECTION-SCREEN event..
Ex..
AT SELECTION-SCREEN.
IF sscrfields-ucomm = 'FC01'.
** Do you coding here..
ENDIF.
Thanks,
Naren