Sorting elements in the X axis in BAM

Hi all,
Is there a way to sort how elements are shown in the X axis? For example, I have an Order graphic showing quantity of orders grouped by state of the order but I'd like the states to be in the order they appear in the business process.
Thanks,
Daniel

Have another column in the Data Object stating order populate this column with 0,1,2,3,4......for the order you want for the states. And select both ur state and order column in group by option

Similar Messages

  • Centering text element at the horizontal axis?

    I'm creating a motion template for FCP. The idea is to have a text question in the center of the screen. With longer questions that takes up more lines I would like it to automatically stay in center at the horizontal axis as well. Can I do this in Motion?

    With longer questions that takes up more lines I would like it to automatically stay in center at the horizontal axis as well.< </div>
    Do you mean you want the lines of text to be center-justified or do you mena you wnatthe text object to always be centered on the x axis?
    There is plenty of visual-reference research to suggest center-justified text is more difficult to read quickly and with the same level of comprehension as left-justified. The same research indicates mixed case is easier to read than all-caps because people tend to recognize glyph shapes more quickly than they see letterforms. The same research indicates serif faces are more quickly comprehended than sans serif type but serifs tend to create issues with interlaced video.
    See publications by Edward Tufte, Stanford University.
    bogiesan

  • Need to sort an object array using an element in the object.

    hi all,
    i need to sort an object array using an element in the object.can someone throw some light on this.
    Edited by: rageeth on Jun 14, 2008 2:32 AM

    [http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html]

  • Java FX linechart reloading does not load the category axis in sorted order

    We are reloading the different data in Java FX line chart for . First time it loads with sorted order and looks good but we try to reload again and again the category axis sorting messed up and does not display in order. I did try even with Number axis but no luck.
    Any pointers why the first time able to load but not later....
    I am removing the series and recreating the series instance before loading the chart but no luck.
    lineChart.getData().removeAll(series1)
    Appreciate for any pointers.

    Please supply an executable sample

  • Sorting the elements of the ResultSet

    Hi all,
    I have a problem here. I get all the data from the database and store it in the ResultSet. I then display the same data from the result set in the front end. Is there any way such that i can sort the contents of the result set. Such that i can display the sorted emenets in the front end.
    Please give me a solution. I am stuck with this problem.
    Regards
    Pranamya

    Hello,
    Thanks for replying. My problem is
    g. My problem is that i have the data got in the
    result set. I have to arrange this data in my UI such
    that it should be arranged first in ascending order
    and then in descending order on mouse click . And if
    i use the order by clause of the SQL then this will
    result in a lots of Database operation, Which should
    be avoided.
    sigh The result set is a pointer to a row in a view. You can't sort a pointer.
    Make the UI sort the view it provides of your model. You should not modifiy the model itself for that.

  • Dynamic tree UI element in the view

    Dear All,
         Can anyone provide me with the code snippet for Dynamic Tree UI element in the view. I need to show the tree which should be generated dynamically.
    Thanks alot in advance!
    Points will be rewarded, Please its urgent!
    Cheers,
    Darshna.

    Hi ,
    sorry for the late reply... here is the code for onActionLoadchildren .. i am sure you wont understand this.. but lets try...
    DATA:
        element_parent  TYPE REF TO if_wd_context_element,
        lv_object_key1   type string,
        lv_object_type  type string.
    DATA:
           node_root_entry                     TYPE REF TO if_wd_context_node,
           elem_root_entry                     TYPE REF TO if_wd_context_element,
           stru_root_entry                     TYPE if_structure_view_new=>element_root_entry ,
           item_valid_from                     LIKE stru_root_entry-valid_from,
           item_plant                          LIKE stru_root_entry-plant,
           item_equi_key                       LIKE stru_root_entry-equi_key,
           item_object_key                     LIKE stru_root_entry-object_key,
           item_object_type                    TYPE string,
           item_path                           TYPE string,
           item_parent_path                    TYPE string,
          context_node                        TYPE REF TO if_wd_context_node,
           root_entry                          TYPE if_structure_view_new=>element_selected_entry.
          l_ref_componentcontroller           TYPE REF TO ig_componentcontroller.
    DATA:
         node_root_info                    TYPE REF TO if_wd_context_node,
         elem_root_info                    TYPE REF TO if_wd_context_element,
          stru_root_info                    TYPE if_structure_view_new=>element_root_info .
    DATA:
          element                            TYPE REF TO if_wd_context_element,
          node_selected_entry                TYPE REF TO if_wd_context_node,
          elem_selected_entry                TYPE REF TO if_wd_context_element.
    DATA:
          ls_hier_return      TYPE rplm_ts_struc_elements,
          lt_hier_return      TYPE TABLE OF rplm_ts_struc_elements,
          ls_hier_return_temp TYPE rplm_ts_struc_elements,
          lt_hier_return_temp TYPE TABLE OF rplm_ts_struc_elements,
          ls_hier_level       TYPE rplm_ts_hier_level,
          lt_hier_level       TYPE TABLE OF rplm_ts_hier_level,
          ls_hier_return_sort TYPE rplm_mt_ts_hier,
          lt_hier_return_sort TYPE TABLE OF rplm_mt_ts_hier.
      DATA:
           temp_hier_level TYPE if_structure_view_new=>element_hier_level,
           lt_hier_temp    TYPE TABLE OF if_structure_view_new=>element_hier_level,
           lt_temp         TYPE TABLE OF if_structure_view_new=>element_hier_level.
      DATA:
           lc_path       TYPE string,
           lv_object_key TYPE string.
      DATA:
           lv_hier_lines TYPE i.
      DATA:
          node_entries                        TYPE REF TO if_wd_context_node,
           node_sub_entries                    TYPE REF TO if_wd_context_node,
          elem_sub_entries                    TYPE REF TO if_wd_context_element,
           stru_sub_entries                    TYPE if_structure_view_new=>element_sub_entries .
      TYPES: BEGIN OF ls_hier_type,             "structure for Hierarchy table
          object(31)      TYPE c,         "Objectkey
          predecessor(31) TYPE c,         "Objectkey Predecessor
          data(2000)      TYPE c,         "Data container
          level           TYPE i,         "level of object in tree
          successors(1)   TYPE c,         "Object has successors: YES/NO/U
          display(1)      TYPE c,         "Object is displayed: YES/NO
          selected(1)     TYPE c,         "Object is selected/marked: YES/NO
          index_predec    LIKE sy-tabix,  "Index predecessor
          strno           TYPE ilom_strno,"External number for func. loc.
                                         "in BOMs used for top object
       END OF ls_hier_type.
      DATA:
           ls_hier     TYPE ls_hier_type,
           lt_hier     TYPE TABLE OF ls_hier_type WITH DEFAULT KEY,
           lt_mat_hier TYPE TABLE OF ls_hier_type WITH DEFAULT KEY.
      " For retrieving Material Data Heirarchy
      DATA:
           lh_stpo_tab     TYPE TABLE OF rihstpx ,
           lwa_stpo_tab    LIKE LINE OF lh_stpo_tab,
           check_menge     TYPE string ,
           check_meins     TYPE string ,
           lwa_mat_hier    LIKE LINE OF  lt_mat_hier ,
           lt_dup_mat_hier LIKE lt_mat_hier,
           lv_len          TYPE i,
           lv_len_temp     TYPE i .
      DATA:
           lv_equnr TYPE equi-equnr,
           lv_tplnr TYPE iflo-tplnr,
           lv_matnr TYPE mast-matnr.
      DATA:
           lv_cnt   TYPE i,
           lv_index TYPE i.
      DATA:
           lv_path        TYPE string,
           lv_parent_path TYPE string,
           pos            TYPE string,
           separator      TYPE c VALUE '.',
           max_level      TYPE i,
           temp_level     TYPE i,
           counter        TYPE i VALUE 1.
      TYPES: BEGIN OF ls_pred_type,             "structure for Hierarchy table
         parent(31)      TYPE c,         "Objectkey Predecessor
         path(2000)      TYPE c,         "Data container
         index_predec    LIKE sy-tabix,  "Index predecessor
      END OF ls_pred_type.
    DATA:
          ls_pred TYPE ls_pred_type,
          lt_pred TYPE TABLE OF ls_pred_type WITH DEFAULT KEY.
    DATA:
          lv_int_obj_key TYPE string,
          obj_len        TYPE i,
          lv_funcloc_ext TYPE ilom_strno,
          lv_funcloc     TYPE itob-tplnr.
    DATA:
          lv_level        TYPE i,
          lv_temp         TYPE i,
          lt_path_entries TYPE string_table.
    DATA:
          node_general                        TYPE REF TO if_wd_context_node,
          elem_general                        TYPE REF TO if_wd_context_element,
          stru_general                        TYPE if_structure_view_new=>element_general ,
          item_collapse_visibility            LIKE stru_general-collapse_visibility.
    DATA:
          elem_context                        TYPE REF TO if_wd_context_element,
          stru_context                        TYPE if_structure_view_new=>element_context ,
          item_expand_all                     LIKE stru_context-expand_all.
    lv_path = path.
    Get Element whose children shall be loaded
      element_parent = wd_context->path_get_element( lv_path ).
    element_parent->get_attribute(
          EXPORTING
            name =  `OBJECT_KEY`
          IMPORTING
            value = LV_object_key ).
    element_parent->get_attribute(
          EXPORTING
            name =  `OBJECT_TYPE`
          IMPORTING
            value = lv_object_type ).
    node_root_entry = wd_context->get_child_node( name = wd_this->wdctx_root_entry ).
    get element via lead selection
      elem_root_entry = node_root_entry->get_element(  ).
    get single attribute
      elem_root_entry->get_attribute(
        EXPORTING
          name =  `VALID_FROM`
        IMPORTING
          value = item_valid_from ).
      elem_root_entry->get_attribute(
          EXPORTING
            name =  `PLANT`
          IMPORTING
            value = item_plant ).
    item_object_type = lv_object_type.
    if lv_object_type eq 'EQUI'.
      item_object_key = ''.
      item_equi_key = lv_object_key.
    elseif lv_object_type eq 'FUNCLOC'.
      item_object_key = lv_object_key.
      item_equi_key = ''.
    ELSE.
      lv_matnr = lv_object_key.
    For BOM, material and Assembly
    endif.
      IF item_object_type EQ 'EQUI'.
        lv_equnr = lv_object_key.
      ELSEif item_object_type eq 'FUNCLOC'.
        lv_tplnr = lv_object_key.
      ELSE.
        LV_MATNR = lv_object_key.
        exit.
      ENDIF.
      CALL FUNCTION 'PM_HIERARCHY_CALL'
        EXPORTING
          datum             = item_valid_from
          equnr             = lv_equnr
          tplnr             = lv_tplnr
          matnr             = lv_matnr
          levdo             = '99'
          levup             = '00'
          sanin             = 'X'
          select_equi       = 'X'
          select_iflo       = 'X'
          select_stpo       = 'X'
          selmod            = 'D'
          stkkz             = ''
          werks             = item_plant
          with_equi         = 'X'
          with_equi_hier    = 'X'
          with_iflo_hier    = 'X'
          with_btyp         = 'X'
          with_mara         = 'X'
          with_ibase_hier   = ''
          capid             = ''
          emeng             = 0
        IMPORTING
          et_hier           = lt_hier
        EXCEPTIONS
          no_hierarchy      = 1
          no_object_defined = 2
          no_selection      = 3
          no_valid_equnr    = 4
          no_valid_matnr    = 5
          no_valid_selmod   = 6
          no_valid_tplnr    = 7
          OTHERS            = 8.
      LOOP AT lt_hier INTO ls_hier.
        ls_hier_return-object_key = ls_hier-object.
        ls_hier_level-object_key = ls_hier-object.
        ls_hier_level-predecessor = ls_hier-predecessor.
        lv_len = strlen( ls_hier-object ).
        IF lv_len GT 1.
          lv_len_temp = lv_len - 1.
        ELSEIF
        lv_len_temp = lv_len.
        ENDIF.
        ls_hier_level-level = ls_hier-level.
        IF ls_hier-object(1) = 'T'.
          ls_hier_return-icon = 'ICON_TECHNICAL_PLACE'.
          ls_hier_return-object_type = 'FUNCLOC'.
          IF ls_hier-successors = 'Y'.
            ls_hier_return-is_leaf = abap_false.
            ls_hier_return-is_expanded = abap_false.
            ls_hier_return-children_loaded = abap_true.
          ELSE.
            ls_hier_return-is_leaf = abap_true.
            ls_hier_return-is_expanded = abap_true.
            ls_hier_return-children_loaded = abap_true.
          ENDIF.
        ELSEIF ls_hier-object(1) = 'E'.
          ls_hier_return-icon = 'ICON_EQUIPMENT'.
          ls_hier_return-object_type = 'EQUI'.
          IF ls_hier-successors = 'Y'.
            ls_hier_return-is_leaf = abap_false.
            ls_hier_return-is_expanded = abap_false.
            ls_hier_return-children_loaded = abap_true.
          ELSE.
            ls_hier_return-is_leaf = abap_true.
            ls_hier_return-is_expanded = abap_true.
            ls_hier_return-children_loaded = abap_true.
          ENDIF.
        ELSEIF ls_hier-object+lv_len_temp(1) = 'M'.
          ls_hier_return-icon = 'ICON_MATERIAL'.
          ls_hier_return-object_type = 'MATERIAL'.
          IF ls_hier-successors = 'Y'.
            ls_hier_return-is_leaf = abap_false.
            ls_hier_return-is_expanded = abap_false.
            ls_hier_return-children_loaded = abap_false.
          ELSE.
            ls_hier_return-is_leaf = abap_true.
            ls_hier_return-is_expanded = abap_true.
            ls_hier_return-children_loaded = abap_true.
          ENDIF.
        ELSEIF ls_hier-object+lv_len_temp(1) = 'X'.
          ls_hier_return-icon = 'ICON_SUPPLY_AREA'.
          ls_hier_return-object_type = 'MATBOM'.
          IF ls_hier-successors = 'Y'.
            ls_hier_return-is_leaf = abap_false.
            ls_hier_return-is_expanded = abap_false.
            ls_hier_return-children_loaded = abap_false.
          ELSE.
            ls_hier_return-is_leaf = abap_true.
            ls_hier_return-is_expanded = abap_true.
            ls_hier_return-children_loaded = abap_true.
          ENDIF.
        ELSEIF ls_hier-object+lv_len_temp(1) = 'A'.
          ls_hier_return-icon = 'ICON_MATERIAL_REVISION'.
          ls_hier_return-object_type = 'MATERIAL'.
          IF ls_hier-successors = 'Y'.
            ls_hier_return-is_leaf = abap_false.
            ls_hier_return-is_expanded = abap_false.
            ls_hier_return-children_loaded = abap_false.
          ELSE.
            ls_hier_return-is_leaf = abap_true.
            ls_hier_return-is_expanded = abap_true.
            ls_hier_return-children_loaded = abap_true.
          ENDIF.
        ENDIF.
    *IF ls_hier-predecessor EQ item_object_key OR ls_hier-object EQ item_object_key.
        APPEND ls_hier_return TO lt_hier_return.
        APPEND ls_hier_level TO lt_hier_level.
    *ENDIF.
        CLEAR lv_len.
        CLEAR lv_len_temp.
      ENDLOOP.
    lt_hier_return_temp = lt_hier_return.
      DESCRIBE TABLE lt_hier LINES lv_hier_lines.
      IF lv_hier_lines EQ 0.
        elem_selected_entry = wd_context->path_get_element( '1.ENTRIES.1' ).
    Get children node
        elem_selected_entry->set_attribute(
        value = abap_true
        name = 'IS_LEAF' ).
      ENDIF.
    *************************************Deleting Now***********
    SORT lt_hier_level BY level DESCENDING.
      LOOP AT lt_hier_level INTO ls_hier_level.
        max_level = ls_hier_level-level.
        EXIT.
      ENDLOOP.
      SORT lt_hier_level BY level ASCENDING.
      LOOP AT lt_hier_level INTO ls_hier_level WHERE level EQ 0.
        ls_hier_level-path = '1.ENTRIES.1'.
        ls_hier_level-parent_path = '1.ENTRIES.1'.
        MODIFY lt_hier_level FROM ls_hier_level.
      ENDLOOP.
    ************************New design to Generate Path and Parent path
    lv_cnt = 0.
    temp_level = 1.
    SORT lt_hier_level BY object_key ASCENDING.
    LOOP AT lt_hier_level INTO ls_hier_level WHERE level EQ 1.
       lv_cnt = lv_cnt + 1.
       lv_parent_path = '1.ENTRIES.1'.
       ls_hier_level-parent_path = lv_parent_path.
       pos = lv_cnt.
       CONCATENATE lv_parent_path separator 'SUB_ENTRIES' separator pos INTO lv_path.
       ls_hier_level-path = lv_path.
       MODIFY lt_hier_level FROM ls_hier_level.
    ENDLOOP.
    temp_level = 1.
    lv_cnt = 0.
    *********************Need to call this for each level ***************************
    WHILE temp_level LT max_level.
       CLEAR lt_pred.
       CLEAR ls_pred.
       LOOP AT lt_hier_level INTO ls_hier_level WHERE level EQ temp_level.
         ls_pred-parent = ls_hier_level-object_key.
         ls_pred-path = ls_hier_level-path.
         APPEND ls_pred TO lt_pred.
       ENDLOOP.
       SORT lt_pred BY parent.
       DELETE ADJACENT DUPLICATES FROM lt_pred.
       LOOP AT lt_pred INTO ls_pred.
         lv_cnt = 0.
         LOOP AT lt_hier_level INTO ls_hier_level WHERE predecessor EQ ls_pred-parent.
           lv_cnt = lv_cnt + 1.
           lv_parent_path = ls_pred-path.
           ls_hier_level-parent_path = lv_parent_path.
           lv_path = ''.
           pos = lv_cnt.
           CONCATENATE lv_parent_path separator 'SUB_ENTRIES' separator pos INTO lv_path.
           ls_hier_level-path = lv_path.
           MODIFY lt_hier_level FROM ls_hier_level.
         ENDLOOP.
       ENDLOOP.
       temp_level = temp_level + 1.
    ENDWHILE.
    LOOP AT lt_hier_level INTO ls_hier_level.
       LOOP AT lt_hier_return INTO ls_hier_return.
         IF ls_hier_level-object_key = ls_hier_return-object_key.
           MOVE-CORRESPONDING ls_hier_level TO ls_hier_return.
           MODIFY lt_hier_return FROM ls_hier_return.
         ENDIF.
       ENDLOOP.
    ENDLOOP.
    SORT lt_hier_return BY path ASCENDING.
    **************************Delete the extra first character returned by PM_HIERARCHY_CALL******
      LOOP AT lt_hier_return INTO ls_hier_return.
        IF ls_hier_return-object_key(1) = 'T'.
          SHIFT ls_hier_return-object_key BY 1 PLACES.
          lv_object_key = ls_hier_return-object_key.
          lv_funcloc_ext = lv_object_key.
          CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT'
            EXPORTING
              input  = lv_funcloc_ext
            IMPORTING
              output = lv_funcloc.
          lv_int_obj_key = lv_funcloc.
          ls_hier_return-object_key = lv_int_obj_key.
        ELSEIF ls_hier_return-object_key(1) = 'E'.
          SHIFT ls_hier_return-object_key BY 1 PLACES.
          lv_object_key = ls_hier_return-object_key.
          obj_len = strlen( lv_object_key ).
          IF obj_len GE 18.
            lv_object_key = lv_object_key+0(18).
          ENDIF.
          wd_comp_controller->conv_ext_2_int(
           EXPORTING
             iv_object_key_ext =  lv_object_key            " String
             iv_object_type =   'EQUI'               " String
           IMPORTING
             ev_object_key =   lv_int_obj_key                " String
          SHIFT lv_int_obj_key LEFT DELETING LEADING '0'.
          ls_hier_return-object_key = lv_int_obj_key.
        ELSE.
          SHIFT ls_hier_return-object_key BY 1 PLACES.
          lv_object_key = ls_hier_return-object_key.
          obj_len = strlen( lv_object_key ).
          IF obj_len GE 18.
            lv_object_key = lv_object_key+0(18).
          ENDIF.
          SHIFT lv_object_key LEFT DELETING LEADING '0'.
          ls_hier_return-object_key = lv_object_key.
        ENDIF.
        MODIFY lt_hier_return FROM ls_hier_return TRANSPORTING object_key object_key.
      ENDLOOP.
    LOOP AT lt_hier_level INTO ls_hier_level.
       IF ls_hier_level-object_key(1) = 'T'.
         SHIFT ls_hier_level-object_key BY 1 PLACES.
         lv_object_key = ls_hier_level-object_key.
         lv_funcloc_ext = lv_object_key.
         CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT'
           EXPORTING
             input  = lv_funcloc_ext
           IMPORTING
             output = lv_funcloc.
         lv_int_obj_key = lv_funcloc.
         ls_hier_level-object_key = lv_int_obj_key.
       ELSEIF ls_hier_level-object_key(1) = 'E'.
         SHIFT ls_hier_level-object_key BY 1 PLACES.
         lv_int_obj_key = ls_hier_level-object_key.
         obj_len = strlen( lv_int_obj_key ).
         IF obj_len GE 18.
           lv_int_obj_key = lv_int_obj_key+0(18).
         ENDIF.
         wd_comp_controller->conv_ext_2_int(
          EXPORTING
            iv_object_key_ext =  lv_int_obj_key            " String
            iv_object_type =   'EQUI'               " String
          IMPORTING
            ev_object_key =   lv_int_obj_key                " String
         SHIFT lv_int_obj_key LEFT DELETING LEADING '0'.
         ls_hier_level-object_key = lv_int_obj_key.
       ELSE.
         SHIFT ls_hier_level-object_key BY 1 PLACES.
         lv_int_obj_key = ls_hier_level-object_key.
         obj_len = strlen( lv_int_obj_key ).
         IF obj_len GE 18.
           lv_int_obj_key = lv_int_obj_key+0(18).
         ENDIF.
         SHIFT lv_int_obj_key LEFT DELETING LEADING '0'.
         ls_hier_level-object_key = lv_int_obj_key.
       ENDIF.
       MODIFY lt_hier_level FROM ls_hier_level TRANSPORTING object_key object_key.
    ENDLOOP.
    *********************Getinfo if root node else call Get_Children_Info to generate the structure as well*******
      IF lv_path EQ '1.ENTRIES.1'.
        element = wd_context->path_get_element( lv_path ).
      navigate from <ENTRIES> to <SUB_ENTRIES> via lead selection
        node_sub_entries = element->get_child_node( name = 'SUB_ENTRIES' ).
        element->get_attribute( EXPORTING name = 'OBJECT_KEY'
                                 IMPORTING value = item_object_key ).
        element->get_attribute( EXPORTING name =  `OBJECT_TYPE`
                                IMPORTING value = item_object_type ).
    ****************Get Info of Technical Objects*************
        wd_comp_controller->get_children_info(
          EXPORTING
            iv_lt_list =     lt_hier_return           " Rplm_Tt_Mt_Struc
            iv_path = ''
            iv_hier_level  = lt_hier_level
          IMPORTING
            ev_lt_full =      lt_hier_return                   " Rplm_Tt_Mt_Struc
    Create the strcuture by binding the entries to Node which is bound to the table
    element = wd_context->path_get_element( lc_path ).
    Get children node
            node_sub_entries = element->get_child_node( 'SUB_ENTRIES' ).
            CALL METHOD node_sub_entries->bind_table
              EXPORTING
                new_items            = lt_hier_return
                set_initial_elements = abap_true.
      @TODO handle not set lead selection
       IF ( node_entries IS INITIAL ).
       ENDIF.
       lv_temp = 1.
    ***************Sort the LT_HIER_TABLE appropriately ******
       LOOP AT lt_hier_return INTO ls_hier_return .
         MOVE-CORRESPONDING ls_hier_return TO ls_hier_return_sort.
         ls_hier_return_sort-path_length = strlen( ls_hier_return_sort-path ).
         APPEND ls_hier_return_sort TO lt_hier_return_sort.
       ENDLOOP.
       SORT lt_hier_return_sort BY path_length ASCENDING path ASCENDING.
       CLEAR lt_hier_return.
       LOOP AT lt_hier_return_sort INTO ls_hier_return_sort.
         MOVE-CORRESPONDING ls_hier_return_sort TO ls_hier_return.
         APPEND ls_hier_return TO lt_hier_return.
       ENDLOOP.
    *wd_comp_controller->gv_master_data = lt_hier_return.
       LOOP AT lt_hier_return INTO ls_hier_return.
         lv_path = ls_hier_return-path.
         lc_path = ls_hier_return-parent_path.
         IF lv_path NE '1.ENTRIES.1'.
           element = wd_context->path_get_element( lc_path ).
    Get children node
           node_sub_entries = element->get_child_node( 'SUB_ENTRIES' ).
    Now, create the children elements
           element->get_attribute( EXPORTING name = 'OBJECT_KEY'
                                   IMPORTING value = ls_hier_level-predecessor ).
    Create the strcuture by binding the entries to Node which is bound to the table
           CALL METHOD node_sub_entries->bind_structure
             EXPORTING
               new_item             = ls_hier_return
               set_initial_elements = abap_false.
         ENDIF.
       ENDLOOP.
    Only when a new level is reached we create one more child node
    else we attach our elements to same child node
        element = wd_context->path_get_element( item_path ).
    Get children node
        element->set_attribute(
        value = abap_false
        name = 'IS_EXPANDED' ).
      ENDIF.
      navigate from <CONTEXT> to <GENERAL> via lead selection
      node_general = wd_context->get_child_node( name = wd_this->wdctx_general ).
      get element via lead selection
      elem_general = node_general->get_element(  ).
      get single attribute
      elem_general->set_attribute(
        name =  `COLLAPSE_VISIBILITY`
        value = abap_false ).
      node_selected_entry = wd_context->get_child_node( name = if_structure_view_new=>wdctx_selected_entry ).
      get element via lead selection
      elem_selected_entry = node_selected_entry->get_element(  ).
      get single attribute
      elem_selected_entry->set_attribute(
          name =  `OBJECT_KEY`
          value = '' ).
      elem_selected_entry->set_attribute(
            name =  `OBJECT_TYPE`
            value = '' ).
    get element via lead selection
      elem_context = wd_context->get_element(  ).
    get single attribute
      elem_context->set_attribute(
        name =  `EXPAND_ALL`
        value = abap_false ).
      wd_this->enable_buttons(
    endmethod.

  • Can we reverse the category axis in Design Studio 1.3 column charts?

    Hi All,
    In WebI, there is an option to reverse the category axis for charts.
    Do we have something similar in Design Studio? I have a requirement to reverse the order in which labels are appearing in the chart.
    Please do help.
    Thanks in advance for your response,
    Sarah

    Sarah,
    You can go to Edit > Initial View and change the sort.
    Would this work for you?

  • How does one increase the y-axis (amplitude) of the audio tracks?

    How does one increase the y-axis (amplitude) of the audio tracks? My patient appears to have flatlined. I don't want to increase the gain, just the way the waveform looks on my monitor.

    DrDtMM
    The "Expert view" is a part of the new interface of Premiere Elements 11. In your version 10, you have the Timeline and the Sceneline view choices.
    For now, I will assume that you are in the Timeline view where you utilize video and audio tracks and not a Filmstrip with scene slots.
    I suspect that you may be after the following. Let us see.
    To the right of where it shows the name "Audio 1" is a microphone icon. That represents the "Audio Display Style". There are two Audio Display Styles and you can select one or the other by toggling that microphone icon.
    a. In one instance, you will see the wave form plus a horizontal orange line which is typically the Volume Rubberband for Volume adjust. This Display Style has a light green background.
    and
    b. In the other case, you will see a dark horizontal line, no wave form. That dark line is on a light green background.
    I suspect you are at "b". Are you aware that "a" exists.
    If you want a really blown up version of "a" to look at, you could separate the audio from the video, double click the audio to open the Preview Windows, and then scale up the Preview Window.
    We will be watching for your follow up to see if we are getting in sync.
    Thanks.
    ATR

  • I had photoshop elements 10, the computer crushed how can i reinstall it in my new apple computer?

    i had photoshop elements 10, the computer crushed how can i reinstall it in my new apple computer?

    You can't sign in because there is nothing to sign in to. For PSE 10 the only sign in was to photoshop.com, which has been dead and gone for a year and half. Just skip the sign in. Reinstalling will not change this.
    PSE 8, 9, 10 Can’t Sign In, Error 404 | Barbara's Sort-of-Tech Blog
    PSE is locking up because it's looking interminably for the non-existent photoshop.com server.

  • Add R3TR element to the Transport Request

    Hello BW Experts,
    I am transporting a query and get the below error message.
    Element 40WVM5KB0OENRCAWG7PN2GHM3 is missing in version M
    Message no. R9132
    Diagnosis
    Element &1 in version &2 is referenced but is not available.
    System response
    The action had to be terminated.
    Procedure
    Please supply the missing elements to the system by transport.
    if i go to rsa1 > transport connection > query elements > query > select the query (options dataflow before / only necessary objects )
    i do not see the element 40WVM5KB0OENRCAWG7PN2GHM3 in that list given.
    I think there is a alternate way of adding particular elements to the request. Wondering if anyone remembers the transaction code / table for add a element to the request.
    Thanks,
    BWer

    dear BWer,
    use following program (create first) to locate the query element
    transport
    REPORT ZQUERY_DEF_TEST .
    Tables: rszeltdir, "query element table
    rszelttxt, "query element texts
    rszcompdir, "global query elements
    e071. "objects in transport requests
    *parameters
    parameters: Req_id like e071-trkorr.
    selection screen to input long ID 25 char generated name
    select-options: long_ID for rszeltdir-eltuid.
    *itab to hold related info
    data: begin of i_query_desc occurs 0,
    local, "Local to Query
    eltuid like rszeltdir-eltuid, "25 char generated ID
    compid like rszcompdir-compid, "technical name
    deftp like rszeltdir-deftp, "element type
    el_txt(16), "element type text
    txtsh like rszelttxt-txtsh, "short text
    txtlg like rszelttxt-txtlg, "long text
    owner like rszcompdir-owner, "owner
    end of i_query_desc.
    data: xlocal.
    sy-tvar0 = Req_id.
    *find all query objects for transport request entered
    select * from e071 where trkorr = req_id and
    object = 'ELEM'.
    add them to the select-options list
    long_ID-low = e071-obj_name.
    append long_ID.
    clear long_ID.
    endselect.
    *loop through select option table and find details of Query element
    Loop at long_ID.
    clear: i_query_desc,
    rszeltdir,
    rszelttxt,
    rszcompdir,
    xlocal.
    select single * from rszeltdir where eltuid = long_ID-low and
    objvers = 'A'.
    if sy-subrc <> 0.
    write: / long_ID-low, ' Query element not found.'.
    write: / .
    else.
    select single * from rszelttxt where eltuid = long_ID-low and
    objvers = 'A'.
    if sy-subrc <> 0.
    write: / long_ID-low, ' not found in table RSZELTTXT.'.
    endif.
    select single * from rszcompdir where compuid = long_ID-low and
    objvers = 'A'.
    if sy-subrc <> 0.
    write: / long_ID-low, ' not found in table RSZCOMPDIR.'.
    xlocal = 'X'.
    endif.
    fill itab for list
    i_query_desc-local = xlocal.
    i_query_desc-eltuid = rszeltdir-eltuid. "25 char generated ID
    i_query_desc-compid = rszcompdir-compid. "technical name
    i_query_desc-deftp = rszeltdir-deftp. "element type
    case i_query_desc-deftp.
    when 'SEL'.
    if xlocal = 'X'.
    i_query_desc-el_txt = 'Selection'.
    else.
    i_query_desc-el_txt = 'Restricted K/Fig'.
    endif.
    when 'REP'.
    i_query_desc-el_txt = 'Query'.
    when 'VAR'.
    i_query_desc-el_txt = 'Variable'.
    when 'STR'.
    i_query_desc-el_txt = 'Structure'.
    when 'CKF'.
    i_query_desc-el_txt = 'Calculated K/Fig'.
    when 'FML'.
    i_query_desc-el_txt = 'Formula'.
    endcase.
    i_query_desc-txtsh = rszelttxt-txtsh. "short text
    i_query_desc-txtlg = rszelttxt-txtlg. "long text
    i_query_desc-owner = rszcompdir-owner. "owner
    append i_query_desc.
    clear i_query_desc.
    endloop. "@ long_ID
    list results
    sort i_query_desc by local deftp owner.
    loop at i_query_desc.
    write: / sy-vline,
    i_query_desc-eltuid, sy-vline, "25 char generated ID
    i_query_desc-compid , sy-vline, "technical name
    i_query_desc-deftp , sy-vline, "element type
    i_query_desc-el_txt, sy-vline, "element text
    *write: / i_query_desc-txtsh , "short text
    i_query_desc-txtlg(40) , sy-vline, "long text
    i_query_desc-owner , sy-vline.
    write: sy-uline .
    endloop. "@ i_query_desc
    hope this helps.

  • Rearranging elements in the Program window?

    1. Are there keyboard shortcuts for this? In Photoshop, when you select an element or a layer, you can use the arrow keys to move it. I remember being able to do this in really old versions of Premiere, but I don't remember how.
    2. Is there a way to keep elements inline when rearranging? In Photoshop, you can hold the shift key and when you drag a layer, it will stay on an even axis (horizontal, vertical, 45-degree angle).

    Assuming you're referring to multiple video elements in the scene, which can be manipulated using the mouse directly in the Program Monitor, I'm not aware of any Photoshop-like functionality.  The closest you might come is to adjust only the x or y axis in the Effects Controls Panel.

  • Looping Over the Collection elements in the BPEL

    Hi Everybody,
    Note:It appears this thread long paragraph but those are schems structures only.I am giving them to give full depth of my req.
    1) First requirement :I have requirement wherein I have to retrieve the Data from Database adapter and modify it according to my requirements like below.
    1) Input data from Database Adapter example: (Initial Schema)
    <select_arrid_collection xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/Select_Arrid">
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    </select_arrid_collection>
    2) I am modifying to get the collection objects based on element same arr_id(If it is arr1,I have to get the all the elements related arr1 into one of the collection Object that is select_arrid_collection.Likewise for any arr_id ,it has to group them into a select_arrid_collection element) like below:
    Modified schema:
    <root xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/Select_Arrid">
    <select_arrid_collection>
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr1</arr_id>
    </select_arrid>
    </select_arrid_collection>
    <select_arrid_collection>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    <select_arrid>
    <arr_id>arr2</arr_id>
    </select_arrid>
    </select_arrid_collection>
    </root>
    Note: root element is added in the schema that is why this modified xml has different namespace
    I am using below xsl file to get the above schema to get the solution for first requirement:
    <xsl:stylesheet version="2.0" xmlns:ns1="http://www.example.org" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <ns1:root>
    <xsl:for-each-group select="*/ns1:Select_Arrid" group-by="ns1:Arr_id">
    <xsl:sort select="current-grouping-key()">
    <ns1:select_arrid_collection>
    <xsl:copy-of select="current-group()">
    <xsl:apply-templates/>
    </xsl:copy-of>
    </ns1:select_arrid_collection>
    </xsl:sort>
    </xsl:for-each-group>
    </ns1:root>
    </xsl:template>
    </xsl:stylesheet>
    2) Second requirement:
    After getting the multiple collection elements(select_arrid_collection),I want to loop through each select_arrid_collection element and map the elements in that to another service schema.
    I have created the xsd like above required modified schema and assign it to a variable(element type) which takes same modified schema so that I can have a variable on which I want to apply while activity.
    But I want to have the idea how to loop through the multiple collection elements(select_arrid_collection) and map the elements of each select_arrid_collection to a input variable of a service.
    My problem is I have to get each select_arrid_collection element in the schema where root element is 'root'.I am not able to trace how to get the no of select_arrid_collection elements so that I can loop through in the transofrm activity.
    Can anybody help me put in this?
    Edited by: 899283 on Jan 9, 2013 1:48 AM
    Edited by: 899283 on Jan 9, 2013 1:52 AM
    Edited by: 899283 on Jan 9, 2013 1:53 AM
    Edited by: 899283 on Jan 9, 2013 2:02 AM

    Can you please let us know if there are some helpful/correct answers in your previous questions and follow the forum etiquette? https://forums.oracle.com/forums/ann.jspa?annID=893
    Where Can I create Staging table in SOA server?
    regarding sending response at a time to a WSDL in BPEL
    Do we need nodemanager for SOA server installation?
    I want to set the time for polling of  DB Adapter

  • Sort element inside JComboBox

    Hi,
    i have a JComboBox containing list of Strings
    so lets say:
    String[] test = {"omega", "alpha", "beta", "Arc"}
    JComboBox testing = new JComboBox(test);
    now is there a way to sort the elements inside the JComboBox once they have been inserted ? or anyone know how to sort the elements before putting them in inside JComboBox ?
    the sample code was just for testing and I am dealing with MANY elements (at least 10) inside the JComboBox
    thanks in advance
    if you have any links that helps with this topic, I will also appreciate it

    <hmm>
    1) Check out the [url http://java.sun.com/docs/books/tutorial/collections/index.html]Collections API
    2) Note that using a java.util.Vector, (which combo box accepts in its constructor), allows you to do
    one of two things:
    ............If you are using a custom object, have it implement Comparable
    ............If you are using flat Strings, never mind...
    Then calling java.util.Collections.sort(myVector) would do this for you. NOTE: by not implementing
    Comparable, this may have undesirable results....
    A number of collection objects sort by default when you add an element.....

  • How to goTo a specific element in the sap.m.list

    Hi everyone,
    I have a long list of elements in the sap.m.list.
    I wish to allow the users to get to a specific element of the list without the users having to scroll the long list.
    Is that an api to allow the list to automatically "scroll to" a specific element?
    Regards,
    Chris

    Hi Chris,
    may be you can provide SearchField to go to specific element. have a look at JS Bin - Collaborative JavaScript Debugging&lt;/title&gt; &lt;link rel=&quot;icon&quot; href=&quot;http://static.jsbin.… I have not implemented search function but this will give you an idea what I am trying to convey.
    Regards,
    Chandra

  • I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to che

    I installed a new printer and now Photoshop Elements tells me I can't print.  The error message is "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available.  You will need to check your printer settings before printing."  I have uninstalled and re-installed Photoshop Elements, checked my printer settings and still I can't print a photo.

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

Maybe you are looking for

  • RESETTING IPHONE 4 KEYBOARD Question

    What's up all my apple users...Im always tryping some dumb typo in my texts and the phones dictionary kept them so when I write sometimes it spells stupid stuff...and I was thinking about resetting my iPhones keyboard but I didn't want to reset it an

  • I have a website w/ iLife '06/iWeb now. How would I convert to iLife '08?

    Sat, Aug 25, 2007 11:28 AM PST If I buy iLife '08, *how will it "blend" in with or subsume my existing iWeb '06 website files?* Since I am an intermediate level non-techie, I would like the transfer to be automatic, or to have the option for clicking

  • Extracting array from loaded xml

    I'm using Flex 4 in an AIR project and need to load the following xml text file <list>     <month name="Jan-04" revenue="400263" average="80052">         <region name="APAC" revenue="46130"/>         <region name="Europe" revenue="106976"/>         <

  • X-systemd.automount nfs drive

    Hi, I can't seem to get systemd.automount to behave.  I have an nfs share available on machine 'kombi' and am trying to access it from machine 'forrest': [root@forrest ~]# showmount -e kombi Export list for kombi: /mnt/nfs4/georgia 192.168.1.202 /mnt

  • Adobe Reader X Bookmarks

    I simply want to determine how to mark a page in a large .pdf format document where I can readily return upon resuming reading.