Dynamically Importing Hierarchies from R3 to BW

Hi All,
In continuation to my earlier question today, I have read almost all the material available on Hierarchies now, but it specifies that I have to use a FLAT FILE in any case to load a Hierarchy from R3.
Well, If I get a view or table or custom costcenter manager hierarchy ready in R3 then how can I import it into BW dynamically without using a flat file. As maintaining it on daily basis will be difficult.
As test I have a Z* object with hierarchy enabled in BW,
I want to replicate the existing hierarchy from R3 into this one.How to do this with out Flat File or manually selecting the nodes.
Please suggest any inputs on this will be valuable.
Thanks
Sarah

Hi.
Please check the following notes which contain a rich information about this kind of error:
1026749     Hierarchies: Consistency check for duplicate nodes
1007842     RH 211 when you load hierarchy with no char value specified
Thanks,
Walter Oliveira.

Similar Messages

  • Giving dynamic sheet name while importing data from Excel in OPENROWSET query

    I want to import data from Excel to table in SQL server. Sheets in Excel file can have any name. I want to get data from first sheet of the excel file. 
    CREATE PROC CopyExcelDataToTempTable
    @ExcelPath VARCHAR(1000)
    AS
    BEGIN
    EXEC sp_configure 'show advanced options', 1;
    RECONFIGURE;
    EXEC sp_configure 'ad hoc distributed queries', 1;
    RECONFIGURE;
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1;
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1;
    INSERT INTO TempData
    SELECT *
    FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
    SELECT CONCAT('Excel 12.0 Xml;HDR=YES;Database=', @ExcelPath),
    'SELECT * FROM [Sheet1$]');
    END;
    Currently I am giving Sheet1 as static name in Select statement. But my sheet name is not fixed. I want to create a dynamic query. If getting Sheet name is not possible then can we put sheet with its index in Select query? There is no front end. Whatever I
    want to do is in SQL server 2012. Is there any solution for this problem?

    Hi Ajinkya,
    To get the sheet names from an excel, you can use the Stored Procedure
    SP_TABLES_EX. See the below code.
    EXEC sp_addlinkedserver 'ExcelSource', '',
    'Microsoft.ACE.OLEDB.12.0',
    'c:\worksheet.xls',
    NULL,
    'Excel 8.0'
    EXEC sp_addlinkedsrvlogin 'ExcelSource', 'false'
    GO
    EXECUTE SP_TABLES_EX 'ExcelSource'
    the names in the worksheet.xls and execute result are like below.
    Table name
    a
    b
    c
    d
    Regarding your description, you need the first sheet of your excel. As the result shows, the sheet names are sorted, so there’s no guarantee to get the first one. The SP can work as a workaround when there’s only one sheet in your excel or the required sheet’s
    name is customized to be sorted at the top first.
    If you have any question, feel free to let me know.
    Best regards,
    Eric Zhang

  • Error when importing CO Hierarchies from R/3 DEV to R/3 QAS

    Dear SDN,
    I am getting the following error when importing Cost center and cost element hierarchies from R/3 DEV to R/3 QAS...
    Object OSOA  0COSTCENTER_0101_HIER has not yet been imported successfully
    Object OSOA  0COSTELMNT_0102_HIER has not yet been imported successfully
    Ended with Return code ===8...
    But The two hierarchies were available in R/3 QAS and also i am able to utilise..
    My doubt is if i transport these hierarchies from R/3 QAS to R/3 Production any major issues...
    Now i want to test a data in BW DEV from R/3 Production data...
    So, I am planning to transport These hierarchies from R/3 QAS to R/3 PROD...
    Here we do not have BW QAS...So, getting data from R/3Production to BW DEV and testing...
    After testing Directly use in BW Production...
    So, Please suggest me why when importing these hierarchies errors occuring???
    Help will be greatly appreciated with points...
    Thanks in advance...

    Hi Venkat,
    Please go through the following threads...
    Hierarchy  Transports
    Transporting cost center and profit center standard hierarchies
    /community [original link is broken]://Transporting a hierarchy
    Transport Hierarchy
    Khaja

  • Import Interval node hierarchies from BW to BPCNW7.5

    Hi expert,
    I have a requirement of importing hierachies into BPC. However the source infoobject has interval nodes in the hierarchies and the interval nodes has the property "Infoobject" as "0HIER_NODE" rather than infoobejct itself. I saw the document on How to import master data and Hierarchies from BW to BPC, but this document talk about importing hierarchies whose leaf nodes are not interval nodes.
    Appreciate on any inputs.
    Thanks,
    Vamsi
    Edited by: vamsi nagaraju on Aug 9, 2011 7:15 PM

    Hi Vamsi,
    Values assigned to 0HIER_NODE(as infoobject) are text nodes.
    They are transferred as part of master data(attributes) when you follow the how-to-guide for master data in 7.5.
    Below is the link for how-to-guide. Select the Hierarchy or Attributes selection in set selection tab while loading master
    data so that all the text nodes from Hierarchy table for the selected hierarchy will be loaded to BPC.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e
    -Kalyan.

  • How to display a dynamic image file from url?

    Hey,I want to display a dynamic image file from url in applet.For example,a jpg file which from one video camera server,store one frame pictur for ever.My java file looks like here:
    //PlayJpg.java:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    public class PlayJpg extends Applet implements Runnable {
    public static void main(String args[]) {
    Frame F=new Frame("My Applet/Application Window");
    F.setSize(480, 240);
    PlayJpg A = new PlayJpg();
    F.add(A);
    A.start(); // Web browser calls start() automatically
    // A.init(); - we skip calling it this time
    // because it contains only Applet specific tasks.
    F.setVisible(true);
    Thread count = null;
    String urlStr = null;
    int sleepTime = 0;
    Image image = null;
    // called only for an applet - unless called explicitely by an appliaction
    public void init() {
                   sleepTime = Integer.parseInt(getParameter("refreshTime"));
              urlStr = getParameter("jpgFile");
    // called only for an applet - unless called explicitely by an appliaction
    public void start() {
    count=(new Thread(this));
    count.start();
    // called only for applet when the browser leaves the web page
    public void stop() {
    count=null;
    public void paint(Graphics g) {
    try{
    URL location=new URL(urlStr);
    image = getToolkit().getImage(location);
    }catch (MalformedURLException mue) {
                   showStatus (mue.toString());
              }catch(Exception e){
              System.out.println("Sorry. System Caught Exception in paint().");
              System.out.println("e.getMessage():" + e.getMessage());
              System.out.println("e.toString():" + e.toString());
              System.out.println("e.printStackTrace():" );
              e.printStackTrace();
    if (image!=null) g.drawImage(image,1,1,320,240,this);
    // called each time the display needs to be repainted
    public void run() {
    while (count==Thread.currentThread()) {
    try {
    Thread.currentThread().sleep(sleepTime*1000);
    } catch(Exception e) {}
    repaint(); // forces update of the screen
    // end of PlayJpg.java
    My Html file looks like here:
    <html>
    <applet code="PlayJpg.class" width=320 height=240>
    <param name=jpgFile value="http://Localhost/playjpg/snapshot0.jpg">
    <param name=refreshTime value="1">
    </applet>
    </html>
    I only get the first frame picture for ever by my html.But the jpg file is dynamic.
    Why?
    Can you help me?
    Thanks.
    Joe

    Hi,
    Add this line inside your run() method, right before your call to repaint():
    if (image != null) {image.flush();}Hope this helps,
    Kurt.

  • Error in Importing Data from SAP BW ( XMLA )

    HI All,
    I am trying to import a physical schema from sap bw ( sap user has all grants ) through the XMLA access
    IN repository I see objects ( connection pool, hierarchies, dimensions, measures ) and in a while I get them to the presentation layer accessible for users.
    Though when I try to access data build the query I get the following error:
    OPR3ONWY:U9IM8TAC:DI2DL65P
    HY00 Code 10058 [NQODBC][SQL STATE HY0000][NQSError 10058] A general Error has occurred XMLA Error returned from the server.
    Can you please help me in understanding how to solve the problem?
    Thanks a lot.
    Best regards to everybody.
    Filippo

    mithuu wrote:
    HI Filippo,
    Sorry to reply to this post,
    Could u please tell me ...what shud be given in URL which is prompted when trying to Import data from SAP bw while creating a repository.
    I am a beginner and tried to seek help from the sap basis guys but of no help.
    Appreciate ur help,
    Many Thanks...Hi Mithu,
    Give the SAP Multi-Dimensional Database server URL and a username, password required to access it.
    If you do not know them, ask your TL/PM, if u do not have one ask the SAP Data warehouse DBA.......
    Venkat
    Edited by: OBIEE+ on Jan 27, 2009 2:21 AM

  • Dynamically read data from a txt document

    I try to dynamically read data from a txt document
    in swf
    stop ();
    var pafh=this;
    import flash.events.*;
    var Araray_id:Array =new Array();
    var v_length:Number;
    var myTextLoader:URLLoader = new URLLoader();
    myTextLoader.dataFormat=URLLoaderDataFormat.VARIABLES;
    myTextLoader.addEventListener(Event.COMPLETE, onLoaded);
    function onLoaded(e:Event):void {
            Araray_id = e.target.data.araray_id.split(",");
            trace("Araray_id: "+Araray_id);
            v_length=Araray_id.length;
            trace("v_length: "+v_length);
            for (var i:Number=0;i<v_length;i++){
                pafh["Id_"+i]=new Array();
                trace("pafh[Id_+i]: "+pafh["Id_"+i]);
                var v_help:Object="id_"+i;
                trace("v_help: "+v_help);
                //pafh["Id_"+i]= e.target.data.v_help.split(",");????? Here stops the script
                //pafh["Id_"+i]= e.target.data.(v_help).split(",");????Here stops the script
                //pafh["Id_"+i]= e.target.data.[v_help].split(","); ????Here stops the script
            play();
    myTextLoader.load(new URLRequest("myText1.txt"));
    in text
    araray_id=aa,bb,cc,dd,ee,ff
    &id_0=aa1,aa2,aa3,aa4
    &id_1=bb1,bb2,bb3,bb4,bb5
    &id_2=cc1,cc2,cc3
    &id_3=dd1,dd2,dd3,dd4,dd5,dd6
    &id_4=ee1,ee2
    &id_5=ff1,ff2
    output
    Araray_id: aa,bb,cc,dd,ee,ff
    v_length: 6
    pafh[Id_+i]:
    v_help: id_0
    TypeError: Error #1010: A term is undefined and has no properties.
        at skuskaceatarraybiforas3fromtext_fla::MainTimeline/onLoaded()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()
    Can you help me with this problem

    More suggestions.
    1. If you align naming conventions between data and your application - reading data could be practically a one-liner.
    If you write pafh["id_" + i] (with small case i) instead of pafh["Id_" + i] (with capital case I) the function can be just:
    function onLoaded(e:Event):void
              for (var prop:String in e.target.data)
                        pafh[prop] = e.target.data[prop].split(",");
              play();
    2. If changing conventions is not feasible, here is another thing you can do:
    function onLoaded(e:Event):void
              for (var prop:String in e.target.data)
                        pafh[prop.replace(/^\w/, String(prop.match(/^\w/)).toUpperCase())] = e.target.data[prop].split(",");
              play();

  • How do I Import footage from Premier Pro CS3 to After Effects?

    Hi
    As the subject says, how do I import footage from premier pro cs3 into after effects. I'm getting rather frustrated trying to figure this out.
    Via copy & paste I can copy into after effects but this copys the whole of the track on the timeline, where as I just want 10 seconds copied. The 10 seconds I want to copy is a segment & was highlighted when I clicked copy.
    Also when the full track gets copied, all my edits aren't copied & I get the raw track copied???
    I've googled this, tried the "Add Dynamic Link" but all I want is to copy 10 seconds of footage from premier into after effects, add my effect & then copy it back, and I can't figure out how to do this simple thing
    Any help
    Thanks.

    I am still not getting this.
    I highlight the selection I want to copy into after effects. I copy & paste it & it pastes my entire footage without any off the edits I have made.
    Having searched loads for this I can find no other answer than copy & paste.
    Please please could you guy be more specific with your answers as I just can't figure this one?

  • Dynamically importing images

    Hi,
      we need to dynamically import images to use them in smartforms. The images are stored on a file server (DMS) so we tried to use BAPI_DOCUMENT_CHECKOUTVIEWX to get the file from DMS and then use IMPORT_BITMAPS_DBS (to do what SE78 does) but this does not work. We realised that the file was not being transfered by the BAPI and that IMPORT only works with local files, so when we are printing (background), it does not work. Does anyone know of a way to import images as GRAPHICS as SE78 does but from a DMS server and in background mode.
    TIA

    hi,
    can you please elaborate your answer, i could not understand it completely.
    Thanks,
    Hasan

  • Import Image from scanner to database Direct ..

    can any Colleagues help me ..
    how can i Import Image From Scanner directly
    if anyone can descuss code and how can i do that
    thank for all Colleagues .......

    You cannot.. unless you are prepared to get your hands dirty writing code to integrate a scanner API into Oracle.
    Oracle has a feature called extproc. This allows you to define external "procedures" - these procedures are for example shared object libraries (Linux/Unix) or dynamic link libraries (Windows). A scanner API will be typically implemented by its driver as a shared object/DLL. Which means it is callable from within PL/SQL.
    It may however not be usable - extproc does not support callbacks, does not own a window or process handle, and so on.
    In which case you may need to wrap the DLL into a custom DLL that implements callbacks. perhaps create a hidden window if a window handle is needed, and so on.
    In other words, this is not a trivial thing. You need to know more than just a bit about o/s side (systems) programming.
    You should also ask yourself why you want to do this. Architecturally wiring a scanner into Oracle via PL/SQL and an extproc interface make absolutely no sense at all.
    Especially since operator input/control is required to physically manage device... That is on the very opposite side of the Oracle server spectrum. That is clearly a client function to interact with such a device and not a server function.

  • Dynamic Import File Path

    Hi All,
    Please help me how to do dynamic import file path since we have multiple environment where our reports will be migrated.
    Thanks

    Hi,
    the link is helpful but it still throws an error from my end . . .
    I set the xdo.cfg to
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <properties>
    <property name="xslt.FILE_LOCATION">D:\OraHome_1\xmlp\XMLP\Reports\Reports</property>
    </properties>
    </config>
    and my import file is
    <?import:file://${FILE_LOCATION}/Global_Logo/Global_Logo.rtf?>
    <?import:file://${FILE_LOCATION}/Highlights/Highlights.rtf?>
    <?import:file://${FILE_LOCATION}/Benefit/Benefit.rtf?>
    in my main template it calls 3 sub templates . . .
    even I put a single quote in the 'D:\OraHome_1\xmlp\XMLP\Reports\Reports' in the xdo.cfg, I still get the error
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: java.net.UnknownHostException: ${FILE_LOCATION}
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 14 more
    Thanks,

  • Importing Markers from Pr / Sb / Ae CS3

    I saw that 'Dools' said they figured out how to import
    markers from Premiere CS3 into Flash CS3 but I still am unable to
    see these markers transfer. I have tried exporting an FLV file from
    Premiere with info in the Chapter field. But I don't see any cue
    points in the file when I bring it into Flash. I have also tried
    Soundbooth. Soundbooth does created an actual xml file but still I
    don't see the corresponding cue points in Flash and would really
    appreciate any tips from those that have made it work. All of the
    manuals mention the capability but don't go much further.
    I'm using Premium Production CS3 on Windows.
    Thanks a lot,
    -Scott

    Here's some sample Actionscript 2.0 code (Sorry, haven't
    updated it for AS3 yet) that will let you verify external XML cue
    points in your Soundbooth or Premiere exported video:
    Actionscript 2.0 based Flash Cue Point Data Exchange
    Demonstration
    Requires:
    - FLVPlayback component on the Stage with an instance name of
    my_FLVPlybk
    - Dynamic Text Field on the Stage with an instance name of
    currentCuePoint
    - Cue Point XML file
    var myCues:XML = new XML(); //Create XML Object
    var curCueTime:Number = 0; //Set current cue point to 0
    var curCueName:String = ""; //Set current cue point name to
    myCues.ignoreWhite = true; //Ignore Whitespace in XML file
    First, setup the onLoad routine to parse the cue file.
    The file being loaded is a cue points XML file exported from
    Adobe Soundbooth.
    The example assumes it's relative to the swf but could also
    be loaded using
    http:// or file:// */
    myCues.onLoad = function(success) {
    if (success) {
    convertCues(myCues); // Function located at end of script
    myCues.load("darjeeling_external.flv_markers.xml"); //change
    these filenames
    my_FLVPlybk.contentPath = "darjeeling_external.flv"; // to
    match your own
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    trace("Cue Point \"" + eventObject.info.name + "\" fired at:
    " + eventObject.info.time+ " (type: " + eventObject.info.type+")");
    currentCuePoint.text = (eventObject.info.time + " seconds:
    Cue Point \"" + eventObject.info.name + "\" (type: " +
    eventObject.info.type+")");
    my_FLVPlybk.addEventListener("cuePoint", listenerObject);
    function convertCues(cueFile) {
    for (i=0; i < cueFile.firstChild.childNodes.length; i++) {
    curCueTime = (Number(cueFile.firstChild.childNodes
    .firstChild.firstChild.nodeValue)/1000);
    curCueName =
    cueFile.firstChild.childNodes.firstChild.nextSibling.nextSibling.firstChild.nodeValue;
    trace("Adding Cue " + i + " at time: " + curCueTime + "
    named: \"" + curCueName + "\"");
    my_FLVPlybk.addASCuePoint(curCueTime, curCueName);
    Here's a similar block of code, but to display embedded cue
    points in your FLV files:
    Actionscript 2.0 based Flash Cue Point Data Exchange
    Demonstration
    Requires:
    - FLVPlayback component on the Stage with an instance name of
    my_FLVPlybk
    - Dynamic Text Field on the Stage with an instance name of
    currentCuePoint
    var myCues:XML = new XML(); //Create XML Object
    var curCueTime:Number = 0; //Set current cue point to 0
    var curCueName:String = ""; //Set current cue point name to
    my_FLVPlybk.contentPath = "darjeeling_embedded.flv";
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    trace("Cue Point \"" + eventObject.info.name + "\" fired at:
    " + eventObject.info.time+ " (type: " + eventObject.info.type+")");
    currentCuePoint.text = (eventObject.info.time + " seconds:
    Cue Point \"" + eventObject.info.name + "\" (type: " +
    eventObject.info.type+")");
    my_FLVPlybk.addEventListener("cuePoint", listenerObject);
    There is a known bug in Adobe Media Encoder that prevents cue
    points from being embedded in an audio-only FLV. It isn't clear
    that's the case you're seeing, but if you disabled video export
    when you created the FLV, that may explain the problem you're
    seeing.
    Durin

  • Can I dynamically import pdf into swf?

    Hi All,
    I need to be able to dynamically import an external pdf file into my  flash .swf and display it within a movie clip on the timeline. --with  pagination.  Is this possible with Flash CS4?
    Thank you for reading.  I have been out of the flash game for about a  year now.  However, a situation has arisen where I need to create a swf  movie that loads an external pdf, paginates it, and displays it within a  movie clip in the swf.  Is this possible or will I be forced to only  provide a hyperlink to the pdf?
    Thank you so much for your time.
    Pete

    You should be able to use getURL("pdflocationhere.pdf"); - but I believe thats totally dependent on how the users computer is set up. If they don't have Adobe Reader, it will probably fail, or will attempt to load the pdf within a modern browser that should have the reader plug-in. From my experience, when using getURL() within a projector, it will attempt to open the filetype based on that specific filetype's default opening program which is set in the OS.

  • Importing Sequences from After Effects CC 2014 into Premiere

    Before the update to cc 2014, I was easily able to import After Effects comps into Premiere using "Import" in Premiere. I would select an AE project to import, and it would ask me which sequences inside that project I wanted to import. Worked perfectly. This was just a couple weeks ago.
    NOW, I go to import sequences from an AE project and it only shows ONE sequence out of however many I may have. This has happened twice so far. Quitting & reopening both programs didn't do anything. Has something changed with the update?

    Dynamic Link only works between After Effects and Premiere Pro if the applications are of the same version---i.e., both CC 2014 versions.

  • Possible to use JavaScript to Import Data from XML file to pre-fill fields?

    Hi,
    I have a dynamic fill-in PDF that I want to "pre-fill" internally in my company before sending out to users who will change any pre-filled fields necessary and answer questions we did not already answer.
    We do not have LiveCycle Reader Extensions, but we can use Acrobat to import data from an XML document to pre-fill the named fields.  Is it possibly to do this task using folder-level Javascript or some other method?  I can look into this, and post my findings, but I'd like to know if it's possible or if I need to use a different programming language.

    Hi,
    I am afraid that solution was for a specific client and I can't share it. If I get a chance I will mock up an example, but this wont be for a while. From memory it was just a straight importData method. This would normally fail silently in a non-certified form, but when the form is digitally signed/certified, it works without a hitch.
    Good luck,
    Niall

Maybe you are looking for

  • Email and SMS from 2004 B Indian version

    Hello All, Can we use the EMail and SMS alert in 2004 B Indian Version. It is possible in 2005 A version(US). If you start SBO Mailer in the server tools the alerts will automatically send. Can any one help me to find it. Thanks & Regards, Jayakumar

  • Lossless edit in iPhoto 08

    In some of my photo editing in iPhoto 06 i enjoyed the ability to mess with images by repeatedly applying some of the effects to images until they got a painterly aspect to them. With the new improvement of lossless editing in 08 this process has bec

  • Quantity reduced in PO confirmations

    Hi, My problem is that I cannot understand the logic of reduced quantites for PO confirmation when we deal with combinations of partial GRs and partial confirmations. We use confirmation control key 0001 with AB order acknowledgement (MRP rel, not GR

  • Help with actionscripting multiple drop-down menus

    So I have 3 different drop down menus that I want to use, and I want them to all work together so that if I have drop down menu number one open, the 2nd menu will drop down while the 1st one is still down. (I'm using Flash cs3) Here are some screen s

  • DSO activation - long runtime

    Hello guys, in our BW system, activation of a DSO request takes a long time (> 1 hr), although only a small number of records (some hundred) has been loaded. When examining the log in sm37, I found out that there are no entries for the time in questi