2006 Sep 25 7:45 AM
2006 Sep 25 7:47 AM
Hi adiseshi,
1. U will have to create your own
gui status.
2. and set it using SET pf-status 'MYPFSTATUS'
in the event
at selection-screen output.
regards,
amit m.
Can you please provide the solution?
2006 Sep 25 7:47 AM
Hi adiseshi,
1. U will have to create your own
gui status.
2. and set it using SET pf-status 'MYPFSTATUS'
in the event
at selection-screen output.
regards,
amit m.
2006 Sep 25 7:48 AM
if this is a report, create a new PF-status using set pf-status or go to se41 and include in the FM.
Regards
Gopi
2006 Sep 25 7:48 AM
put
AT SELECTION-SCREEN.
SET PF-STATUS '<ur status name>'.
Here you can set you status.
And best is first you copy the one that is being used by SAP and then add you options.
Regards
Nishant
2006 Sep 25 7:49 AM
To add buttons to ABAP reports you can define
Application toolbars through
SET PF-STATUS 'XXX'
here you can provide the button with a function code.
And on
AT User-command.
event you can handle that function code.
2006 Sep 25 7:54 AM
hi
good
in this case you have to change the standard sap program,the process that you have to follow is to add a new button by using the starus bar concept of the sap.
you have to convert the sap standard program to the z program , than you can do the changes in that.
tahnks
mrutyun^
2006 Sep 25 9:02 AM
if you dont want to create a new PF status , you can use the following code sample to get additional buttons (up to 5) next to execute button in report programs.
tables: sscrfields .
include <icon> .
selection-screen function key 1 .
selection-screen function key 2 .
parameters: abc(10) .
at selection-screen .
if sscrfields-ucomm eq 'FC01' .
do something when the first button is clicked
endif .
if sscrfields-ucomm eq 'FC02' .
do something when the second button is clicked
endif .
initialization .
concatenate icon_execute_object 'Report' into
sscrfields-functxt_01 .
concatenate icon_execute_object 'Test' into
sscrfields-functxt_02 .
Regards
Raja