Application Development 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: 

Application tool bar at selection screen

Former Member
0 Kudos
210

HI.

For application tool bar iam using following code.

SELECTION-SCREEN: FUNCTION KEY 1,

FUNCTION KEY 2.

sscrfields-functxt_01 = 'Report'.

sscrfields-functxt_02 = 'Clear'.

But iam getting 3 application tool bar 1.Execute 2.Report 3.Clear.

I want only Report and Clear buttons,how can I remove default execute button from application tool bar.

Pls advice me .

Reward all helpful answers,

Regards.

Anil.

5 REPLIES 5

Former Member
0 Kudos
163

hi,

AT SELECTION_SCREEN OUTPUT.

SET PF-STATUS 'SPACE' EXCLUDING 'EXECUTE'.

We can do the above way but handle the other buttons as per your requirement

Thanks & Regards,

Chandralekha.

vinod_vemuru2
Active Contributor
0 Kudos
163

Hi,

Define ur own PF status in SE41 and set it in ur program in the event AT SELECTION-SCREEN OUTPUT.

AT SELECTION-SCREEN OUTPUT.

SET PF-STATUS 'VINU'.

U have to handle the user actions in ur program.

Thanks,

Vinod.

Pawan_Kesari
Active Contributor
163

REPORT ZREPORT.
 
DATA:
  gt_exclude TYPE TABLE OF rsexfcode,
  gs_exclude TYPE          rsexfcode.
 
PARAMETERS:
  pa_test TYPE c.
  
INITIALIZATION.
  gs_exclude-fcode  = 'ONLI'.
  APPEND gs_exclude TO gt_exclude.
  
AT SELECTION-SCREEN OUTPUT.
  
  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
      p_status  = '%_00'
      p_program = 'RSSYSTDB'
    TABLES
      p_exclude = gt_exclude.
 

Former Member
0 Kudos
163

HI,

I dont see why you want to remove the exec button. If you have the FC01 and FC02 keys you would have to write all your code in At Selection-Screen Event the control would never go into start-of-selection. the only way you can go to the event start-of-selection.

santhosh

Edited by: Kaluvala Santhosh on Jul 25, 2008 4:41 PM

Former Member
0 Kudos
163

hiii

please refer to following link.i hope it will solve your problem

regards

twinkal