How to maintain Currencies at Hierachu Node Levels

HI Gurus
I have a requirement to use the Currency Translation at Hierarchy Node Level :I have to display all the Node Level Currencies at Group Currency Level AED  and Child level will have Local Currency.
For Example : I have Plant Hierarchy 
         PLANT NODE1:   AED (Result needs to be converted in to AED)  ---> 9800 AED instead of 1000 BHD
                 CHILD1 :  500 BHD
                 CHILD2 :  500 BHD
         PLANT NODE2:  AED (Result needs to be converted in to AED) -->13250 AED  Instead of 1000 KWD
                  CHILD2 : 500 KWD
                  CHILD3:  500 KWD
PLANT ROOT  : AED : 23050 AED should be appeared insted of * due to multiple currencies
I have tried to created NOde variables and use the currency conversion filed but it is appearing in non editable mode.
Could you please advise how can we achieve this
Best Regards
NLN

HI Gurus
I have a requirement to use the Currency Translation at Hierarchy Node Level :I have to display all the Node Level Currencies at Group Currency Level AED  and Child level will have Local Currency.
For Example : I have Plant Hierarchy 
         PLANT NODE1:   AED (Result needs to be converted in to AED)  ---> 9800 AED instead of 1000 BHD
                 CHILD1 :  500 BHD
                 CHILD2 :  500 BHD
         PLANT NODE2:  AED (Result needs to be converted in to AED) -->13250 AED  Instead of 1000 KWD
                  CHILD2 : 500 KWD
                  CHILD3:  500 KWD
PLANT ROOT  : AED : 23050 AED should be appeared insted of * due to multiple currencies
I have tried to created NOde variables and use the currency conversion filed but it is appearing in non editable mode.
Could you please advise how can we achieve this
Best Regards
NLN

Similar Messages

  • ALV Tree - how to put checkbox on the node level?

    Hello everyone!
    I have an AlvTree and I have special column named SEL. That column contains checkboxes. I want to put additional checkboxes at the node level, I need them to create select all option.
    In other words I must somehow create something similar to do_sum option. DO_SUM works for numeric columns, the sum of all rows in current node appears at the top level. So I must do the same but checkbox.
    Are there any ideas?
    Here is my code of creating the tree.
    DATA: g_tree9001 type ref to cl_gui_alv_tree_simple.
    " Here I fill fieldcat...
    create object g_tree9001
          EXPORTING
            i_parent                    = g_doc_cont
            i_node_selection_mode       = cl_gui_column_tree=>node_sel_mode_single
            i_item_selection            = 'X'
            i_no_html_header            = 'X'
            i_no_toolbar                = ''.
    call method g_tree9001->set_table_for_first_display
          EXPORTING
            i_save              = 'A'
            is_variant          = ls_variant
          CHANGING
            it_sort             = gt_sort9001
            it_outtab           = gt_tree9001
            it_fieldcatalog     = gt_treefcat9001.
    My output table gt_tree9001 has sthe following structure:
    BUKRS, KTEXT, SEL, SWERK.
    My sort table gt_sort9001 has 2 rows. Sorting by BUKRS and KTEXT.
    My tree looks like this:
    BUKRS/KTEXT  --- SEL --- SWERK
    +bukrs1 ------------------------------
      -- ktext1 ---  X --- swerk1
      -- ktext2 ---  X --- swerk2
    +bukrs2 ------------------------------
      -- ktext3 ---  X --- swerk3
    I want to get:
    BUKRS/KTEXT  --- SEL --- SWERK
    +bukrs1 ----------X----------------
      -- ktext1 ---  X --- swerk1
      -- ktext2 ---  X --- swerk2
    +bukrs2 ----------X----------------
      -- ktext3 ---  X --- swerk3
    Appreciate any help!

    Hi ,
    Check the below threads, it may give some idea to get check box in the node .
    [LINK1|Check box on left navigation of ALV tree;
    [LINK2|Checkbox ALV Tree CL_GUI_ALV_TREE;
    Regards,
    Saravana.S

  • How to maintain currency decimal notation

    Hi all,
    we want to display  currency format  1,234,567.89
    but we are getting  current format   as 1.234.567,89
    we  already maintained  the required format in the USER PROFILE's  DEFAULT
    still we are getting this format  1.234.567,89
    so is there any thing we have to set at SPRO level?
    and also we have to maitain any thing more than these?
    please let me know urgently
    thanks in advance

    Hi Ramesh,
      Check the transaction "OY01".
      You can change your format of commas and decimal out here.
      Reward points if it helps.
    Regards
    Karan

  • How to calculate values on Hierarchy node level in WEBI

    Hi Experts
    I have a BI Query ,which have GL account Hierarchy(FSV) Drill down like
    Revenue                            213.15
    Operating Expense       28.49
    Revenue and Operating Expense are two node of the hierarchy ,similarly under these sub node and GL grouping is done in FSV(Hierarchy).
    I need to calculate Operating Expenses % and report look like
    Revenue                             213.15
    Operating Expense       28.49
    Operating Expenses %       13%
    i.e Operating Expences % = Operating Expences /  Revenue *100
    how It will done in Webi rich Client.
    Regards
    Abhi

    Hi,
    You need to work with your Business to understand how these calculations are formulated in their definition, and how they are qualified and quantified.  Next, you have to abstract that logic, and recreate it using the reporting interface of webintelligence.  context is everything.
    This is not something that can easily be explained over a text chat forum!!
    I'd encourage you to work with a colleague who can deliver such reports in BObj,  or,  give it a go yourself using trial and error.
    Regards,
    H

  • How to remove xmlns tag in Node level

    Hi Experts!
    How to remove xmlns tag in xml file, where only xmlns="". I do not want to remove if xmlns contains a value.
    I am using below xslt mapping, but it is removing all xmlns tags in a xml file. I want to remove only xmlns="" .
    please help me on this.
    Here is the code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="http://www.arconw.com/XI/XSLT_Library/XmlNamespacePrefixRemoval"
    version="1.0">
    <xsl:output method = "xml" />
    <xsl:template match="/">
    <xsl:apply-templates select="*" mode="remprefix"/>
    </xsl:template>
    <xsl:template match="*" mode="remprefix">
    <xsl:variable name="newname" select="local-name(.)"/>
    <xsl:element name="{$newname}" namespace ="{namespace-uri()}">
    <xsl:apply-templates mode="copyall" select="@*|comment()|processing-instruction()|text()"/>
    <xsl:apply-templates select="*" mode="remprefix"/>
    </xsl:element>
    </xsl:template>
    <xsl:template mode="copyall" match="@*|comment()|processing-instruction()|text()">
    <xsl:copy>
    <xsl:apply-templates mode="copyall" select="@*|comment()|processing-instruction()|text()"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>
    Thanks,
    Hari

    Hi Hari,
    Please try this as an option:
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public class RemoveBlankNS implements StreamTransformation {
         private Map _param;    
         public void setParameter(Map param) {
              _param = param;
         public void execute(InputStream in, OutputStream out) throws StreamTransformationException {
              try {
                   byte[] bytes = new byte[in.available()];
                   in.read(bytes, 0, in.available());
                   String payload = new String(bytes, "UTF-8");               
                   payload = payload.replaceAll(" xmlns=\"\"", "");
                   out.write(payload.getBytes("UTF-8"));
              } catch (Exception e) {
                   StringWriter sw = new StringWriter();
                   PrintWriter pw = new PrintWriter(sw);
                   e.printStackTrace(pw);
                   throw new StreamTransformationException(sw.toString());
    Thanks,
    -Russ

  • How to maintain the PR currency when it is converted in a PO?

    Hello Folks,
    My client needs to maintain the Purchase Requisition currency when it is converted in a PO. He wants systems issues an error message when for instance a PR is created in Euros and when this PR is picked and converted into a PO system doesn´t allow to change the currency and force you to create the PO in Euros in this case...
    Do you know  if there is a way to suit this requirement?
    thanks so much!

    Hi,
       The currency in PO will be defaulted with the currency maintained in the corresponding vendor master - purchase organization view. You may change the currency manually, anyway.
       PR is only an internal document. Will your vendor allow you to order in different currencies based on material / based on PR creator? How you will fix the amount and the currency in PR, where even the vendor will be unknown while creating PR, in most of the cases.
       I think the requirement is not logical and there is no provision in standard SAP to copy the currency from PR to PO, as of my knowledge. Also, the PR currency is at item level and PO currency is at header level.
       You may convince the customer that the PR is an internal document and the currency in PO is based on vendor currency (PO header)  and not based on PR item level currency. Even if you brought it through development, then in case there are multiple material in PR with multiple currencies, it will create inconsistency, since the PO header and you cant have multiple currency in one PO.
    Regards,
    AKPT

  • How to remove xmlns in node level

    Hi Experts!
    How to remove xmlns in node level in response xml file. I tried to use AF_Modules/XMLAnonymizerBean, but it did not work.
    Can you please help me out on this.
    I want to remvoe  xmlns tag in LEVICOM
    Eg:
    - <Addenda>
       - <LEVICOM xmlns="">
    Thanks,
    Hari

    Hi Expers!
    Please help me out on this. The below xslt mapping working only to remove xmlns prefix in xml file, if parent having only one child. This code is not working if parent having multiple childs.
    Eg:  <parent>
               <phild  xmlns="">
                 test1
                </phild>
            </parent>
    The above example working fine with below xslt mapping to remove xmlns tag.
    Second scenarion  not working
    Eg:  <parent>
              <child1  xmlns="">
                 test1
              </child1>
              <child2  xmlns="">
                  test2
               </child2>
            </parent>
    The above example is not working.
    Here is the code:
    You can remove the namespace prefixes using an XSLT mapping if they are causing problems with applications outside of XI.
    Try the following code:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="http://www.arconw.com/XI/XSLT_Library/XmlNamespacePrefixRemoval"
    version="1.0">
    <xsl:output method = "xml" />
    <xsl:template match="/">
    <xsl:apply-templates select="*" mode="remprefix"/>
    </xsl:template>
    <xsl:template match="*" mode="remprefix">
    <xsl:variable name="newname" select="local-name(.)"/>
    <xsl:element name="{$newname}" namespace ="{namespace-uri()}">
    <xsl:apply-templates mode="copyall" select="@*|comment()|processing-instruction()|text()"/>
    <xsl:apply-templates select="*" mode="remprefix"/>
    </xsl:element>
    </xsl:template>
    <xsl:template mode="copyall" match="@*|comment()|processing-instruction()|text()">
    <xsl:copy>
    <xsl:apply-templates mode="copyall" select="@*|comment()|processing-instruction()|text()"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>
    Thanks,
    Hari

  • How to maintain Status at the line item level

    Hi Folks,
    How to maintain the status at the line item level. I could able to find the path in the IMG for Header level. I will be looking forward for the path or the procedure for maintaining the status at the Line item level. Do the needful. Thank you.
    Regards,
    Amrita

    Hi Amrita,
    Goto SPRO>Customer Relationship Management>Transactions>Basic Settings>Define Item Categories, Select your Item category and click on Details. Witin profiles set type Assign Status profile you created against field Status profile.
    Hope this helps.
    Regards,
    Chandrakant

  • Field Currency of Context Node BTADMINH - How to set default

    I've got a field called currency for context node BTADMINH for UI Component BT115QH_SLSQ.
    This component and view and context node are all enhanced.
    This currency field takes values such as USD, EUR, etc (currency values for dollar amount).
    How can I default this field for instance so that when a new sales quotation is created that this field
    is set to USD by default.
    It doesnt look like I can use the BADI : BADI_CRM_BP_UIU_DEFAULTS or can I ?

    Ok If I redefine GET_CURRENCY I can change this value but I would like to call the super class implementation before this:
    method GET_CURRENCY.
    *CALL METHOD SUPER->GET_CURRENCY.
    *  EXPORTING
    *    ATTRIBUTE_PATH =
    **    ITERATOR       =
    *  RECEIVING
    *    VALUE          =
      data: current type ref to if_bol_bo_property_access.
      data: dref    type ref to data.
      value = space.
      if iterator is bound.
        current = iterator->get_current( ).
      else.
        current = collection_wrapper->get_current( ).
      endif.
      try.
          data: coll   type ref to if_bol_entity_col.
          data: entity type ref to cl_crm_bol_entity.
          entity ?= current.
          coll = entity->get_related_entities(
                   iv_relation_name = 'BTHeaderPricingSet' ).   "#EC NOTEXT
          current = coll->get_current( ).
          if current is not bound.
            if entity->is_locked( ) eq abap_true.
              current = entity->create_related_entity(
             iv_relation_name = 'BTHeaderPricingSet' ).         "#EC NOTEXT
              if not current is bound.
                return.
              endif.
            endif.
          endif.
          try.
              dref = current->get_property( 'CURRENCY' ).       "#EC NOTEXT
            catch cx_crm_cic_parameter_error.
          endtry.
        catch cx_sy_ref_is_initial cx_sy_move_cast_error
              cx_crm_genil_model_error.
          return.
      endtry.
      if dref is not bound.
        value = space.
        return.
      endif.
      try.
          value = if_bsp_model_util~convert_to_string( data_ref = dref
                                      attribute_path = attribute_path ).
    "NOTE I ADDED THIS PART, IT WAS NOT PART OF THE SUPER CLASS....
          if value eq ''.
              VALUE = 'USD'.
          endif.
        catch cx_bsp_conv_illegal_ref.
          field-symbols: <l_data> type data.
          assign dref->* to <l_data>.
          concatenate <l_data> '-CURR/QUANT CONV FAILED-' into value
                      separated by space.                       "#EC NOTEXT
        catch cx_root.
          value = '-CONVERSION FAILED-'.                        "#EC NOTEXT
      endtry.
    endmethod.
    Notice I added the part at the bottom that says:
    if value eq ''.
              VALUE = 'USD'.
    endif.
    This works 100% BUT...it forces me to copy the SUPER class implementation and modify within this function, but I dont want to copy super class, I want to call super class then ADD my code....
    That way if SAP does perform any updates in the SUPER class it wont mess anything up.
    But as you see it says:
    *CALL METHOD SUPER->GET_CURRENCY.
    EXPORTING
       ATTRIBUTE_PATH =
       ITERATOR       =
    RECEIVING
       VALUE          =
    So what do I need to do to call SUPER->GET_CURRENCY.
    What value should I assign to attribute path ?
    iterator?
    and receiving value?
    Basically all I want to say in the redefintion of the GET_CURRENCY Method is like so:
    CALL METHOD SUPER->Get_Currency
    If Value = ' '.
    "no value so just assign it to USD
    Value = 'USD'
    End if.
    Edited by: Hermiz Jon on Jan 11, 2011 10:04 PM

  • How to Restrict the node level in account hierarchy

    Hi experts,
    I want to restrict the node level in account hierarchy. I attached one example. in that if i click 6000 node again it want to show error message. for one parent node i want to create only two child node. Further if i create means it want to show error msgs and not allow to create the node..
    Regards,
    gopi

    Hi ,
    The component is bp_hier, and method is onnew_node.
    IF lv_tree->is_locked( ) = abap_false.
         lv_tree->lock( ).
       ENDIF.
       CHECK lv_tree->is_locked( ) = abap_true.
       lv_index = typed_context->accounthierarchy->selected_index.
       lv_tree_node = typed_context->accounthierarchy->get_node_by_index( lv_index ).
    *key = lv_tree_node->node_key.
      CALL METHOD lv_api->get_node_parent
         EXPORTING
           iv_node_key        = key
         IMPORTING
           ev_parent_node_key = lv_paent_key
    *      ev_tree_guid       =
    *   lv_parent = lv_tree_node->parent_entity.
    *    typed_context->accounthierarchy->parent_entity.
    CALL METHOD lv_tree_node->get_children
       receiving
         rt_children = rt_child.
       CHECK lv_tree_node IS BOUND.
       lv_tree_node->is_leaf = abap_false.
       TRY.
           lv_proxy_node ?= lv_tree_node.
           TRY.
               lv_object ?= lv_proxy_node->bo.
             CATCH cx_sy_move_cast_error.
               lv_mixed_node ?= lv_proxy_node->bo.
               lv_object ?= lv_mixed_node->if_bsp_wd_ext_property_access~get_model_node( ).
           ENDTRY.
           lv_object_name = lv_object->get_name( ).
           IF lv_object_name = 'BuilHierarchyNode'.
             lv_relation_name = 'BuilHNodeRel'.
           ELSEIF lv_object_name = 'BuilHierarchyHeader'.
             lv_relation_name = 'BuilHeaderNodeRel'.
           ELSE.
             RETURN.
           ENDIF.
           lv_tree_node->get_children( ).
           lv_object = lv_object->create_related_entity( lv_relation_name ).
           lv_child_node = lv_proxy_node->node_factory->get_proxy(
               iv_bo = lv_object
               iv_proxy_type = 'CL_BP_HIER_HIERARCHYTREEV_CN05'
               iv_parent_proxy = lv_tree_node ).
           lv_tree_node->expand_node( ).
           typed_context->accounthierarchy->refresh( ).
           typed_context->accounthierarchy->deselect_all( ).
           lv_child_node->selected = abap_true.
           lv_child_node->is_leaf  = abap_true.
    *accounthierarchy
    *      selectedhierarchynode
           lv_col_wrap = typed_context->selectedhierarchynode->get_collection_wrapper( ).
           lv_col_wrap->clear( ).
    This is the code.
    i wrote . but its not getting.

  • How to display the Hierarchy Node Level in BEx

    Hi Folks,
    In my report I have a Hierarchy. I have to display the Node level of the Hierarchy in the output.
    For Eg:
             If I have BB under AA root node then in the output it should display Level 1 for AA and Level 2 for BB.
    Thanks in Advance.
    Regards,
    Srikanth N

    I don't think it is possble to display the hierarchy level in the report itself.
    However, if you go to properties of the characteristic where you have the hierarchy defined, there you can expand the hierarchy to a pre-defined level...I guess you know that.
    AT

  • How to expand or collapse the tree using node level.

    Hi All,
    I have 4 node levels in tree including the root at node level 0.
    If i click on node level1 for instance ,all the node level 1 should be expanded or collapsed.
    Only the root and and nodes at level 1 should be visible to the user.
    Can anybody pls help me to achive this functionality.
    Thanks,
    SRhodes.

    In the portal i can see something like a group with this property, but i can't find the component where is used this...
    You can see it in this [Screenshot|http://www.imaxenes.com/imagen/screenshot1de13a5.jpg.html]
    Wich type of UI Element can i use for do it ?
    Thanks !

  • Not Hier node levels we need Hier Node Descriptions

    Hi. Guys.
    I  come accross with issue like we have 0prod_hier with different hier node levels and we need Hier
    node descriptions in place of node levels after executing the report. So
    I have changed Level 01 Level 02 Level 03 ......... with Desc1 Desc2 Desc3...... like that in Hier Maintenance
    from backend side.
    I could be able to see the descriptions in places of Level 1 level 2 Level3 ....
    But problem is when I navigate the 0prod_hier into rows/columns it is going to short dump. Why
    I am getting I am not understanding
    and when I navigate other fields I am not getting problem. Only for Prod_hier, i am facing this
    problem error is saying like this. and currently Prod_hier is in Free Characterstics.
    Error analysis
    A RAISE statement in the program "SAPLRSDU_PART" raised th
    condition "TABLE_NOT_EXISTS".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    Please help me out how to solve this.
    thanks & Regards
    Vijay

    Hello Vijay,
    the cause of this problem are the temporary hierarchy tables.
    You may execute the report SAP_DROP_TMPTABLES (in se38) for the temporary hierarchy tables (= 02-tables) and
    recheck the behaviour. Please generate the query after doing this. You can find more information regarding temporary tables
    in note 449891.
    best regards,
    Jerome

  • How to make the tree sibling nodes sorting  in memory per the VO default?

    Hi,
    I have a question on the uncommitted tree nodes sorting. The tree was built using the same VO with the view link to itself (parent/child relation). I have defined a default sorting on my VO. Now if I insert a node to the tree, the sibling nodes may not sort correctly if it is not committed. I tried to insert it to the RowsetIterator at the right position, it seems OK. but when you right click or something that make the tree to refresh, the order will mess up. If I do an auto save after each action, everything looks OK. But the fusion pattern is to do a global save, I have to manipulate the tree with the uncommitted data. I know I can set the view object's SQL mode to do the in-memory sorting. But not sure if it works on the tree structure, because it is not a single RowsetIteroator.. Can someone give an advice? Many thanks.
    Edited by: user736572 on Jan 20, 2012 2:48 PM

    Thanks Sudipto for trying to help. I did try that, and as I mentioned in the previous posting, it doesn't work for the tree nodes (multiple RowSetIterator). the following is my code, where the treeVO is the vo instance for the firstLevel tree nodes and it has view link to its children. I am not sure how to sort all children for each level. Even for the first level where I did the explicit sorting in memory, it still not sorting at all.
    treeVO.setSortBy("code");
    treeVO.setQueryMode(ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS|ViewObject..QUERY_MODE_SCAN_DATABASE_TABLES);
    treeVO.executeQuery();

  • Re:How can we delete the concurrent node entry from the FND_NODE table

    HI ,
    11.5.10.2 on Oracle Solaris on SPARC (64-bit) .
    How can we delete the concurrent node entry from the FND_NODES table without running Autoconfig.
    Currently we are having 3 nodes RAC and we are deciding to remove one node from the RAC and all 3 nodes are registered as concurrent node with application but concurrent manager is running only on one node.
    Lot of the custom configuration we did it at application web tire level. If we run the Autoconfig at that time we need to redo those changes again that we are trying to avoid.
    Regards .

    we are trying to avoid to run FND_CLONE.setup_clean because it will delete all the nodes entries from the FND_NODES.If those entries are invalid then they should be deleted.
    Running AutoConfig after purging the table will populate it with the correct entries.
    In order to populate the nodes entries again we need to run autoconfig and it will change the server id in fnd_nodes and then we need to redo the ADI client configuration on users PC and redo all the changes that we made in jserv and webserver.For ADI Clients, you should use the correct server ids which will be populated in the table for you once you run AutoConfig.
    For jserv configuration, you can refer to (Customizing an AutoConfig Environment [ID 270519.1]) to make the preserve all your custom setup/configuration after running AutoConfig.
    If there any custom script to delete only one node from the fnd_node so that we don't need to run autoconfig after that, then I really appreciate.No.
    Thanks,
    Hussein

Maybe you are looking for

  • Icon View in Finder using Yosemite

    I currently upgraded to Yosemite from Mavericks, but I've noticed that when using Finder (and it defaults to opening files via Icon view) I don't see my files. When I switch to list or column view, I see my files. Anyone else having this problem?

  • Need Help on WebI Report

    Hi Friends, I have 2 tables in  query1  in Infoview. I want to hide table 1 and column1(out of 2 columns) in table 2. Please reply with step by step details Thank you.

  • Layout with 2 components on oposite sides of JFrame

    Hello all, I feel like I'm missing something really obvious, but I've been trying to layout a JPanel which extends the whole width of my JFrame and contains a button on either side. i.e. left frame edge-> | |button| <empty space here> |button| | <-ri

  • Relation table between Opportunity and Activity.

    Can any one help me to know,In which table relationships are maintained between Opportunity,Activity,Account etc

  • Invoice Workbench Form giving error

    Hi, I have done a customization on the Standard Invoice Work bench Form. Now When I am entering the lines detail for the non PO based header and closing the form it is giving me error like APP-SQLP-10186:Please Commit or clear your Changes before con