Using CDATA in Mapping

> Any suggestion on above requirement?
CDATA is not supported by the graphical mapping tool.
Use XSLT or Java mapping or convice the client to change the requirements, as the CDATA absolutely make no sense, when the content comes from an XML element, which means there are no markups inside.

Hi,
Use XSLT or Java mapping
Ok. I will try with XSLT and check.
convice the client to change the requirements
Already had a discussion on this. The client is not ready to change the requirement.
Thank you,
Pankaj.

Similar Messages

  • How to use the 'DatabaseOperation' mapping in iStudio?

    I'm still a novice in using iStudio and would like to use the 'DatabaseOperation' mapping - but so far I've had no joy. For Test purposes I have created a function:
    FUNCTION test_value (p_operator_name IN VARCHAR
    , p_status IN VARCHAR) RETURN VARCHAR IS
    l_return varchar2(100);
    BEGIN
    l_return := 'This is a test';
    RETURN l_return;
    END;
    iStudio
    Destination Field
    $Test.s1
    Source Field
    DatabaseOperation (operator_name, status, "oaihub902", "***password", "***host", "1521", "***SID", "thin", "5", "20", "begin test_value(operator_name,status);end;")
    Error
    oracle.oai.agent.server.transform.database.DBTransformationException: PLSQLTrans
    formation.transform: Transformation failed
    I can't find any documentation on how to use this mapping .. so any help would be appreciated.
    Cheers
    Ed

    I agree. The documentation is sketchy.
    One point. Consider developing your own custom transformations instead of using the Database Operation transform.
    I'm not sure about your client, but mine does not like having any passwords in the clear.
    Also, custom transformations are portable from one environment to another. You often find that having to recode usernames and passwords within the Database Operation transformation from your DEV > TEST > PROD systems a bit of a pain.
    HTH
    Yan

  • Functions used in Java mapping

    hi
    If anybody has worked on Java mapping, Can anybody tell me the common functions that are used in Java mapping along with some examples
    Also how java mapping is more useful as compared to XSLT and ABAP mapping, when to use java mapping and some demo example on java mapping if available
    Thanks & regards,
    Loveena.

    Hi Loveena
    refer these Blogs for Step-via step for java mapping
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    <b>Java Mapping (Part I)</b>
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/javaMappingusingDOMParser&
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava%2bmapping
    JAVA Mapping :If you have complex mapping in your scenarios and also some times if you have more than 100 field to map then better to choose the JAVA MApping
    Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but, DOM is very processor intensive.
    SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exactly easy to develop either.
    DOM and SAX are APIs
    In NWDS we have to develop the mapping and create jar and archieve and import it under Iported archieved in IR. this can be used in Interface mapping.
    See the below links so that you can have screen shots,...
    Java Mapping
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    Re: java ,abap and XSLT mapping
    Re: java ,abap and XSLT mapping
    Re: When to Use XSLT,Java or Graphical Mapping
    mapping
    Testing and Debugging Java Mapping -/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Thanks !!
    Regards
    Abhishek Agrahari

  • What is use of Active mapping in ODi interfaces?

    hi,
    What is use of active mapping in ODI interfaces ?
    What are the advantages of using active mapping?
    If active mapping is not used in ODI ,would it affect ODI code in some sense?
    Thanks,
    Mahesh

    MaheshGx wrote:
    hi,
    What is use of active mapping in ODI interfaces ?This ask ODI to generate for for the mapped column . Other wise no code will be generated .
    What are the advantages of using active mapping?If you want to generate code use active mapping .
    If active mapping is not used in ODI ,would it affect ODI code in some sense?
    It will not generate the code
    Thanks,
    Mahesh

  • File to File using BPM & value mapping

    Hi,
       I have the following scenario to do. sample file structure is given below.
    source:
    HDR   13052008INDIA
    BDY   123456
    BDY   1234567
    EOF 
    Target:
    HDR 2IN  BDY 123456 EOF
    HDR 2IN  BDY 1234567 EOF
    for the above mentioned source and target mapping. we have to use BPM and value mapping.
    In the HDR row 13052008 is the date value this has to be passed to RFC function module and it will return 2, this value has to be mapped to target
    And INDIA has to be mapped to IN using the value mapping option. similarly we have many coutry code.
    could anyone let me know the step by step procedure to achieve this, I followed the blog https://weblogs.sdn.sap.com/pub/wlg/1926. [original link is broken] [original link is broken] [original link is broken] but it does not fit to my scenario.
    help is appreciated.
    Regards
    RDS

    Hey,
         This is a normal file to file scenario.
         You need to use RFC look up instead of value mapping.(as you need to extract 2 and IN from an RFC)
    There is no need for a BPM.
    refer to this blog(for RFC look up)
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    this will solve your problem.
    Output of RFC look up will be 2 and IN . So use the concat function.
    Other values map them directly from source to target.
    Also, set the occurence for the target structure as 0 to unbounded in the mapping.(this is to be done in order to have one file for each record of the source)
    You also need to configure file content conversion.(both at sender and reciever side) to convert the text file to XML on the sender side and then XML to text at the reciever side.
    refer to this link for FCC.
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    This is for sender file content conversion.
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    This is for reciever FCC.
    http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
    reward points if useful.
    regards,
           Milan

  • Mapping Split using the Graphical Mapping Tool

    Hello,
    I am a little confused right now... so I turn to you for help!
    I found this excellent blog:
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    It details how to do a message split using the Graphical Mapping Tool. WHich is exactly what I want!
    But then I found this on help.sap.com:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    Which states that:
    Messages cannot be sent by using different Adapter Engines in a mapping-based message split. This affects configuration thus: All receiver agreements that have a receiver interface from the mapping entered in the key must only be assigned communication channels with the following adapter types: 
    -          RFC Adapter
    -          SAP Business Connector Adapter
    -          File/FTP Adapter
    -          JDBC Adapter
    -          JMS Adapter
    -          SOAP adapter
    -          Marketplace adapter
    -          Mail Adapter
    -          RNIF adapter
    -          CIDX Adapter
    I have a simple mappling split where I want to take a file containing multiple materials and send them one by one to a PROXY into SRM. To send to proxy I want to use the HTTP adapter which is not listed above. BUT if I read it correctly it will work, as long as I dont try to do the interface determination based on the mapping.
    Is this correct, that it will work I mean? I think so but not sure about the wording in the sentence above, and wanted to check before I go destroy my mapping.
    Thanks!
    Nam

    Hi,
    If your scenario is simple and straight fwd like from one source to one target then you can split message without BPM. As Priyanka said in the message mapping go to Message Tab and set the target message occurance to unbounded. Then in the Interface Mapping in the target interface section you will find the occurance in the last column, change occurance to unbounded.
    While doing configuration you have to go for Enhanced Interface Determination thats it.
    Provided you are above sp14, incase of any lowere SP'a you will not even able to activate your mapping program as it will expect ABSTRACT interface to do multimapping.
    Thanks,
    Prakash
    Thanks,
    Prakash

  • Using CDATA tags in XML program and parsing to J2ME

    Hi,
    Can anybody tell me how to use CDATA tag in a xml file and parse it to my J2ME code. is there any sample code available for this? I want to use this CDATA tag for sending Binary data. plzzzzzzz Help....!

    I think what you want is to parse a CDATA text from a xml file and let this text to execute.
    Very innovative idea!
    If I am right, I think you might mix some concept.
    Java code need to be changed to ByteCode before pased to the JVM. Furthermore, Java ME code must be verified before downloading to your machine.
    I figure that your attempt is impossible.

  • Using CDATA in Script (XML)

    Hello,
    I'm trying to create an XML var using CDATA to get some htmlText.
    Sample:
    <fx:Script>
        <![CDATA[
              var newXML:XML = XML("<node><![CDATA["+ myRichTE.htmlText+" ]]></node>")
        ]]>
    <fx:Script>
    <mx:RichTextEditor id="myRichTE" />
    But i get an error on this line. (give it a try, something about an unclosed tag, can't give the exact english error message since i got french UI)
    It seems that you can't use
    <![CDATA[xxxx]]>
    in Script section of an Application (in addition of the main CDATA which contains all Script), since it interprets as a real CDATA.
    And I think I can't do without it to store the htmlText inside an XML node.
    Any ideas ?
    (maybe by "escaping" the CDATA tag ?)
    Thanks a lot.

    Indeed, actually, it is as simple as this :
    <fx:Script>
         <![CDATA[
              myXMLnode = myRichTE.htmlText
         ]]>
    <fx:Script>
    <mx:RichTextEditor id="myRichTE" />
    It is correctly inserted into the XML, by replacing tags with their corresponding html entities.

  • I used my iPhone maps it works very well. Is there an application for the iPad that could be used on a boat?

    I used my iPhone maps it works very well. Is there an application for the iPad that could be used on a boat?

    Indeed :-)
    This forum is riddled with questions by users that cannot get their computer to do what they want, *despite* the fact they use a very precise and (usually) unambiguous method of telling it want they want it to do -- a programming language. Making it comprehend *natural* language is, by any way of measuring, a number of degrees more difficult.
    That said: in what way would a computer program (advanced or "dumb") be able to help the OP? Spell check is one -- but it's not a *fact* that anything written *badly* equals nonsense. In politics, for example, the most eloquent speakers still manage to make a fool of themselves :D The same goes for "grammar". Of course, bad grammar is more difficult to understand -- EVEN for a human. So a computer is bound to fail on that as well.
    Fact checking then? I usually can't even find what I want in one go with Almighty Google (which seems to turn things around: if it cannot find "enough" web pages with the exact phrase you asked it, it automatically assumes you are interested in synonyms, antonyms, homonyms, and other *unrelated* stuff! Yeah THANK you but I want to find what I typed in!)
    A good starting point would be to define in more detail what this hypothetical software *ought* to do -- that needs to be a bit more concrete than "I want it to do my job for me."

  • Hi All ,need ideas on using oracle apex maps...

    Hi All,
    I need a map on country like trinidad and Tobago and jamaica together how do I accomplish that...using the current oracle apex..
    I couldnt find country tobaga and Trinidad listed there
    Thanks any guidance shall be appreciated..
    Paul j

    Hi Paul,
    There actually isn't a country map for Jamaica or Trinidad and Tobago in the suite of AnyChart maps that we integrate into Application Express. Your easiest option is to use either the World, Americas or North America map - either of these will allow you to represent Jamaica and Trinidad & Tobago on a map, and associate data with it. I've used the Americas map as an example here: http://apex.oracle.com/pls/apex/f?p=36648:89.
    I appreciate that this isn't ideal if you wish to represent these locations on their respective country maps, but it might be a possible workaround for you. Alternatively, you would need to source your own Shapefiles for these countries, and use the AnyChart Flash Map Converter utility - http://anychart.com/products/anymap/converter/ - to convert your Shapefile into a .amap file. That .amap file would then need to be incorporated in your APEX /images directory, and its information would then need to be referenced in your map SQL query in order to associate data with the new maps. For further information on the Converter utility, or indeed on the AnyChart maps, please refer to the AnyChart site: http://anychart.com/products/anymap/docs/.
    Regards,
    Hilary

  • How to use scheduling in Mapping?

    Hi,
    can i use the schedular in Mapping?.
    I have created a schedule, but dont know how to use it in Mapping.
    Does anyone some ideas oder example.
    Thanks
    Mandi

    Hi Mandi
    You configure the mapping and set the 'Referred Calendar' property.
    See the viewlet below which does it (for Apps integration rather than database scheduler, but the steps are pretty much the same).
    http://www.oracle.com/technology/products/warehouse/htdocs/concmgr/owbconcurrentmanager_viewlet_swf.html
    Cheers
    David

  • Parser used in Msg Mapping

    Hi all,
    We all know that DOM / SAX Parser will be used in Java Mapping.
    Then what is the parser used in Message Mapping.
    Thanks
    Krishna.

    Hi,
    Graphical Mapping is internally converted into a Java Code that uses SAX Parser.
    Regards
    Bhavesh

  • When using two Msg Mapping - will performance decrease?

    Hi,
      Our scenario is File->XI->MultiIDoc.Can i use two Msg Mapping to create 2 idoc from one flat file rather than doing XSLT or JAVA Mapping.
      Will it reduce the performance?

    Udo, From what i understand , the background code that gets generated when we do GUI mappings is in Java. So there should not be much of a difference b/w the Java mappings we do and the Java code that is created when doing GUI mappings rite!! Let know of ur thoughts
    May be its a call we have to make b/w the Java code we write and the Java code SAP tool writes
    -Saravana

  • Error when using CDATA in orm.xml

    Hi everyone!
    I am writing an application using TopLink Essentials. Something really weird is happening when I use CDATA sections in my orm.xml file to declare named queries.
    I declared a named query like this in my orm.xml file:
    &lt;/named-query&gt;
    &lt;named-query name="findLatestExchangeRate"&gt;
    SELECT a
    FROM ExchangeRate a
    WHERE
    a.code = :currency AND
    a.date = (SELECT MAX(b.date)
    FROM ExchangeRate b
    WHERE b.code = :currency AND b.date &amp;lt;= :before)
    &lt;/query&gt;
    &lt;/named-query&gt;
    This worked like a charm.
    Nonetheless, when I decided to use CDATA sections to declare the query and ovoid XML entities, somewhat like this:
    &lt;named-query name="findLatestExchangeRate"&gt;
    &lt;query&gt;
    &lt;![CDATA[
    SELECT a
    FROM ExchangeRate a
    WHERE
    a.code = :currency AND
    a.date = (SELECT MAX(b.date)
    FROM ExchangeRate b
    WHERE b.code = :currency AND b.date &lt;= :before)
    ]]&gt;
    &lt;/query&gt;
    &lt;/named-query&gt;
    Then the weirdest thing happen. I am not even able to create the EntityManagerFactory. I get an error that says:
    Exception in thread "main" Local Exception Stack:
    Exception [TOPLINK-8028] (Oracle TopLink Essentials - 2.0.1 (Build SNAPSHOT (02/01/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Syntax error parsing the query [findLatestExchangeRate:
              ], line 1, column 41: unexpected end of query.
    Internal Exception: line 1:41: unexpected token: null
    Does anyone has any idea of what could be going wrong here?
    Thanks in advance for any help you can give me.
    Edited by: [email protected] on Oct 13, 2008 1:10 PM

    I tried it in EclipseLink 1.0.1 and had no problems. I would recommend filing a bug against TopLink Essentials in case there is a known work-around.
    If you are using TopLink Essentials as a supported Oracle TopLink user please consider upgrading to Oracle TopLink 11g (includes EclipseLink) or if that is not possible please open a service request with Oracle support.
    Doug

  • How to bound the objects used in the mapping?

    HI,
    Could any one please explain me how to bound all the objects from a mapping at a single shot? Can we do this using OWB?
    Thank you,
    Regards,
    Gowtham Sen.

    Hi,
    Thanks to all for replying.
    I am using OWB 10G R1
    I exported the mapping and the depenedent objects such as tables, sequences. and so on.
    But while exporting I couldn't able to export public transformations. So the trasformation objects which I used in the mapping are set as not bounding to any object.
    Now I manually import the transformation.
    So Could any one explain, how to to do this reconcilation using OMB plus?
    Thank you,
    Regards,
    Gowtham Sen.

Maybe you are looking for