Use SAP XML toolkit

Hi Frnds,
I am working on migartion project SAP BC to PI7.1,we are reusing many XSLT Mapppings in PI7.1 from SAP BC.but when tesing XSL its giving error,when i select Use SAP XML toolkit  option its working fine with warning messages.I read help.sap.com documentation SAP using using Use SAP XML toolkit  option not a betetr design.
Why my XSLT not working when i tested without Use SAP XML toolkit  option.
what are thing i need to chnage in XSL.
error message when i dont select Use SAP XML toolkit*  option
TransfromerException during XSLT processing:
javax.xml.transform.TransformerException: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException
if i select option iam getting warning message but my XSL working fine.
help me on this issue.
Regards,
Raja Sekhar

Hi Stefan,
I am uisng Use SAP XML toolkit*  option now for time besing as per sap doc its not a good idea to use.
my question is why its not working without Use SAP XML toolkit*  option.
if i want to make my XSL work without this option Use SAP XML toolkit,what are the things i need to chnage in my XSL.
Regards,
Raj

Similar Messages

  • Validate xslt against JDK5 so we can remove the 'Use SAP XML Toolkit' flag

    We are working on PI7.1 and have hit an issue with an XSLT mapping. We were getting an error when testing that said:
    TransformerException during XSLT processing:
    javax.xml.transform.TransformerException: com.sun.org.apache.xalan.internal.xsltc.TransletException: com.sun.org.apache.xalan.internal.xsltc.TransletException: java.io.FileNotFoundException
    We found a few threads on SDN pointing us to using the 'Use SAP XML Toolkit' flag, which we'd not even noticed before. Ticking this flag did get us around the problem. Further investigation suggested to us, however, that this flag will not be available in future releases, so I guess our best solution would be to try and resolve the issues in our mapping against the current version of java (JDK5). When we use other tools such as XMLSPY they do not detect a problem with the XSLT. Can anyone point me to a tool that would enable us to validate our XSLT file against JDK5, which will provide us with error messages that will enable us to fix the error and therefore remove the 'Use SAP XML Toolkit' flag?
    thanks,
    Malcolm.

    > Can anyone point me to a tool that would enable us to validate our XSLT file against JDK5, which will provide us with error messages that will enable us to fix the error and therefore remove the 'Use SAP XML Toolkit' flag?
    I am sorry to have to say that even inside SAP nobody can answer this question.
    In principle it will work when it is pure XSLT 1.1 but some commands from XSLT 2.0 might work also.

  • Replacement of SAP XML Toolkit by JDK 5

    Hi,
    we have a lot of XSLT mappings with Java-Enhancement in our PI 7.1 system.
    So we are using SAP XML Toolkit at the moment.
    In the future release SAP doesn't want to support SAP XML Toolkit anymore.
    So does anybody know what we have to do for using Java Enhancements in the future?
    It's not possible for us to loose this functionality, we have to use XSLT mappings with Java calls in the future too.
    Is there eventually a possibility to use a function
    I didn't find any information about that on SAP Help ore anywhere else.
    I hope anybody know how to do this.
    Regards
    Thorsten

    Hello,
    just started a few days ago enhancing XSLT mappings with Java extension functions.
    I started out of SAP PI, using Saxon and Xalan. When moving to SAP PI (7.1 Enh 1) I experienced that the SAP XML Toolkit is working the "Saxon" way.
    The transformer of SAP XML Toolkit identifies itself as from vendor InQMy Labs .
    The transformer of JDK identifies itself as from vendor Apache Software Foundation (Xalan XSLTC) , which is the same as on my workstation running Oracle/Sun JRE 1.6.0_22 .
    After some searching I found a hint at [Xalan, Java, XSLTC|http://rakeshdiscovery.blogspot.com/2008/12/xalan-java-xsltc.html] .
    Using [the abbreviated syntax for extensions implemented in Java|http://xml.apache.org/xalan-j/extensions.html#java-namespace] mentioned there, I was able to run XSLT mappings with Java enhancements using the transformer of the JDK .
    I still have a problem: One of my Java classes makes use of third party classes (e.g. from Seeburger). When testing the XSLT mapping in Operation Mapping I get an error "Failed to load and instanciate" with cause "Could not read properties" , even after importing the corresponding JARs as Imported Archive objects. This was not the case when running with SAP XML Toolkit .
    I assume that the class loading mechanism, respective the classpath is different than before. So, if somebody knows a solution for this ...

  • Download of SAP XML Toolkit

    Hi,
    I want to use the SAP XML Toolkit to implement a Java Mapping. Where can I find this tool? From which URL can I download the tool?
    Thanks to all!

    Hi Gabriele,
    You can find sapxmltoolkit library in the XI server.
    Find the drive in which XI is installed and search the following .jar file:
    \usr\sap\<SID>\DVEBMGS00\j2ee\admin\lib\sapxmltoolkit.jar
    where <SID> is your system ID.
    Finally, import sapxmltoolkit.jar in your Eclipse/NWDS project (as external library)
    Best regards, Manuel
    Please remember to reward points for useful answers and to close the thread if your problem is solved. Thank you

  • Using Java XML 1.5 toolkit instead of sapxmltoolkit for xslt mappings

    Hi All
       We have a case whereby our xlst requires a number of customised java class functions as we are porting webmethods systems across to PI.
    eg in the xslt adding
    <xsl:when test="function-available('java:concat">
        <xsl:value-of select="java:concat($first, $last, $inputparam)"/>
    We are running sap PI 7.1 ehp1. I have been referring to a number of posts on how to complete these tasks.
    namely we have implemented the example as provided in:
        http://help.sap.com/saphelp_nwpi71/helpdata/EN/73/f61eea1741453eb8f794e150067930/frameset.htm
    This only works if "Sap XML Toolkit" is enabled in the operational mapping.
    Left unticked (default setting in the mapping) whenever a testcase is run I end up with the error "could not compile sytle sheet".
    I would like to use the Java 1.5 xml processing capability as it is supposed to perform better than the sapxmltoolkit option and support for the latter will be discontinued in future.
    Has anyone been able run the case with sapxmltoolkit enabled?
    If so did you add any other libraries for java xml 1.5?
    thanks

    Thanks, I would have thought as much, but theres no guide on the deployment.
    For now i assume this will fit into the java/ext area and Pi would need a reboot after the libraries are copied.
    Has anyone deployed the additional libraries to PI.

  • XML toolkit or XERCES + XALAN in portal component Please HELP

    Hello,
    is there anybody that has succesfully used xalan and xerces in a portal component?
    I have an application that requires them but have found no way to have them working in the restricted classloader area of portal component developed in java.
    Best case my portal component still uses xml toolkit, worst case, when I try to add them as j2ee or irj libraries, portal does not even boot.
    Help needed !
    Thanks in advance
    Vitaliano Trecca

    Victor, Xavier is right.
    I have already tried that but does not work. Classloader still finds SAP XML Toolkit factory. I also tried forcing System properties but things go even worst: it affects portal behaviour.
    The only working way seems to be to load the parser implementation directly instead from the default factory but this is far from being a clean way.
    Any suggestion to ensure my PDK will see Default factories from xerces and xalan and keep off from XMLToolkit?
    Regards!
    Vitaliano

  • Using SAP PI instead of CRM Middleware

    Hi experts,
    Is it recommend to use SAP PI instead of SAP CRM Middleware.
    If yes how can I do that.
    I have read in forum requests that it can be implemented by using iDOC instead of BDocs.
    I need a technical guideline how data (eg. Business Partner Data) can be tranferred from CRM to other ERP System.
    Thank you for help.
    Greetings
    Mario
    Edited by: Mario Bauer on Jun 22, 2010 9:24 AM
    Edited by: Mario Bauer on Jun 22, 2010 9:28 AM

    Hi!
    SAP PI itself is a middleware Product but very roboust and capable enough to integrate any system to any other system, either it is SAP or Non-SAP. And there are two ways to integrate other ERP System to SAP CRM using SAP PI.
    1. SAP PI will receive the message from back end ERP system & convert it to the XML format. SAP CRM receives the message using the Middleware XIF adaptor and convert the incoming XML Messages in the BDocs and the BDocs upload the data in the SAP-CRM Data base.
    2. SAP PI will receive the message from back end ERP system & convert it to the XML format. SAP CRM receives the message and using the Functional Module convert the data into the  BDocs and the BDocs upload the data in the SAPCRM Data base. In thsi situation, you need an expert ABAP Consultant to write the accurate functional Module.
    The data inside the SAP_CRM System always transported in the BDocs not in Idocs. It is the BDocs data containers which transport the data from CRM Middleware to CRM Database and CRM Database upto CRM Middleware.

  • How to use SAP Business Workflow along with Interactive Adobe Form

    Hi Experts,
    I am working on SAP Business Workflow since last couple of years.
    Now i have got a new Project where client wants to use SAP Business Workflow along with Interactive Adobe Form.
    I am new to Interactive Adobe Form and Portal thing and i really dont know from where to start.
    We have one central system and 2 local systems. when we do create a Material document using adobe form workflow should trigger and notification should go to group of users who can approve or reject it, once they approve it document gets created in central system and replicated to 2 local system through ALE.
    In the Local system they do extend the document to different plants, again workflow triggers and notification will go to Managers inbox for the approval.
    Once the final approval done data should go and store in SAP.
    Now here i have couple of Questions.
    1. In SAP R3 Business workflow when i execute the workitem from the inbox i do get the application screen ( i.e. MM01 MRP View ) , what is going to happen if the same case i have with Adobe form?? is it possible or do we have to design a adobe form and we will have to map the fields with backend application??
    2. Do i have to maintained 3 separate Org Structure for 3 different system or using UWL  i can manage the show
    3. Untill final submit is not done, where the application data is going to be, is there any kind of buffer that we will have to keep it or its there with XML file??
    Please help me out.
    Thanks in Advance.
    Regards,
    Manoj

    Hi Manoj,
    Welcome to ADOBE Forms related Workflow Development. Well, here are my answers.
    1) You can go for either go for ISR based development or WD development with Adobe form. In both the cases you can achieve your requirement. Yes, you will have to design the Adobe form and bind the fields to backend.
    2) Am not clear or your System landscape to advice you in these regards.
    3) Until final Submit/Approval is done, the data can be stored in WORKFLOW CONTAINERS or XML FORM(If you go for ISR based Development).
    Hope this helps.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Sap Xml Idoc Inbound in Sap

    Hi all
    If I have to receive an Edi message from an external system (for example an Invoice from a vendor), could I get in Sap an Idoc from a flat file formatted as a Sap Xml format?
    As Sap Xml format I mean the same structure of an xml file generated in Sap to the Xml file port.
    (The sap r/3 system is a Sap Enterprise version)
    Thanks in advance
    Bye
    Carlo
    Message was edited by: carlo pergola

    Hi
    Thanks for the answer.
    Regarding the FM IDX_XML_TO_IDOC, I thing that I can't use it directly because I have to write a program, I have to read the Xml file (that is located in a special directory of the operative system) and then use the FM putting xml data in the XML_DATA import parameter.
    It's correct?
    Bye
    Carlo

  • SAP XML and SAP IDOC XML

    Hi Friends,
    Can any one tell me what is the difference between SAP XML and SAP IDOC XML?
    Regards,
    Kumar

    Hi,
    Various XML standards are supported by SAP. It presents data according to an SAP specification either in IDoc-XML or BAPI-XML, the SAP XML extensions for IDocs and BAPIs. It uses preprepared representations of the SAP interfaces to XML Commerce Business Language (xCBL) messages to facilitate communication with the MarketSet marketplaces.
    Messages are stored in a generic envelope. This envelope contains metadata that controls, among other things, the routing of the messages. SAP supports two different standards for these envelopes - Microsoft BizTalk and a format similar to Simple Object Access Protocol (SOAP). Packaging SAP BAPIs in a standard envelope offers several advantages, including direct processing of messages by external applications and a uniform system of error handling.
    Regards'
    Aashish Sinha
    PS : reward points if helpful

  • Error #2032 when using SAP NetWeaver BI Connection

    Hi,
    I'm trying to use to new SAP NetWeaver BI Connection in Xcelsius SP2, but when I try to connect to a BEx Query, I receive error #2032.
    I have a crossdomain.xml file in the Tomcat root of the BO-server, and the Adobe Global Security Settings are also filled in with all directories of my BO-server.
    Has someone an idea why this error occurs, and how to solve it?
    I'm working on Sap NetWeaver 7.0.1 SP5.
    Lieven

    We are using in total 6 different clients with Xcelsius 2008 Enterprise SP2. With two of them we can use SAP NetWeaver BI Connection and do not receive any error. The rest is showing the error message #2032.
    There is one difference between the systems which are working and the ones which are not:
    After selecting the query in the BI NetWeaver Connection there is an additional popup "Windows security" appearing.
    --> The server sapbw100.xxxx at BicsRemote/Config1 requires a username and password.
    Filling in the username and password the data from the query appear in the xcelsius.
    With the clients which provide an error there is no such popoup.
    If we create on an existing installation an .xlf file and open it on one which is not working, the Data Managers show the correct connection. As soon as we click on refreshing data, error #2032 appears.
    System configuration clients:
    Windows XP and Windows 7
    Office 2007
    SAP Business Explorer Patch 1001
    Regarding the working clients:
    One is working on XP the other on Windows 7
    Both on Xcelsius 5.2.0.0
    Installing the FixPatch for SP2 is also not helping to solve the problem.
    All the inputs in this thread have been tested but without sucess. Till now we could not install note 1380059 since related notes are not yet released.

  • Advantage of using SAP SRM

    Hi,
    Could any one please explain the advantages of using SAP SRM over MM module. As per me we can de most of the activities in MM except some vendor related activities (and that even if SUS is used).
    Thanks in advance.
    Regards,
    Lalit

    Hi Lalit,
    All advantages of using SRM and MM module is in Plan-Driven Procurement documentation on service.sap.com/instguides -> SRM.
    Generally planning in APO or MRP in an ERP system calculates the quantity and materials required. This requirement can be transffered to the EBP system. Requisitions from SAP Plant Maintanance or Project System are also possible requirements.
    The requisitions are passed to EBP. If the data is complete and unique, purchase orders can be created automatically. If the data is missing, the proffesional purchaser has to complete the missing information in Sourcing or via Process Purchase Orders. An option for the professional buyer is to assign un-sourced PO to an RFQ and send it out for bids.
    The proffesional purchaser completes the orders, assings source of supply, add or deletes item.
    Once the order is complete it is issued automatically to R/3. XML is the upcoming medium, since the data can be automatically integrated in more and more supplier's systes, or You can send orders by e-mail, fax or print them.
    Goods receipt is either done in EBP by supplier via an XML confirmation, by employee who requested the item by general goods recipient or in the backend system. Inventory is updated in backend.
    The invoice is processed in EBP manually by the requestor or an accountant submitted by the supplier via an XML invoice, possibly from SUS or backend system.
    You can also look in Self-Service Procurement documentation on:
    http://help.sap.com/saphelp_srm50/helpdata/en/8d/f6a93e08503614e10000000a114084/frameset.htm
    Regards,
    Marcin Gajewski
    Please assign points for useful answer.

  • VB6 & XML Datasource using Native XML Driver

    We used to use reports that used ADO XML dataset, and in VB 6 we easily told the report which XML file to use by:
    Dim objCRReport As CRAXDRT.Report
    Set objCRReport = objCRApplication.OpenReport(App.path & "\crystal\" + rptName)
    objCRReport.DiscardSavedData
    objCRReport.Database.Tables.Item(1).Location = xmlFile
    where xmlFile was the fully qualified path to the xml data to pass to the report.
    Now we are trying to do this with a new report which uses a XML Native driver as its connection method. In VB6, how can we pass different xml files to use?
    We looked at objCRReport.Database.SetDataSource, but it expects some parameters that I don't understand ( data , { data type } , { table number  } )
    Is there an example anywhere of how to switch your datasource in code while using the XML Native Driver?

    See [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    I would also recommend that you read the following regarding distribution of the runtime. This is important as the xml driver (crdb_xml.dll) uses Java:
    Apart from the regular deployment procedure for COM/RDC/NET applications, you have to follow the additional below-given steps in the client machines.
    Install the Java (JVM) 2 Runtime Environment (this is essentially the Java Framework needed to launch the crdb_xml native driver 1.4.2 from the java sun web site at:
    http://java.sun.com/j2se/1.4.2/download.html.
    Create a java folder inside the " C:Program FilesBusiness ObjectsCommon3.0";.
    Copy over the Crconfig.xml(C:Program FilesCommon FilesBusiness Objects3.0java) file from the development machine to the deployed machine in at the following path "C:Program FilesCommon FilesBusiness Objects3.0java" path. Open the crconfig.xml ; this file in Notepad and search for the line <JavaDir>. If JRE is installed to C:Program FilesJavaj2re1.4.2_12 in then the value should be look like this <JavaDir> C:Program FilesJavaj2re1.4.2_12 in</JavaDir>.
    Create a folder called lib in the "C:Program FilesCommon FilesBusiness Objects3.0java".
    Copy over the entire contents of the lib folder (especially the external folder) from the development machine to the newly created lib machine on the deployed machine. The point of this is to ensure that the crconfig.xml file contains all the files here which exist at the correct path which they now should because we copied over the lib and external directories.
    Copy crdb_xml.dll, crdb_xml_res_en, and all the files with "crdb_xml_res_xx from your development machine to the deployment machine (C:Program FilesCommon FilesBusiness Objects3.0 in).
    Restart your machine and try accessing your web application. The reports will show up the data without any issue.
    The above is written for CR XI release 1. You may have to adjust the path given above as you do not specify the version of Crystal reports you are using.
    Ludek

  • IDoc u2013 HTTP Using SAP BC

    Hi Experts,
    I want to create the following scenario using SAP Business Connector.
    SAP system sends an IDoc asynchronously to SAP BC. The SAP BC converts the IDoc into a standard IDoc XML document. After the conversion the SAP BC sends the XML document synchronously to an external URL of a business partner via HTTP.
    Can anyone provide me with a document consisting of all the steps involved for the above configuration, right from SAP system to BC system.
    Thanks & Regards,
    Amit

    hi,
    so you're doing rosseta
    >>can you please let me know from where can i get this file????
    the lastest version of best practices cd can be downloaded from:
    service.sap.com/swdc
    then path:
    Installations and Upgrades" SAP Best Practices" SAP BP FOR HIGH TECH" HIGH TECH - V1.600
    but it's for 1.600 version and you're file should be for V1.471
    so maybe you need to ask SAP where to download it if V1.600 DVD will not work
    but try the link
    Regards,
    Michal Krawczyk

  • Real time business functionality using SAP Xi and hardware included????

    Hi All,
    I am quite new to sap-xi. i have practised some of the scenarios that can be done with xi.
    I was just trying to visualise some of the real time business requirements where SAP XI is used.
    For example
    Some may have used Sap XI to transform data between file server and SAP system or may a web serve asking for details from sap system to display datas or some times sap xi systems sits betweem an integration server (like biztalk etc) and sap system.
    Can anyone of you can give me some of the real time requirements you have dealt with over the years
    in terms of business functionality and servers involved in the whole system?
    Thanks
    Rakesh

    Hi
    Various scenario's:
    FILE-FILE
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i
    XML to PDF
    /people/divya.vidyanandanprabhu/blog/2005/06/28/converting-xml-to-pdf-using-xi
    Work with BPM
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    File to IDOC
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    E-mail alerts in XI-CCMS
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    RFC using BPM
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    HTTP to RFC
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    IDOC to JMS
    /people/saravanakumar.kuppusamy2/blog/2007/09/26/an-approach-to-handle-total-record-counts-in-idoc-to-jms-scenarios
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    Pls : Reward points if helpful
    Thanks
    Vishal

Maybe you are looking for

  • UNABLE TO DOWNLOAD A pdf document created on line

    s

  • How to prevent display color option settings from disappearing after a restart of Firefox?

    I like to display specific text, background and link colors overriding pages' defaults; that info disappears almost after every Firefox restart. These settings are set in: Firefox>Options>Options>Content>Colors and having to reset them almost every t

  • Form by email

    I have made a interactive form in acrobat 9.0 with a send by email button on CS3 on macintosh. Everything is working good but when customers after fiiling in the form and click on send button (in reader on pc) they get a warning that they have to sel

  • PO Interface - Multiple shipments for a line

    Hi, Please could you anyone help me as to how to import PO lines with mutiple shipments? PO_header_interface, po_lines_interface, po_distributions_interface are the tables am using for the PO Interface. Since some of the PO lines has multiple shipmen

  • Databases and servlets

    I'm writing an application that displays all the records in a database using servlets, everything works as it should when run under Tomcat 3.2.3. I've since installed the Win32 version of Apache and the JServ plugin. This works fine except when asked