Wanting to copy DOM element child value into user defined object in PL/SQL.

We have a DOM object and can retrieve the object elements. We are wanting to take the elements and map them to user defined object attributes. We want to then place the element child (the text portion of <item>Foo</item> into the object attribute. Is there a package or utility that is available where we can simply pass the DOM and user defined objects and "magic happens here"?

We have a DOM object and can retrieve the object elements. We are wanting to take the elements and map them to user defined object attributes. We want to then place the element child (the text portion of <item>Foo</item> into the object attribute. Is there a package or utility that is available where we can simply pass the DOM and user defined objects and "magic happens here"?

Similar Messages

  • Copy standard giu status into user defined program

    how to copy stanadard gui-status 'STANDARD' into user defined program using se41

    Hi,
    Open Se41,
    Give the standard program's name and the GUI Status Name.
    Click on COPY button.
    Now enter your ZPROGRAM name and desired GUI STATUS Name in the popup that appears.
    Hope its done.

  • How to copy one column BLOB value into another column of another database.

    How to copy one column BLOB value into another column of another database.
    BLOB value contains word document.
    I thought of copy the BLOB value into a text file and then update the new column value by the same text in textfile. Will this work?
    Is there any other better way to do this?

    You're welcome
    BLOB fields contains binary data. I don't think you can do this
    Also if I view the BLOB as text. Can I copy it and insert into the new database.
    I think your options are as I said. Datapump or CTAS
    Best Regards

  • LSMW  - Maintain Fixed Values, Translations, User-Defined Routines

    Hi all,
    I know a little about LSMW.I can perform all the steps and I have uploaded from flatfile to standard tables for transaction XK01. I just want to know what we can perform in sixth step.If I want to write a user defined routine how can I do that ? Can anyone explain me with a simple example and detailed description.
    Regards,
    Vijay.

    hi, you means the 'Maintain fixed values, translations, user-defined routines'.
    You can definite some fixed values and translations rule in this step.
    And go back to the 'Maintain field mapping and conversion rules' steps.
    You can utility these pre-defined in the data mapping.
    E.G.
    You defined a fixed valued name 'BUKRS'
    Through click the button in the application bar in step 5,
    you can use a FV_BUKRS in data mapping.
    FV_BUKRS is the name of the fixed value name in data mapping.
    thanks

  • DI_Inability to enter value in user defined field: Hour

    I am using SAP Business One 2007 A PL15, and I seem to be experiencing the same issue described in these two support notes:
    1086704 [DI_Inability to enter value in user defined field: Hour|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001086704]
    1016731 [DI_Inability to enter value to Hour User Defined Field|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001016731]
    However, they are for SAP 2005 and say that the issue should be fixed.
    Does anyone have any insight into whether these issues have been fixed in a more recent patch of SAP 2007?
    Thank you in advance.
    Mike

    Dear Mike,
    By check the Related Notes,  the issue in SAP Note 1086704 is fixed on SAP Business One 2005 A SP01 Patch 32 and the issue in SAP Note 1016731 is fixed on SAP Business One 2005 A SP01 Patch 29.
    If your issue is same as the Notes then it should be fixed in a more recent patch of SAP 2007.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • How to assign a query retrived value to a user defined  object in a table

    how to assign a query retrived value to a user defined  object in a table

    Rajeshwar,
    If you use the "Search" feature in this forum, you should be able to find helpful links to similar questions.  You could also look at the RecordSet and DoQuery documentation in the SAP Business One SDK Help Center documentation to assist you with your question.
    HTH,
    Eddy

  • Want to flatten my parent-child hierarchy into an level-based hierarchy.

    Hi Expert,
    Can anyone let me know how I can convert my parent-child hierarchy into an LEVEL-based hierarchy.
    Thanks in Advance
    S

    If you have an Oracle DB have a look on the CONNECT BY PRIOR functionality.
    regards
    John
    http://obiee101.blogspot.com

  • Placing a variable value into an XML Object

    I am trying to figure out how I would get the value of a variable into an XML Object.
    I have the variable
    var dragonName:String = "Samuel";
    var listing:XML = new XML();
    listing = <thedragon>
                            <dragon>
                                  <myname> dragonName.valueOf()</myname>
                             </dragon>
                   </thedragon>
    However, the dragon name does not show up when I go trace(listing);
    How do I do it and should I have imported something as well or what?

    yeah - in fact you can do all sort of things. This is extremely useful when you creating an XML dynamically e.g.
    var names:Array = ["Sammy", "Samuel", "Sancho"];
    var xml:XML =     <dragon>
                         <myname>{Math.floor(Math.random()*names.length) < 2 ? names[1] : names[Math.round(Math.PI) - 1]}</myname>
                      </dragon>;
    or you can even run a function:
    var xml:XML =     <dragon>
                         <myname>{dragonName()}</myname>
                      </dragon>;
    private function dragonName():String {
       return "Samuel";

  • Passing SQL Server identity attributes values into adf entity objects

    Hi all.
    I'm using Jdeveloper 10g for developing an ADF Swing application based on MS SQL Server DB.
    Does anyone know if it is possible to pass SQL Server identity attributes values into the correspondent attrributes of adf entity objects, like we do with Oracle DB Sequence.
    The problem is that i should somhow implement cascade deleting of detail view objects, so i should use the composition association. But since i cant fill the primary key attribute with appropriate value (that is actually a ms sql server db sequence value) i always get
    the following exception: oracle.jbo.InvalidOwnerException: JBO-25030 as i try to create a new pair of master/detail objects.
    Thanks in advance.
    Alex.

    The approach is good. but i still dont understand how i can address the sql server db sequence (identity field) programmatically...
    The code offered
    SequenceImpl sequence = new SequenceImpl("PRODUCTS_SEQ",getDBTransaction());
    setProdId(sequence.getSequenceNumber());
    generates something like this:
    select deq_name.nextval from dual
    but this syntax works for oracle only... and not for sql server...
    Edited by: Timin on Mar 26, 2009 6:34 AM
    Edited by: Timin on Mar 26, 2009 10:25 AM

  • How to put a value into the Gauge object

    Hi Experts
    I would like to use the DS_1.getData() command to retrieve data from a query
    and place it into a gauge (standard object in DS). What I understand is that
    the getData command retrieves a float value and the gauge object expects an integer
    value. I didn’t find a float to integer conversion so I tried a work around. It
    looked something like this but it did not work:
    GAUGE_1.setValue(Convert.stringToInt(Convert.floatToString(DS_1.getData("CKXYNLFBDHH0X2U91711DX83S",
    {"ZQMSITEPD":'S999'}).value)));
    The value from the float to string conversion holds the decimals like 49,937 and this creates an error in the conversion from
    string to int.
    Does anyone have an example on how to get data from a DS into a gauge?
    Kind regards
    Erik

    HI Erik, have you tried to use the Convert object?
    float can be converted to string with argument "###", this will round all numbers after colon.
    eg.
    var fullNumber = Convert.floatToString(55.83, "###");
    var numberInt = Convert.stringToInt(fullNumber);
    APPLICATION.createInfoMessage("Value " + numberInt);
    fullNumber = Convert.floatToString(55.23, "###");
    numberInt = Convert.stringToInt(fullNumber);
    APPLICATION.createInfoMessage("Value " + numberInt);
    see for many examples
    Design Studio 1.3 Scripting Example to Convert String Number to Date
    Regards, Karol

  • Retreve current form value in user define field

    Hi,
    I got a questions, please help.
    I want to retrieve values in current form, like the quantity and discount in Sales order, into a user define field with formatted search, is it possible?
    Many Thanks!
    Paddy

    This is the Syntax of FOrmatted Search Query. This syntax will work only with SBO.
    $[$38.11.0]
    38 Represents the Matrix(Table) in a Marketing Document
    11 Represents the Quantity Field in the Matrix
    0 Represents the Number Format.
    Place your Cursor on the Matrix and Press CTL + SHFT + D, you'll find the Column information in the Left side of the Status Bar

  • Acces to XI R/3 table into user-defined function. Is possible?

    Hi experts.
    We want to do a user defined function in message mapping that reads a value in R/3 table. R/3 table is created in XI r/3.
    It´s possible?. How i can do it?.
    Thanks for all.

    HI Julian
    For your scenario, u need to create an rfc in the R/3 system and call that RFC from a user-defined function in XI by using the RFC Lookup facility..
    Check out this following code...
    com.sap.mw.jco.*;
    public String Get_Customerl(String a,String b,Container container){
       //write your code here
    JCO.Repository mRepository;
    // Change the logon information to your own system/user
        JCO.Client mConnection = JCO.createClient(
                "300",         // SAP client   
                "XYZ" ,       // userid
                "XYZ",       // password
                "EN",          // language
                "66.248.225.116",        // host name
                "00" );        // system number
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    // Create function
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("ZGET_MATERIAL");
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    input.setValue( a , "CUSTOMER" );
    input.setValue( b , "NAME" );
    mConnection.execute( function );
    String ret = function.getExportParameterList().getString( "CUST");
    mConnection.disconnect();
    return ret;
    This takes the customer number and name as input and the rfc maps these values in the table and returns the customer number if it exists in the database...
    Hope u find it useful
    Regards,
    Hari

  • UFT(11.53) - Typecasting User Defined Object into Standard Object

    Hi Team,
               I want to typecast my Userdefined Object Window("Microsoft Excel") into Standard Excel object.( I have gone through "CType" function in VB but it is not useful in UFT  Can we make this possible?)
    Is it possible to do it in UFT 11.53? If, Yes then please elaborate the answer.
    Thanks,
    Prachi Kulkarni

    One small detail in the SELECT.
    SQL> create or replace type sample_obj_rec as object
      2  (object_id    number,
      3   object_name  varchar2(32),
      4   object_type  varchar2(32));
      5  /
    Type created.
    SQL>
    SQL> create or replace type sample_obj_tab as table of sample_obj_rec ;
      2  /
    Type created.
    SQL>
    SQL> declare
      2     v_tab   sample_obj_tab := sample_obj_tab() ;
      3  begin
      4     select sample_obj_rec(object_id, object_name, object_type)
      5     bulk   collect into v_tab
      6     from   dba_objects
      7     where  rownum < 11 ;
      8  end ;
      9  /
    PL/SQL procedure successfully completed.
    SQL>

  • Will ASE system defined error number fall into user defined error numbers starting from 20000?

    The maximum error number in sysmessages:
    select max(error) from master.dbo.sysmessages
    ON ASE 15.0.3
    column1   
    19975     
    ON ASE 15.7
    select max(error) from master.dbo.sysmessages
    column1   
    19999

    Hi Siddhartha,
    I don't expect ASE to start using error numbers in the user-defined range.  I'm part of the group that reviews new messages, and conserving the shrinking pool of available numbers is certainly a concern of ours. We are actually still some ways away from running out of numbers.
    The error numbers are actually a concatenation of a major family number (the 100s values)
    and minor numbers 0-99 in each family.  There are many families of errors that have unused values, one possibility is that we could use those unused values for errors that don't really belong in that family.   Another thing we can do (though it would have to be in a major release of both open client and ASE) would be to introduce another mechanism that might work just the same as error messages but be called, say, "notifications" or "faults' (though that term is already used by checkstorage.
    There actually already exist two such families of messages, one called "errors" and the other called "messages".  You can see this when configuring a shared memory dump, both are possible dump conditions.  "Errors" show up in the errorlog displaying the message number, severity, and a state value, while "Messages" just display text and support has to look up the associated message number in the ASE sourcecode.  (Not all text messages in the log are actual messages like this, some are just text that gets printed that one can't configure a memory dump on.)
    Cheers,
    -bret

  • Wanting to copy a list of history into a document (so can edit)

    Hi,
    A lot of my employees visit sites they shouldnt and I can see this very clearly on our computer history. I would like to be able to copy a list of this history for our next meeting to show. But I would like to be able to edit this list first. Is there anyway to upload a list so it is in a document (Like Word, Excel etc) I know about print screen but this method isnt able to be edited/highlighted etc. can you give me the options for all different OS's and Versions of Firefox as I will be doing this on all our PC's.
    Thanks

    # {Ctrl + Shft + H} to open the Library > History window
    # then click on the History you want to see in the left column
    # click on one of the History items showing in the right column so it is highlighted
    # then hit {Ctrl + A} to highlight All the items
    # {Ctrl + C} to copy all that is highlighted
    # use {Ctrl + V} to post that list into a text program like Notepad or Word
    You might want to re-think that approach though, after your meeting some employees might start using Private Browsing or clearing their Browsing History leaving you in the dark as to where they are surfing on your dime.
    If all those PC's are on local area network you might want to look into network control software and just plain block the web sites that get the most visits from your employees - like Facebook and other social networking websites, plus sites like YouTube that don't have any work related content. Network control software can track websites that are visited by PC's on your network and regardless of whether your people use Private Browsing ''(or InPrivate as IE calls that feature)'' or clear their History periodically, you'll be able to track how your equipment and time is being used. It will even track web sites being visited thru your intranet of personal PC's, tablets, and cell phones that connect by wi-fi.

Maybe you are looking for