Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down

Hello,
We have a BO report on Bex query, Not on universe, we have a Hierarchy for Cost Element Group, and we are expecting the Drill down functionality for that in BO report, but it does not.
Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down
Any pointers how to do it please
Thanks
Krishna

Hi,
WebI reports on BEx source don't use same Drill feature as other sources, it's replaced by expland/collapse of hierarchy nodes (documented in WebI user guide in § "24.1 Drill defined"). This means you have to create query which selects all hierarchy sub-tree you plan on exploring later in report, otherwise if no data is available under a node there will be no '+/-' sign to visit this part of tree.
You could try first to select "All members" from hierarchy in QueryPanel and see if behavior in report suits your needs. Then you should restrict hierarchy member selection to what's really needed to avoid performance issues.
Regards,
Loic

Similar Messages

  • BO BI 4.0: WebI report based on BEx query (OLE DB enabled)

    Hi Experts
    We are trying to create WEBI reports based on BEx queries, but we are experiencing some issues. We have created two BEx queries og two separate multiproviders and opened them for external use but checking the OLE DB enable checkbox. In WebI we are now only able to use on of the queries as a data source (even though both are OLE DB enabled).
    Are there any limitations to which multiproviders that can be used to create BEx queries for WebI reports?  
    We are using BO BI 4.0 and BW 7.0 SP 5.
    Kind regards
    Erik

    Hi again Henry
    We use BW 7.01 Support package 5 (we know it should have been at least 6), SAP GUI 7.20 patch 9, BEx 7.2 patch 6 and BO 4.0 patch 11.
    The BW user that is synchronized to BO has almost all rights (almost sap_all). When we log on to BEx directly with the same user we use in BO, we are able to run both BEx queries without any problems. When we then log on to BO (with the same user), we are only able to use on of the queries in WebI.
    As you say, we have to following setup:
    -     BO users are synchronized from our BW system and when they log on to BO they use the SAP authentication.
    -     The user that is synchronized from BW has been added to the Administrator group in BO  
    -     The OLAP connection is set to SSO so that the authorization in the BW system is used.
    It is really strange that we are not able to use on of our multi providers in BW in WebI. As you say, we just need to try debugging with changing the authorization concept, changing the OLAP connection setup and so on to see if that helpsu2026
    Kind regards
    Erik

  • ProcessdpCommandEx error when adding or removing object from WebI report (based on BEX query) query panel object list

    Hi,
    We have WebI reports build on BEX using BAPI connectivity. When we are trying to add a object in query panel in a existing report we are getting this ProcessdpCommandEx error. But error does not appear when we add at the end of the list of objects already added.
    Can you calrify whether this could be some setting issue or it is a known bug?
    Can you share SAP Note No in case it is a known bug?

    Hi Avijit,
    This error occurs in case of any failure in the connectivity. It is like the data providers are not getting processed.
    You have mentioned that the issue does not come with newly created reports
    Are you creating new reports on migrated universe or a newly created universe?
    If issue only comes with migrated universe, please check if the connection has been migrated properly and required middleware and database connectors are in place.
    If connections are in place, try importing and exporting the universe once and check.
    In case, new report works fine with migrated universe, then you can simply try to re-point the universe by editing the query and can run it again and check.
    Regards,
    Yuvraj

  • WebI report based on BEx query in Live Office document

    Hi
    We have a BEx query in BW that has one input ready variable (period). Then we have created a WebI report based on this BEx query (the WebI report itself does not have any prompts). When we run the WebI report we get asked to enter a value in the BEx variable (remember: this is not a WebI prompt). Until this stage everything works fine. Then we have created a Live Office document and added the WebI report. When we refresh the Live Office document, the BEX variable is not shown. The data that is retrieved is from the last time the WebI report run. The refresh option is set to u201COn demand: From the databaseu201D.
    Is there a way to get the BEx variables to be shown when refreshing the Live Office document? Remember, we do not use WebI prompts.
    We use BW 7.3 and BO BI 4.0.
    Kind regards
    Erik

    Hi,
    Unfortunately, this feature has not been developped the BICS connectiviy. It is only available for manda
    tory prompts based on universe. Others have noted the same problem, so there is an enhancement request for the feature to be available using BICS connection in the "Ideas Place".
    Use the link to vote for the idea, more votes gives a better chance that this will be picked up for development.
    [LifeOffice idea|https://cw.sdn.sap.com/cw/ideas/4094]
    Thanks,
    Marianne

  • Webi 4.0 with Bex Query

    Hi Experts,
    I am making webi report directly hitting bex query. I dont know much about bex may be you can help me understanding this, i have a Default Value (Global Filter date object) Recieved Date, which is also included in Free Characteristics of my bex query. Now while hitting this query Webi is showing three objects in universe outline panel for this Recieved Date , A dimension object Named Recieved Date and when you expand node of that Dimension it shows you another Recieved Date object but it is not a detail object it has a small up errow with it, then 3rd a Key detail objects.
    I am not getting why it shows us these 2 extra objects and which object needs to be dragged in to webi query
    Can some one  help me with this ?

    Hi Bilal,
    BW is an OLAP environment, the object you are talking about is an infoobject (characteristic).
    Now each characteristic comes with extra's, it not just a column in a table (consider it a dimension table in a data warehouse).
    For one the characteristic will have an (internal) key against which the actual values are set.
    Then there will be one or more text fields associated with the characteristic (short, medium, long),
    these will be available in one or more languages.
    One of these text fields will be the default to display and you can consider this as the meaningful or alternate key.
    When ever there is no masterdata (text) available in the language you make your request in, the key will be shown instead.
    So the default blue object is this either or result, the default text to display (or key if not available).
    The other ones are the text (irrespective of wether or not it holds data) and the key.
    You can use these if you specifically want the text or the key.
    So you can imagine there may be more available than the two you described for other characteristics.
    Hope this helps,
    Marianne

  • How to bulid a Crystal report based on Bex query as source

    Hi,
    I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
    Thanks,

    Hi
    The Crystal Reports are integrated with BW such that the query built in BW can be used to bulit Crystal Reports on them.
    After launching the Crystal Reports, you will have and option : "Open reprt from BW" whcih will help you in opening the BW Queries and create Crystal Reports.
    Also in the Menu there is an optin SAP-->Create New Report from a Query
    Regards, Hyma
    Edited by: Hymavathi Yanamadala on Aug 13, 2009 5:52 AM

  • Developing Crystal Report from SAP BEx query

    Hi,
    I am trying to create an crystal report from SAP BEx query( using MDX driver). I can able to connected to BEx query and got key figures and characterstics, but not able to get calculated key figures into crystal reports.
    Would likes to know how to use the calculated key figures used at BEx query level in Crystal Reports? and
    Creation of complex parametes in Crystal reports on SAP data.
    I really appreciate your quick reply.
    Thanks in advance.
    VR

    Hi,
    calculated keyfigures are shown like any other keyfigure in Crystal Reports.
    ingo

  • Enabling the Reporting Tools WAD, BEX Query Designer in BI 7.0

    Hi friends,
    Recently we installed BI 7.0 system with SP 13 and now we want to connect to the reporting tools WAD, BEX Query designer,  When I am selecting the BI system and after entering the login details we are encountering a error msg" connection to the gate way is failed".
    If any one has a solution please post a reply.
    Regards,
    shahid

    hi,
    I am getting the error msg after running the wad application as no BI server is existing.
    I hope that the wad and the BI system is not configured properly or connected to each other.
    If any documents please forward me.
    Regards,
    shahid

  • Cost Center and Cost Element Hierarchy and Actual Cost Center

    In Bex - Right now I am displaying Cost Center and Cost Element hierarchy with 12 months of data. I want to display the actual Cost center number next to cost element hierarchy - Can I display in Bex?
    Tried to with Structure creating formula variable for Cost Center using replacement path - didn't work. Can you please suggest me how i can achieve this?
    The format should be
    CostCenter H1   CostElement H1   CostCenter   Jan  Feb ...
    Thanks in advance and appreciate for any help...

    Let me explain it clearly and hope it is clear now...
    Designed the report as like this - Cost Center Hierarchy by Cost Element Hierarchy for 12 months of data. But Business agian search in R/3 for actual cost center numbers based on above two hierarchy nodes.
    I am trying to achieve this Bex instead of going back to R/3 - so that they can understand how the dollar amount is summed up on which major cost centers.
    If I remove the hierarchy on Cost Center - it will display all the cost centers. They want to see the Cost center numbers based on CC and CE hierarchy node so that you are displaying only those cost centers. That's the reason I am trying to design the  report with CC Hier, CE hier, Cost Center number and 12 months of data.
    In my data model - have only one Cost Center, if i can create another ZCOSTCENTER same as 0COSTCENTER - May be I can achieve this. still looking for options with out changing the design.

  • BW: Cost Element Hierarchy - from R/3 plus additional node in BW

    Hi all,
    We have cost element hierarchy (say ZP14PL) which we schedule to update periodically from R/3 into BW . However we would like to add an additional sub-node under this same hierachy via RSH1.  As this subnode is only for BW use, this is not maintained in the hierarchy ZP14PL in R/3.   With the 'full update' or 'update Subtree' option in the infopackage the hierachy ZP14PL will be deleted and replaced with the latest changes thus removing the additional node which we created for BW only.
    Any suggestion as to how we could have the latest hierarchy updated from R/3 without deleting the additional subnode that we added in the same hierachy in BW?
    Appreciate all expert advice.
    Thanks and best regards,
    VC

    An easy way would be to include this link into the file using a start routine....
    you should know the child node and parent nodes for the same and since the location of the same is going to be constant - you could add it to your start routine....
    Or have a time dependent hierarchy but that would mess up your reporting...
    Also this is not the correct forum to post BI relevant questions - suggest you post the same in the BI forums for more relevant answers....
    Arun
    Message was edited by:
            Arun Varadarajan
    [message moved to BI]

  • RSA2/Cost Element Hierarchy (0COSTELMNT_0102_HIER)/remove 0CO_AREAP Prefix

    Hi, gurus.
    We are using 0COSTELMNT_0102_HIER delivered infosource.  This datasource is extracting from our source system the cost element hierarchy.  When loading into BW, every element is getting a controlling area Prefix (cost element characteristics, hierarchy nodes and hierarchy name).  This is the standard behaviour.
    Our requirement is to remove Controlling Area prefix from every hierarchy node and from hierarchy name, but not from characteristic elements.
    eg......0CO_AREA........0COSTELMNT............0HIERNAME
    .........M650..................RU_SIGMA................M650RU_SIGMA
    .........M660..................RU_SIGMA................M660RU_SIGMA
    And we want to get the hierarchy name without the controlling area, so:
    ....................................................................0HIERNAME
    ....................................................................RU_SIGMA
    We can´t upload the hierarchy from a flat file cause we want to load and refresh it daily from the source system.
    We've asked in Marketplace about the missing "change" option in RSA2 transaction, cause we see 2 options to do this:
    1) Create a customer datasource for 0COSTELMNT hierarchy with RSA2 and use 2 custom function modules for extraction and hierarchy catalogs.
    2) Modify 0COSTELMNT_0102_HIER and call 2 new custom function modules for catalog and data extraction (GSBH_HIERARCHY_TRANSFER_SETS, GSBH_HIERARCHY_CATALOG_SETS)
    In any case, we would need access to RSA2 with create/modify authorization.
    They answered that RSA2 is for display only.  Here is their answer:
    "RSA2 is a display only transaction. This transaction is not released for changes in customer systems. The reason is that there would be risks due to incorrect modifications."
    I've also tryed BW07 transaction, but it is just for sets created with GS01 transaction (hierarchy class 0000), and I can´t create a custom datasource for Cost Element from this point.
    If is there another way to supress controlling area prefix??
    Our Development team don´t want the idea to modify GSBH_HIERARCHY_TRANSFER_SETS, GSBH_HIERARCHY_CATALOG_SETS function modules without an OSS note that says so.
    Thanks in advance, Leticia
    I'm having just the same problem mentioned in this thread /community

    I have created a ABAP program to download the costelementgroup from SAP R/3 into a flatfile.<br>
    Hope this helps.<p>
    &----<br>
    *& Report  Z_EXTRACT_COSTELMNTGRP_HIER<br>
    *&<br>
    &----<br>
    *&<br>
    *&<br>
    &----<br>
    <br>
    REPORT  Z_EXTRACT_COSTELMNTGRP_HIER.<br>
    <br>
    ************************************************************************<br>
    TABLES<br>
    ************************************************************************<br>
    <br>
    TABLES: SETLEAF,<br>
            CSKU,<br>
            CSKT.<br>
    <br>
    ************************************************************************<br>
    TYPES<br>
    ************************************************************************<br>
    <br>
    TYPES:  BEGIN OF T_FL_SETLEAF,<br>
            SETNAME TYPE SETLEAF-SETNAME,<br>
            LINEID TYPE SETLEAF-LINEID,<br>
            VALOPTION TYPE SETLEAF-VALOPTION,<br>
            VALFROM TYPE SETLEAF-VALFROM,<br>
            VALTO TYPE SETLEAF-VALTO,<br>
            LTEXT TYPE CSKU-LTEXT,<br>
            END OF T_FL_SETLEAF.<br>
    <br>
    TYPES:  BEGIN OF T_FL_CSKU,<br>
            KSTAR TYPE CSKU-KSTAR,<br>
            LTEXT TYPE CSKT-LTEXT,<br>
            END OF T_FL_CSKU.<br>
    <br>
    TYPES:  BEGIN OF T_FL_CSKB,<br>
            KOKRS TYPE CSKB-KOKRS,<br>
            KSTAR TYPE CSKB-KSTAR,<br>
            DATBI TYPE CSKT-DATBI,<br>
            END OF T_FL_CSKB.<br>
    <br>
    TYPES:  BEGIN OF T_FL_HIER,<br>
            NID(8) TYPE N,<br>
            IOBJ(30),<br>
            NNAME(32),<br>
            PID(8) TYPE N,<br>
            HID TYPE I,<br>
            VALC TYPE I,<br>
            DESC(60),<br>
            END OF T_FL_HIER.<br>
    <br>
    TYPES:  BEGIN OF T_FL_MKHIER,<br>
            HID TYPE I,<br>
            PID(8) TYPE N,<br>
            END OF T_FL_MKHIER.<br>
    <br>
    TYPES:  BEGIN OF T_FL_FINAL,<br>
            OUT(500),<br>
            END OF T_FL_FINAL.<br>
    <br>
    ************************************************************************<br>
    WORKAREAS<br>
    ************************************************************************<br>
    <br>
    DATA:  VFL_CSKU TYPE T_FL_CSKU,<br>
           VFL_CSKB TYPE T_FL_CSKB,<br>
           VFL_SETLEAF TYPE T_FL_SETLEAF,<br>
           VFL_HIER TYPE T_FL_HIER,<br>
           VFL_HIER1 TYPE T_FL_HIER,<br>
           VFL_MKHIER TYPE T_FL_MKHIER,<br>
           VFL_FINAL TYPE T_FL_FINAL,<br>
           VFL_SETHIER TYPE SETHIER_CO.<br>
    <br>
    DATA:  V_SETHEADER TYPE SETHEADER.<br>
    <br>
    ************************************************************************<br>
    INTERNAL TABLES<br>
    ************************************************************************<br>
    <br>
    DATA:  VIT_CSKU TYPE STANDARD TABLE OF T_FL_CSKU,<br>
           VIT_CSKB TYPE STANDARD TABLE OF T_FL_CSKB,<br>
           VIT_SETLEAF TYPE STANDARD TABLE OF T_FL_SETLEAF,<br>
           VIT_SETLEAF1 TYPE STANDARD TABLE OF T_FL_SETLEAF,<br>
           VIT_HIER TYPE STANDARD TABLE OF T_FL_HIER,<br>
           VIT_MKHIER TYPE STANDARD TABLE OF T_FL_MKHIER,<br>
           VIT_FINAL TYPE STANDARD TABLE OF T_FL_FINAL,<br>
           VIT_SETHIER TYPE SETHIER_CO OCCURS 0 WITH HEADER LINE,<br>
           VIT_SETVAL TYPE SETVAL_CO OCCURS 0 WITH HEADER LINE.<br>
    <br>
    ************************************************************************<br>
    VARIABLES<br>
    ************************************************************************<br>
    <br>
    DATA:  NID(8) TYPE N,<br>
           PID(8) TYPE N,<br>
           CSTEL(14) TYPE N,<br>
           SETCLS(4) TYPE C,<br>
           IOBJ(10) TYPE C,<br>
           HID TYPE I,<br>
           NHID(8) TYPE N,<br>
           NVALC(8) TYPE N,<br>
           OUT(500),<br>
           L_FLAG(2) TYPE N,<br>
           L_LINK(1),<br>
           L_COAREA LIKE BAPICO_GROUP-CO_AREA,<br>
           RETURN LIKE BAPIRET2.<br>
    <br>
    ************************************************************************<br>
    SELECTION SCREEN INPUTS<br>
    ************************************************************************<br>
    <br>
    SELECTION-SCREEN BEGIN OF BLOCK SS01 WITH FRAME TITLE TEXT-002.<br>
    PARAMETERS: P_SUBCLS(4) OBLIGATORY,                "Org. eenheid bepalen<br>
                P_SETNM(15) OBLIGATORY.            "Kostensoortgroep bepalen<br>
    SELECTION-SCREEN END OF BLOCK SS01.<br>
    <br>
    SETCLS = '0102'.                        "Setklasse voor kostensoortgroep<br>
    IOBJ = '0COSTELMNT'.                    "InfoObjectnaam voor kostensoort<br>
    <br>
    SELECT SETNAME LINEID VALOPTION VALFROM VALTO INTO TABLE VIT_SETLEAF<br>
           FROM SETLEAF<br>
           WHERE SUBCLASS = P_SUBCLS<br>
           AND SETCLASS = SETCLS.<br>
    <br>
    SELECT KSTAR LTEXT INTO TABLE VIT_CSKU<br>
           FROM CSKU<br>
           WHERE KTOPL = P_SUBCLS<br>
           AND SPRAS = 'NL'.<br>
    <br>
    LOOP AT VIT_SETLEAF INTO VFL_SETLEAF.<br>
    <br>
      IF VFL_SETLEAF-VALOPTION = 'EQ'.<br>
    <br>
        READ TABLE VIT_CSKU INTO VFL_CSKU WITH KEY<br>
                   KSTAR = VFL_SETLEAF-VALFROM BINARY SEARCH.<br>
    <br>
        IF SY-SUBRC = 0.<br>
    <br>
          VFL_SETLEAF-LTEXT = VFL_CSKU-LTEXT.<br>
    <br>
          IF VFL_SETLEAF-LTEXT IS INITIAL.<br>
    <br>
            SELECT SINGLE KTEXT FROM CSKU INTO VFL_SETLEAF-LTEXT<br>
                   WHERE SPRAS = 'N'<br>
                   AND KTOPL = P_SUBCLS<br>
                   AND KSTAR = VFL_SETLEAF-VALFROM.<br>
    <br>
          ENDIF.<br>
    <br>
          APPEND VFL_SETLEAF TO VIT_SETLEAF1.<br>
    <br>
        ENDIF.<br>
    <br>
        CLEAR VFL_CSKU.<br>
    <br>
      ELSEIF VFL_SETLEAF-VALOPTION = 'BT'.<br>
    <br>
        LOOP AT VIT_CSKU INTO VFL_CSKU<br>
             WHERE KSTAR GE VFL_SETLEAF-VALFROM<br>
             AND KSTAR LE VFL_SETLEAF-VALTO.<br>
    <br>
          VFL_SETLEAF-VALFROM = VFL_CSKU-KSTAR.<br>
          VFL_SETLEAF-VALTO = VFL_CSKU-KSTAR.<br>
          VFL_SETLEAF-LTEXT = VFL_CSKU-LTEXT.<br>
    <br>
          IF VFL_SETLEAF-LTEXT IS INITIAL.<br>
    <br>
            SELECT SINGLE KTEXT FROM CSKU INTO VFL_SETLEAF-LTEXT<br>
                   WHERE SPRAS = 'N'<br>
                   AND KTOPL = P_SUBCLS<br>
                   AND KSTAR = VFL_SETLEAF-VALFROM.<br>
    <br>
          ENDIF.<br>
    <br>
          APPEND VFL_SETLEAF TO VIT_SETLEAF1.<br>
    <br>
          CLEAR VFL_CSKU.<br>
    <br>
        ENDLOOP.<br>
    <br>
      ENDIF.<br>
    <br>
      CLEAR VFL_SETLEAF.<br>
    <br>
    ENDLOOP.<br>
    <br>
    CLEAR VIT_SETLEAF[].<br>
    <br>
    SORT VIT_SETLEAF1 BY SETNAME VALFROM.<br>
    <br>
    CALL FUNCTION 'K_GROUP_REMOTE_READ'<br>
      EXPORTING<br>
        setclass   = SETCLS<br>
        co_area    = L_COAREA<br>
        chrt_accts = P_SUBCLS<br>
        groupname  = P_SETNM<br>
      IMPORTING<br>
        return     = RETURN<br>
      TABLES<br>
        et_sethier = VIT_SETHIER<br>
        et_setval  = VIT_SETVAL.<br>
    <br>
    NID = 00000001.<br>
    PID = 00000000.<br>
    <br>
    LOOP AT VIT_SETHIER INTO VFL_SETHIER.<br>
    <br>
      IF NID EQ 00000001.<br>
    <br>
        HID = VFL_SETHIER-HIERLEVEL.<br>
    <br>
        VFL_HIER-NID = NID.<br>
        VFL_HIER-PID = PID.<br>
        VFL_HIER-HID = HID.<br>
        VFL_HIER-IOBJ = '0HIER_NODE'.<br>
        VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME.<br>
        VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
        VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
        VFL_MKHIER-HID = HID.<br>
        VFL_MKHIER-PID = PID.<br>
    <br>
        APPEND VFL_MKHIER TO VIT_MKHIER.<br>
        APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
        NID = NID + 1.<br>
    <br>
        CLEAR: VFL_HIER, VFL_MKHIER.<br>
    <br>
      ELSE.<br>
    <br>
        IF HID EQ VFL_SETHIER-HIERLEVEL.<br>
    <br>
          HID = VFL_SETHIER-HIERLEVEL.<br>
    <br>
          VFL_HIER-NID = NID.<br>
          VFL_HIER-PID = PID.<br>
          VFL_HIER-HID = HID.<br>
          VFL_HIER-IOBJ = '0HIER_NODE'.<br>
          VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME.<br>
          VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
          VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_HIER.<br>
    <br>
        ELSEIF HID LT VFL_SETHIER-HIERLEVEL.<br>
    <br>
          HID = VFL_SETHIER-HIERLEVEL.<br>
          PID = NID - 1.<br>
    <br>
          VFL_HIER-NID = NID.<br>
          VFL_HIER-PID = PID.<br>
          VFL_HIER-HID = HID.<br>
          VFL_HIER-IOBJ = '0HIER_NODE'.<br>
          VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME<br>.
          VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
          VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
          READ TABLE VIT_MKHIER INTO VFL_MKHIER<br>
            WITH KEY HID = VFL_SETHIER-HIERLEVEL BINARY SEARCH.<br>
    <br>
          IF SY-SUBRC = 0.<br>
    <br>
            VFL_MKHIER-PID = PID.<br>
            MODIFY TABLE VIT_MKHIER FROM VFL_MKHIER.<br>
    <br>
          ELSE.<br>
    <br>
            VFL_MKHIER-HID = HID.<br>
            VFL_MKHIER-PID = PID.<br>
            APPEND VFL_MKHIER TO VIT_MKHIER.<br>
    <br>
          ENDIF.<br>
    <br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_HIER, VFL_MKHIER.<br>
    <br>
        ELSE.<br>
    <br>
          HID = VFL_SETHIER-HIERLEVEL.<br>
    <br>
          READ TABLE VIT_MKHIER INTO VFL_MKHIER<br>
            WITH KEY HID = VFL_SETHIER-HIERLEVEL BINARY SEARCH.<br>
    <br>
          PID = VFL_MKHIER-PID.<br>
    <br>
          VFL_HIER-NID = NID.<br>
          VFL_HIER-PID = PID.<br>
          VFL_HIER-HID = HID.<br>
          VFL_HIER-IOBJ = '0HIER_NODE'.<br>
          VFL_HIER-NNAME = VFL_SETHIER-GROUPNAME.<br>
          VFL_HIER-DESC = VFL_SETHIER-DESCRIPT.<br>
          VFL_HIER-VALC = VFL_SETHIER-VALCOUNT.<br>
    <br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_HIER.<br>
    <br>
        ENDIF.<br>
    <br>
      ENDIF.<br>
    <br>
    ENDLOOP.<br>
    <br>
    LOOP AT VIT_HIER INTO VFL_HIER WHERE VALC NE 0.<br>
    <br>
      LOOP AT VIT_SETLEAF1 INTO VFL_SETLEAF WHERE SETNAME EQ VFL_HIER-NNAME.<br>
    <br>
        VFL_HIER1-PID = VFL_HIER-NID.<br>
        VFL_HIER1-HID = VFL_HIER-HID.<br>
        VFL_HIER1-IOBJ = IOBJ.<br>
        VFL_HIER1-DESC = VFL_SETLEAF-LTEXT.<br>
    <br>
        SELECT KOKRS KSTAR DATBI INTO TABLE VIT_CSKB<br>
               FROM CSKB<br>
               WHERE KSTAR EQ VFL_SETLEAF-VALFROM.<br>
    <br>
        LOOP AT VIT_CSKB INTO VFL_CSKB WHERE DATBI GE SY-DATUM.<br>
    <br>
          VFL_HIER1-NID = NID.<br>
    <br>
          CONCATENATE VFL_CSKB-KOKRS VFL_SETLEAF-VALFROM INTO CSTEL.<br>
    <br>
          VFL_HIER1-NNAME = CSTEL.<br>
          NID = NID + 1.<br>
    <br>
          APPEND VFL_HIER1 TO VIT_HIER.<br>
    <br>
          CLEAR: VFL_CSKB.<br>
    <br>
        ENDLOOP.<br>
    <br>
        CLEAR: VFL_SETLEAF, VFL_HIER1.<br>
    <br>
      ENDLOOP.<br>
    <br>
      CLEAR VIT_SETLEAF[].<br>
    <br>
    ENDLOOP.<br>
    <br>
    <br>
    LOOP AT VIT_HIER INTO VFL_HIER.<br>
    <br>
      NHID = VFL_HIER-HID.<br>
      NVALC = VFL_HIER-VALC.<br>
    <br>
      CONCATENATE VFL_HIER-NID ';' VFL_HIER-IOBJ ';' '"' VFL_HIER-NNAME '"'<br>
                  ';' ';' VFL_HIER-PID ';' ';' ';' 'N' ';'<br>
                  '"' VFL_HIER-DESC '"' ';' '"' VFL_HIER-DESC '"' ';'<br>
                  '"' VFL_HIER-DESC '"' INTO OUT.<br>
    <br>
      VFL_FINAL-OUT = OUT.<br>
      APPEND VFL_FINAL TO VIT_FINAL.<br>
      CLEAR VFL_FINAL.<br>
    <br>
    ENDLOOP.<br>
    <br>
    CALL FUNCTION 'GUI_DOWNLOAD'<br>
    EXPORTING<br>
      filename = 'hierarchy.csv'<br>
    TABLES<br>
      data_tab = VIT_FINAL<br>
    EXCEPTIONS<br>
      OTHERS   = 1.<br>
    <br>
    Edited by: Bjorn Houben on Dec 28, 2009 2:07 PM
    Edited by: Bjorn Houben on Dec 28, 2009 2:16 PM
    Edited by: Bjorn Houben on Dec 28, 2009 2:16 PM

  • Loading cost element hierarchy

    Hello experts,
    I have got 2 questions
    1)  I am trying to load cost element hierarchy and there are about a 100 hierarchies which i need to load.. do i have to manually select all of these one by one to load  or is there an easier way to do it ?? is there a way to select all the hierarchies which are showing up in the Infopackage selection.
    2) Now lets say there is a change to one of the hierarchies which i have loaded...let's say a new account group has been added to a particular hierarchy which i have already loaded? Do i have to reload that particular hierarchy manually ?? Is there anyway to automate this process ?? like loading the hierarchies automatically from time to time so that whatever changes have been made to the hierarchy in R/3 are being taken into account when the query is run.
    Thanks,
    Bose

    Hi,
    As Eric has mentioned, there is no other ways but to create 1 infopackage for each of the hierarchy. 
    However, I think there must be some relationship with the 100 hierarchies you have.  From what I know, in R3, if I have the following hierarchy
    PnL
    |- EBITDA
       |-- Net Cost
           |- Gross Operating Expenses
           |- Salary/Oncosts
       |-- Gross Margin
    And when you create an infopackage in BW for this hierarchy of characteristic 0COSTELMNT, potentially you'll be seeing hierarchies for PnL, EBITDA, Net Cost, Gross Operating Expenses etc..... So sometimes it does not mean that you have to create 1 infopackage for each of these.... you simply have to select the PnL in this case.
    Suggest that you check with you FI/CO colleague and see which is the main hierarchy...
    Hope this helps.
    Cheers,
    Gimmo

  • Cost Element Hierarchy extraction  error

    I am trying to extract cost element hierarchy from the ECC using standard extractor 0COSTELMNT_0102_HIER.   It says 26 records sent and 0 received in the monitor and see the following error when I click error message button.  I would appreciate if someone can help me to resolve this problem.
    Error when updating Idocs in Business Information Warehouse
    Diagnosis
    Errors have been reported in Business Information Warehouse during IDoc update:
    No status record was passed to ALE by the applicat
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Business Information Warehouse . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.

    My problem got solved.
    I went to details tab in the monitor. Look for the IDoc error, select and right click and choose option that says something like 'manual update/correct' on the IDoc.
    Rerun your extraction and it should work.
    Ram.

  • Needed to create a new cost element hierarchy to come in line

    needed to create a new cost element hierarchy to come in line with Victory reporting.  I went into create new group and referenced NETEXPS2.RD so that I could then edit it.
    I made all the changes required for the new hierarchy NETEXPS3.RD.  Unfortunately some of the changes I made have changed NETEXPS2.RD.
    Is this my fault for referencing?  Is there any way of going back to the original NETEXPS2.RD version and fixing it?
    Please suggest for the above.
    Regards
    Srinivas.

    In addition to Krishna if you don't want to expose all the package to the trainee, then create a new role keeping everything same as default MODELING role (open it and have a look) but in "PACKAGE PRIVILEGES" add only those package that you want to expose to the end users.
    Regards
    Kumar

  • Creation of cost element or not for GBB-VAX,GBB-INV and UMB

    Dear Experts,
    I have few doubt regarding creation of cost element. Whether i will create Cost element or not.
    1) GBB-VAX - used in PGI(Vl02n)We have costing based COPA .whether we will create cost element or not.If i will create cost element then need to be bydefault in okb9 with PSG tick.
    2) GBB-INV- Used for Material taging(MI01,MI04,MI07)whether we will create cost element or not.If i will create cost element then what will be my cost object and how i will charge from my product costing.
    3) UMB- is used whenever standard price is changed. Shall i create cost element for the same
    If yes hen what will be my cost object and how i will charge from my product costing.
    Request you to help me on the same.
    regards
    RR

    1) GBB-VAX -  No, Goods Issue for sales order with no assignment object and hence without Cost Element
    2) GBB-INV- Yes to post expenditure/income from inventory differences
    3) UMB- Yes
    Regards
    KS

Maybe you are looking for

  • Recalculate the cost when invoicing a sales order

    Hello, My customer often creates sales orders before receiving merchandise. So when he creates the sles order the base price is $0.00. And even though he receives the merchandise before creating the AR invoice the base price is recorded at $0.00 inst

  • Windows 7 x64 - headphone jack no sound

    has anyone gotten the sound to work out of the headphone jack? i got audio and microphone working by installing the latest Cirrus Logic driver - CS4206A (AB99), i think it's the latest, i got it from Cirrus website and it's the last one on the list,

  • How to use second monitor as extended monitor

    Want to use a second monitor at MacbookAir 11. I get the mirror to work and I know resolution is unfortunately not the same, but I wanted to use the two as one extended monitor. I cannot move or extend any window to cover both. Any advises how to get

  • HOWTO Patch JRE on Solaris 8 on SPARC

    Hello, I have been blessed with inheriting a fleet of Solaris 8 boxes which I have to patch for Java/JRE vulrenabilities. Does anyone know of a HOWTO on how to do that. I just exploded the new JRE version in /usr and changed the link /usr/bin/java to

  • Reporting Services Unicode Parameters Cause Performance Issues

    When I create a report using string parameters,  reporting services sends the SQL to SQL Server with an N prefix on the string parameters.  This is the behavior even when the underlying data table has no unicode datatypes.  This causes SQL Server to