SAP Database - The Unofficial SAP Knowledge Base

Free Business and Tech Magazines and eBooks

Create Toolbar in Selection Screen

Print This Post Email This Post Written by rajivsharma.sap on Jul 9th, 2009 | Filed under: ABAP Programs

How to create a toolbar in the selection screen, similar to the one below. Refer the sample code

toolbar-sapdb.info

TABLES: sscrfields.
SELECTION-SCREEN FUNCTION KEY 1.
 
INITIALIZATION.
sscrfields-functxt_01 = 'Tool bar www.sapdb.info'.
 
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
PARAMETERS: vbeln LIKE vbak-vbeln.
SELECTION-SCREEN END OF BLOCK b1.
 
AT SELECTION-SCREEN.
  IF sy-ucomm EQ 'FC01'.
    PERFORM toolbar_test.
  ENDIF.

Like my posts, leave a comment it will motivate me to post more.

If you like this post, you may as well like these too:

  1. Dynamic Selection Screen ABAP Program using Dynamic Selection Screen ABAP Program with consists of the selection screen, which changes based on the user click on a radio button. The entire selection screen is...
  2. ICON in Selection-Screen How to write the ICON in the selection screen. In the selection screen definition add the below code 1 selection-screen comment 40(20) icon1. Now in event of at selection-screen output...
  3. ABAP Tips: Reporting and Selection-screen ABAP Reporting Report Template Calling another report from your own report Calling a dialog screen from a report and passing data Call dialog screen from report – Example 2 Control...
  4. ABAP Programs: Selection screen events 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 REPORT ZSOURCE1603...
  5. ABAP Programs:Displaying the selection screen 1 2 3 4 5 6 7 8 9 10 REPORT ZSOURCE1803. * Work area TABLES CUSTOMERS. * Selection criteria SELECT-OPTIONS S_NAME FOR CUSTOMERS-NAME. * running chap1801 and displaying...



This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

One Response to “Create Toolbar in Selection Screen”

  1. Great!. Simple coding format and good understanding. Thanks

Leave a Reply

  • Subscribe to RSS

  • Free Ebooks