Sales Hierarchy

Hi
Path for sales hierarchy also steps.
Thanks
Regards
Hema

<b>Customer hierarchies</b> are used when a customer has a complex chain or organizational structure in which all or some of the parts of this structure will benefit from an agreement made for the customer’s company as a whole. For example, a large customer may have dependent offices, each responsible for their own purchasing, and as individuals, they would not benefit from a global pricing scheme. However, as part of a customer’s hierarchy, they would still benefit from
being associated with the larger parent company.  Before setting out and maintaining a customer hierarchy, one needs to determine what the requirement for the hierarchy is. If the requirement is a report, such as reporting bookings or
billings for global customers within a hierarchy, this can be done using a standard reporting hierarchy within the sales information system, Should the
desire be merely to offer prices according to a specific group, one could think about using a customer group on the customer master record, rather than a customer hierarchy. 
If, on the other hand, one wants to have a customer hierarchy in order to offer special price agreements or rebates across a customer’s organization on a global level, which may not be covered by a standard grouping, this can be covered by using the customer hierarchy.  The customer hierarchy integrates and relies on the partner determination in conjunction with the customer hierarchy settings in order to promote the linking between the customers. The partner determination causes the customer hierarchy to be represented in the sales document. The
customer hierarchy is a hierarchical organizational structure that consists of higher and lower level nodes. Each node is assigned within the structure to form a graphical diagram of the customer’s organization. 
A node is represented by an account group. A node can be a customer, such as a sold-to party, thus account group 0001. A node could also be a platform or merely an organizational department; thus, we have account group 0012. A customer hierarchy can only have a maximum  of 26 hierarchy levels. One creates a customer hierarchy by first defining the hierarchy type.  Menu Path 
The menu path here is IMG, Sales and distribution, Master data, Business partners, Customers, Customer hierarchy, Define hierarchy types.  Transaction Code  OVH1. 
For e.g.we have a customer hierarchy type A. This is assigned to the partner function1A, which is the highest node of the partner represented in the hierarchy. There should not be a need for you to create more than one hierarchy type, as you can only assign one hierarchy type per sales document type, The only time you may need a new hierarchy type is when one uses a different hierarchy for different business transactions.
One can now proceed to create the associated partner determinations for customer hierarchies.  Creating the associated partner determinations for customer hierarchies can be done by going to IMG, Sales and distribution, Master data, Business partners, Customers, Customer hierarchy, Set partner determination for hierarchy categories.  Transaction Code  VOPA. 
One can assign partner functions up to 26 levels, from 1A through to 1Z. . It is advisable to set the partner function as not changeable and one also needs to
maintain the source as a B, representing a customer hierarchy. This should be carried out for the sales document header and the billing document header, as one may need the hierarchy to be represented in both document types. 
Be careful also to maintain enough partner determination levels as are needed to represent the customer’s structure. For example, let’s say the customer’s company had seven levels in the hierarchy, and we only maintained five levels in the partner determination. The system would only copy data relevant to the five maintained levels into the sales document, and thus would only search for condition records up to the five levels of partners.  After the partner determination has been maintained, one needs to maintain the association between the higher and lower level customer account groups. As we know, the hierarchy is formed by a linking of account groups, and we need to maintain what account groups are to be linked Menu Path  IMG, Sales and distribution, Master data, Business partners, Customers, Customer hierarchy, Assign account groups. 
Transaction Code  OVH2. 
Here one assigns which account group can be assigned to a higher level account group, per the customer hierarchy type. For example, we can see for hierarchy type A that a sold-to party (0001) can be assigned to another sold-to party (0001), while a sold-to party (0001) can also be assigned to a payer (0003) and a hierarchy node (0012). Further down the table, we see that a hierarchy node (0012) can also be assigned to a sold-to party. This is logically assigning account groups, but if we do not introduce some form of organizational definition, the hierarchy could easily run out of control, especially because the system would not have a definitive organizational path to follow for condition records.Thus, one needs to assign lower level sales areas to higher level sales areas. 
Menu Path  Assigning lower level sales areas to higher level sales areas is done through IMG, Sales and distribution, Master data, Business partners, Customers, Customer hierarchy, Assign sales areas.  Transaction Code  OVH3.
Now that all the master data is maintained, other than the creation of the actual hierarchy itself, one needs to assign the hierarchy type to the actual sales document type. Menu Path  IMG, Sales and distribution, Master data, Business partners, Customers, Customer hierarchy, Assign hierarchy type for pricing by sales document type. Transaction Code  OVH4]. This simple assignment of the hierarchy type, such as A to a sales document type OR  (or TA ) means that you cannot have more than one hierarchy type per sales document, but you can have more than one customer hierarchy within the hierarchy type.
The only step to be carried out is the creation of the hierarchy to match that of the customer.Let’s use the example that our customer International  is a global account with branches represented in Africa, the Americas, Europe, Asia, and Australia. Each branch in these areas is further broken down into a national office and a subsequent regional office. Due to the size of the customer, we offer all &#30340;nternational  regional offices across the globe the same pricing discount of 10 percent off all our products. This would be represented in a hierarchy.  Menu Path 
To create this hierarchy, go to Logistics, Sales and distribution, Master data, Business partners, Customer hierarchy, Change.  Transaction Code 
VDH1. Do not forget to create the customer hierarchy nodes in the same way
that you would create all customer master records either using [VD01] with the account group 0012 or using the path. Got to Logistics, Sales and distribution, Master data, Business partners, Hierarchy nodes, Create transaction code V-12. 
Also do not forget to indicate the customers or nodes as relevant for customer hierarchy-specific pricing and/or rebates. This is done by setting the indicators on the billing screen of the customer master . 
following nodes and customers can be created: 
Customer:   10011—Munich Regional office of  Account group 0001 
International  Node:   10051—Germany–National office   Account group 0012 
Node:   10052—Europe  Account group 0012 
Node:   10054—Africa   Account group 0012 
Node:   10055—Americas   Account group 0012 
Node:   10056—Asia   Account group 0012 
Node:   10053—International—Global account   Account group 0012 
On creation of the hierarchy node using transaction code VDH1, one must select the Create assignment button and then enter the higher level and the assigned lower level node. 
When creating a sales order, one can clearly see the customer hierarchy in the partner’s overview,
Sales document  If you do not initially see the hierarchy, note the four buttons at the bottom of the display, and Click Select All Partners
This concludes the determination of the customer hierarchy. Its usefulness remains in that it can be used in conjunction with the condition technique to offer discounts, surcharges, or special pricing. Do not forget that if the sole purpose of your customer hierarchy is to report bookings or billings in a hierarchical form, this can be done by using the standard logistics information systems (LIS) hierarchies.
Regards
Jitesh

Similar Messages

  • Mobile Application Crashes when loading Sales Hierarchy

    Hi guys,
    When I am trying to load the sales Hierarchy tile set in the Product component the system hangs out.
    I checked for notes and founf out the note 630848.
    But this note is valid for 3.0 SP17 .
    We are using 4.0 sp07.
    Any one has some clue for my issue

    Fredrick,
    I waited for the projects to get published.
    I did ot make any chnages in the UI
    This is the line which gives the error.
    Private CMSAInbox As CMSAInbox
    This is what I found after the trace observation
    During the trace, after the following SQL command is run:
    “-- CATG_QRY
    SELECT [SMOCATG].[MANDT] [MANDT], [SMOCATG].[SFACATG] [SFACATG], [SMOCATG].[CATGID] [CATGID], [SMOCATG].[SFAHIER] [SFAHIER], [SMOCATG].[SFAPARCATG] [SFAPARCATG], [SMOCATG].[NONASSIGN] [NONASSIGN], [SMOCATG].[LOGSYS]
    [LOGSYS] FROM [SMOCATG] [SMOCATG] WHERE [SMOCATG].[DELETED] = '0'
    AND SMOCATG.CATGID = 'HWANMPROBEFILMZZZZ'
    OPTION (FAST 100)”
    The same SQL query keeps getting executed over and over again in an infinite loop until we kill the trace. The looping SQL query is:
    “-- CATGT
    SELECT [CATGT].[SFACATGT] [SFACATGT], [CATGT].[SFACATG] [SFACATG], [CATGT].[CATTEXT] [CATTEXT], [CATG].[CATGID] [CATGID], [CATG].[SFAHIER] [SFAHIER], [CATG].[SFAPARCATG] [SFAPARCATG] FROM [SMOCATG] [CATG],[SMOCATGT]
    [CATGT] WHERE [CATG].[DELETED] = '0' AND [CATGT].[DELETED] = '0' AND CATG.SFACATG*=CATGT.SFACATG
    AND CATG.SFACATG = '2277A14AEF1EA64B89FD30E37FA2D8ED' AND CATG.SFAHIER = '' AND CATGT.MANDT = '000' AND CATGT.LANGU = 'EN'”
    Thanks for the patience

  • Sales hierarchy . role based reports and Data access, Best practice and sol

    Dear all,
    Currently working on a solution for Sales. There a geography and sales position hierarchy.
    e.g. (USA,EU,ASIA) --> EU head -->UK head -->Northern UK head -->London head -->East london--> Postal codes in east london.
    so altogether 7 roles and 7 positions, all these users can see data at it's level and below.
    Also the summary report/ Prompts/ subject area columns for each of these users must be at their corresponding level and just 1 level below.
    e.g. EU head by default must see column EU and country UK, UK head will see report only for UK and Northern UK region and so on.
    After lots of thinking i am planing to take approach of creating 6 sets of similar dashboard/ different prompts/ different global filters/ reports.
    Data level access is not at all issue i am easily able to manage.
    Request experts to guide is there is any other better approach to take for objects in catalog.?
    many thanks in advance.
    Regards,
    Yogen

    Dear Srini,
    Data level Security is not at all issue for me. Have already implement it and so far not a single bug in testing is caught.
    It's about object level security and that too for 6 different types of user demanding different reports i.e. columns and detailed drill downs are different.
    Again these 6 types of users can be read only users or power users (who can do ad hoc analysis) may be BICONSUMER and BIAUTHOR.
    so need help regarding that...as we have to take decision soon.
    thanks,
    Yogen

  • Customer Sales hierarchy loading problem.

    Hi All,
    We are trying to load 0CUST_SALES_LKDH_HIER from R/3.
    The load goes fine , but he problem is for one particular node one of the levels does not get extra cted.
    For all the customers level 1 , level 2 and level 3 are extracted but for this particular customer only level 1 and 2 are extracted. We can see data for level 3 for this custoemr on the r/3 side but its not getting extracted to BW.
    Please Advise how we could fix this.
    Greatly appreciate it.
    Thanks,
    HM

    Hello,
    Did you find an explanation and preferrably a solution for this problem?
    Kind regards from Belgium,
    Ben

  • How to activate hierarchy in report?

    Hi experts,
    I want to create a report which will have Sales Office.. and my requirement is Sales Office Hierarchy shoud be active.. What are the steps to activate hierarchy in the report?
    Thank you,
    Swati.

    1. why it is necessary to activate the sales hierarchy.. i mean what is its use??
    > hierarchy helps to view the data at various level. Say you have hierarchy for Plant. Then you can see data at each plant level or total at region level or at country level. Same can be with time - date or week or month or year.
    2. Sort withing the hierarchy according to - sorting by Key or by text - name of plant or plant code.
    3. Expand to level - at what level hier should be diplayed. if there are more levels, then at what level inital report output is required.
    4. Position of Lower level nodes - nodes below / above its previous level.
    5. Values of Posted nodes  & Nodes with only lower level nodes - used to display or hide the data at each node level
    regards: gaurave

  • Hierarchy changes...

    Hi guys,
    we got information from our business user that there are changes in hierarchy of clothing brands.
    In our BI,our master data is maintained in excelsheets.we maintain there and then RUN  macro which generates csv files that will be uploaded into BI.
    Now I got little doubts about how to make these hierarchy changes make available in PROD...
    1.Do we maintain the data in excelsheets,then generate files(using macros) which will then be uploaded into BI or do we do changes in SAP BI hierarchy itself...the changes are more like addition of new nodes and change of child node from one parent node to the other parent node....
    2.what care do we need to take when our work is regarding changes in existing hierarchies in BI?
    Thanks alot.
    P Olin.

    In a previous project we used the same method - we had an excel macro which would generate the files and then we would load it into BW....
    Precautions :
    If you have multiple hierarchies against the same infoobject - make sure you do not load different hierarchies ... for example if you have a sales  and product hisrerchies for material - make sure you do not load Product hierarchy file to sales hierarchy - since this is an external hierarchy - the files will get loaded and your reports will start showing funny values...

  • Sales Order document Settlment

    Hi,
    In our business scenario as make to order case Sales Order costing is done in Sales Order level. Here one Sales Order consist with 29 production order. After salese order we do MRP run for for planned delivery, then Production Order creation, Production Order Confirmation, Production Order goods received to Sales Order, then WIP settlment on Production Order. Production Order WIP value posted to GL account with P&L and BS GL. After that Sales Order delivery, then WIP on Sales Order through KKA3 and Sales order settlment through VA88 for WIP vlaue posted to GL account. After that Customer Billing is created. If there is remaining stock then received production order goods to sales order, Production order final settlment, WIP will be reverse here in P&L and BS GL. Customer delivery in stock and final customer billing will be done. No WIP will occur in Sales Order lelvel. And finally Sales Order settlment. Sales Order is settled either COPA or GL account. We are not using COPA. Sales order is settled to GL account and it must be category 22 as primary cost element inP&L. I have one doubt while do sales order settlement sender is my Sales Order number. One Cost elment gl whose category is 22 is already maintained under Settlment Allocation structure against reciver category GL(P&L). But Sales Order number under settlment rule which GL I can put ? It will be P&L GL or BS GL because I have already checked in test mode both are taking as PL gl and BS gl. What should be ideally use ? Through this settlment value will flow to Cost of Sales and Revenue settlment which will appear in Sales hierarchy report. Previous testing same gl I put under settlment receiver of Sales dcoument number which is being used in allocation structure. In accounting same PL GL was debited and Credited.
    So I request you to kindly tell me what GL nature should I use under Settlment receiver. I have to settle Profit in GL.
    Best Regards,
    Samrat

    Hi,
    I have one doubt. This GL will be PL gl. One PL gl is debite and another PL gl is credited with plan profit value and change in wip is debit and wip is credit. But the doubt which I have "Is it requires final Sales Order settlment after completing final sales billing" ? Because I have done sales order settlment after final billing, and  Total Reserve has generated under report KKAC(Sales Hierarchy). Is the right the process. ? I think Sales Order settlment should be only when WIP will be gengerated on Sales Order level and to post WIP value to Sales order settlement gl. After final billing if I settle sales order number total reserves will appear..
    Best Regards,
    Samart Roy
    Edited by: Samrat Roy on Feb 17, 2012 5:20 PM

  • Syntax error while loading hierarchy from an external file

    Dear Expert:
    I am new to BW and I met a problem today while loading hierarchy from an external file. Actually I am following below article to load the hierarchy:
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    When I schedule the infopackage, the error message says: "Syntax error in template RSTMPL9C, ROW 76". Actually there is only around 20 lines of records.
    Since I am not familiar with hierarchy load, so:
    1. while loading from external file, do I need to create one hierarchy in advance  through "Maintain Hierarchies" in the infoobject? My understanding is since I can load that hierarchy from file, so I do not need to create one in advance, once the load completed, the hierarchy should automatically generated there. Is my understanding correct?
    2. Before loading the hierarchy, do I need to load the master data of external characteristics in the hierarchy first? Here in my example, the sales hierarchy has 2 external characteritics (Country and region) in the hierarchy. Do I need to load some data first?
    3. My 'Preview' function in the infopackage is gray so that I can not test the data loading. Why is it gray?
    Information like file name, file dir, file type(csv), seperator should be correct there.
    Can anybody help me take a look into that? Many thanks for your time in advance!
    Tim

    Hi ctsiszidane:
    There are some other SAP Notes that can help you solve the problem.  Depending on your Support Package level check which of them is applicable.
    Note 659461 - RSAR 682: Syntax error in template RSTMPL9A, row 246
    Note 605690 - Escape characters are not processed correctly
    Note 620152 - Syntax error in RSTMPL9A during data loading from a file
    Regards,
    Francisco Milán.

  • BPC: Restrict the view of the values of a hierarchy

    Hello experts,
    We want to restrict the view of the values of a hierarchy, let me explain. In our scenario, we have a sales hierarchy with two divisions East and West. We want the users of the East division to enter planning data only for their part of the hierarchy and so the western users. It is also possible to restrict the view of the reported data depending on the users?
    We are trying to do this through the Member Access Profiles but we are not getting the issue solved. Which steps should we follow? Are we working in the right direction?
    Thanks in advance

    From the information you provided, you are on the right path.  Member Access Profiles define the data users are able to view and/or enter.  In the scenario below, you will need to member access profiles as well as two teams.  You will also need to ensure that the task profile allows users to submit data.
    Here are simple definitions I use with clients:
    - Task Profiles - define functions a user / team may access
    - Member Access Profiles - define data / hierarchy members a user / team may access
    - Team - combination of 1 or more member access profiles and a single task profile
    I suggest starting with defining a task profile (e.g. Plan Contributor) that has the proper tasks.  Then define two member access profiles (e.g. East and West).  Finally, create two teams and assign users to each. 
    An important concept to remember that assigning users to multiple teams provides them with the broadest access across the definitions.  Thus assigning a manager to both the East and West teams would enable the manager to see/ work with both parts of the hierarchy.
    Good luck,
    Jeff

  • Passing hierarchy node variable in a hyperlink

    Hi,
    We are on XI 3.1 SP3.
    We have a BW summary query with hierarchy active, with hierarchy node variable as "optional" selection variable. Created Universe based on the query and built a WebI report. Have activated "Drill". That way we are able to drill down per the levels. This works fine.
    We have another BW detail query with optional hierarchy node selection. Created a universe and a WebI report for the detail report..
    When we try to create a hyperlink from the summary WebI report to the detail WebI report in "display" mode, creation of Hyperlink is very intutive. We are able to pass parameters.and the hyperlink works fine.
    The only problem occurs when we try to pass the hierarchy node variable value. The value of the hierarchy node gets passed, but the report does not bring over any data,
    Is this a known bug? Is there a workaround.
    Kindly advice.
    Rgds

    Hello,
    Ingo, thanks for your comment Sorry for the delayed response.
    Let me explain my scenario. On my report I have the following:
    1. Sales Hierarchy (5 level hierarchy)
    2. Product Group (Hyperlink created - want to pass Sales Hierarchy node value + Product group to detail report)
    3. Key Figure 1
    4. Key Figure 2
    I have activated drill which allows me to drill down the Sales Hierarchy.
    Scenaio A.  Pass just the Product Group Key. Success
    If I just pass the  "Product Group Key", the detail report shows me the data for the specific Product Group as expected. This is a successful test
    Scenario B -  Pass the Sales Hierarchy Node key and the Product Group Key Fails
    In this case, I am passing the "Product Group key" along with the "L00 Sales Hierarchy key". When I click on the hyperlink, it gives me an empty detail report. I know for sure that values exist for all levels. If I run my detail report stand-alone, I am able to get values for all levels.
    However if I drill down to the last level in the Sales Hierarchy, the detail report shows correct value. For last level, the Sales Hierarchy Node value gets passed correctly along with the Product Group key.
    URL generated is as follows:
    http://<bobj server>:<port number>AnalyticalReporting/WebiView.do?bypassLatestInstance=true&cafWebSesInit=true&appKind=InfoView&service=/InfoViewApp/common/appService.do&loc=en&pvl=en&actId=216&objIds=6933&containerId=6923&bypassLatestInstance=true&lsMProductGroup=11101101&lsSGeoSales+Hierarchy=B01&isApplication=false&pref=maxOpageU%3D10%3BmaxOpageUt%3D200%3BmaxOpageC%3D10%3Btz%3DAmerica%2FDenver%3BmUnit%3Dinch%3BshowFilters%3Dtrue%3BsmtpFrom%3Dtrue%3BpromptForUnsavedData%3Dtrue%3B&sRefresh=N
    In the URL you can see that correct values are getting passed
    Product+Group=11101101
    Sales+Hierarchy=B01
    Do I need to append any value to the "B01" value ?
    I did not understand the part about appending [ ] or 0HIER.
    Can you please explain.
    Thnaks for all your help.
    Rgds

  • Where is the 0CUSTOMER_LKLS_HIER hierarchy defined in ECC?

    All,
    I'm trying to figure out where to configure the customer hierarchy in ECC/R3 so that the content datasource 0CUSTOMER_LKLS_HIER can be used.  Does any one know where to do this?? 
    I am aware of the sales hierarchy under logistics for business partners, however this hierarchy is extracted using 0CUST_SALES_LKDH_HIER and maps to the 0CUST_SALES infoobject, not 0CUSTOMER.  I know you can map this to 0CUSTOMER by adding attributes to customer, but I would like to understand where 0CUSTOMER_LKLS_HIER is pulling from.
    <removed by moderator>
    thanks for you help
    C.
    Edited by: Siegfried Szameitat on Jan 19, 2009 4:01 PM

    Christopher,
    hierarchy datasources of type LKLS do extract class hierarchies of R/3 classification system. See please:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/24/476ed7416711d189ec0000e81ddfac/frameset.htm
    So extraction with 0CUSTOMER_LKLS_HIER only makes sense id you have built up a corresponding class hierarchy (usually in class type 011 for customers).
    If you don't already have such a hierarchy and you're looking for any way to build and extract a customer hierarchy, the extraction of a flat file might be the simpler solution.
    Regards,
    Rolf Dörsam

  • Error in loading data into essbase while using Rule file through ODI

    Hi Experts,
    Refering my previous post Error while using Rule file in loading data into Essbase through ODI
    I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule file to add values to existing values I am getting error.
    test is my Rule file.
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot put olap file object. Essbase Error(1053025): Object [test] already exists and is not locked by user [admin@Native Directory]
    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
    at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
    at java.lang.Thread.run(Thread.java:662)
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select C1_HSP_RATES "HSP_Rates",C2_ACCOUNT "Account",C3_PERIOD "Period",C4_YEAR "Year",C5_SCENARIO "Scenario",C6_VERSION "Version",C7_CURRENCY "Currency",C8_ENTITY "Entity",C9_VERTICAL "Vertical",C10_HORIZONTAL "Horizontal",C11_SALES_HIERARICHY "Sales Hierarchy",C12_DATA "Data" from PLANAPP."C$_0HexaApp_PLData" where (1=1) """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=30
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close()
    Please help me on this...
    Thanks & Regards,
    Chinnu

    Hi Priya,
    Thanks for giving reply. I already checked that no lock are available for rule file. I don't know what's the problem. It is working fine without the Rule file, but throwing error only when using rule file.
    Please help on this.
    Thanks,
    Chinnu

  • Error while using Rule file in loading data into Essbase through ODI

    Hi Experts,
    I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule fule to add values to existing values am getting error.
    test is my Rule file.
    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot put olap file object. Essbase Error(1053025): Object [test] already exists and is not locked by user [admin@Native Directory]
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    from com.hyperion.odi.common import ODIConstants
    from com.hyperion.odi.connection import HypAppConnectionFactory
    from java.lang import Class
    from java.lang import Boolean
    from java.sql import *
    from java.util import HashMap
    # Get the select statement on the staging area:
    sql= """select C1_HSP_RATES "HSP_Rates",C2_ACCOUNT "Account",C3_PERIOD "Period",C4_YEAR "Year",C5_SCENARIO "Scenario",C6_VERSION "Version",C7_CURRENCY "Currency",C8_ENTITY "Entity",C9_VERTICAL "Vertical",C10_HORIZONTAL "Horizontal",C11_SALES_HIERARICHY "Sales Hierarchy",C12_DATA "Data" from PLANAPP."C$_0HexaApp_PLData" where      (1=1) """
    srcCx = odiRef.getJDBCConnection("SRC")
    stmt = srcCx.createStatement()
    srcFetchSize=30
    #stmt.setFetchSize(srcFetchSize)
    stmt.setFetchSize(1)
    print "executing query"
    rs = stmt.executeQuery(sql)
    print "done executing query"
    #load the data
    print "loading data"
    stats = pWriter.loadData(rs)
    print "done loading data"
    #close the database result set, connection
    rs.close()
    stmt.close()
    Please help me on this...
    Thanks & Regards,
    Chinnu

    Hi Priya,
    Thanks for giving reply. I already checked that no lock are available for rule file. I don't know what's the problem. It is working fine without the Rule file, but throwing error only when using rule file.
    Please help on this.
    Thanks,
    Chinnu

  • Setting up Hierarchies and dimensions

    Do you have any idea what i need to do if the commissions depend on discounts, item numbers and customer numbers?
    We are on 3i- 3.1.2 and pay commission after invoicing and have used indirect mapping from AR. How to bring in discount related info.
    How many hierarchies will I need to setup. Will I need one hierarchy for items, customers and rules apart from the sales and revenue class hierarchies. Also what should revenue classes and how should the rev class hierarchy look like if we have several thousand items and customers.
    Will I need to create each combination of item and customer as a revenue class and assign all of them to each compensation plan.
    null

    You will need a hierarchy of values for each dimension of classification that you need to determine the basis of classification. Your objective is to create the FEWEST rules that accomplish this objective. For example,
    A company sells 5000 products through two distribution channels. On the face of it, this would imply 10,000 rules and revenue classes. However, when we looked closer, it was the method of distribution that really determined how much they they paid. The product id was important to capture for auditing and reporting but was not actually needed for classification. Therefore, the only classifcation categories required were the two that distinguished the different distribution channels (which presumably paid different rates)
    Be sure to distinguish between the concept of classification to determine the basis of calculation and the linkages between salesreps and customer accounts. For example,
    does every customer have seperately negotiated rates for every product?
    The revenue class hierarchy will ultimately reflect the groupings of rules that you need for classification. The revenue classes are simply bundles of rule combinations...but you should only create the combinations that you definitely need. Think twice before blindly creating revenue classes for every combination.
    The sales hierarchy is completely different since that simply indicates the chain of credit receivers who potentially receive credit. The presence of a specific revenue class in their plan is the second determinant.
    I believe in 3i there is a plan element function which covers discounts. Not needed for classification.
    The customer dimension is not needed for classification unless individual accounts have seperately negotiated commission rates in addition to the discounts mentioned above. If that is the case, you will still want to look for ways to group similar customers together.
    Thinking this through can be challenging but the payoff is a system that is easier to implement and administer.
    null

  • How to hide the first 2 levels of Hierarchey in bex

    Hi Guys,
    I am using Sales Office Hierarchy in report. Hierarchy name is 'First Sales Hierarchy' which is coming as a root node.My requirement is that I do not want to see the first 2 levels of hierarchy,but I want to see the all 3rd level hierarchies only.I have tried with Display of hierarchy properties in the Query its not working.Is there way to go creating customer exit variable to achieve this?
    Emple: Screen shot
    I have to show only the 3rd level Hierarchy nodes only like corporate departments if user selects Corporate at selection etc..
    How can achieve this.can you please guide ...
    Thanks in advance
    Regards,
    Suresh Narayan

    Hi,
    In our system, once we filtere the hierarchy, it shows only the below nodes, not the above ones..we didn't do any changes....really.....
    Just drill down the char with hierarchy into ROWS..might show at higher level..
    Now select the level you want to filter - and say "Keep the filter on Axis"..you are done..system shows only below nodes..not the upper ones..
    You can decide how many NODES can be shown first time in query settings..

Maybe you are looking for

  • How to set up time machine so it can view old backup after renewal of user rights ?

    I am newbie in the mac world but I am very happy to use the devices I have. I just both and setup time capsule and did firt initial backup with time machine into account I have setup on the TC. But after while I was not able to view my user folder, s

  • Phillips 1080 TV

    I just got a Phillips 1080 TV and when I hook it up to my MacBook Pro with a DVI>HDMI adapter the highest resolution I get is 1920x1080. With overscan turned off I get black around all the edges. With overscan turned off I get cropped video on the to

  • Regarding Transport Of the Function group

    Hello Guru, I am Facing problem while transporting the Transport Request Number From SAP 4.7 to SAP ECC5.0. The Transport is Working Fine. I am able to transport the Package, But all the object in the package except Function Group is Not getting tran

  • Having problems with latest McAffee SiteAdvisor version

    RE: Firefox 3.6.15; McAfee SiteAdvisor v3.3.1.125 --- Firefox and the extension/addon McAfee SiteAdvisor v3.3.0.176 was working fine - no problems. However, since the release of 3.3.1.119 and 3.3.1.125, either Firefox or SiteAdvisor are not working t

  • What version of iDVD is compatible with OS X 10.7.04?

    I'd like to know when iLife updates are needed. My software update prompts don't say when iDVD needs Updating.  It's confusing.  The iMovie version (9.0.4) indicates I can publish to iDVD (6.0.4).  But when I attempt to share to iDVD, a message pops