Dropdown Button implematataion

Hey folks,
              I have been implementing Drop functionality in application. I bound node with "SHSVALSTR2" . While running below mentioned code i get  error "ls_text_design"  is not internal table so <b>Component "Key</b>" does not exists.How to solve this one.
method SUPPLY_TEXT_PROVIDE .
data declaration
  data  ls_text_design  type IF_V_DEFAULT=>Element_Text_Designs .
  data lt_text_design   type IF_V_DEFAULT=>Element_Text_Designs .
@TODO compute values
<b>ls_text_design-key</b> = cl_wd_text_view=>e_design-emphasized.
ls_text_design-value ='Emphasied'.
append ls_text_design to lt_text_design.
ls_text_design-key = cl_wd_text_view=>e_design-header1.
ls_text_design-value ='Header'.
append ls_text_design to lt_text_design.
bind all the elements
  Node->Bind_Table( New_Items =  lt_text_design ).
endmethod.

Hi Nirad,
if you are trying to build a key value list for your dropdown node then use the table type WDY_KEY_VALUE_LIST and structure WDY_KEY_VALUE to do so. This is applicable if you are implementing a DROP DOWN BY KEY ui-element. You need to get a reference to the node and then its node_info and finally call the method set_attribute_value_set of the interface if_context_node_info.
eg code:
method VS_TEXT_PROVIDE .
data declaration
data ls_text_design type WDY_KEY_VALUE .
data lt_text_design typeWDY_KEY_VALUE_LIST .
@TODO compute values
ls_text_design-SHSVALSTR2 = cl_wd_text_view=>e_design-emphasized.
append ls_text_design to lt_text_design.
ls_text_design-SHSVALSTR2 = cl_wd_text_view=>e_design-header1.
append ls_text_design to lt_text_design.
data: node type ref to if_wd_context_node,
        node_info type ref to if_wd_context_node_info.
node = wd_context->get_child_node ( '' ).
node_info = node->get_node_info( ).
Node_info->set_attribute_value_set( NAME = 'SHSVALSTR2'  VALUE_SET = lt_text_design ).
endmethod.
If you are using DROP DOWN BY INDEX ui element then what you have done below is correct however with some changes as follows:
method VS_TEXT_PROVIDE .
data declaration
data ls_text_design type IF_V_DEFAULT=>Element_Text_Designs .
data lt_text_design type table of IF_V_DEFAULT=>Element_Text_Designs .
@TODO compute values
ls_text_design-SHSVALSTR2 = cl_wd_text_view=>e_design-emphasized.
append ls_text_design to lt_text_design.
ls_text_design-SHSVALSTR2 = cl_wd_text_view=>e_design-header1.
append ls_text_design to lt_text_design.
data: node type ref to if_wd_context_node,
node = wd_context->get_child_node ( '' ).
bind all the elements
Node->Bind_Table( New_Items = lt_text_design ).
endmethod.
call these methods within wddonint of your view.
Regards,
Shweta

Similar Messages

  • Dropdown buttons not working in Portal (UWL, ESS & MSS)

    Hi,
    I am having this problem in the portal. When a user clicks on any dropdown button in Webdynpro applications such as UWL, ESS & MSS in the portal, an error message 'Error: Access is Denied' appears in the left bottom corner of Internet Explorer 6.0, with a yellow triangle sign. The dropdown buttons then appears disabled and nothing happens when they are selected. I will appreciate if you can provide suggestions as to why this is happening and how to solve it.
    Thanks
    John

    Hi John
    Please ensure you have the latest patch for your JTECHS and JTECHF SP level
    If this does not resolve the issue please ensure you have the correct Netweaver stack (including JTECHS and JTECHF) for you ESS/MSS SP levels - see the following wiki for help identifying which Netweaver SP levels are recommended for each ESS/MSS SP level
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/marcio+leoni
    --->HOW TO GET RID OF SP STACK MISMATCH ISSUES
    If the issue continues please ensure you browser client and version is suitable for this version of ESS/MSS
    via the PAM www.service.sap.com/swdc
    Best wishes
    Stuart

  • Where is the bookmark dropdown button?

    I had to download an older Firefox to get my bookmarks button back.
    In two steps i have watched Firefox destroying one of the most important tools for MINE browsing habit.
    First the bookmark button was combined with bookmark menu and bookmark side panel, so when i pressed the bookmark button sometimes is opened panel, sometimes the menu and sometimes the RIGHT drop down menu. In the latest iteration of nightly the button looks strange and only opens a library popup... I have tried disabling all plugins. I have tried installing classic toolbar. I have tried looking this up on google... but nothing has worked for me yet.
    I just want my normal bookmarks drop down button back so i can surf my sites with one hand on my mouse... without having to tap on the keyboard.
    I would have loved to post some images for everyone's convenience but don't know how.

    Just make sure to use each Firefox version with its own profile.
    See:
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • How to create splitt dropdown button vsct?

    Hi everyone,
    I'm stuck in this problem. I want design a vsct toolbar (MPF project). I want add a button similar Start button (Visual Studio).
    Who know it, please help me resolve this problem. Thank you very much.

    That is called a MenuController in VS parlance.  See also here:
    http://msdn.microsoft.com/en-US/library/bb165748(v=vs.110).aspx
    Ryan

  • Recruiter dropdown in Requisition Request (E-Recruiting)

    Hi Experts,
    I'm facing trouble when click dropdown list for recruiter in PDF form for create requisition in e-recruiting module. In Development system the recruiter field is filled automatically and the dropdown is working. But how may the error happen in The Tesing client (QA) after all are transported, only the recruiter field is not working properly, it's not filled automatically and the dropdown button is not work. The other input fields are okay.
    I try to debug and found that EREQ_RECRUITER_PERNR varible is has some value of recruiters, so the data collection was fine.
    Anybody can help or at lease sharing idea and experience.
    Thanks alot before.
    ADrikavide

    Hi,
    I'm facing the same problem and cant populate recruiter downdown field.
    Did any one solved this problem?
    Thanks a lot.
    Best Regards,
    Shiva

  • Empty dropdown in the inputComboboxListOfValues

    Hi! There's some strange problem I'm stuck with. I have several inputComboboxLOVs on my page. They all work fine except one. When I press the dropdown button it shows only the "Search..." link and no items. When I click "search" I see all the expected data in the opened dialog. And after that (empty dropdown -> click on the "Search" -> select some item) this LOV begins to work just fine. Where can be the problem? I'v got another LOV (and it is quite similar: they both update 2 fields, their VOs both have bind variables in their criterias) next to it and it works fine from the beginning.

    Hi Venku,
    Take any Key Figure->Properties
    Calculate Single Value As->Suppress Result
    Calculate Result As->Suppress Result

  • Revision Field in WO - dropdown list of Revisions no longer appears in 6.0

    In 4.6C (in the Work Order or Notification), if you clicked on the dropdown button, a whole list of Active Revisions would appear.  Now in 6.0, there are several search methods instead.  Users would like to revert back to simpler screen.  Does anyone know who to accomplish this?

    The system is also 6.0 Enhancement Pack 4.  When you click on the dropdown (and depending on the last search method used) - one of these three will appear:
    1.) Revision by Technical Object
    2.) Revision by Work Center
    3.) Revision Selection via Selection
    No, no problems are occurring.  It is more of an annoyance/waste of time according to them.

  • I would like the bookmark (drop version) button to not have text beside it saying "Bookmarks"

    I love the new FireFox 4. Looks great. Feels great. Top of the game. Best browser ever.
    There are two versions of the bookmark(s) button. The 1st is just a folder/star icon that when pressed, opens up a panel with your bookmarks. I hate that one. Never use it.
    The 2nd is similarly a folder/star icon, but functions as a dropdown menu. That version, I love. Problem is, it (the bookmark button itself) ALWAYS has text beside it saying "Bookmarks" -- hogging up my toolbar space. Is there any way to remove said text?
    There used to be an add-on that replaced or added a new dropdown bookmark button to the customize menu, but it's not compatible with the latest FF.
    I can't help but think there's an easier way than creating/installing a WHOLE addon just to remove some (1 word) of text.
    Thanks in advance!
    Cheers.
    EDIT: I would also like to add, that yes, I'm not a noob, and have the "Show: Icons (only)" option enabled within the Customize Toolbar menu -- it STILL shows text for only this (bookmarks dropdown) button.

    Add code to [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #bookmarks-menu-button .toolbarbutton-text {display:none!important}
    </nowiki></pre>
    See:
    * http://kb.mozillazine.org/Editing_configuration
    * ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html

  • PA40 & Personnel Area Dropdown ABAP

    Hi,
    I'm trying to find out how personnel area dropdown list is built ( the data extracted when the dropdown button is clicked on the PA40 screen). I could see that the PA40 transaction calls HELP_START function module. But not sure how the data is read from table T500p.
    Is there any ABAPer or technical expert who can assist me with the program/function name and the section of the code that fills the internal table to display the dropdown values.
    Thank you.

    Hi,
    Getting personnel area dropdown list values in PA40
    For PA40 the structure is RP50G - Input Fields for HR Master Data Transactions
    In this above structure for the field WERKS - Personnel Area, the value list is provided through search help H_T500P from the table T500P.
    The drop down value list can be restricted through enhancing the infotype, that to not for all infotypes. For example we can't enhance the 0000 - Action infotype (SAP won't allow to enhance the infotype).
    So for SAP allowed infotypes we can enhance and restrict the values coming from T500P or else we should delete the entries from master data.
    Regards,
    Magesh

  • Dropdown getting deleted , when called in popup

    Hi All,
    When i press a button on my main view i call a popup view.
    In the popup view i need to add dropdowns on "Add dropdown Button"
    When i press the button once the  dropdown is created.
    When i press the button for second time the second dropdown doesnt gets created.
    In debugging i can just see that the navigation goes to onaction of the add button and then modify view.
    and then nothing happens.
    Can some one please help me with this?
    Edited by: Bhanu  Malik on Mar 21, 2011 4:02 AM
    Edited by: Bhanu  Malik on Mar 21, 2011 5:55 AM

    On Add dropdown
    lo_nd_cn_rulehead_edit2->bind_table( new_items = lt_cn_rulehead_edit2 set_initial_elements = abap_true ).
       cl_wd_dropdown_by_idx=>new_dropdown_by_idx(
      EXPORTING
         bind_texts   = 'CN_RULEHEAD_EDIT2.CA_RULEHEAD_EDIT2'
          id          = 'EDIT_DROP2'
           RECEIVING
          control    = lr_input1 ).
    when i press the button again (this dropdown doesnt gets created)
       cl_wd_dropdown_by_idx=>new_dropdown_by_idx(
      EXPORTING
         bind_texts  = 'CN_RULEHEAD_EDIT3.CA_RULEHEAD_EDIT3'
          id          = 'EDIT_DROP3'
           RECEIVING
          control    = lr_input2 ).
        lr_matrix = cl_wd_matrix_head_data=>new_matrix_head_data( lr_input2 ).
       lr_input2->set_layout_data( lr_matrix ).
        wd_comp_controller->lr_container->add_child(
            the_child = lr_input2
    I think there is some other problem of modify view because when first dropdown is created it works fine
    and when second dropdown is created it gives problem

  • Problem with Total Button with DroupDown list

    Hi All,
    here i have one Standard Report witch TCode is J3RFPDE . After Execute this program in output i get many button and in this button "TOTAL SIGN BUTTON"  has DroupDown list. So if i want thisTotal  Dropdown Button in my Report so is ti possible. And it's possible then please kindly tell me the procedure.
    Thanks
    Keyur Chauhan

    Hi,
    see report BCALV_GRID_05  it's a good exemple
    you must define class  METHOD handle_toolbar. 
    Rgds

  • Buttons change to colors I didn't request

    I have several buttons in my menu, they are BrushMed from the Palette's Shapes -> Apple.
    The buttons are all the same style and have identical parameters except for the things that should be different, like coordinates, text, asset, and navigation. I can click on different buttons and see nothing in the Inspector change except those items mentioned above. All buttons have the same Highlight Set and Selected Highlight. None of the colors in the Highlight Set are red.
    When I actually burn a disk, some of the buttons have an unrequested red tinge around them and actually turn red when I click on a different button. E.g. on one menu I have buttons A, B, C. "C" has a red tinge. If I click on B
    "A", then "C" turns red during the time between the click and when the menu disappears.
    I did use red briefly in a previous test of the DVD, but I changed it from red to green. Based on other messages on this topic, I removed the PAR directory and the *_TS directories just to make sure, and re-built the project. No help -- that red is still there, not in the Simulator, but when I use the DVD player or a real DVD.
    Another clue?
    If I select Display Background on the Settings dropdown, button "C" shows a red background. I have no idea how to change that -- it doesn't correspond to anything I can find in the inspector.
    Can someone explain what's going on here?

    Thanks for your concern. There is always a chance that there was something detectable I was doing wrong, but I just couldn't see it. Do people here send each other examples of misbehaving projects to see if the other person can see something that they can't? Virtually looking over someone's shoulder, as it were?
    Knowing how large video assets tend to be, it might be a large undertaking, unless I were, for example, able to simplify the example by removing unnecessary assets without the problem going away. I guess mailing a few DVDs to UK from the U.S. isn't as easy as emailing a small file, so it would have to be a pretty nasty problem to warrant that.
    But how about some better diagnostic tools? For example, if I were able to get a text print-out of the data structures inside my project, or at least a relevant subset of them, I think it would have been obvious what the problem was. All I would have had to do was compare the properties of 2 buttons that appeared identical in the Inspector, but behaved differently.
    Are there diagnostic tools like that that I haven't heard about?

  • ESS: DropDown diappears after fraction of seconds

    Hi Experts,
    We are facing a strange issue in ESS. Our client is using EP 5.0 and internet explorer version 6.0.
    In few of the ESS applications when users click on the dropdown button, the dropdown list appears for a fraction of second and then disappears. We have tried deleting the cookies, temporary internet files from browser but it doesnt help.
    Any help in resolving the issue is highly appreciated.
    Thanks

    In which application? Have you tried using IE 7 and 8? version
    cause IE 6 is old
    check the compatibility
    service.sap.com/pam

  • ALV Grid Dropdown Click Event

    I have created an ALV grid with a dropdown as one of the columns. This all works fine, except that I want to be able to react to a change in the value of each line's dropdown.
    Currently I am reacting to the DATA_CHANGED event of the ALV grid, but that is too late. This event is only triggered if you change the value of the dropdown and then hit enter, or click on another cell or row.
    I want to be able to react to a change in the value immediately without having to lose focus of the dropdown.
    Is this possible?
    As an example, I have a table of records with one column as a dropdown called "Reason". A change in "reason" should change which fields in the row are editable. I'm sure I could just make sure to call the check_changed_data method before saving but I am hoping for a more user-friendly approach where as the new value is selected, the columns in the row can change to their required editable status.
    Of course points will be awarded.

    Hi David,
    Instead of using delayed call back event here i hav used data_changed event and this exacty suits ur requirement.....
    even here we have to register the edit events............
    PROGRAM bcalv_edit_06.
    * Purpose:
    * ~~~~~~~~
    * This example shows how to define a dropdown listbox for all cells
    * of one column in an editable ALV Grid Control.
    * To check program behavior
    * ~~~~~~~~~~~~~~~~~~~~~~~~~
    * Klick on the dropdown button of column 'WUNIT'. It shows
    * 'KG' and 'G' as suitable units for luggage weight.
    * (The standard F4-Help shows many other units that does not
    * make sense in this context).
    * Essential steps (search for '§')
    * ~~~~~~~~~~~~~~~
    * 1.Define a dropdown table and pass it to ALV.
    * 2.Set status of column WUNIT to editable and set a dropdown handle.
    CLASS lcl_event_responder DEFINITION.
      PUBLIC SECTION.
        METHODS refresh_changed_data  FOR EVENT data_changed
                                      OF cl_gui_alv_grid
                                      IMPORTING er_data_changed
                                                e_ucomm.
    ENDCLASS.                    "event_responder DEFINITION
    DATA: ok_code LIKE sy-ucomm,
          save_ok LIKE sy-ucomm,
          g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
          handler   TYPE REF TO lcl_event_responder,
          g_grid  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container,
          gt_fieldcat TYPE lvc_t_fcat,
          gs_layout TYPE lvc_s_layo,
          g_max TYPE i VALUE 100.
    DATA: gt_outtab TYPE TABLE OF sbook.
    *       MAIN                                                          *
    END-OF-SELECTION.
      CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      SET TITLEBAR 'MAIN100'.
      IF g_custom_container IS INITIAL.
        PERFORM create_and_init_alv CHANGING gt_outtab
                                             gt_fieldcat.
      ENDIF.
    ENDMODULE.                    "pbo OUTPUT
    *       MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'EXIT'.
          PERFORM exit_program.
        WHEN OTHERS.
    *     do nothing
      ENDCASE.
    ENDMODULE.                    "pai INPUT
    *       FORM EXIT_PROGRAM                                             *
    FORM exit_program.
      LEAVE PROGRAM.
    ENDFORM.                    "exit_program
    *&      Form  BUILD_FIELDCAT
    *       text
    *      <--P_GT_FIELDCAT  text
    FORM build_fieldcat CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'SBOOK'
        CHANGING
          ct_fieldcat      = pt_fieldcat.
      LOOP AT pt_fieldcat INTO ls_fcat.
        IF    ls_fcat-fieldname EQ 'WUNIT'.
    *§2.Set status of column WUNIT to editable and set a dropdown handle.
          ls_fcat-edit = 'X'.
          ls_fcat-drdn_hndl = '1'.
          ls_fcat-outputlen = 7.
    * Field 'checktable' is set to avoid shortdumps that are caused
    * by inconsistend data in check tables. You may comment this out
    * when the test data of the flight model is consistent in your system.
          ls_fcat-checktable = '!'.        "do not check foreign keys
          MODIFY pt_fieldcat FROM ls_fcat.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "build_fieldcat
    *&      Form  CREATE_AND_INIT_ALV
    *       text
    *      <--P_GT_OUTTAB  text
    *      <--P_GT_FIELDCAT  text
    *      <--P_GS_LAYOUT  text
    FORM create_and_init_alv CHANGING pt_outtab LIKE gt_outtab[]
                                      pt_fieldcat TYPE lvc_t_fcat.
      DATA: lt_exclude TYPE ui_functions,
            lt_f4 TYPE lvc_t_f4 WITH HEADER LINE.
      CREATE OBJECT g_custom_container
             EXPORTING container_name = g_container.
      CREATE OBJECT g_grid
             EXPORTING i_parent = g_custom_container.
    * Build fieldcat and set column WUNIT
    * edit enabled. Assign a handle for the dropdown listbox.
      PERFORM build_fieldcat CHANGING pt_fieldcat.
    * Optionally restrict generic functions to 'change only'.
    *   (The user shall not be able to add new lines).
      PERFORM exclude_tb_functions CHANGING lt_exclude.
    * Define a drop down table.
      PERFORM set_drdn_table.
      SELECT * FROM sbook INTO TABLE pt_outtab UP TO g_max ROWS.
      IF sy-subrc NE 0.
    * generate own entries if database table is empty
        PERFORM generate_entries CHANGING pt_outtab.
      ENDIF.
      CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
          it_toolbar_excluding = lt_exclude
        CHANGING
          it_fieldcatalog      = pt_fieldcat
          it_outtab            = pt_outtab.
    * Set editable cells to ready for input initially
      CALL METHOD g_grid->set_ready_for_input
        EXPORTING
          i_ready_for_input = 1.
      g_grid->register_edit_event(
         EXPORTING
           i_event_id = cl_gui_alv_grid=>mc_evt_modified ). "Registering edit events
      CREATE OBJECT handler.
      SET HANDLER handler->refresh_changed_data FOR g_grid.
      CLEAR lt_f4.
      lt_f4-fieldname = 'WUNIT'.
      lt_f4-register = 'X'.
      APPEND lt_f4.
    ENDFORM.                               "CREATE_AND_INIT_ALV
    *&      Form  EXCLUDE_TB_FUNCTIONS
    *       text
    *      <--P_LT_EXCLUDE  text
    FORM exclude_tb_functions CHANGING pt_exclude TYPE ui_functions.
    * Only allow to change data not to create new entries (exclude
    * generic functions).
      DATA ls_exclude TYPE ui_func.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_append_row.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_move_row.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_cut.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_paste.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_paste_new_row.
      APPEND ls_exclude TO pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_undo.
      APPEND ls_exclude TO pt_exclude.
    ENDFORM.                               " EXCLUDE_TB_FUNCTIONS
    *&      Form  set_drdn_table
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM set_drdn_table.
    *§1.Define a dropdown table and pass it to ALV.
    *   One listbox is referenced by a handle, e.g., '1'.
    *   For each entry that shall appear in this listbox
    *   you have to append a line to the dropdown table
    *   with handle '1'.
    *   This handle can be assigned to several columns
    *   of the output table using the field catalog.
      DATA: lt_dropdown TYPE lvc_t_drop,
            ls_dropdown TYPE lvc_s_drop.
    * First listbox (handle '1').
      ls_dropdown-handle = '1'.
      ls_dropdown-value = 'KG'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = 'G'.
      APPEND ls_dropdown TO lt_dropdown.
      CALL METHOD g_grid->set_drop_down_table
        EXPORTING
          it_drop_down = lt_dropdown.
    ENDFORM.                               " set_drdn_table
    *&      Form  generate_entries
    *       text
    *      <--P_LT_SLFIGHT  text
    FORM generate_entries CHANGING pt_sbook TYPE STANDARD TABLE.
    * This form is only needed if database table sbook is empty.
    * It generates some entries so that you may
    * still try out this example program.
      DATA: ls_sbook TYPE sbook,
            l_month(2) TYPE c,
            l_day(2) TYPE c,
            l_date(8) TYPE c,
         l_prebookid TYPE i.
      ls_sbook-carrid = 'LH'.
      ls_sbook-connid = '0400'.
      ls_sbook-forcurkey = 'DEM'.
      ls_sbook-loccurkey = 'USD'.
      ls_sbook-custtype = 'B'.
      DO 110 TIMES.
        l_prebookid = sy-index.
        ls_sbook-forcuram = sy-index * 10.
        ls_sbook-loccuram = ls_sbook-loccuram * 2.
        ls_sbook-customid = sy-index.
        ls_sbook-counter = 18.
        ls_sbook-agencynum = 11.
        l_month = sy-index / 10 + 1.
        DO 2 TIMES.
          l_day = 3 + l_month + sy-index * 2.
          l_date+0(4) = '2000'.
          l_date+4(2) = l_month.
          l_date+6(2) = l_day.
          ls_sbook-fldate = l_date.
          SUBTRACT 3 FROM l_day.
          ls_sbook-order_date+0(6) = l_date+0(6).
          ls_sbook-order_date+6(2) = l_day.
          ls_sbook-bookid = l_prebookid * 2 + sy-index.
          IF sy-index EQ 1.
            ls_sbook-smoker = 'X'.
          ELSE.
            ls_sbook-smoker = space.
          ENDIF.
          ls_sbook-luggweight = l_prebookid * 10.
          IF ls_sbook-luggweight GE 1000.
            ls_sbook-wunit = 'G'.
            ls_sbook-class = 'C'.
          ELSE.
            ls_sbook-wunit = 'KG'.
            ls_sbook-class = 'Y'.
          ENDIF.
          IF ls_sbook-bookid > 40 AND ls_sbook-wunit EQ 'KG'.
            ls_sbook-invoice = 'X'.
          ENDIF.
          IF ls_sbook-bookid EQ 2.
            ls_sbook-cancelled = 'X'.
            ls_sbook-class = 'F'.
          ENDIF.
          APPEND ls_sbook TO pt_sbook.
        ENDDO.
      ENDDO.
    ENDFORM.                               " generate_entries
    *       CLASS event_responder IMPLEMENTATION
    CLASS lcl_event_responder IMPLEMENTATION.
      METHOD refresh_changed_data.
        BREAK-POINT.  
      ENDMETHOD.                    "click
    ENDCLASS.                    "event_responder IMPLEMENTATION

  • Location bar has no dropdown

    Since updating to 4.0 the dropdown button on the far right of the location bar is no longer working. None of the troubleshooting area seems to help. I've installed 4.0 on another machine and this isn't an issue on that machine.

    Make sure that the Location Bar is not set to "Nothing":
    * Firefox or Tools > Options > Privacy > Location Bar: When using the location bar, suggest: History, Bookmarks, History and Bookmarks
    This can also be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

Maybe you are looking for