Download SPRO hierarchy to flat file

Hi,
Is there a SAP standard object available which can download the SPRO tree to a file?
Thanks.
Chitrali

I don't know any such object, but you may try to build a query on the following tables
-     CUS_IMGACH      IMG Activities                     
-     CUS_IMGACT      Text Table for IMG Activity        
-     CUS_ACTOBJ     Customizing Activity - Object List
-     CUS_ACTOBT     Customizing Activity - Object List
-     TNODEIMG     Node table for the new IMG
-     TNODEIMGR     References for the new IMG
Regards

Similar Messages

  • TCODE TO DOWNLOAD IDOC INTO A FLAT FILE

    Hi All,
       Please let me know if there is any tcode to download IDOC into a flat file..
    Regards,
    Kaveri

    try with we60 where you should have links to download the idoc type.
    Please check this:
    1. How to Download a Hierarchy to a Flat File
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
    2. How To Convert an IDoc-XML structure to a flat file and vice versa in XI 3.0 Version 1.10
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    run the report RSEOUT00 with the idoc number, flat xml file will be generated at the location user/sap/XI/SYS/global/idoc_file
    Please rewrds if found help ful

  • How to built a hierarchy with flat file?

    Hi Experts,
    for a better representation of the report, i need to built a hierarchy with flat file.
    The Data load is via Flat file.
    Do you have some documentation about that?
    Thanks
    Cheers
    Gilo

    Hi Gilo,
       Check these docs...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb">How to… Download a Hierarchy to a Flat File</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/e92637c2cbf357e10000009b38f936/content.htm">Uploading Hierarchies from Flat Files</a>
    <a href="http://sapbwneelam.blogspot.com">More Docs...</a>
    Hope it Helps
    Srini

  • Upload hierarchy from flat file to BPC

    Hello SAP Guru,
    I have download customer / material  hierarchy in flat flie from BI/BW  and now I want to upload hierarchy from flat file to BPC
    Please can any one give me step by step method to load hierarchy from Flat file to SAP - BPC.
    Thanks in advance.
    With regards,
    Anand Kumar

    Hi Saida Reddy,
    why you resurrect a 5 years old thread? Surely he solved in the meanwhile his issue, see please dr Frankenstein.
    Regards
        Roberto

  • Load hierarchy through flat file

    I am trying to load a hierarchy through a flat file and followed the SDN blog mentioned below.
    Hierarchy Upload from Flat files
    However, I get this runtime error while loading.
    Runtime Error          ASSIGN_LENGTH_0
    Information on where terminated                                           
         The termination occurred in the ABAP program "SAPLRRSV" in            
          "RRSV_INT_CHA_VAL_SPLIT".                                            
         The main program was "RSABW_START_NEW ".                                                                               
    The termination occurred in line 42 of the source code of the (Include)
          program "LRRSVU10"                                                   
         of the source code of program "LRRSVU10" (when calling the editor 420).
                                                                                    Source Code Extract                                                                               
    Line  SourceCde                                                                               
    12 *"     VALUE(E_CHAVL_EXT) TYPE  RSD_CHAVL_EXT                       
        13 *"     VALUE(E_T_DEP) TYPE  RRSV_T_DEP                              
        14 *"  EXCEPTIONS                                                      
        15 *"      UNKNOWN_CHANM                                               
        16 *"      UNKNOWN_INFOCUBE        
       17 *"----
       18                                                                    
       19   DATA: l_s_cob_pro  TYPE rsd_s_cob_pro.                           
       20   DATA: l_t_cob_pro_cmp TYPE rsd_t_cob_pro.                        
       21   DATA: l_subrc      LIKE sy-subrc.                                
       22   DATA: l_offset     TYPE i.                                       
       23   DATA: l_s_dep      TYPE rrsv_s_dep.                              
       24                                                                    
       25   FIELD-SYMBOLS: <chavl>.                                          
       26                                                                    
       27   IF i_very_internal = rs_c_true. "SB                              
       28     i_with_const = rs_c_true.     "SB                              
       29   ENDIF.                          "SB                              
       30                                                                    
       31   PERFORM cob_pro_cmp_get USING i_infocube i_chanm                 
       32                        CHANGING l_t_cob_pro_cmp                    
       33                                 l_subrc.                           
       34   IF NOT l_subrc IS INITIAL.                                       
       35     PERFORM raise USING rs_c_false l_subrc i_chanm space.          
       36   ENDIF.                                                           
       37                                                                    
       38   l_offset = 0.                                                    
       39                                                                    
       40   LOOP AT l_t_cob_pro_cmp INTO l_s_cob_pro.                        
       41     IF i_with_const = rs_c_true OR l_s_cob_pro-chaconst IS INITIAL.
    >>>>>       ASSIGN i_chavl_int+l_offset(l_s_cob_pro-intlen) TO <chavl>.  
       43       IF l_s_cob_pro-iobjnm = i_chanm.                             
       44         IF     <chavl> IS INITIAL                                  
       45             OR <chavl> EQ rsd_c_initial.                           
       46           IF i_very_internal = rs_c_true.

    Hi,
      This is Thilak. For loading Data To hierarchy from flat file u should follow the below steps.
    1. Create info objects as per ur hierarchy structure. i.e., ZH_CNO( for cno), ZH_SRGN (for region) .
    2. find the highest node level info object. i.e., ZH_CNO.
    3. go to that info object (highest node level info object) and select "with hierarchy" chk box.
    4. click on " MAINTAIN HIERARCHY" button and move the external characteristics info objects to rt. side pannel.i.e., ZH_SRGN.
    (Hint : other than first and last node level characteristics)
    5. Activate the info object.
    6. Create the info source (ZH_IS) of " DIrect Update Type".
    7. Assign Hierarchy Data source( ZH_CNO_HIER) to that info source.
    8. Schedule the info package to load the hierachy data from flat file.
    Note: If u have any doubts regarding flat file format and hierarchy structure plz call to +91 9600015640 or mail to thilak.oggn@gmail. bcz i am unable to draw that hier strtr ana table.
    Edited by: thilak. neelam on Oct 24, 2008 1:44 PM
    Edited by: thilak. neelam on Oct 24, 2008 1:52 PM

  • Download dynpro fields to flat file

    Hi,
    I have a requirement to capture the value of fields like customer, job name and functional location from a service notification (IW51-create/ IW52- change/ IW53 - display) and download them to a flat file.
    As it is a common requirement for create, change and display of service notification, placing the user exit for reading the required data, upon save, will not be the best option.
    Can someone suggest a better way to do this?
    Thanks,
    Rugmani.

    Hi,
    You can use dynp_values_read fn module to get all values during runtime.
    DATA : l_progname TYPE sy-repid,
          l_dynnum TYPE sy-dynnr.
    DATA : dynpread_tab LIKE STANDARD TABLE OF dynpread WITH HEADER LINE.
      l_progname = sy-repid.
      l_dynnum = sy-dynnr.
      CLEAR dynpread_tab.
      REFRESH dynpread_tab.
      dynpread_tab-fieldname = 'fieldname'.
      APPEND dynpread_tab. " apped all the fields in this table for which u want to get all the values at runtime.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = l_progname
          dynumb               = l_dynnum
        TABLES
          dynpfields           = dynpread_tab
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc <> 0.
      ENDIF.
    dynpread_tab-fieldvalue will get the value of the field.
    Once you get all the values - use GUI_Download fn module to download them to a flat file.
    Award me points if it helps.
    Thanks,
    Sheel

  • Download report into a flat file format

    Hi Friends,
    I would like to know your thoughts on what is the best practice most of you using to download a report into a flat file(NOT csv).
    In my application business users want a report to be downloaded into their local desktop (just like a .csv) but into a flat file and they have their byte specific format.
    My concerns :
    1) Is there any straight method to download a report into a flatfile (like it is now for CSV) from Apex 3.1.2 ?
    2) If I write my own code using UTL_FILE, can I let the user to save them to their desired directory on their desktop ?
    Your thoughts would definitely help me in delivering a right solution to the users in this regard.
    Thanks a lot.
    Raj.

    Raj:
    You could create a 'Before Header' page process to create this 'flat file'. The code for the page process will be something similar to declare
    v_file_name   VARCHAR2 (2000) := 'fixedFieldsFile.txt';
    --- Client Record Format
    f1 char(20);
    f2 char(20);
    f3 char(20);
    ---- End format
    begin
    OWA_UTIL.mime_header ('application/txt', FALSE);
    htp.p('Content-Disposition:attachment;filename="'|| v_file_name|| '"');
    OWA_UTIL.http_header_close;
    for c1 in (select * from emp) loop                           ----- The report query
    f1:= c1.empno;f2:=c1.ename;f3:=c1.sal;
    htp.p(f1||f2||f3);
    end loop;
    apex_application.g_unrecoverable_error:=true;
    exception when others then
    null;
    end; Varad

  • Exporting Hierarchy in Flat File Format

    Hi All,
    I exporting hierarchy in local file from transaction code OB58 (Balance sheet Hierarchy and Profit & Loss Hiearchy) , KSH3 (Cost Center Hierarchy), KCH3 (Profit Center Hierarchy). But the hierarchy is commming as it is displayed at the R3 screen.
    I have to load these hierarchies in BW through flat file. Is there any method other that writing an ABAP program by which we can extract these hierarchies in Flat file loadable format.
    Thanks

    Perhap's it can help you
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?overridelayout=true|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb?overridelayout=true]
    It's an ABAP program but it works well and you can load your flat file easily

  • Hierarchy from flat file loading with errors - duplicate node names

    Hello experts,
    I am loading a product hierarchy from a flat file into a custom hierarchy
    object.  The issue is that it errors out saying I am loading
    duplicates within nodes, however all node IDs within a level are unique.
    It seems to be looking at the node name to determine uniqueness and I know
    we have some duplication within the text there especially when you factor
    in the 32 character limitation for the node name.  Does anyone have an idea
    as to whether it is possible to have it only consider the node ID instead
    of the node name to determine uniqueness?
    A colleague suggested using the link ID to fix this problem but I don't know how that field works or how to populate it.
    I'm working in a BI 7.0 environment (I don't know if that makes a difference since you still have to use the 3.x objects to extract the hierarchy).
    Any help would be appreciated.
    Nancy

    Hi Nancy,
    You may wish to check this OSS Note 1026749 - Hierarchies: Consistency check for duplicate nodes and 912115 (old one)
    Symptom -
    When you load or activate a hierarchy it terminates with error message RH 109 or RH 211. The hierarchy contains duplicate nodes and this is not allowed. The long texts of messages RH 109 or RH 211 do not describe the reason for the problem sufficiently or they are partially incorrect.
    There is uncertainty about in which cases duplicate nodes exist in a hierarchy and in which cases duplicate nodes are allowed.
    Hope this helps,
    Bye...
    Naga Timmaraju

  • How to Create Hierarchy From Flat file Structure

    Hi Gurus,
    There is a scenario for me regarding the Hierarchy.
    Required Hierarchy structure - Region>Director>Manager-->Sales id
    I have flat file which gives the info like user id , sales id , manager id, director id.
    But the transaction data Flat file has structure with sales id, region id, sales amt, sales qty.
    Note : Region id is another Master Data.
    How i can create hierarchy from the first flat file which doesnot have region info in that but it is available in the transaction data Flat file.
    Is there anyway we can create hierarchy based on the first Flat file structure which contains more that 1,00,000 records.
    Try to Suggest me in this regard .
    This is urgent.
    Regards,
    Mano

    Hi Mano,
                    Defining the source system from which to load data
    Choose the source system tree File  ® Create.
           2.      Defining the InfoSource for which you want to load data
    Optional: choose InfoSource Tree ® Root (InfoSources) ® Create Application Components.
    Choose InfoSource Tree ® Your Application Component ® Other Functions  ® Create InfoSource 3.x ® Direct Update.
    Choose an InfoObject from the proposal list, and specify a name and a description.
           3.      Assigning the source system to the InfoSource
    Choose InfoSource Tree ® Your Application Component ® Your InfoSource ® Assign Source System. The transfer structure maintenance screen appears.
    The system automatically generates DataSources for the three different data types to which you can load data.
    &#9675;       Attributes
    &#9675;       Texts
    &#9675;       Hierarchies (if the InfoObject has access to hierarchies)
    The system automatically generates the transfer structure, the transfer rules, and the communication structure (for attributes and texts).
           4.      Maintaining the transfer structure / transfer rules
    Select the DataSource for uploading hierarchies.
    IDoc transfer method: The system automatically generates a proposal for the DataSource and the transfer structure. This consists of an entry for the InfoObject for which hierarchies are loaded. With this transfer method, the structure is converted to the structure of the PSA during loading, which affects performance.
    PSA transfer method: The transfer methods and the communication structure are also generated here.
           5.      Maintaining the hierarchy
    Choose Hierarchy Maintenance, and specify a technical name and a description of the hierarchy
    Hope this helps
    Regards
    Karthik
    Assign points if Helpful

  • Error when loading hierarchy through flat file

    Dear All,
    We are facing an issue during hierarchy upload through flat file.
    Below is the message :-
    Error 8 when compiling the upload program: row 658, message: A newer version of data type /BIC/B0000559000 was.
    Message no. RSAR233.
    Nothing else is being displayed.
    Request you to guide on this.
    Thanks & Regards,
    Anup

    Hi,
    I faced the same issue earlier.
    This is what i did. SE38-RS_TRANSTRU_ACTIVATE_ALL run the program and give your sourcesystem name this activates all the structure including new version /BIC structure what you have stated.
    After which you need to refresh the RSA1 Tcode and do the same process again to load the hierarchy.
    It should work fine now.
    Hope this helps.
    Regards,
    Harish
    Edited by: Harish3152 on May 18, 2010 2:23 PM
    Edited by: Harish3152 on May 18, 2010 2:32 PM

  • Loading Hierarchy  from flat file giving dump

    Hi gurus,
    i am trying to load data from flat file to hierarchy, when i am trying to schedule the infopackage its giving message PLEASE SELECT THE VALID INFOOBJECT and if i proceed even its giving a dump :-ASSIGN LENGTH 0.
    i tired using i-doc method...then i am getting records in to BW in red and the same error
         InfoObject INFOOBJECT is not available.
    i followed the blog
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    > points will be assigned for inputs.
    Message was edited by:
            ravi a

    hi guys,
    my heirarchy is different from the one in the blog. should i mark all the infoobjects in all nodes as hierarchy relavant or only the bottom one? i also brought the 0hier_node from the business content. i dont know what other valid infoobject is missing ......plz help........
    the following are more details about the dump
    Program error: ASSIGN with length 0 in program "SAPLRRSV".
    Error analysis
    An ASSIGN statement in the program "SAPLRRSV" contained a field symbol with
    length 0. This is not possible.
    length 0.
    This is not possible

  • Error when loading hierarchy from Flat-file

    I am trying to get the Fund Group-Fund –Fund Center Hierarchy .
    Ie :  Fund Group
                 Fund 1
                        Fund center 1
                        Fund Center 2
           Fund Group 2
    I am trying to load it from a flat –file.
    I got the Flat –file structure for the hierarchy.
    & I am trying to load it to the Funds Group  master data.
    I am stuck at IPak.
    In the Processing Tab,
    Only the option “ Only PSA” is enabled.
    My Doubt  is :
    Why are the other options disabled: could it be because I might have  missed something in my previous  steps ???
    Or
    if I load till PSA , I don’t know how to load it to the Master data from there –-as when I schedule it : I can see it in PSA but then it stays in Yellow & then turns to Red.

    Hi,
    Go to monitor(RSMO)then verify on detail tab for PSA Load. Hope this help you,
    Thanks
    DST

  • I have to load hierarchy from flat file

    Hi Guys,
                 I build a balance sheet Report,which is showing the report based on financial statement item(0glaccext)hierarchy.
    But previously client is maintaining some third party system,so client wants to load all the GL accounts in to BW.
    When i load the GL accounts in to BW using flat file,in report it is not showing based on hierarchy for the flat file GL accounts.
    So i need to load the hierarchy also for those GL accounts,how to load the GL accounts using flat file to maintain the hierarchy based on Assets,liabilities etc...

    Abdul,
    You might want to take a look here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0403a990-0201-0010-38b3-e1fc442848cb
    or else see this weblog:
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    assign points if useful
    kalyan

  • Errors while loading a hierarchy through flat file

    Hi All,
    I have prepared a flat file to load the data for a characteristic (location) hierarchy and trying to load it.
    its throwing an error again and again though it loaded fine when with less no. of records (25 earlier and 75 now)
    error coming up is
    boldData records for package 1 selected in PSA - 1 error(s)bold
    could any one please suggest the possible errors and troubleshooting points please?
    Thank you
    Tanu

    Hi
    Just check for all lower case character in you file, all characters should ne in upper case.
    You may also choose to edit this single records in PSA and process further.
    Regards
    Sudeep

Maybe you are looking for

  • How can i restore my iphone 5s as i forgot my icloud password and sec questions

    I bought a new iphone 5s  (32G Gold) and when I connect it to itunes asked me to restore from my old iphone 4 with all my account settings and passwords. but I have a problem with my account for icloud password and security questions because my cloud

  • Multiple Users on Lightroom? Or Other Solution?

    I just called Adobe technical support and spoke with someone about using Lightroom to organize patient photos in a medical office.  I was told that Lightroom does not support multiple users, and there is no work-around solution or plug-in for this. 

  • Pactching kernel with fbsplash.patch (SOLVED)

    Never patched a kernel before and i'm having problems!! This what i've done so far (as root): 1. Installed kernel26-ck (2.6.22-ck) with pacman and rebooted into arch using that kernel 2. downloaded the fbsplash via (genpatches-2.6.22-1.extras.tar.bz2

  • How to call javascript file in windows?

    I developed javascript for automated pdf files. But i don't know how to call that javascript file from outside of acrobat. Kindly advice me the various way to use that script. This is for acrobat 8.0.

  • Did anyone have their iPhone 4S lose signal yesterday?

    Around 3pm, iPhone 4S suddenly started searching for signal. Tried all options but signal never returned. Took to AT&T who tried to see if SIM issue, it wasn't. Sent me to Apple, where they tried to restore but couldn't fix. Now phone is wiped and ca