Conversion Agent Java API

I'm looking for Conversion Agent Java API. Would you please advise where I can find this API.
Thanks.

Hi,
Java API programs should use the library CM_JavaAPI.jar, which is located in the
Conversion Agent api/lib directory.
The CM_JavaApi.sda J2EE library exposes the Conversion Agent Java API. A SAP
NetWeaver component can call the API to run Conversion Agent data
transformations.
For further details, you can check "Conversion Agent Engine Developer's Guide".
Sandeep

Similar Messages

  • Need Conversion Agent Java API Reference document

    Hi all,
    Can any one provide Java documentation for doing conversion agent?
    actually "Conversion Agent Java API Reference" had been refered by Conversion Agent User guide. I couldn't find that one...
    Any inputs are great.......
    Thanks

    Hi,
    All the guides for Conversion agent are present in the service.sap.com
    solution DetailsSAP NetweaverSAP Netweaver in detailExcahnge Infrastructure-Media Library---documentation
    Regards
    Vijaya

  • Oracle vm agent java api

    need api
    Edited by: [email protected] on Feb 25, 2009 4:46 AM

    Hi John,
    We've got an application with some reports defined and now we would like to start to OBIEE instead of the current solution. As far as I can see now we can't really give any access to the Answers to the user (because it would be too complicated for them to build a query with filters) so we have to prepare the queries and show them ourselves. I use executeXMLQuery() method to get the XML with the results of my XML query. However, I couldn't find any specification of such queries so I'm not sure how I should compose the filters. Can you give me any source of such information?
    Thanks.
    Cheers,
    WhatTheHell

  • Conversion of .csv file format to .xls format using java api

    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls file with all propertirs running.
    Thanks

    umangjain87 wrote:
    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls fileApache POI and jExcelApi are two libraries that can produce xls files.
    [A simple Google search|http://www.lmgtfy.com/?q=Java+Excel+library] could have told you as much.
    with all propertirs running.What does that mean.

  • How to achieve conversion of PDF to PDF/A files using Java API?

    Hi,
    We are required to convert existing pdf files to pdf/a files. Is there a way to programatically achive this using any of the Java APIs?
    Thanks

    Which of the LiveCycle products are you looking at? (there is no Java API to Acrobat)

  • XML to EXCEL with Conversion agent error: XML to EXCEL PROCCES FAILD

    Hello,
    I have scenario from Oracle database to Excel.
    For this scenario I use with conversion agent by itemfield to transfer data from XML to EXCEL.
    The scenario not worked.
    Few points:
    1. I add the conversion agent module to SAP XI receiver communication channel.
    2. When I change the scenario to oracle to xml (without using conversion agent) the scenario works OK.
    3. When I drag the CME file to the studio I found the error message: XML to EXCEL PROCCES FAILD.
    4. I use with conversion agent in other scenario (EDI to IDOC) without any problem.
    5. I'm not found any clue for this problem in XI RWB.
    Elad

    hi Elad,
    to do the conversion,you have to define a module and import it into you CC.
    also see nexts blog
    Yet another "from database or internal table to Excel"
    Reading Excel Data from Java Using HSSF API
    Reading Excel line items using the jExcel API
    Read Excel instead of XML through FileAdapter
    Thanks
    Rodrigo

  • Conversion Agent Environment Variables.

    Hi Experts,
    We are using on Conversion Agent for converting EDI file data into XML.
    Using Parser for this.
    The problem is related to Enviornment Variables to be loaded on XI Server.
    What will be the environment variables for this purpose and what will be the value for the same.
    I have loaded three Environement Variable on XI Server for Conversion Agent,
    1. CLASSPATH  -  C:\Program Files\SAP\ConversionAgent\api\lib\CM_JavaAPI.jar
    2. IFCONTENTMASTER_HOME - C:\Program Files\SAP\ConversionAgent\
    3. Path - C:\Program Files\SAP\ConversionAgent\bin
    Are these entries correct ? Please help.
    When I am using
    To use the remote support interface:
    1. In Microsoft Internet Explorer, version 6.0 or higher, browse to
    http://HOST:PORT/CMViewer
    Selecting Event : View Initialization Events, it is giving me an
    error : Event file not found!
    Selecting Event : View Execution Events, it is not showing any Date in
    Date field and not showing any service in Service Field and Next
    Pushbutton is also disable.
    What is the problem ? Please help.
    Regards,
    Study SAP.

    Yes it shows up after restart of BIDS .
    But during design time this is a bug I hope Microsoft fixes this bug in the future releases
    Mudassar
    It's not really a bug. Visual Studio loads the environment variables when starting up.
    In future releases you use projects and parameters instead of environment variables, so the issue goes away ;)
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Conversion Agent - Help for scenario.

    Hi Experts,
    We are working on Conversion Agent for EDI - XI - IDOC, creating Parser in Conversion Agent, when we are using the same in Communication Channel, the file is not picked up from EDI Folder.
    It is giving us one error "Error: java.lang.NullPointerException".
    May be we are not creating the complete scenario and making some mistake in the scenario.
    We have read many blogs and threads on SDN, but it is not making any help in our condition.
    If anybody have complete scenario with screen shot, please give us that as it is urgent.
    Please help,
    Regards,
    Study SAP

    Hi Lawrence,
    Thanks for your reply,
    There is only one project and at CMD when we are trying to run it is running fine,
    in the result is creating XML Message.
    we have these errors in our Communication Channel Monitoring :
    Transformation failed; CMException: Failure while trying to create engine log C:/Documents and Settings/Administrator/Application Data/SAP/ConversionAgent/CMReports/Init/Events.cme- for more information see file://internal
    Attempt to process file failed with com.itemfield.contentmaster.CMException
    Is the problem related to our project or with our deployment ?
    Please help,
    Regards,
    Study SAP

  • Conversion Agent Service Error

    Hi I have tried to Install the CA engine, deployed the *.SCA files, Copied the Services SubDirectories onto ServicesDB of XI Server which is on Windows 32bit.I am able to run the 'CM_Console' and 'CM_Console testCME' tests with sucess.However when I use the channel to parse a pdf from a Mail Attachment the mail is picked & read however the payload is blank,the Comm Channel Monitor shows a error ,,
    Error:  java.lang.IllegalArgumentException: can't parse argument number Mehod:callConversionAgent ,
    the services related to this interface are in the ServicesDB folder,and this service used to be running before on a previous UNIX server,Any Idea what needs to be changed while deploying the same Service on a Windows Server..?

    Have you used Conversion Agent Module in Sender File Adapter --> Module, properly ?
    Also check this module using CM_Console <Module Name>.
    & check the result of your Conversion Agent Module there.

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • Urgent - Big POC: SAP Adapter Java API !

    Hi,
    I'm trying to get from an SAP BAPPI values using SAP Adapter Java API.
    I had tested at BEA and it worked fine.
    the code is:
    try {
    InitialContext ic = new InitialContext(env);
    // Create an object that provides the services established during
    configuration
    ApplicationView applicationView = new
    ApplicationView(ic,SapConstants.APPVIEW_NAME);
    // First, get the schema for the request document and use it to
    construct a default document.
    IDocumentDefinition requestDocumentDef =
    applicationView.getRequestDocumentDefinition(SapConstants.APPVIEW_SERVICE);
    IDocument requestDocument = requestDocumentDef.createDefaultDocument();
    requestDocument.setStringInFirst("/Material.GETDETAIL/MATERIAL",
    "000000000000001667");
    requestDocument.setStringInFirst("/Material.GETDETAIL/PLANT", "0001");
    // Problem at this line
    responseDocument =
    applicationView.invokeService(SapConstants.APPVIEW_SERVICE,
    requestDocument);
    On site, the plateforme has no Internet connexion. limitation
    Is there type limitation: here it's only a String.
    I get this error message:
    <Material.GETDETAIL><MATERIAL>000000000000001667</MATERIAL><eda:control
    xmlns:eda="http://www.iwaysoftware.com/iwse" clip="yes"
    by="SAPIFRService"><eda:expire>2003-01-10T19:53:14Z</eda:expire><eda:attempt
    1</eda:attempt></eda:control></Material.GETDETAIL>
    DEBUG 09 Jan 2003 19:53:14,468 BEA_SAP_1_0.AppViewSapDev - DEEP
    [SAPIFRService] localWorker: Agent review SNIP <eda:control
    xmlns:eda="http://www.iwaysoftware.com/iwse" clip="yes" by="SAPIFRService">
    [parent=Material.GETDETAIL]
    DEBUG 09 Jan 2003 19:53:14,484 BEA_SAP_1_0.AppViewSapDev - DEEP
    [SAPIFRService] localWorker: Agent review result <Material.GETDETAIL>
    <MATERIAL>000000000000001667</MATERIAL>
    </Material.GETDETAIL>
    DEBUG 09 Jan 2003 19:53:14,484 BEA_SAP_1_0.AppViewSapDev - DEBUG
    [SAPIFRService] localWorker: SafIFRAgent rootname: Material.GETDETAIL
    ExecuteThread: '10' for queue: 'default': com.ibi.sapjco.SapDriver: connect
    ExecuteThread: '10' for queue: 'default': com.ibi.sapjco.SapConnection:
    Initializing connection ...
    ExecuteThread: '10' for queue: 'default': Create callable statement: {CALL
    IDOC_INBOUND_ASYNCHRONOUS(?)}
    DEBUG 09 Jan 2003 19:53:14,515 BEA_SAP_1_0.AppViewSapDev - DEBUG
    [SAPIFRService] localWorker:
    IFRXML=<Material.GETDETAIL><MATERIAL>000000000000001667</MATERIAL></Material
    .GETDETAIL>
    java.util.NoSuchElementException
    at java.util.Vector.lastElement(Vector.java:449)
    at
    com.ibi.sapjco.SapIdocXmlParser.endElement(SapIdocXmlParser.java:189)
    at
    org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.jav
    a:559)
    at
    org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinde
    r.java:853)
    at
    org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java
    :643)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.
    java:2978)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:9
    18)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDo
    cumentFragmentScannerImpl.java:1145)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocu
    mentFragmentScannerImpl.java:988)
    I'm on site so could you send me the answer directly : [email protected]
    Thanks
    Christophe

    Hi,
    I don't know how much it will help but it must add some value.
    please check these links
    http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/78/759f3cad1e3251e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50061bd9-e56e-2910-3495-c5faa652b710
    Regards
    Aashish Sinha

  • Java API to interface with JVMTI?

    Hi All!
    Is there a Java API available, to interact with the JVMTI API added in JDK 1.5.
    Thanks.

    Hi,
    Can any one Please Help me out am Stuck up with the following Exception While trying to invoke a External java Function.
    Step 1: Written the attached Java Class from "Oracle WorkFlow's Developers's" guide.
    Ref: http://www.stanford.edu/dept/itss/docs/oracle/10g/workflow.101/b10284/deffa02.htm#stdjfa
    Step 2: In builder created a process and created a Java Function
    <package-name>.<class-name>
    Step 3: Compiled the Java Class,and Created a jar file and included the jar and the required .jar files [which are required to make that class compile free] in the class path.
    Step 4: We modified the wfjvlsnr.bat by including the custom jar file which was created and the dependent jar files in the classpath and ran the Java Agent.
    Step 5: Invoked the Process from client, once the process is invoked we are getting
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    java.lang.ClassNotFoundException: gov.oracle.apps.fnd.wf.SampleWF
    Tue Oct 10 14:33:38 GMT+05:30 2006 Enqueuing VAC02/VAC02 gov.oracle.apps.fnd.wf.SampleWF
    null
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    : java.lang.ClassNotFoundEx
    ception: gov.oracle.apps.fnd.wf.SampleWF
    please do reply to my mail [email protected]

  • Problem with creating customer account using TCA Java API

    Hi,
    I am trying to create customer account using TCA java API. i am getting exception saying PL/SQL numeric error: character to number conversion. but this error raises when calling API method
    HzCustAccountV2Pub.createCustAccount.
    can any body help me in solving this issue, any clue why this exception raises. i have tested even the code given in TCA API user guide. that code also gets same error.

    package client;
    import java.math.BigDecimal;
    import java.sql.Timestamp;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    import oracle.apps.ar.hz.v2api.HzCustAccountV2Pub;
    import oracle.apps.ar.hz.v2api.HzPartyV2Pub;
    import oracle.apps.ar.hz.v2api.HzCustomerProfileV2Pub;
    class CreateCustAccount {
         public static void main(String[] args) throws Exception {
         HzCustAccountV2Pub.CustAccountRec p_cust_account_rec = new HzCustAccountV2Pub.CustAccountRec();
         HzPartyV2Pub.PersonRec p_person_rec = new HzPartyV2Pub.PersonRec();
         HzCustomerProfileV2Pub.CustomerProfileRec p_customer_profile_rec = new      HzCustomerProfileV2Pub.CustomerProfileRec();
         BigDecimal[] x_cust_account_id = new BigDecimal[1];
         String[] x_account_number = new String[1];
         BigDecimal[] x_party_id = new BigDecimal[1];
         String[] x_party_number = new String[1];
         BigDecimal[] x_profile_id = new BigDecimal[1];
         String[] x_return_status = new String[1];
         BigDecimal[] x_msg_count = new BigDecimal[1];
         String[] x_msg_data = new String[1];
         try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         OracleConnection conn = (OracleConnection) DriverManager.getConnection ("jdbc:oracle:thin:@ebiztst.trianz.int:1526:PATCH","apps","apps");
         HzCustAccountV2Pub custaccountV2Pub = new HzCustAccountV2Pub();
         p_cust_account_rec.account_name = "John Ac";
         p_person_rec.person_first_name = "John";
         p_person_rec.person_last_name = "Smith";
         p_cust_account_rec.created_by_module = "TCA_EXAMPLE";
         HzCustAccountV2Pub.createCustAccount(
         conn
         , "T"
         , p_cust_account_rec
         , p_person_rec
         , p_customer_profile_rec
         , "F"
         , x_cust_account_id
         , x_account_number
         , x_party_id
         , x_party_number
         , x_profile_id
         , x_return_status
         , x_msg_count
         , x_msg_data
         System.out.println( "x_return_status = " + x_return_status[0] );
         System.out.println( "x_msg_count = " + x_msg_count[0] );
         System.out.println( "x_msg_data = " + x_msg_data[0]);
         if (x_msg_count[0].intValue() > 1) {
              OracleCallableStatement ocs = null;
              for (int i=0; i<x_msg_count[0].intValue(); i++) {
              ocs = (OracleCallableStatement)conn.prepareCall(
              "begin ? := fnd_msg_pub.get( p_encoded => ’F’ ); end;");
              ocs.registerOutParameter(1, OracleTypes.VARCHAR);
              ocs.execute();
              System.out.println((i + 1) + ". " + ocs.getString(1));
              conn.close();
              } catch (ClassNotFoundException e) {
              System.out.println("Driver Not Found: " + e);
              } catch (SQLException e) {
              System.out.println("SQL Error." + e);
    }

  • Excel to DataXML conversion using Conversion Agent

    Hi!
    Would anybody know where I can find a tutorial or  a sample on converting excel files into a structured data XML? Thanks!
    Regards,
    Rommel A. Mendoza
    Technology Consultant I
    Hewlett-Packard AP, Ltd.

    Hi,
    Plese go through the below links for the details,
    Read Excel instead of XML through FileAdapter
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    SAP Network Blog: XI: Generating Excel files without the Java nor the Conversion agent not possible?
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    Thanks
    Swarup

  • Using the Java API to address a specific instance

    Hi,
    I've created another operation (onRequest) in the client of an async. process.
    <!-- portType implemented by the Exp2 BPEL process -->
    <portType name="Exp2">
    <operation name="initiate">
    <input message="tns:Exp2RequestMessage"/>
    </operation>
    <operation name="onRequest">
    <input message="tns:Exp2onRequestMessage"/>
    </operation>
    </portType>
    I then use this operation in a recieve activity so that I can stall the flow of the instance, and then call it whenever I whant from a RMI client.
    <receive createInstance="no" name="onRequest" partnerLink="client" portType="tns:Exp2" operation="onRequest" variable="inputRequest"/>
    My problem is that, after the creation of one or more instances of this process, how can I send a post message to a specific instance using the Java API?
    I understand that i should use something like...
    deliveryService.post("Exp2", "onRequest", nm );
    but there's nothing to "say" that this post message is to be delivered to the instance with the ID "xx".
    I also know that I need to use correlation on this but I don't know how.
    I would really apreciate some help on this.
    Thanks...

    This is a very good question: here is a code snippet that shows how you can add a conversation id to the NormalizedMessage that you are sending to the delivery service.
    HashMap properties = new HashMap();
    properties.put("conversationId", "yourUniqueKeyHere");
    // construct the normalized message and send to the
    // delivery service
    NormalizedMessage nm = new NormalizedMessage( );
    nm.setProperties(properties );
    // The rest is the same
    nm.addPart("XXX" , someElement );
    Please note that you will need to use the conversationId property both with the message you use to initiate the BPEL process and the message you use to perform the onRequest call.
    Please note that if at some point you want to perform any of the 2 calls through the SOAP channel, you can embed he conversationId in the WS-Addressing header within the relateTo element.
    I hope this helps.
    Edwin

Maybe you are looking for