Drop down in report for selection texts on selection screen

Hi,
I have a selection screen for a custom report on which there is a selection-option for entering text-symbol value from selection texts of the same report.
Could anybody please let me know how to put a drop-down so that users can see selection texts before entering into this free form field.
Otherwise, could anybody let me know which table stores text symbols of the report?
Regards
Kasi

Hi,
Here is the sample code for dropdown list box in the selection-screen,
SELECT-OPTIONS: LB_MACRO_KOART    MYLIST(1)  5  COMMENT.
AT SELECTION-SCREEN OUTPUT.
  PERFORM ADD_VALUES_TO_KOART.
  COMMENT = 'Account type'.
END-OF-SELECTION.
*&      Form  add_values_to_koart
      text
-->  p1        text
<--  p2        text
FORM ADD_VALUES_TO_KOART .
  TYPE-POOLS: VRM.
  DATA: MY_LIST  TYPE VRM_VALUES,
        VALUE LIKE LINE OF MY_LIST.
       i_tab TYPE TABLE OF bseg WITH HEADER LINE.
  DATA : BEGIN OF I_TAB OCCURS 0 ,
         KOART TYPE C,
         END OF I_TAB.
  CLEAR I_TAB.
  I_TAB-KOART = 'A'.
  APPEND I_TAB.
  CLEAR I_TAB.
  I_TAB-KOART = 'D'.
  APPEND I_TAB.
  CLEAR I_TAB.
  I_TAB-KOART = 'K'.
  APPEND I_TAB.
  CLEAR I_TAB.
  I_TAB-KOART = 'M'.
  APPEND I_TAB.
  CLEAR I_TAB.
  I_TAB-KOART = 'S'.
  APPEND I_TAB.
  CLEAR I_TAB.
Regards,
Azaz Ali.

Similar Messages

  • This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left.

    This is my first use of this program. How do I remove a page break? How do line up my drop down box along side the text box on the left of it? The drop down is for a multiple choice answer for the question to the left of each drop down.

    See McAfee support to find out how to disable that McAfee feature - that isn't part of the normal Firefox installation.

  • Suppress entries in the drop down list box for fields Priority and Category

    Hello,
    For the transaction type 'Service Process' , I want to suppress certain values in the drop down list box for the fields Priority and Category based on certain conditions.I couldn't find a suitable badi for this scenario.
    Is there a solution so that I can control the values displayed in the drop down list box ?
    Thanks,
    Sriram
    Edited by: Sriram Sundar Rajan on Mar 17, 2008 12:15 PM

    Hello,
    For the transaction type 'Service Process' , I want to suppress certain values in the drop down list box for the fields Priority and Category based on certain conditions.I couldn't find a suitable badi for this scenario.
    Is there a solution so that I can control the values displayed in the drop down list box ?
    Thanks,
    Sriram
    Edited by: Sriram Sundar Rajan on Mar 17, 2008 12:15 PM

  • Lenovo T500 battery stays on %100 for awhile then drops down to %99 for no reason

    Hi,
    The Lenovo T500 battery stays on %100 for awhile then drops down to %99 for no reason. What's up with this and how do I fix this issue? My laptop is really confusing me. The green battery says it's totally charged %100 and the little AC adapter icon in the system tray says "%99 available (plugged in, not charging.")
    Thanks,
    Liz 

    Hello Liz,
    that is considered to be normal.
    It´s bettter for a Li-ion battery not to be charged fully, so the powermanager don´t load the whole time.
    That´s why the percentage could drop. But thats not a problem thats a feature.
    if your battery handling is set to automatic in powermanager then, eveythings is ok.
    Do you use your machine with AC plugged in the whole time?
    Follow @LenovoForums on Twitter! Try the forum search, before first posting: Forum Search Option
    Please insert your type, model (not S/N) number and used OS in your posts.
    I´m a volunteer here using New X1 Carbon, ThinkPad Yoga, Yoga 11s, Yoga 13, T430s,T510, X220t, IdeaCentre B540.
    TIP: If your computer runs satisfactorily now, it may not be necessary to update the system.
     English Community       Deutsche Community       Comunidad en Español

  • Rename selection text from standard screen

    Hi expert,
    I want to change selection text in standard screen.
    (i.e "Business Area" in AS02 become "Unit Area")
    The only I know if that is a custom program, I can rename the selection text by GoTo--> Text Element --> Selection Text Menu.
    But when I open Selection Text from Standard Program, there is a warning "Untranslated texts from master language DE will also be displayed"
    and when I continue, the list of selection text is BLANK.
    If I change it from Data Element, It will impact the Standard Screen that use that Data Element. I only want to change for AS02.
    How can I rename it?
    Thanks,
    Andreyus

    check this [click here|http://help.sap.com/saphelp_nw70/helpdata/en/e3/960a0beb0711d194d100a0c94260a5/content.htm]
    [click here 2 |MCVE (QM LIMS) - Rename of Selection Criteria options;
    or
    from SO10 --
                         utilities --
                                          copy from client.
    give source and target name of text.
    here in target name you suppose to give some z name there and finally execute.
    [ref|MCVE (QM LIMS) - Rename of Selection Criteria options;
    Edited by: koolspy on Jul 13, 2011 3:55 PM
    Edited by: koolspy on Jul 13, 2011 3:56 PM

  • Allow Custom Text Entry for Drop down not working For Dynamic form

    Dear All,
    In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
    If any body can please help me to solve this problem.
    Thanks a lot in advance
    Regards
    Rakesh

    Dear Jimmypham,
    Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
    Can you please help me to find out the solution for this problem.
    Regards
    Rakesh

  • Drop down in ALV for Webdynpro ABAP

    Hi Experts,
    I was trying to implement one Web dynpro ABAP application that will show one ALV and ALV will content one dropdown so that user can select data from the drop down. Addtion to that, my dropdown should have data based on another column of ALV.
    I have followed one article which is available in Net.
    At the end of development, ALV is displayed with dropdown. Also dropdown has data binded. However, no data is visible in dropdown.
    I have created one context node having four dictionary element and one elemt for dispplaying the dropdown.
    In the DoInit method of view, i have written below code:
    Data Declaration
      DATA:
            lo_node_cskt  TYPE REF TO if_wd_context_node,
            lo_el_cskt    TYPE REF TO if_wd_context_element,
            ls_cskt       TYPE wd_this->element_cskt,
            lt_cskt       TYPE wd_this->elements_cskt,
            lo_cmp_usage  TYPE REF TO if_wd_component_usage,
            lv_value      TYPE REF TO cl_salv_wd_config_table,
            lr_column     TYPE REF TO cl_salv_wd_column,
            lr_drdn       TYPE REF TO cl_salv_wd_uie_dropdown_by_idx,
            ls_value_set  TYPE wdr_context_attr_value,
            lv_tabix      TYPE sy-tabix,
            lv_count(2)  TYPE c,
            lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
    Navigate from <CONTEXT> to <CSKT> via lead selection:
      lo_node_cskt = wd_context->get_child_node( name = wd_this->wdctx_cskt ).
    get element via lead selection
      lo_el_cskt = lo_node_cskt->get_element( ).
    Get Data:
      SELECT kokrs kostl datbi ktext FROM cskt  INTO CORRESPONDING FIELDS OF TABLE lt_cskt.
      lv_count = 0.
    Populate value set
      LOOP AT lt_cskt INTO ls_cskt.
        lv_tabix = sy-tabix.
        CLEAR ls_cskt-ktext.
        DO 3 TIMES.
          lv_count = lv_count + 1.
          CONCATENATE 'TEST' lv_count INTO ls_value_set-text.
          CONCATENATE 'TEST' lv_count INTO ls_value_set-value.
          if lv_tabix = 2.
           if sy-index = 2.
             EXIT.
           endif.
          endif.
          APPEND ls_value_set TO ls_cskt-valueset.
        ENDDO.
        MODIFY lt_cskt FROM ls_cskt INDEX lv_tabix TRANSPORTING ktext valueset.
      ENDLOOP.
    Bind data
      lo_node_cskt->bind_table( lt_cskt ).
    Instantiate ALV
      lo_cmp_usage = wd_this->wd_cpuse_alv( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
      lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
    Bind Data to Interface Controller Node
       lo_interfacecontroller->set_data(
            r_node_data = lo_node_cskt
    Get ALV reference table
       lv_value = lo_interfacecontroller->get_model( ).
    Make KTEXT column as drop down
       CALL METHOD lv_value->if_salv_wd_column_settings~get_column
       EXPORTING
         id = 'KTEXT'
       RECEIVING
         value = lr_column.
    Create Object for Drop down
      CREATE OBJECT lr_drdn
       EXPORTING
         selected_key_fieldname = 'KTEXT'.
      CALL METHOD lr_drdn->set_valueset_fieldname
      EXPORTING
        value = 'VALUESET'.
      CALL METHOD lr_drdn->set_type
      EXPORTING
        value = IF_SALV_WD_C_UIE_DRDN_BY_INDEX=>TYPE_KEY_CONVERT_TO_VALUE.
      CALL METHOD lr_column->set_cell_editor
      EXPORTING
        value = lr_drdn.
      CALL METHOD  lv_value->if_salv_wd_table_settings~set_read_only
      EXPORTING
        value = abap_false.
    I am still finding the answer why data in drop down is not visible. However, I can select by clicking dropdown and blank elements (since data is not visible) can be selected.

    Hey
    i am using  the same code except i have just modified little bit the select statement to restrict the number of entries.
    and also besides writing the code in wddoinit i have added the compenent usage of alv component and added the node
    having the structure ckst and after that deleting the dictionary reference to add the attribute valueset in both places
    component controller and view controller and mapped them and mapped the data node of interface controller of comp
    usage to this node in comp contrlr.
    and adding the view container and embeding table view of alv comp there.
    that's it
    and here is the code which is almost same as yours except small change in select statement.
    method WDDOINIT .
      DATA:
    lo_node_cskt TYPE REF TO if_wd_context_node,
    lo_el_cskt TYPE REF TO if_wd_context_element,
    ls_cskt TYPE wd_this->element_cskt,
    lt_cskt TYPE wd_this->elements_cskt,
    lo_cmp_usage TYPE REF TO if_wd_component_usage,
    lv_value TYPE REF TO cl_salv_wd_config_table,
    lr_column TYPE REF TO cl_salv_wd_column,
    lr_drdn TYPE REF TO cl_salv_wd_uie_dropdown_by_idx,
    ls_value_set TYPE wdr_context_attr_value,
    lv_tabix TYPE sy-tabix,
    lv_count(2) TYPE c,
    lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
    * Navigate from <CONTEXT> to <CSKT> via lead selection:
    lo_node_cskt = wd_context->get_child_node( name = wd_this->wdctx_cskt ).
    * get element via lead selection
    lo_el_cskt = lo_node_cskt->get_element( ).
    * Get Data:
    SELECT kokrs kostl datbi ktext FROM cskt INTO CORRESPONDING FIELDS OF TABLE lt_cskt up to 10 rows .
    lv_count = 0.
    * Populate value set
    LOOP AT lt_cskt INTO ls_cskt.
    lv_tabix = sy-tabix.
    CLEAR ls_cskt-ktext.
    DO 3 TIMES.
    lv_count = lv_count + 1.
    CONCATENATE 'TEST' lv_count INTO ls_value_set-text.
    CONCATENATE 'TEST' lv_count INTO ls_value_set-value.
    if lv_tabix = 2.
    if sy-index = 2.
    EXIT.
    endif.
    endif.
    APPEND ls_value_set TO ls_cskt-valueset.
    ENDDO.
    MODIFY lt_cskt FROM ls_cskt INDEX lv_tabix TRANSPORTING ktext valueset.
    ENDLOOP.
    * Bind data
    lo_node_cskt->bind_table( lt_cskt ).
    * Instantiate ALV
    lo_cmp_usage = wd_this->wd_cpuse_alv( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
    lo_cmp_usage->create_component( ).
    ENDIF.
    lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
    * Bind Data to Interface Controller Node
    lo_interfacecontroller->set_data(
    r_node_data = lo_node_cskt
    * Get ALV reference table
    lv_value = lo_interfacecontroller->get_model( ).
    * Make KTEXT column as drop down
    CALL METHOD lv_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'KTEXT'
    RECEIVING
    value = lr_column.
    * Create Object for Drop down
    CREATE OBJECT lr_drdn
    EXPORTING
    selected_key_fieldname = 'KTEXT'.
    CALL METHOD lr_drdn->set_valueset_fieldname
    EXPORTING
    value = 'VALUESET'.
    CALL METHOD lr_drdn->set_type
    EXPORTING
    value = IF_SALV_WD_C_UIE_DRDN_BY_INDEX=>TYPE_KEY_CONVERT_TO_VALUE.
    CALL METHOD lr_column->set_cell_editor
    EXPORTING
    value = lr_drdn.
    CALL METHOD lv_value->if_salv_wd_table_settings~set_read_only
    EXPORTING
    value = abap_false.
    endmethod.
    thanks
    sarbjeet

  • Maintain a drop down as sales order item text

    Hi,
    I need to add another text type to sales order item text,. However instead of entering text isnt it possible to have a drop down where users can select a text?
    Any ideas?
    Thanks
    Keshi

    It is not possible to select a text using drop down menu. You only can add a text type and populate the text during transaction.
    Alternatively you can do the following.
    Create some text elements and maintain texts for them. say 5 texts.
    Now create a text type in normal text determination.
    Using some user exits, you can automatically decide based on your requirement the text element from where the text has to be populated for this text type.
    This should work fine for you.
    Reward if this helps you

  • Drop down on report

    Hi,
    Im trying to create a report with a table and chart views.
    Can i have the report as below:
    1.Need to have a drop down for only View ie) Table,Chart
    2.Need to have another drop down with values ie) Revenue and margin
    If i click on Table and then revenue it should show revenue table values
    If i click on Chart and then revenue it should show chart with revenue values
    Same with margin.
    Can this be done.
    Regards,
    KK

    Hi,
    1) Create two report (chart & table based) then each view add one dummy column and make this to be prompted as (variable prompt)
    2) Create Dashboard prompt --> create two variable prompt ( one for report selection and another one for measure selection (here u have to add measure column as value like Revenue,Margin...N etc)
    then test it
    For report as column selector via variable prompt option sample screen short
    http://atlantabi.blogspot.com/2012/01/obiee-11g-using-dashboard-prompt-as.html
    For report as prompt selection via variable prompt option sample screen short
    http://orabi1001.blogspot.com/2012/05/obiee-report-prompt-link-obiee-11g.html
    Thanks
    Deva

  • How can i redirect 5 choice options from a drop down list into 5 separate text fields?

    I have a number of drop down lists which push one of 5 choices to a text field on another page.
    I want to be able to push each choice from one drop down field to a separate field, so that it is not possible to duplicate the drop down choice.
    The resulting page is going to be locked.
    What script do I need to use to send each of the five choices specifically to five separate text fields?
    Thanks for the insight.

    Hi Paul,
    I've had a look at the sample script you posted. I'm not sure how to make it work with the form I'm creating. (I sent it to you earlier.) Would you mind setting one of the fields up on my form so that I can get an idea of how to then push the choices set up on the "visible on screen only" to the textfields which are locked on the visible page? Do i lock the fields in the same way?
    Will I need to create a new script for each of the arrays I'll be creating? for example, myScript1, myScript2, my Script3....
    Why do i need a reset button?
    Nellie

  • Hebrew fonts from drop-down box not displaying in text box.

    I am using InDesign CS 5.5 on a Mac 10.8.4.
    When in ID, the fonts I am seeing on the Font dropdown menu when I try to use in a text box are not displaying correctly. They only display as boxes. The fonts are in the Hebrew language. They are properly installed in the FontBook.
    Please help!! Thank you.

    Reema,
    I followed most of your steps. I have a question reg. step 3 ie populating data in node 1.
    Here is my code:
    method WDDOINIT .
    types: begin of zs,
    zktokd type kna1-ktokd,
    end of zs.
    data: handle1 type ref to if_wd_context_node,
    begin of zstruct,
    zktokd type kna1-ktokd,
    end of zstruct,
    zitab type table of zs.
    handle1 = wd_context->get_child_node( name = 'NODE1' ).
    *select ktokd into corresponding fields of zstruct from kna1.
    *append zstruct to zitab.
    *endselect.
    zstruct-zktokd = 'Sold-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Goods recipient'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Bill-to party'.
    append zstruct to zitab.
    zstruct-zktokd = 'Prospective Customer'.
    append zstruct to zitab.
    zstruct-zktokd = 'Competitor'.
    append zstruct to zitab.
    zstruct-zktokd = 'Sales partners'.
    append zstruct to zitab.
    zstruct-zktokd = 'Hierarchy Node'.
    append zstruct to zitab.
    zstruct-zktokd = 'Named List of Accounts'.
    append zstruct to zitab.
    zstruct-zktokd = 'Distribution center'.
    append zstruct to zitab.
    zstruct-zktokd = 'Payer'.
    append zstruct to zitab.
    handle1->bind_table( new_items = zitab ).
    endmethod.
    Please let me know if this is the best way to populate the node and then bind the table values from the node to the drop down box.
    Thanks and Regards.

  • Report for Item texts in PO

    Hi Gurus,
    Could you please tell  which report (transaction) gives the item text details with respect to PO ??
    regards
    Subbu

    I dont think there is any standard report for the same.  You can however go for an ABAP  development  :
    After entering the item text , save the PO , then go to the PO in display mode and double click on that Text. A new screen will open up for PO text. There in Header Menu select : Goto-> Header . There you will find the text ID and the Text Object which you can pass to tables STXH and STXL and get the texts.
    Raviraj

  • How do I get a drop down menu to auto default to option selected a value other than the default written in the javascript?

    I use web based software where I have to select from a drop down menu a particular option. However, I only ever use 1 option. Sometimes as much as 100 times a day. Is there anyway to get Firefox to auto select the same option every time? I don't have access to the source code so I cant change <option selected="selected" value="">.

    A possibility would be a Greasemonkey script to do this automatically or a JavaScript bookmarklet to do it manually.
    You would need to remove the selected="selected" from the currently selected option and set that attribute for the wanted option.
    You can test the bookmarklet here:
    *https://developer.mozilla.org/en/HTML/Element/select
    <pre><nowiki>javascript:(function(){var d=document,s=d.getElementsByTagName('SELECT')[0],o=s.getElementsByTagName('OPTION'),S='selected',v='value1',i;for(i=0;O=o[i];i++){if(O.value==v){O.setAttribute(S,S);O.selected=true}else{O.removeAttribute(S);O.selected=false;}}})();</nowiki></pre>
    If there are more 'selects' then you need to adjust the element number [0] and you also need to adjust the value of the wanted option.

  • Create a drop down list that populates based on the selection form another drop down list.

    I need to set up a drop down list that is popualated (i.e. displays a certain list of selctions in the drop down list) based on the choise the form user selects in an adjacent List
    For example
    There are two drop down list field sitting side by side in the form
    1. Select State          2. Select Course
    What I want to do is have a list of states in the first drop down list (1.Select State) and depending on which state the form user selects , the second drop down list (2.Select Course) will populate with a selction of courses available in that selected state only (i.e. it will on;y show course available in QLD if QLD is selcted).
    Is this hard to do?

    Hi,
    I would recommend some posts from Stefan Cameron's blog:
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    http://forms.stefcameron.com/2006/09/29/selecting-specific-database-records/
    http://forms.stefcameron.com/2006/12/18/databases-inserting-updating-and-deleting-records/
    http://forms.stefcameron.com/2006/12/07/better-form-design-with-xfa-25/
    Hope that helps,
    Niall

  • Problem with Signature tab drop down in Outlook for Mac 2011

    I am setting up Outlook 2011 on my mac and have run across a problem with the signatures that I have been unable to resolve.
    I have set up 2 signatures for my two different pop accounts and thought that if I defaulted them to their appropriate account they would automatically be seen in email when I had chosen the corresponding email account. I then discovered that it was not
    possible to do this in Outlook 2011 for Mac.
    So I selected NONE as the defaults for my two signatures, and thought I would be able to manually add the appropriate signature to each email as I compose or reply.  BUT NO!!!! THE PROBLEM LIES BELOW:
    The 2 signatures that I set up are visible in the drop down menu from the signature tab in an email, however they are greyed out and cannot be selected.  I have attempted selecting one of these signatures as the default, and whichever one
    I select dutifully appears when I compose a new email, but when I click on the drop down to change the signature, both are still greyed out.
    So effectively, I only have the option of one signature or none, despite being able to set up multiple signatures in my profile.
    Does anyone know why this is occurring and what the solution is?
    Thanking you in advance.

    Hi,
    Please remove the Signature and re-add it back to check whether the issue persists. We can follow the articles below to create signature in Outlook 2011 for Mac:
    How to create signature or customize it (add picture) in Outlook for Mac 2011
    http://support2.microsoft.com/kb/2455171/en-us
    Add a signature automatically to every message
    http://office.microsoft.com/en-001/mac-outlook-help/add-a-signature-automatically-to-every-message-HA102928243.aspx
    If the new created Signature is still greyed out in your Outlook, please restart the Outlook client in safe mode to confirm if the issue is caused by any third-party add-ins.
    If the issue persists in Outlook safe mode, I suggest you ask a question in Outlook for Mac forum for further troubleshooting:
    http://answers.microsoft.com/en-us/mac/forum/macoutlook?tab=Threads
    Regards,
    Winnie Liang
    TechNet Community Support

Maybe you are looking for

  • FTP Adapter only picking up one file

    I have a FTP Adapter configured to pick files (hoping to get multiple files).  The file name is set to *, which should mean any files in the directory will get processed.  The data connection is Passive.  No connection security.  Connect Mode is per

  • GROUP BY doubt

    Hi All, I am aware that what ever column we select we will have to enter it in group by clause if we perform aggregate function in select statement. in my below query, i am trying to give group by column position like (group by 1,2,3). but its not wo

  • Tx2013 problem!!!pls help!!

    my laptop will shut down randomly after it enters windows..i don't know about the heat beacause i sent it straight to hp for repair but they're  asking like $500 for a motherboard and battery replacement. it won't power on with just the battery so i

  • Tracking pad issue with Os

    Sometimes the track pad arrow is not responding correctly.  The arrow will be responsive, the screen will blink and the tracking pad becomes very erratic.

  • Card in wrong slot

    Anyone know how to remove an SD card accidentally inserted into the dvd slot?