How to insert icons in the selection-screen

how to insert icons in the selection-screen?

Mohan,
Report zex33.
type-pools: icon.
selection-screen begin of line.
selection-screen comment 1(20) text_001.
parameters: p_werks type marc-werks.
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_002.
parameters: p_whouse(10).
selection-screen end of line.
selection-screen begin of line.
selection-screen comment 1(20) text_003.
parameters: p_auart like vbak-auart.
selection-screen end of line.
initialization.
  write ICON_PLANT  as icon to text_001.
concatenate text_001 text-001 into text_001 separated by space.
  write ICON_WAREHOUSE  as icon to text_002.
concatenate text_002 text-002 into text_002 separated by space.
  write ICON_ORDER  as icon to text_003.
concatenate text_003 text-003 into text_003 separated by space.
Pls. reward for all useful answers........

Similar Messages

  • I need to get an icon on the selection screen as well as selection text .

    HI ,
           Can anybody please tell me how to get an icon in the selection-screen along with the selection texts written for select-options or parameters.
    For Example:
                        Select-Options: S_WERKS  For  T001w-werks,
                                                S_AUART   For  TVAKT-AUART,
                                                S_ERDAT   For  LIKP-ERDAT.
    IN THE SELECTION TEXTS: 
                     FOR S_WERKS  i write (WareHouse)
                     FOR S_AUART   i write (OrderType)
                     FOR S_ERDAT  i write  (PlantDate)
              I need to get the icons for this fields as well as selection texts written for these fields.
    I will reward full points to the solution.
    Mohan.

    Hi mohan,
    <b>Run the below code</b>
    Report zex33.
    tables : t001w,
             tvakt,
             likp.
    type-pools: icon.
    selection-screen begin of line.
    selection-screen comment 1(20) text_001.
    select-options: S_WERKS For T001w-werks.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_002.
    select-options :S_AUART For TVAKT-AUART.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_003.
    select-options : S_ERDAT For LIKP-ERDAT.
    selection-screen end of line.
    initialization.
      write ICON_WAREHOUSE  as icon to text_001.
      concatenate text_001 text-001 into text_001 separated by space.
      write ICON_ORDER  as icon to text_002.
      concatenate text_002 text-002 into text_002 separated by space.
      write ICON_PLANT  as icon to text_003.
      concatenate text_003 text-003 into text_003 separated by space.
    *In text-001 -> Warehouse
    *In text-002 -> Order Type
    *In text-003 -> Plant Date

  • How to write text  on the selection screen of a  report

    Hi all,
    I need to write some user defined text on the selection screen of an ALV GRID Report.
    Please suggest me how can i do this
    Thanks
    Ajay.

    SELECTION-SCREEN BEGIN OF LINE .
    SELECTION-SCREEN COMMENT 12(31) text-024.<-----Goto text elements and add text.
    PARAMETERS:P_FILEN LIKE RLGRAP-FILENAME .
    SELECTION-SCREEN END OF LINE

  • How to make changes on the selection screen of a logic database?

    I want to make one of the select-options of logic database PNP no-interval no-extension, what should I do? Is there any links for manipulating LDB? thx~

    Hi,
    This blog on SDN will help you on this.
    [Re: Change selection screen in LDB (KDF logical database - NOT HR);
    Regards
    Abhii....

  • Field in the selection screen as a select option with two default values

    Hi All,
    can anybody tell me how to put field in the selection screen with two defaul values.
    for ex:  selection screen the Account Group KNA1-KTOKD as a select option. The defeault value should be Y001 and Y005.
    please reply ASAP. Its urgent.
    Thanks in advance,
    Madhu

    Hi Madhu,
    Since Select options are nothing but ranges, you can use the following code to add two distinct values to the select options by default.
    s_ktokd-sign = 'I'.
    s_ktokd-option = 'EQ'.
    s_ktokd-low = 'Y001'.
    append s_ktokd.
    s_ktokd-low = 'Y005'.
    append s_ktokd.
    clear s_ktokd.
    However, if you want to mention a range like all the values between these given two values to be considered then u may use,
    select-options : s_ktokd for KNA1-KTOKD default 'Y001' to 'Y005'.
    or
    s_ktokd-sign = 'I'.
    s_ktokd-option = 'BT'.
    s_ktokd-low = 'Y001'.
    s_ktokd-high = 'Y005'.
    append s_ktokd.
    Reward if helpful.

  • How to display the selection screen with icons as well as with text element

    How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..

    Report zex33.
    type-pools: icon.
    selection-screen begin of line.
    selection-screen comment 1(20) text_001.
    parameters: p_werks type marc-werks.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_002.
    parameters: p_whouse(10).
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_003.
    parameters: p_auart like vbak-auart.
    selection-screen end of line.
    initialization.
      write ICON_PLANT  as icon to text_001.
    concatenate text_001 text-001 into text_001 separated by space.
      write ICON_WAREHOUSE  as icon to text_002.
    concatenate text_002 text-002 into text_002 separated by space.
      write ICON_ORDER  as icon to text_003.
    concatenate text_003 text-003 into text_003 separated by space.

  • How to include Navigational attribute in the selection screen

    Hello All,
    Can any body please tell me how to include a navigational attribute in the selection screen in BEX?

    Let´s go step by step.
    In your example, you mentioned the characteristic called 0MAT_PLANT.  Its navegational attributes are allocated in the same dimension the main characteristic belongs.  So 0MRP_CONTRL, as a navegational attr. must be allocated in the same dimension as 0MAT_PLANT.
    1) In query designer in Bex (left pane) find the dimension where 0MAT_PLANT is allocated.  Find the navegational attr. in the same dimension, 0MRP_CONTRL.  Pls verify you are looking to a navegational attribute, activate technical names and the name of the attr must be 0MAT_PLANT__0MRP_CONTRL.
    2) Below the attribut (still left pane) you will find a Variable icon (yellow).  If you see the "+" symbol, it means that at least one variable exists (standar or not).  Open it and check if the variable suits your requeriment to set it in selection screen.  If not, create a new one (let me know if you need help with this task).
    3) Once you have your variable for the navegational attribute, drag and drop it to the design area (row, column, filter).
    4) Verify the order you want this variable to appear from the menu bar: Query properties -> Sequence of Entry Variables.
    Hope this helps.  Leticia
    Edited by: Leticia Laura Locatelli on Oct 1, 2008 10:41 PM

  • How to Remove the Icon from the OWL Screen

    Hi All,
    Can we remove the Icon from the OWL screen for some fields without removing the Hyperlink as in the standard for Opportunity for Account Fields as shown below:
    As in the above OWL screen, i have to remove the highlighted Icon.
    Thanks & Regards,
    Malkit Singh

    Hi Malkit,
    You can check Icon in Thing Type like COD_Account__TT screen.
    Once you are in TT screen just go to "Controller" and select "Thing Type Data" from left side pan.
    But how to remove it I don't have any idea.
    Regards,
    Mithun

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • How do you add a new icon to the home screen?

    How do you add a new icon to the home screen?

    The only new icons you can add to your home screen are webclips, which can be added by using the "+" button in safari on the desired web page.
    You won't be able to add new apps until February when the SDK is fully seeded to developers.

  • How to Add a parameter of currency exchange rate in the selection screen

    Dear Friends,
    How to Add a parameter of currency exchange rate in the selection screen with format (9999.99999). wich field i need to take.
    Thanks,
    Sridhar

    TCURR-UKURS.
    ~Suresh

  • How to display data from internal table in the SELECTION-SCREEN

    Hello Experts,
    My requirement is to display the data's from an internal table in the selection screen. I tried using selection-screen comment. But it is working only for a single record. Can anyone please tell me how to do this?

    Hi Ritika,
    we cant use write statement inside selection-screen.
    see my coding.
    SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE TEXT-456.
      SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1
                                          NO INTERVALS.
        SELECT-OPTIONS SEL1 FOR SY-DATUM.
        PARAMETERS     PAR1(10).
    <b>** I WANT ALL RECORDS FROM AN INTERNAL TABLE HERE ONLY</b>
        SELECTION-SCREEN END OF BLOCK BL1.
      SELECTION-SCREEN PUSHBUTTON 2(10)  but1 USER-COMMAND cli1.
      SELECTION-SCREEN PUSHBUTTON 20(10)  but2 USER-COMMAND cli2.
    SELECTION-SCREEN END OF SCREEN 123.

  • How to hide the selection screen of a Logical datebase?

    Dear All,
    I used the logical database PNP in one of my program by maintain the attribute 'Logical Database' of this program.
    Now I want to hide all the selection screen of this PNP during the ABAP runtime environment.
    Who can tell me how I can realize it?
    Thank you!
    Regards,
    Brian Liu

    Hi,
    If you call the logical database using a function module, the selection
    screen is not displayed.
    To call a logical database from another program, use the function module LDB_PROCESS.
    <b>Example code:</b>
    TABLES SPFLI.
    SELECT-OPTIONS S_CARR FOR SPFLI-CARRID.
    TYPE-POOLS: RSDS, RSFS.
    DATA: CALLBACK TYPE TABLE OF LDBCB,
    CALLBACK_WA LIKE LINE OF CALLBACK.
    DATA: SELTAB TYPE TABLE OF RSPARAMS,
    SELTAB_WA LIKE LINE OF SELTAB.
    DATA: TEXPR TYPE RSDS_TEXPR,
    FSEL TYPE RSFS_FIELDS.
    CALLBACK_WA-LDBNODE = 'SPFLI'.
    CALLBACK_WA-GET = 'X'.
    CALLBACK_WA-GET_LATE = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_SPFLI'.
    APPEND CALLBACK_WA TO CALLBACK.
    CLEAR CALLBACK_WA.
    CALLBACK_WA-LDBNODE = 'SFLIGHT'.
    CALLBACK_WA-GET = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_SFLIGHT'.
    APPEND CALLBACK_WA TO CALLBACK.
    SELTAB_WA-KIND = 'S'.
    SELTAB_WA-SELNAME = 'CARRID'.
    LOOP AT S_CARR.
    MOVE-CORRESPONDING S_CARR TO SELTAB_WA.
    APPEND SELTAB_WA TO SELTAB.
    ENDLOOP.
    CALL FUNCTION 'LDB_PROCESS'
    EXPORTING
    LDBNAME = 'F1S'
    VARIANT = ' '
    EXPRESSIONS = TEXPR
    FIELD_SELECTION = FSEL
    TABLES
    CALLBACK = CALLBACK
    SELECTIONS = SELTAB
    EXCEPTIONS
    LDB_NOT_REENTRANT = 1
    LDB_INCORRECT = 2
    LDB_ALREADY_RUNNING = 3
    LDB_ERROR = 4
    LDB_SELECTIONS_ERROR = 5
    LDB_SELECTIONS_NOT_ACCEPTED = 6
    VARIANT_NOT_EXISTENT = 7
    VARIANT_OBSOLETE = 8
    VARIANT_ERROR = 9
    FREE_SELECTIONS_ERROR = 10
    CALLBACK_NO_EVENT = 11
    CALLBACK_NODE_DUPLICATE = 12
    OTHERS = 13.
    IF SY-SUBRC <> 0.
    WRITE: 'Exception with SY-SUBRC', SY-SUBRC.
    ENDIF.
    FORM CALLBACK_SPFLI USING NAME TYPE LDBN-LDBNODE
    WA TYPE SPFLI
    EVT TYPE C
    CHECK TYPE C.
    CASE EVT.
    WHEN 'G'.
    WRITE: / WA-CARRID, WA-CONNID, WA-CITYFROM, WA-CITYTO.
    ULINE.
    WHEN 'L'.
    ULINE.
    ENDCASE.
    ENDFORM.
    FORM CALLBACK_SFLIGHT USING NAME TYPE LDBN-LDBNODE
    WA TYPE SFLIGHT
    EVT TYPE C
    CHECK TYPE C.
    WRITE: / WA-FLDATE, WA-SEATSOCC, WA-SEATSMAX.
    ENDFORM.
    Regards,
    Sumit.
    Message was edited by: sumit kumar
    Message was edited by: sumit kumar

  • How to Modify the Selection Screen in Report Painter

    Hi All,
    I am working on Report painter and writer,
    can any body helpme how to change the selection screen i.e i want add some more  select options to the exisiting roport .
    how can i  add more select options to the exisiting one
    please let me know the Procedure and provide some relevent documents .
    Thanks and Best regards.
    uma

    Hello...
    In the program ...we can find the following chunk of code..
    selection-screen:begin of block B1 with frame title text-001.
    Parameters : ....
    select-options:.....
    selection-screen:end of block b1.
    if we need to add any more user inputs we can write the code inside the existing
    selection screen....end of block .
    or create a new block ..just the block name should be different...
    if we are using select options...we need to declare the table name using the key word for the field on which we are giving select options ....
    Tables : BSIK.
    Please see the following code:
    Imagine :- we have the current selection screen..
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
    SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR.
    SELECTION-SCREEN END OF BLOCK B1.
    we need to add 2 more fields on the selection screen ..this we can do as the following
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_BUKRS LIKE BSIK-BUKRS DEFAULT SPACE.
    SELECT-OPTIONS: S_LIFNR FOR BSIK-LIFNR,
                    S_HKONT FOR BSIK-HKONT.
    PARAMETER: P_DATE LIKE BSIK-BUDAT OBLIGATORY DEFAULT
               SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B1.
    OR...create a new block...
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS:   S_HKONT FOR BSIK-HKONT.
    PARAMETER: P_DATE LIKE RFPDO-ALLGSTID OBLIGATORY DEFAULT
               SY-DATUM.
    SELECTION-SCREEN END OF BLOCK B2.
    there are many options available in selection screens..like creating check box,radio button etc..
    for more info press F1 help on the Selection screen in the ABAP editor
    Revert back if not clear and reward if helpful
    Regards
    Byju

Maybe you are looking for

  • Problems Re-install​ing Desktop Manager

    New to the board here and have a question maybe someone can shed some light on for me.  I'm running Vista Home Premium on my PC.  I had problems with the BB Desktop Manager software so I decided to uninstall if and do a fresh install.  Somehow, there

  • How to debug routine in process type "Deletion of overlapping requests"

    Hi all, I created a process chain including a process of the type "Deletion of overlaopping requests from InfoCube". In this process I created a routine to decide which requests to delete. Now I would like to debug this routine, but do not know how.

  • 880GMA-e45 Cpus

    First of all, I'ld like to say i did follow the "Will this CPU work on my board?" topic and I have seen what the site says about the 880GMA-e45. It says it supports Phenom II X6 Thuban HDT90ZFBK6DGR 1090T 200 3.20 3M 6M E0 125w. Now my question is do

  • I have firefox on windows xp. I've lost all my tabs!!! No history or bookmarks either. Help

    A few weeks ago I lost all my tabs at the top. I tried looking online for different suggestions. Some said to hit Alt + V, but that didn't work. Can you help? I've lost the parts that say "File, edit, view, history, bookmarks, etc..."

  • Build installer error code -12 while copying distribution

    Hello all you helpful forum-goers! I am having problems building an installer for my product now that I have upgraded to LabVIEW 2010 from 8.5.1.  My project has an executable build, and then 3 installer builds which put a different value in the regi