Create Account Hierarchy - BPH_DNL

Hi All,
When i download the customer hierarchy object (DNL_BUPA_KNVH), the download runs fine (R3AM1: status is done).
When i try running BPH_DNL,  i am receing errors like  " Data record for customer XXXXXX in Sales area XX03/02/01 is not transfered.
I also see warning sign that For the R/3 sales area XX03/02/01 NO crm sales area is defined.
your help in this regard really appriciated.

Hi,
Check the Organization Model ppoma_crm,
Here you define the link between the R3 Sales Org and the CRM Sales Org.
If the mapping here is fine, you should not get the error while downloading the customers.
Regards,
Ajay.Gupta

Similar Messages

  • Account Hierarchy error while creating Funds,

    Hi All,
    I am working on CRM 7.0.
    I have created Account Hierarchy tree, Hierarchy Node & Subnode and assigned Accounts to node and subnode using transaction BPH.
    Now while i select this hierarchy in front end to create Fund in TPM, I am getting error as Invalid Hierarchy ID -
    Pls suggest me where might me i do mistate either Account hierarchy creation or in Funds?
    For an useful answer point will be given positively.
    Thanks in Advance.
    Regards,
    Ram

    Hi Andrew,
    have you assigned the correct customer hierarchy in customizing?
    Kind Regards,
    Giacomo

  • Function Module/BAPI to create Account Hierarchies in CRM.

    Hi Experts,
    Is there any standard function module to create account hierarchy in SAP, from the data we receive from the legacy system.
    Please let me know BAPI/FM name
    Can we use LSMW for uploading the account hierarchies?
    Moderator Please i have done enough research before posting this thread.
    Thanks.
    Vikki

    Hi,
    I got the FM name .
    I am using F.M. BUHI_EXT_INTERFACE_SAVE  for this purpose.
    Special Thanks to AJIT PAWAR for his help.
    Regards
    Vikash
    Edited by: vikashsingh1234 on Apr 18, 2011 7:46 AM

  • Problem with account hierarchy created in the rpd.

    Hi Everyone,
    A account hierarchy has been created in rpd with 14 levels. The problem is, for some account names when we click on the account name, it does not go to to the next level. For example, The account names "Phillips Van Heusan" - A1 and " Phillips Van Heusan"- A2 are present and they have separate account id's. When queried in the db with the account name which has a space in the front, am getting data but for the account name without space in the front am not getting any data. Both A1 and A2 have different account id's. And the Account name is set as primary key in the rpd in the dimensions hierarchy.
    But in the answers, when I filter out with these two account names, the account A2 gets displayed. When i click on this A2 , it does not drill down to next level where as shows no results. Nothing related to A1 is getting displayed.
    Same problem is faced for all the account names that are similar but have a space in the front.
    My questions:
    1. Is there a possibility that both account names can be displayed along with the measure columns coming from the service fact?
    2. Or else is it possible to filter out the record A1 so that only A2 gets displayed and the drill down happens properly to next level?
    Thanks in advance

    Ok, first the solution I gave to you is not negociable :) I MUST put the ID as the key and not the NAME.
    Once we have that in place, I need you to please change the name of your member and and make it different, not with a space but with a letter or namer. Let's say, go to the database , and add a 1 at the end of the member name so we make it different. Reload the repo and let me know it works.
    J.

  • Create CRM customer/account hierarchy node thru abap code

    Hi,
    Any one can help me on how to Create CRM customer/account hierarchy node thru abap code?
    Is there any Class/methods, FMs that I can use to create node in customer/account hierarchy?
    Sample codes will greatly help me.
    I hope someone can help me on this since this is my urgent requirements on my project.
    Thanks,
    james

    James,
    You can find the FM, Class Lib and APIs under the package BUPA_HIERARCHY.

  • Creating a Mass Task for an Account Hierarchy

    Hi All,
    I am trying to create a mass task for an Account Hierarchy in Web UI.
    But what's happening is, the Task gets assigned only to the Activity Partner under the Parties Involved assignment block. It does not go to other Accounts pulled up in the Parties Involved assignment block by the Action mentioned in the Scheduled Actions assignment block.
    My question is, why is the Task not getting assigned to all the Accounts in the account hierarchy for the Activity Partner?
    Please suggest some solution.
    Thanks,
    Abhinav

    I was able to do this through actions.

  • 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.

  • Rollup calculations in Account hierarchy (parent-child type)

    Hi,
    I want to create a parent-child relationship type Account hierarchy using Universe. The hierarchy has to support different set of calculations for roll ups action for different branches in the same level.
    Eg.
          Balance Sheet
              (+)Assets
              (-)Liabilities and Owners Equity
          Net Income
           (+)Operating Profit
           (+)Other Income and Expenses
           (-)Taxes
    Balance Sheet = Assets -Liabilities and Owners Equity
    Net Income = Operating Profit + Other Income and Expenses - Taxes
    Regards, Sujeev

    Measures automatically roll up.
    Whether you define your measure with an aggregate or not, if the projection is set to Sum, it will roll up.
    Measures that are to be summed should have Sum() wrapped round them at the universe level though.
    What you may have is a lot of positive values in your database and no negatives.
    If that's the case, you will need to use a case statement to determine the sign of the value.
    E.g.
    Sum(CASE WHEN Type='Asset' THEN table.value WHEN Type='Liability' THEN -1*table.value ELSE 0 END)

  • Account Hierarchy to BW..

    Account hierarchy, how does it gets created in ECC. It is account grouping or financial statement version.
    I need to being the account hierarchy to BW.. and trying to know..where the hierarchy data should be pulled from?
    Please give your inputs

    Resolved

  • Tcode for Maintaining GL Account Hierarchy

    Hi Gurus!
    I just want to ask where can I find the Tcode for Maintaining GL Account Hierarchy in R/3.
    Thanks.

    Hi,
    I guess, there is no Hierarchy as such maintained for G/L Account, in order to create a G/L acct. you can use FS00 t-code, whereas as mentioned in the earlier response you can also check FSE3 t-code for respective assignment of the Financial statements for the 'Assets' and 'Liabilities' followed with the G/L acct.
    Hope it helps..
    assign points if useful..
    Cheers,
    Pattan.

  • Create a Hierarchy

    I am having a sql which has invoice date and has a index on it. I need to put parameter on this column but the user wants to enter only period name.
    So if you create a hierarchy on this date column I know that performance will be really bad.
    I read that if we create a dimension table and attach this to that the performance retains. Can any body explain how to create dimension folder and create a hierarchy on that, how to attach that to complex folder and make a parameter on that.
    thanks in advance.
    thanks
    kiran

    Hi Kiran
    I have been waiting to answer this one so that I have some time to devote to the answer, not because I don't know what to do but because the answer will be time consuming.
    Basically, the steps involved are:
    1. Determine what your fiscal periods are
    2. Determine what time components you want to report on
    3. Build a table that would store those components
    4. Populate the table using a script to fill in the appropriate fiscal components
    5. Build a primary key on the date or some other user-defined unique key
    6. Build a series of non-unique keys on the components required within your hierarchies - typically fiscal month, fiscal quarter and fiscal year
    7. Import this table into Discoverer as your master time folder
    8. Create lists of values on all of the indexed items
    9. Copy the folder, using CTRL-C, once per transaction date, and paste it using CTRL-V into the appropriate business area
    10. Move the new folder up under its designated transaction folder
    11. Rename the folder and the items within it to reflect the date that it is going to manage - E.g. for a ship date the folder could be called SO Ship Date, with the main items being called Ship Date, Fiscal Shipped Month, Fiscal Shipped Quarter and Fiscal Shipped Year
    12. Create a Discoverer hierarchy on Ship Date, Fiscal Shipped Month, Fiscal Shipped Quarter and Fiscal Shipped Year and name it Ship Date Hierarchy
    13. Build a 1:N join from the calendar date in the copied folder to the transaction date - you probably also want the date in the underlying transaction table to be indexed for maximum performance
    14. Hide the date in the transaction folder
    Ok, now that the basic workflow has been outlined let's talk about some of the steps. Step 1 asks you to determine your fiscal periods. What this means is that you need to know the start and end date for your organization's fiscal year, and all of the fiscal periods in between.
    If you are using Oracle E-Business Suite you can use the GL_PERIODS table to get this information. This table stores information about the accounting periods you define using the Accounting Calendar form in Apps. In other words, GL_PERIODS is the Apps table that contains your organization’s fiscal calendar. However, because you can have recursive joins between the elements of this table, report performance can be seriously impacted. Each row includes the start date and end date of the period, the period type, the fiscal year, the period number, and other information. There is also a one–to–many relationship between a row in the GL_PERIOD_SETS table and rows GL_PERIODS.
    You can now write a simple script that will pull out the fiscal period information. Then, after you are certain that your algorithms are working, you should create a materialized view of your GL_PERIODS date hierarchy. After you have created the materialized view, you should place a unique index on the calendar date, with non-unique indexes on the months, quarters, and years. After you do this, inside your view you can now join your transaction date to the date in the materialized view and read off the hierarchy.
    Most DBAs are rightly concerned about adding materialized views to E-Business Suite. In this case, because GL_PERIODS is only updated only once a year, you have a perfect candidate for a materialized view. You just need to make sure that you refresh the materialized view after you add the dates for the next year.
    Now, GL_PERIODS only has information concerning fiscal periods, or months. You have to get the individual dates in there as well. Once again, if you are using Apps and you are using BOM (Bills of Material) you may well be using a table called BOM_CALENDAR_DATES. This table contains one row per date within your year. In order to join this table to GL_PERIODS you need to be able to determine which fiscal period a certain date falls in to. Having worked that one out you now join to the previous script adding a clause such as DATE >= GL.PERIODS.START_DATE and DATE <= GL_PERIODS.END_DATE where the PERIOD_TYPE is 'Month'.
    Here is a script that might give you the basics:
    SELECT DISTINCT
    gl_mth.period_name month,
    gl_mth.period_set_name set_name,
    gl_mth.start_date mth_start_date,
    gl_mth.end_date mth_end_date,
    gl_mth.period_num mth_number,
    gl_mth.last_update_date mth_last_update_date,
    (gl_mth.end_date -
    gl_mth.start_date) +1 mth_timespan,
    gl_qtr.period_name quarter,
    gl_qtr.start_date qtr_start_date,
    gl_qtr.end_date qtr_end_date,
    gl_qtr.quarter_num qtr_number,
    gl_qtr.last_update_date qtr_last_update_date,
    (gl_qtr.end_date -
    gl_qtr.start_date) + 1 qtr_timespan,
    gl_yr.period_name year,
    gl_yr.start_date yr_start_date,
    gl_yr.end_date yr_end_date,
    (gl_yr.end_date -
    gl_yr.start_date) + 1 yr_timespan,
    gl_yr.last_update_date yr_last_update_date,
    gl_yr.period_year period_year,
    gl_qtr.entered_period_name actual_qtr
    FROM
    apps.gl_periods gl_mth,
    apps.gl_periods gl_qtr,
    apps.gl_periods gl_yr
    WHERE
    gl_mth.PERIOD_SET_NAME = 'your data set name'
    AND gl_mth.period_type = 'Month'
    AND gl_mth.start_date >= '01-OCT-1998'
    AND gl_qtr.quarter_num = gl_mth.quarter_num
    AND gl_qtr.period_year = gl_mth.period_year
    AND gl_qtr.period_type = 'Quarter'
    AND gl_yr.period_year = gl_mth.period_year
    AND gl_yr.period_type = 'Year';
    Does this help understand the logic behind creating fiscal date folder?
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Error while deactivating Group account hierarchy

    Hi,
    I was executing an adhoc summary report(web report) where in I had to expand group account hierarchy upto node level 8.
    When I tried to deactivate the group account hierarchy ,there is an error messages saying "an error occured during loading.Please look into the upper frame for further information" & "System error in program SAPLRRK0 and form SORTING_PRUEFEN_01-04-..."
    Now I tried to go back to the variable selections from the toolbar, there is one more error message " the internal error is a targetted termination since the program has an incorrect status".
    I executed the same report now Using Bex,
    Using local view I selected group account hierarchy upto level 8 and executed.Later I deactivated the hierarchy and found report working fine with out any errors.
    Can U some suggest me why only on web reporting iam encountering this error.Please suggest me a remedy.
    ThanX N Regards,
    Suku

    Hi,
    Have you entered "111111" in the filed group account number?  If so, this account should be available / created in your group chart of account.
    Hope it helps
    Saravanan.A

  • CRMOD - Account Hierarchy (Relationship)

    All ,
    I am evaluating CRMOD - Account Hierarchy (Relationship) and I am having a few issue to identify the best practices to import and map the data according to the below scenario. I am not sure, if I am to use Portfolio Accounts / Books , PRM or just a Parent and Child Account relationship. Can someone provide guidance in regards to this requirement?
    Scenario 1:
    Parent Account (Distributor 1) has a 1:M Child Account(Partner 1) to which will have 1:M Sub Child Account(Customer 1)
    Scenario 2:
    Parent Account (Distributor 2) has a Child Account (Partner 2) to which will have Sub Child Account(Customer 1-same as the above)
    Regards ,
    Patrick

    To create a parent child relationship in Accounts:
    You create the account and then create the Sub-accounts accordingly. When you create the sub-account (b) to an account (a) the account b will have its parent account name defaulted with value of the parent account (a)
    To import using import wizard:
    1. Load all parent accounts with an External Unique Id
    2. Then load the sub-accounts with External Unique Id and The parent account External Id (which is specified in step 1)
    eg
    parent account import
    Account Name, Ext Id
    ABC, 123
    Sub-account import
    Account Name, ext id, par account extid
    def, 789, 123
    ghi, 901, 123
    Once you complete loading you can see parent account abc has 2 child accounts def and ghi - hope this helps

  • Uploading Account Hierarchy data

    Hi all,
    Can anyone tell me how to upload Account Hierarchy into BI.I have created a flat file with the Hierarchy structure but unable to upload.
    The File format is
    Node ID,Info Object Name,Node Name,Link Name,Top Node,From Ac,To Ac,Language, Short Text, Long Text,Description.
    Kindly help me in this regard
    Regards
    Ajoy

    Hello,
    SAP provides a very powerful tool to upload mass amount of data without any coding required : LSMW.
    Furthermore, you can use this tool together with the Migration Workbench (tcode SXDA) to do parallel processing...
    So why would you want to record anything, or create a Z program? Even if you need to implement your own rules, you can implement some coding within your mapping project... Many cookbooks about LSMW are available both on SDN and on the sap service market place (with sample files, etc.).
    And for the record, here is of you can use this IDOC that I mentioned in my previous reply:
    Re: using FM CRMXIF_PARTNER_HIER_SAVE
    Regards,
    Nicolas Busson.

  • Account Hierarchy / Territory Management

    Would appreciate some clarification on the following topics:
    (CRM 2007)
    Territory Management:
    I have created two partner functions: Sales Rep and Sales Assistant with Terr AFC: 000, however in crmm_terrman, as soon as I assign one partner function to a person of the position, the other person in the position acquires the same function. ie. I can not assign different partner functions to two different people in the same position.
    Is this correct?
    Finally, we have added BP_NODE_GUID as an attribute in the territory. As per note 494873 we know that there is no link between the R/3 hierarchy nodes / accounts and the BP GUID in CRM.
    The determination of the 'sales rep' of the territory is not working where the attribute is account hierarchy. Does anyone have a workaround for this?
    Thanks for your help!
    Edited by: Tanya Rodrigues on May 18, 2010 10:29 AM

    Resolved in CRM 7.0

Maybe you are looking for

  • IMovie simply won't work.  or start.  or do anything.

    My iMovie will get to the loading thumbnails screen and won't get past there. how do I fix it? none of this create a new user name stuff.

  • Always, when i start Firefox there is a CSS error (cross in red button)

    Could not read chrome manifest file '/Applications/Firefox.app/Contents/MacOS/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest'. Waarschuwing: ‘/’ gevonden waar declaratie verwacht. Naar volgende declaratie gesprongen. Bronbestand: c

  • Using variable in another class

    Im currently writting a Quiz program and i want to pass the varible holding the users score from the class "All.java" to "Results.java". Any ideas how i can do this?

  • Redistilling PDF some pages have been converted from cmyk to rgb.

    When re-distilling a pdf on certain files, some pages convert to rgb, even though the setting "High Quality Print" in Acrobat is set up leave colours unchanged. Same problem occurs on Acobat X, 9, 8 versions. Any help or suggestions appreciated.

  • Multi-Value return on the selection screen.

    hi everyone, I have two parameters on selection screen, Material Number and Material Description. I have provided custom F4 help for Material Number and the Material Description Field is input disabled. On selecting one of the values for Matnr from F