All Hierarchy selection in Infopackage

Hi Everybody.
Can anybody help me in selecting all the available hierarchy in infopackage for hierarchy extraction.
Thanks n regards
Raghavendra D

Hi everybody.
I manage to do that by ABAP using BAPIs.
Pre-condition:
You have to first create an InfoPackage, and click the button of "Available Hierarchies from OLTP". After that, mark those you'll want to load data in the option "Relevant for BW". Save the InfoPackage.
Create the following program in transaction se38:
+*&----
*& Report  ZAUTO_CHANGE_IP                                             *
REPORT  ZAUTO_CHANGE_IP                         .
DATA: S_HIER_PAR type BAPI6109HIE.
DATA: count type i.
DATA: I_T_RETURN type BAPIRET2 occurs 0,
      S_RSOSOHIE type RSOSOHIE occurs 0.
field-symbols: -HIECLASS.
Executa BAPI BAPI_IPAK_CHANGE
Altera a selecção da hierarquia
  CALL FUNCTION 'BAPI_IPAK_CHANGE'
  EXPORTING
    INFOPACKAGE = IPCKGE
    HIE_PARAMS = S_HIER_PAR
  TABLES
    RETURN = I_T_RETURN.
  if sy-subrc = 0.
Executa BAPI BAPI_IPAK_START
Executa o InfoPackage
    CALL FUNCTION 'BAPI_IPAK_START'
    EXPORTING
      INFOPACKAGE = IPCKGE
    TABLES
      RETURN = I_T_RETURN.
    if sy-subrc = 0.
      if count = 10.
        count = 0.
        WAIT UP TO 60 SECONDS.
      endif.
    endif.
  endif.
  count = count + 1.
endloop.
+
When you execute the program you'll have to insert the technical name of the datasource where the infopackage is created and the technical name of the infopackage.
The program loads all the hierarchies and it sleeps after 10 requests by a minute so it won't consume all the processes.
Change it as you like.
It worked for me, because i want to load 913 hierarchies, and this is the better and faster way.
Best wishes,
Diogo from Portugal.

Similar Messages

  • Hierarchy selection tab missing in infopackage

    Hi Experts,
    i am looking how to load multiple hierarchies to Bi so inorder to know available hierarchies from OLTP in hierarchy selection tab in infopackage which was not available at all. i had only data selection tab.i am using version Bi 7.0
    how can i found  hierarchy selection tab in infopackage
    Regards,
    narasimha.

    Hierarchy loading is the same for info object which is created under the info object itself.
    loading is uploading the data to the hierarchy, creating hierarchy is you will be maintaing the structure of the hierarchy under that info object
    Are you sure you have Hierarchy maintained for your info object?
    If the hierarchies are maintained you will find the Bell type symbol under the info objects in info providers tab.
    As told by mti - drill down till you find the data source --right click on it and select create info package - here you can find the tab hierarchy selection tab (which is the second tab in that screen).
    Check the below link to know more abt hierarchies
    http://help.sap.com/saphelp_nw04/helpdata/en/0e/fd4e3c97f6bb3ee10000000a114084/frameset.htm

  • Infopackage hierarchy selection from OLTP is not saved when transported

    I have created an infopackage in Development that is pulling an available hierarchy.  I then transported Infopackage to QA, but the Hierarchy, although is available from OLTP, is not selected in InfoPackage.  I created a copy of InfoPackage in the QA system and selected available hierarchy.  It allows me to select hierarchy, save and execute.  The issue I have is I need to transport the InfoPackage, created in DEV to all QA and Production systems.  The InfoPackage is not retaining available hierarchy when being transported.

    Hi,
    Usually infopackage will not be transported but created in QA and production systems. If the infopackage is transported to QA, the pushbutton in infopackage Hierarchies in OLTP will bring the hiearachies available in the QA R/3 system. Appropiate hierachy can be selected and the same infopackage can be saved.
    Regards,
    Dinesh D

  • CostCenter Hierarchy selection in the Infopackage

    Hi Everyone,
    For CostCenter hierarchy, in the Infopackage Hierarchy Selection tab, I can able to find the Parent Node for loading, but there is no Child node available.
    Can anyone help on how to bring the child node into the Hierarchy selection tab, and also how to check the Hierarchy node in ECC side.
    Thanks in advance,
    Satish.

    Hi,
    You can enter multiple single valus for any field in the infopackage. Just select the row for material type and then click on the insert duplicate button ( + sign ) which is at the bottom letf hand side in the 'Data Selection' tab within the infopackage. You will usually find this 'insert duplicate' icon next to the 'Check' push button.
    You can insert as many rows as you want for material type by select the material type rown and clicking on this icon. You can then enter the three values in the three rows for material type.
    Regards,
    Shilpa

  • Hierarchy upload-InfoPackage-Hierarchy Selection tab

    I have to upload hierarchy for Internal Order. I have InforPackage but on the Hierarchy Selection tab there is no hierarchy that I am supposed to upload (it's called A1). Do I have to extract the missing hierarchy from R/3? Can someone please provide the steps that should be taken?
    It's very urgent as I have to finish it today (well, the deadline is the end of this weekend).
    TIA,
    A.

    Hi Arek,
    Is ur infosource is properly assigned to the Hierarchy Data source or not!!!!
    If not then u need to check the proper data source(From R3) which needs to be used for ur loading.... based on that..
    If the DS is available in R3 then replicate the same and assign to ur Infosource..and maintain the proper TS and TR accordingly with the Idocs transfer method..
    once this is done then u can able to see the required hierarchy for ur purpose..
    make sure that the Hierarchy is available from ur source system.. then only it will be available in the IP selection tab.
    thanks
    Hope this helps

  • Description of hierarchy scheduled in Infopackage, needs to be changed

    Hi all,
    We are loading a hierarchy of the description "ACCOUNT  NFL  GP Hierarchy" (technical name ZFCGF_ACCOUNT_NFL_GP_HIERARCHY) through an infopackage. This infopackage is scheduled in a process chain. Now, the users have asked us to change the hierarchy decsription to "Fixed Costs Account Hierarchy" instead of
    "ACCOUNT  NFL  GP Hierarchy" though the technical name will be the same.
    When we are creating a new hierarchy selection in existing Infopackage and giving the same hierarchy name but different description, it is keeping the previous hier description unchanged. Also, we cannot recreate an infopackage as the infopackage is scheduled in process chain and the project is in go-live mode.
    Any help will be appreciated.
    Thanks

    Hello Somnath,
    Did you already found a solution for your problem?
    We're facing the same over here.
    Greetings,
    René

  • Delete hierarchy (header) from infopackage

    Hi,
    we're loading hierarchies from flatfile to an infoobject. Since the hierarchy is time-dependent and has versions, we need to create a new hierarchy structure / header for each new time slice and version, and the overview / the hierarchy selection in the infopackage is getting very complex.
    My question is, can we delete old headers out of the selection panel, since they aren't needed anymore?
    Best regards,
    Knut

    Hi,
    Yes, Loading hierarchy from PCFile.
    How to delete the hierarchy structure ? I see all temp. hierachy structure i created are shown in the infopkg. In the past I deleted the structure but forget how to delete.
    I appreciate you help/feedback.
    Thanks
    Ramesh

  • How-to Dynamic Hierarchy Selection.

    Hi guys,
    does anyone know how to implement "Dynamic Hierarchy Selection"? I have a main hierarchy but would like to filter it further while loading the hierarchy.
    E.g. I have a financial statement verison with both Balance Sheet and P/L items, i would like to separate the main into two new hierarchies, one BS and P/L hierarchies instead, apparently the infopackage allows you to write small codes to dynamically select which hierarhcy you want.
    Cheers.

    Hi,
    We donot have this type selection at the time of upload. The thing we can do is upload both versions into BIW and in the report we can use Hierarchy variable to have dynamic selection of hierarchy.
    with rgds,
    Anil Kumar Sharma .P

  • How to change date selections at Infopackage data selections in production sys

    Hi All ,
    we are loading data into Infocube from datasource ,one process chain for delta init with data transfor  ,which has data selections at infopackage say 06.2014 and other process chain for delta which has same selections at infopackage . Now I want change this data selections  at Infopackage level .
    I Have tried to change these dates in data selections at infopackage level , tho I have changed and saved to future date at delta initial with data transfor ,it's keep coming back to 06.2014. Of course data selection at delta Infopackage level is faded .
    I Want to set future date with delta int with disturbing delta loads . How to do it please .
    regards
    hari

    Hi Ram,
    We will  load delta Intial with data transfer every weekend , and we run delta everyday , because we do delta init with data transfer with selections say ( 01.20011 to 12.2003 ) every weekend , hope I need to create new delta infopack  with new data selections say ( 01.2004 to 12.9999) only  to get update data in Infocube.
    Please correct me if I am wrong .
    Regards
    hari

  • Multi Selection in Infopackage

    Hi all,
    we have an infopackage where we want to select specific data to load.
    We want to restrict some doctypes for example "X1" "D4" "ZB" etc.
    How can you do this? With help of type 6 (ABAP-Routine)??
    Is this possible or do we need to delete the data package in a start routine?
    Thank you very much for your help
    Frank

    Hi,
    If doctype is available as Data selection field then you can give it there it self. It will show you only one line but when you select that and press the "+" button it will insert more rows. You can insert as many rows as you need. ABAP-Routine and Start Routine are another possibility but not required in this case.
    Regards,
    RB

  • Selection in Infopackage and delta

    Hi Gurus/Experts..
    If data for delta intialization is huge and if the data transfer is split by using selection in infopackage and later if i run the delta will it apply only for last selection of delta intialization or for the entire selection so far made ?
    Many thanks in advance...

    Hi Kanson,
    A delta requested after several initializations, contains the sum of all the successful initial selections as a selection condition. This selection condition can then no longer be changed for the delta.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65dce07211d2acb80000e829fbfe/content.htm
    Hope this helps...

  • Selections in Infopackage

    Hi All,
    I need to put selections in infopackage for "Material no." for multiple single values. (2700 materials)
    please suggest a way to do this kind of selection.
    Many thanks
    Tanu

    Hi Tanu ,
    1.You can dynamically put filters via OLAP var or ABAP routine .
    2.If values are in sequence (range ) then you can set the range in l_t_range-low  and l_t_range-high viA ABAP Routine .
    3.Better solution will be create around 27 infopackage with 100 selection in each and try to give range .
    4.OLAP var is a lso a good idea to set dynamic filter and easy if you are not very comfortable with ABAP.
    5.Can you please tell me what kind of filter values you want to put .So that accordingly filter can be decided for efficiency.
    6.One more possible solution is if material no values you don't want are less then put filter to exclude them .It will be easier .
    Let me know if you ned some help with this .
    Regards,
    Jaya Tiwari

  • Routine for multiple selection in infopackage???

    hello guys
    I thought of creating one routine for Multiple selections aT Infopackage level....in Selections screen in infopackage,I found one option 'Use Conversion routine' with a check box and it is inactive.....Is it here I need to write my routine inorder to get multiple selection for a infoobject....or is it somehwhere else?How to activate thisoption?
    Thanks,
    Regards,
    S

    Hi,
    Conversion routines are used in the BI system so that the characteristic values (key) of an InfoObject can be displayed or used in a different format to how they are stored in the database. They can also be stored in the database in a different format to how they are in their original form, and supposedly different values can be consolidated into one.
    This will be there at info object level.
    Eg : ALPHA: Fills purely numeric fields from the left with zeroes (0).
    For multiple selections at info package , in data selection tab under type , u need to select 6 and write the code to select the value.When info package runs it takes the value from routine dynamically and extracts the data based on selection.
    Eg: There is a field FISCAL PERIOD For data selection, if u write the code to select current fiscal period. then whenever info package runs it extracts the data for current fiscal period from data source to PSA.
    Thanks,
    Joseph.

  • How do I default a multi-select to have all values selected

    Hi all,
    I have a report (standard, not interactive - for various reasons) and I have a number of 'search' fields that the use can use to fulter the results shown. One of these fields is a multi-select list which allows the users to select multiple values at the same time. This is working fine.
    My problem is in setting the default for the multi-select list to have all values selected (either when the page is first opened or when the user clicks a 'reset' button).
    The multi-select query is:
    select
         lv1.description d, lv1.lookup_code r
    from
         tpa_adm_lookup_types lt1,
         tpa_adm_lookup_values lv1
    where
         lv1.lookup_type_id = lt1.lookup_type_id
    and lt1.lookup_type = 'RELEASE_PHASES'
    and     lv1.delete_flag = 'N'
    order by 1
    how do I get it to default to everything selected?
    Many thanks,
    Martin

    Hi Andy,
    Yes it is a dynamic list so a fixed default is no good.
    I have built the field with a source (when session state is null) of:
    with data as (
    select lookup_code, row_number() over(order by lv1.description) rn,count(*) over () cnt
    from tpa_adm_lookup_values lv1,
         tpa_adm_lookup_types lt1
    where lv1.lookup_type_id = lt1.lookup_type_id
    and lt1.lookup_type = 'RELEASE_PHASES'
    and lv1.delete_flag = 'N'  )
    select ltrim(sys_connect_by_path(lookup_code,':'),':') catvalues
    from data
       where rn = cnt
       start with rn = 1
       connect by prior rn = rn-1;which works but I was hoping ApEx had a cleaner solution.
    Regards,
    Martin

  • Just bought a nano and want to download some of my iTunes library. The "Music" button shows almost all my selections but some albums are missing, yet thos albums appear on the nano icon on my desktop but none of the others. What's happening?

    Just bought a nano and want to download some of my iTunes library. The "Music" button shows almost all my selections but some albums are missing, yet ONLY those albums appear on the nano icon on my desktop after being dragged there but none of the others. What's happening?
    I've read some of the post here that I thought might help but they refer to titles (Music) and triangles in the "Devices" window which are nowhere to be seen when I open the "Devices" window.
    I have iTunes 11.0.3 and Mac OS 10.6.8. Does this make a difference?

    I should mention that, for the first problem, I do make sure that my new tracks are stored in the folder where I told iTunes that my music is in. Also, when I say the cataloging of my library stops short of cataloging all my songs, I have tried leaving the computer unattended for days (my computer's sleep mode is disabled). It always stops before cataloging all of my music regardless of whether I am doing something else while iTunes is cataloging, or if I just let iTunes be the only program that's open during the cataloging process.

Maybe you are looking for

  • Report with updateable checkbox

    Here is what I want to do : I have a report with a HTMLDB_ITEM.checkbox on a 'Y', 'N' field. I would like to be able to update that value by simply checking and unchecking my generated checkbox. Example : select player_no, player_name, htmldb_item.ch

  • Package sun.jdbc.rowset does not exist

    Hi, I am tryng to use a CachedRowSet in a JSP page. I got rowset.jar from sun and I put it in my classpath. When I try to import sun.jdbc.rowset I have the message "package sun.jdbc.rowset does not exist". Please, could someone help me? Tanks, Celso

  • WRT54G - Wireless connection limits?

    Yes, I have a WRT54G router V6, and I am wondering how many wireless connections it supports?  Because, I have one wired connection and whenever I try to connect more than 4 wireless devices a device will get booted. So is there a way to open more wi

  • Delta in FI

    Hi there, what is the problem occure in the delta, if i will use 0FI_GL_4, 0FI_AR_4, 0FI_AP_4 please help me to understand the extraction process. Thanks

  • Suncc and PHP compatibility

    it seems that suncc have some trouble when working with PHP,hope you can imporve it: luoyi@4Email:~/src/lylib/trunk/topbuild$ cat do.sh #!/bin/sh echo "**************** first gcc *****************" make -B lib/xarray_php5.do echo "**************** th