API information for financial modules

Hi gurus
form where i can get information about API for financial modules , we need document in which APi description is available specially which are used in Financial Module i.e. AP, AR, GL.
thanks in advance
thanx
Pratap

Hi,
If you are in 11i, you can check the Integration Repository here:
http://irep.oracle.com
If you are in R12, the Integration Repository is embedded in the EBS.
There are also some API guides for different modules in the EBS documentation library. The documentation available depends on the apps release:
http://www.oracle.com/technology/documentation/applications.html
Hope it helps.

Similar Messages

  • I need Java API documentation for Adapter Modules

    Hi
    Please provide me Java API documentation for Adatper Modules
    Regards
    Sowmya

    Use this
    https://help.sap.com/javadocs/pi/SP3/xpi/index.html
    http://help.sap.com/saphelp_nw04/helpdata/en/87/3ef4403ae3db12e10000000a155106/frameset.htm
    which is part of
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm
    Regards,
    Prateek

  • In the NI-5640R Instrument Driver API Examples for the Modulation Toolkit what is the mode of operation of the DAC/DUC(AD​9857)

    In the NI-5640R Instrument Driver API Examples for the Modulation Toolkit what is the mode of operation of the DAC/DUC(AD9857)

    In the single tone mode AD9857 would not take any digital data. It ganerates the sinusoidal wave using DDS present inside.
    Message Edited by Vinny ICS on 05-25-2009 05:04 AM

  • Need API information for Inter Org Transfer

    We are currently developing a form to perform inter-org transfer, we could nt customize the standard to our needs.
    What are tables affected in this process? I believe MTL_MATERIAL_TRANSACTIONS_TEMP will be one of the tables to be populated. Is there any API for the same?.
    Any pointers would be of great help.
    Thanks
    Balaji

    For any sort of material transfer transactions you need to do.
    The best way is to populate your interface table.
    There are various tables for material transfer.
    1.)MTL_TRANSACTIONS_INTERFACE
    MTL_TRANSACTION_LOTS_INTERFACE --- only for lot control
    Provide the lot information for material transaction interface if inserted in 1.
    MTL_SERIAL_NUMBERS_INTERFACE----only if serial control is also there.
    Provide the serial information for material transaction interface if inserted in 1.
    No need to touch any temp tables. They are autopopulated as a result of your interface tables.
    By the process you are goin gto run thereafter.
    Baiscally after this you can run following concurrent program
    Process transaction interface

  • API information for adobe.utils.ProductManager

    Hello,
    I'm trying to create an application that will monitor another application for a crash and re-launch it. I found some code for such a thing but it's in Flex, I'm working to convert this to pure as3/air and i know this package adobe.utils.ProductManager is what you use to launch the app but there's no API information on it anywhere. Anyone got da info?

    I don't know if these will help with READER
    Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk

  • Information for FICO module......

    Hi ,
    anyone could give some docs related to FICO, and what theis roles mainly CO.
    Thanks,

    Hai.
    check this.
    I want to know about FI/CO Flow ?
    ans----
    FI
    Basically there are 5 major topics/areas in FI,
    1. GL Accounting -
    related tables are SKA1, SKB1 Master data
    BSIS and BSAS are the Transaction Data
    2. Account Receivables- related to Customer
    All the SD related data when transfered to FI these are created.
    Related Tables BSID and BSAD
    3. Account Payables - related Vendor
    All the MM related documents data when transfered to FI these are created
    Related Tables BSIK and BSAK
    All the above six tables data is present in BKPF and BSEG tables
    You can link these tables with the hlp of BELNR and GJAHR and with Dates also.
    4. Special Purpose Ledger.. which is rarely used.
    5. Asset Managment
    In CO there are
    Profit center Accounting
    Cost center Accounting will be there.
    Cross-Application Components -> Financial.
    http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    you will go through this link
    http://www.sapgenie.com/sapfunc/fi.htm
    Check this Link it out
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.thespot4sap.com/IntroTo/SAP_FI_Module_Introduction.asp
    http://www.thespot4sap.com/IntroTo/SAP_CO_Module_Introduction.asp
    for tables check out link..
    http://www.sapgenie.com/abap/tables_fi.htm
    Take a look at this.
    http://www.sap-img.com/sap-fi.htm
    http://www.erpgenie.com/sapfunc/fi.htm
    http://www.sap-img.com/index.htm
    http://www.amazon.com/Configuring-SAP-Essential-Financial-Controlling/dp/0782125972
    FI FLOW
    Creation of customer account group (OBD2)
    Create no ranges (XDN1)
    Assign no range to customer group(OBAR)
    Create GL accounts(FS00)
    Create customer master record (XD01) / XD02(change) / XD03 (Display)
    Documnet tyoe and no range (OBA7)
    Sales Invoice(F-22)
    Customer receipt (Incoming pmt) (F-28)
    Credit Memo(F-27)
    View customer balance (FD10N)
    Clear AR (F-32)
    Basically there are 5 major topics/areas in FI,
    1. GL Accounting -
    related tables are SKA1, SKB1 Master data
    BSIS and BSAS are the Transaction Data
    2. Account Receivables- related to Customer
    All the SD related data when transfered to FI these are created.
    Related Tables BSID and BSAD
    3. Account Payables - related Vendor
    All the MM related documents data when transfered to FI these are created
    Related Tables BSIK and BSAK
    All the above six tables data is present in BKPF and BSEG tables
    You can link these tables with the hlp of BELNR and GJAHR and with Dates also.
    4. Special Purpose Ledger.. which is rarely used.
    5. Asset Managment
    In CO there are
    Profit center Accounting
    Cost center Accounting will be there.
    Cross-Application Components -> Financial.
    http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    you will go through this link
    http://www.sapgenie.com/sapfunc/fi.htm
    Check this Link it out
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.thespot4sap.com/IntroTo/SAP_FI_Module_Introduction.asp
    http://www.thespot4sap.com/IntroTo/SAP_CO_Module_Introduction.asp
    for tables check out link..
    http://www.sapgenie.com/abap/tables_fi.htm
    Take a look at this.
    http://www.sap-img.com/sap-fi.htm
    http://www.erpgenie.com/sapfunc/fi.htm
    http://www.sap-img.com/index.htm
    http://www.amazon.com/Configuring-SAP-Essential-Financial-Controlling/dp/0782125972
    Please chcek this link and go to SAP R/3 Enterprise Application Components ->
    Cross-Application Components -> Financial.
    http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    you will go through this link
    http://www.sapgenie.com/sapfunc/fi.htm
    Check this Link it out
    http://www.sap-img.com/sap-download/sap-tables.zip
    Check these links
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erpfi/main;jsessionid=(J2EE2432000)ID0492575250DB20068727212212830558End;saplb_*=(J2EE2432000)2432050&
    https://www.sdn.sap.com/irj/sdn/forums
    http://www.ficoexpertonline.com/
    FI :
    http://www.thespot4sap.com/IntroTo/SAP_FI_Module_Introduction.asp
    http://www.thespot4sap.com/IntroTo/SAP_CO_Module_Introduction.asp
    for tables check out link..
    http://www.sapgenie.com/abap/tables_fi.htm
    Take a look at this.
    http://www.sap-img.com/sap-fi.htm
    http://www.erpgenie.com/sapfunc/fi.htm
    http://www.sap-img.com/index.htm
    http://www.amazon.com/Configuring-SAP-Essential-Financial-Controlling/dp/0782125972
    FI
    Basically there are 5 major topics/areas in FI,
    1. GL Accounting -
    related tables are SKA1, SKB1 Master data
    BSIS and BSAS are the Transaction Data
    2. Account Receivables- related to Customer
    All the SD related data when transfered to FI these are created.
    Related Tables BSID and BSAD
    3. Account Payables - related Vendor
    All the MM related documents data when transfered to FI these are created
    Related Tables BSIK and BSAK
    All the above six tables data is present in BKPF and BSEG tables
    You can link these tables with the hlp of BELNR and GJAHR and with Dates also.
    4. Special Purpose Ledger.. which is rarely used.
    5. Asset Managment
    In CO there are
    Profit center Accounting
    Cost center Accounting will be there.
    FI:
    U can find all d details regarding FI tables & their relations here....
    http://www.sapgenie.com/abap/tables_fi.htm
    You can find the details about the FI module here
    http://www.sap-img.com/sap-fi.htm
    Check the following
    http://www.sapbrainsonline.com/TUTORIALS/FUNCTIONAL/FI_tutorial.html
    http://www.sapbrainsonline.com/TUTORIALS/FUNCTIONAL/CO_tutorial.html
    FI-CO
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/FI_tutorial.html
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/CO_tutorial.html
    regards.
    sowjanya.b

  • Java API for Forms Module

    Hello ,
    I knew that Oracle providing C API's for Forms modules.
    Is there available in Java ?.
    Thanks in Advance
    Siva

    Hello ,
    I knew that Oracle providing C API's for Forms modules.
    Is there available in Java ?.
    Thanks in Advance
    Siva

  • Javadoc for Wireless Modules

    We are trying to send attachments and files from custom made wireless applications. Most of the time we would use the basic platform functionalities for this. On of the developers is trying to find out how the module applications work. Therefor we are looking for the Java documentation. I've already found the Javadoc for the standard panama classes of the Wireless platform ( http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/wireless.902/q20401/index.html )but we can't find the same API reference for the modules.
    Can anybody tell me where I can find this at OTN? I couldn't find any documentation about the modules in the production environment as well.
    Thanks in advance.
    Thomas

    Actually we've already found a solution by using the Java Mail API from Sun (advised by Oracle NL (Shintaro)). Sending a file using a mobile device would always be possible by using the Oracle files interface. In this case the files were already on a server on a different file system. Next to that, the file sending is an embedded functionality. The user only selects an email address while on the background the file is being sent.
    It works very ok!
    Anyone who's interested to know more about sending mails with files please refer to:
    http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html#SendingAttachments
    Rgds,
    Thomas

  • Logical System for Financial Accounting FI lacking; information systems

    Hello,
    we`ve got a problem with the creation of a SC. After the selection of a product (doesn`t matter if it`s a "free text", good or service), we got always the following Error:
    "Logical System for Financial Accounting FI lacking; information systems"
    I`ve already checked the attribute "ACS" in PPOMA_BBP and the RFC-Connections. Have anybody an idea, what i can do else or where i can get further information about this error (like System Log,...)?
    Regards Jochen

    Hi Jochen,
    Kindly check the following SPRO settings in your system
    1. SPROSRM ServerTech Basic settings--Define backend system for Prod category. (Ensure that your category which you are using in your SC is defined here with source/target system)
    2. SPROSRM ServerCross App Basic Settings--Define Objects in backend systems. (Ensure that Purch grp, prod category, source system, and PO details are maintained here)
    3. SPROSRM ServerCross App Basic Settings--Define G/L account for prod category. (Ensure that your Prod category, Source system, Acct assgnmt categry and G/L account are maintained)
    Pl check the above and revert back.
    Regards,
    Nikhil

  • API's for PO and INV modules

    Hi,
    Can anybody tell me what are the API's for PO and INV modules in
    11i and R12?
    Regards,
    Bharathi.

    Post it in this forum
    Discrete Manufacturing

  • Version 4.0.1 won't remember login information for my financial websites?

    Each new day I have to reenter my login information for my financial websites, e.g. Chase, Citibank, etc. After I power down and turn the computer back on the information is lost. Does not happen with non-financial websites. I think, somehow, the cookies are being erased after powering down.

    What was the exact wording of the error message?  If it said network timeout, try disabling the antivirus and firewall on the computer during the download and update.  Kaspersky is especially bad.

  • Seeking product information for a Scarab SDRAM Module; P/N: 185422D-01

    Seeking general product information for a Scarab SDRAM Module; Part Numnber: 185422D-01.  I cannot seem to find any information on this SDRAM module anywhere.  It was a RAM card pulled off another NI board.  Thank you.

    Hello Isidore,
    I can answer questions 3 and 4, as I have that sort of setup.
    3.) No, you don't really need an SSD, but I would certainly recommend that you buy one.  You'll notice a huge difference in the amount of time it takes to boot.  I bought the OCZ Vertex 3 (120GB) a while back, and it's very fast.  Whether or not you should get one just depends on whether the speed is worth it to you, but if I were you, I would.
    As for the size, that depends on exactly what you'll use it for.  See number 4 below.
    4.) Yes, that's my setup.  The SSD is my primary drive, and my HDD is for everything else.  Here's basically how I have everything setup:
    When I finish a day of shooting, I copy all my footage into a special folder (I named it "IMPORT" since I use it often) on my SSD.  I do this because the clips load much faster in Prelude and Premiere Pro.  Then, after I finish and export the project, I move all the original files onto my HDD.  I would still do this even I had a larger SSD, because it's always good to keep your primary drives clean.
    I also set the render and cache directories to those that I create on my HDD, because for longer projects, my SSD would fill up quickly, so that's why you may want to consider buying a larger SSD (even though 128GB would probably work just fine).
    I hope this helped a little!
    ~Josh

  • Only Financial modules implementation

    Hello Everybody,
    I have two different issues which I want to resolve and want to know what the best process would be.
    # New Implementation
    # Release 12.1.3
    # One Company from another big ERP System to EBS
    # Other Companies from different legacy systems to EBS
    # Only Financial modules are being implemented for the 1st phase.
    # Requirements have been gathered from all Co's and Gap analyzed.
    # The Co. with the big ERP System is behind in requirements gathering & analyzing GAP  and so the general opinion is to get it into General Ledger
    directly through FAH.
    Now there are two main questions.
    Q 1) If only Financial modules are being implemented in AP how to make
    payment without matching the receipt, without knowing the material or services
    have been received, also how to handle the return of goods. Similarly in AR - how to
    handle a similar situation. also, another aspect is the invoices in AP and
    Transactions in AR - whether they should be keyed in manually or they should be
    brought in through the standard API for AP and Auto Invoice for AR. Is there a
    better way to handle this in terms of Application Integration Architecture, SOA
    or BPEL etc?
    1a) Open AR Transaction conversions - what  is the best way of converting Open AR Transactions
    from the legacy system to Oracle Financial module? Can I only convert open AR Invoices - create a
    Transaction type for the purpose with no posting to GL or do I also need to
    consider Open receipts in the process - I mean those unapplied receipts? What
    happens with the AR Invoices which have been partially paid? How do you handle
    those scenarios? How do you make sure you do not account for the transaction
    twice? Can we use the Receipt API or is there a better way?
      1b) How do you handle Sales returns where the AR Transaction is not there in Oracle Financials post GO Live?
    This also becomes complicated since only Financial modules are being implemented in the first phase?
    1c) Let's say Order entry is happening in  the legacy system - in that case can we bring in the data through standard API
    and run auto invoice on a regular basis rather than doing it in isolated fashion in Oracle Financials AR? How cumbersome or
    difficult would it be to achieve this?  If I need to bring in AR Transaction data from legacy system to Oracle
    Financials on an ongoing basis then what is the best process to handle it other
    than through the API and run the auto Invoice? Can the Service Oriented
    Architecture or Application Integration Architecture be of any help in this
    regard as well?
    Q2) How to get the data from another ERP system to EBS - do we do a FAH (Resource
    Intensive process), or can we get the data into GL Interface through the
    standard API (for only a GL Journal Conversion) and a mapping table?
    I will be extremely help if you can please suggest steps to resolve these issues.
    Thanks,

    Hi Everybody,
    Can anybody please respond to the above queries?  I would request particularly Hussein and OctopusRex to please respond with any suggestions.
    Thanks,
    Arun

  • Data Conversion for Project Module

    Dear all,
    I have a requirement to perform data conversion for Project module from 11.5 to R12. I am new to this module. Can anybody can outline (or provide documentation reference):
    1)Source tables in 11.5
    2)Data Selection for source tables in 11.5
    3)Validations need to be performed for data clean up
    4)Interface tables and interface programs in R12
    Thanks,
    Sudip

    See the following links for information on all R12 interfaces
    Oracle Integration Repository Documentation Resources Release 12 (Doc ID 396116.1)
    Note: 462586.1 - Where are the Oracle® Release 12 (R12) API Reference Guide?
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=462586.1
    Note: 458225.1 - Release 12 Integration Repository
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=458225.1
    If you are on 11i, go to irep.oracle.com
    Hope this helps,
    Sandeep Gandhi

  • XI AF API call failed. Module exception: Java Mapping

    Hi Experts,
    I have faced a typical error for one of my interface. The Scenario is SOAP to SOAP and we are performing SOAP Lookup  before sending the data to Target web service. We are using one Java Mapping  'FileIns_lookupLoad.java --- com/fi/' and performing the SOAP Lookup from within the code. In the Lookup Communication channel we are using 'Axis' as message protocol and passing couple of values through Module Key parameters. We have same ESR and ID objects in Development, Quality and Production (as per Version ID and History).
    Now the problem is Lookup is failing only in Development but Quality and Production is working fine. I have replaced Quality CC URL with the development WSDL URL, but that worked fine. That means Development Web Service is good. We are getting the below error in Dev:
    <SAP:Stack>StreamTransformationException triggered by application mapping program com/fi/FileIns_lookupLoad; Look Up Failed</SAP:Stack>
    Trace : *
    <Trace level="1"
    type="T"> Some Thing Wrong in LookUpError when calling an adapter by using the communication channel CC_IN_SOAP_GEInsuranceLoadLookup1 (Party: , Service: BusService_GE, Object ID: 4214805c52893ef9b0b3f0ef0902fe9e) XI AF API call failed. Module exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of an object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()'. Cause Exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of an object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()'. </Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">Java mapping com/fi/FileIns_lookupLoad has thrown a StreamTransformationException. Thrown: com.sap.aii.mapping.api.StreamTransformationException: Look Up Failed at com.fi.FileIns_lookupLoad.execute(FileIns_lookupLoad.java:282) at com.fi.FileIns_lookupLoad.transform(FileIns_lookupLoad.java:74) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep.................................................
    ................................................................................<Trace level="1" type="T">Application mapping program com/fi/FileIns_lookupLoad throws a stream transformation exception: Look Up Failed Thrown: com.sap.aii.ib.core.mapping.execution.ApplicationException: Application mapping program com/fi/FileIns_lookupLoad throws a stream transformation exception: Look Up Failed at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:95) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep(SequenceMapping.java:40) at com.sap.aii.ib.server.mapping.execution.Mapping.execute
    I have already checked with Basis and as per them JDK and Java versions are identical in Dev, QAS and Prod. It seems something is wrong with 'XI AF API' which we are calling from the channel. If we totally ignore Lookup process and send direct data, it is working fine. Target CC is also using Axis.
    Sequence in CC: afreq ->xireq ->wssec2 ->xires ->afres
    For any more information please let me know.
    Thanks,
    Nabendu.

    Hi Anupam,
    The Java Mapping code is same in Dev , QAS and Prod. Also the versions of the JAR is same.
    Please find the code below.
    package com.fi;
    import java.util.HashMap;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.MappingTrace;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.DynamicConfiguration;
    import com.sap.aii.mapping.api.DynamicConfigurationKey;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.*;
    import org.w3c.dom.views.AbstractView;
    import org.xml.sax.SAXException;
    import java.io.ByteArrayInputStream;
    import com.sap.aii.mapping.lookup.*;
    /*import com.sap.aii.utilxi.hmis.server.HmisEnvironment.Accessor;
    //import com.sap.aii.utilxi.lock.api.LockServiceException;
    //import com.pmintl.pppimes.RFCLookup.javamapping.*;
    //import java.io.FileInputStream;
    //import java.io.FileOutputStream;*/
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    //import java.text.ParseException;
    import java.util.Date;
    import java.io.*;
    public class FileIns_lookupLoad extends AbstractTransformation{
            private Map param = null;
            private AbstractTrace trace = getTrace();
            String senderService = null;
           String inParamChannel = null;
           String inParamBusService = null;
              //3. Each JAVA Mapping using program 7.1 API must implement the method
              // transform(TransformationInput in, TransformationOutput out)
              // as oppose to execute Method in earlier version.
               public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException {
              // TODO Auto-generated method stub
              //4. An info message is added to trace. An instance of trace of object is obtained by calling
              // the getTrace method of class AbstractTransformation
                    inParamChannel = arg0.getInputParameters().getString("COMM_CHANNEL");
                    inParamBusService = arg0.getInputParameters().getString("BUS_SERVICE");
                    getTrace().addInfo("Input Parameter: " + inParamChannel);
                    getTrace().addInfo("Input Parameter: " + inParamBusService);
                    this.execute(arg0.getInputPayload().getInputStream(),
                          arg1.getOutputPayload().getOutputStream());
              //5. Input payload is obtained by using arg0.getInputPayload().getInputStream()
          * @param args
         public static void main(String[] args) {
                // TODO Auto-generated method stub
         public void execute(InputStream in, OutputStream out)
                   throws StreamTransformationException {
              // TODO Auto-generated method stub
              try
                   //Get The Trace
    //               trace = (AbstractTrace)param.get(StreamTransformationConstants.MAPPING_TRACE );
                   trace = getTrace();
                  getTrace().addInfo("Java Mapping Started");
                   DocumentBuilderFactory ifactory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder ibuilder = ifactory.newDocumentBuilder();
                   Document IDoc  = ibuilder.parse(in);
                   Document TDoc = ibuilder.newDocument();
                   String mrnVal = "";
                   trace.addInfo("Preparing Target Doc");
                   Element message = TDoc.createElementNS("urn:Medtronic.com:CATS_Patient_Transactions","n1:Mt_Insurance");
                   Node tRoot = TDoc.appendChild(message);
                   //trace.addInfo(tRoot.getNodeName());
                   Element sRoot = (Element)IDoc.getFirstChild();
                   //trace.addInfo(sRoot.getNodeName());
                   NodeList nl = sRoot.getChildNodes();
               // trace.addInfo("Len"+nl.getLength());
    ////               for(int i=0;i<nl.getLength();i++)
    //                    Node n1 = TDoc.importNode(nl.item(i), true);
    //                    trace.addInfo("Adding Child Nodes");
    //                    trace.addInfo(nl.item(i).getNodeName());
    //                    tRoot.appendChild(n1);
                   NodeList lmrn = sRoot.getElementsByTagName("Mrn");
                   if(lmrn != null)
                        Node n1 = TDoc.importNode(lmrn.item(0), true);
                        Element e1 = (Element)lmrn.item(0);
                        //trace.addInfo(e1.getNodeName());
                        mrnVal = e1.getTextContent();
                        tRoot.appendChild(n1);
                   NodeList lfsc = sRoot.getElementsByTagName("Fsc");
                   if(lfsc != null)
                        for(int i=0;i<lfsc.getLength();i++){
                             Element n1=TDoc.createElement(lfsc.item(i).getNodeName());
                             tRoot.appendChild(n1);
                             Node fieldch = TDoc.createElement("Fields");
                             n1.appendChild(fieldch);
                             NodeList chl = lfsc.item(i).getChildNodes();
                             trace.addInfo("len11"+chl.getLength());
                             for(int j=0;j<chl.getLength();j++){
                                  if(!chl.item(j).getNodeName().equals("FscNumber")&&!chl.item(j).getNodeName().equals("Priority")){
                                       if(chl.item(j).hasChildNodes()){
                                            trace.addInfo(chl.item(j).getNodeName());
                                       Element fscfield = TDoc.createElement("FSCField");
                                       fieldch.appendChild(fscfield);
                                       NodeList FUQl = chl.item(j).getChildNodes();
                                       for(int p =0;p<FUQl.getLength();p++){
                                            //trace.addInfo(" i: "+i+" J: "+j+" P: "+p);
                                            if(FUQl.item(p).getNodeName().equals("FUQNumber")){
                                                 //Node tFUQ = TDoc.createElement("FUQNumber");
                                                 //tFUQ.setTextContent(FUQl.item(p).getTextContent());
                                                 fscfield.setAttribute("FUQNumber", FUQl.item(p).getTextContent());
                                            if(FUQl.item(p).getNodeName().equals("Value")){
                                                 Node tVal = TDoc.createElement("Value");
                                                 tVal.setTextContent(FUQl.item(p).getTextContent());
                                                 fscfield.appendChild(tVal);
                                                 //Node tName = TDoc.createElement("Field");
                                                 //tName.setTextContent(chl.item(j).getNodeName());
                                                 fscfield.setAttribute("Field", chl.item(j).getNodeName());
    //                                   Node fuqch = chl.item(j).getFirstChild();
    //                                   Node valch = fuqch.getNextSibling();
    //                                   if(fuqch!=null){
    //                                        Node tFUQ = TDoc.createElement("FUQNumber");
    //                                        tFUQ.setTextContent(fuqch.getTextContent());
    //                                        fscfield.appendChild(tFUQ);
    //                                   if(valch!=null){
    //                                        Node tVal = TDoc.createElement("Value");
    //                                        tVal.setTextContent(valch.getTextContent());
    //                                        fscfield.appendChild(tVal);
    //                                        Node tName = TDoc.createElement("Filed");
    //                                        tName.setTextContent(chl.item(j).getNodeName());
    //                                        fscfield.appendChild(tName);
                                  else{
                                       //Node numch =TDoc.importNode(chl.item(j), true);
                                       //Element e1 =(Element)n1;
                                       if(chl.item(j).getNodeName().equals("FscNumber")){
                                            n1.setAttribute("Number", chl.item(j).getTextContent());
                                       if(chl.item(j).getNodeName().equals("Priority")){
                                            n1.setAttribute("Priority", chl.item(j).getTextContent());
                             //tRoot.appendChild(lfsc.item(0));
    //                         Element e1 = (Element)lfsc.item(0);
    //                         trace.addInfo(e1.getNodeName());
    //                         mrnVal = e1.getNodeValue();
    /////Start of Look Up Code////
                   //Preparing Input String
                   String lookUpRequest = "<LoadPatientFullInsuranceDetail><Mrn>"+mrnVal+"</Mrn></LoadPatientFullInsuranceDetail>";
                   trace.addInfo("Request");
                   trace.addInfo(lookUpRequest);
                        SystemAccessor acc;
                        Channel channel;
                        Payload lookupResult;     
                        try
                             channel = LookupService.getChannel(inParamBusService, inParamChannel);
                             trace.addInfo("Got the channel");
                             acc = LookupService.getSystemAccessor(channel);
                             trace.addInfo("Got The Channel and Accessor");
                             InputStream ist = new ByteArrayInputStream(lookUpRequest.getBytes());
                             XmlPayload payload = LookupService.getXmlPayload(ist);
                             if(acc != null){
                                  trace.addInfo("Got The Channel and Accessor");
                                  trace.addInfo("Executing The Webservice");
                                  lookupResult = acc.call(payload);
                                  trace.addInfo("End of Executing The Webservice");
                                  trace.addInfo(lookupResult.toString());
                             if(lookUpRequest!=null){
                                  trace.addInfo("Responce is not null");
                                  InputStream rist = lookupResult.getContent();
                                  Document lresDoc = ibuilder.parse(rist);
                                  Node n1 = lresDoc.getFirstChild();
                                  trace.addInfo(n1.getNodeName());
                                  if(n1.getNodeName().endsWith("LoadPatientFullInsuranceDetailResponse"))
                                       Node ch1 = n1.getFirstChild();
                                       trace.addInfo(ch1.getNodeName());
                                       NodeList lookupnl = ch1.getChildNodes();
                                       //trace.add
                                       for(int i=0;i<lookupnl.getLength();i++)
                                            Node n2 = TDoc.importNode(lookupnl.item(i), true);
                                            trace.addInfo("Adding Child Nodes");
                                            trace.addInfo(lookupnl.item(i).getNodeName());
                                            tRoot.appendChild(n2);
                                  else{
                                  throw new StreamTransformationException("Error in Look Up"+n1.getTextContent());
                                   //while(ch1.hasChildNodes() && !ch1.getNodeName().equals("FSCS")){
                             else{
                                  trace.addWarning("Responce is null");
                                 throw new LookupException();
                        catch(LookupException le)
                             trace.addWarning("Some Thing Wrong in LookUp"+le.getMessage());
                             throw new StreamTransformationException("Look Up Failed");                         
                           Transformer transformer = TransformerFactory.newInstance().newTransformer();
    //                       StreamResult reqResult = new StreamResult(new StringWriter());
                           DOMSource source = new DOMSource(TDoc);
                           Result result = new StreamResult(out);
                           transformer.transform(source,result);
              catch(StreamTransformationException ste)
               throw new StreamTransformationException(ste.getMessage());
              catch(Exception e){
                   trace.addInfo(e.getMessage());
              finally{

Maybe you are looking for

  • Multiple Libraries in iTunes 7 (Windows)

    Another whinge about iTunes 7! The multiple libraries feature in the Windows version (I don't know about the Mac version) is very poorly implemented and, quite frankly, useless. When changing libraries in iTunes 7, the preferences for the new library

  • Trouble with Zen Touch Butt

    All of the sudden, my backwards and forwards buttons don't work, and I have to press hard on the OK button for it to work. Is this the death of my player, or is there an actual solution? Thanks in advance

  • Populating a Crystal Report from a virtual table

    Hi, Iu2019m using Crystal Report XI R2. I have a Crystal Report which is created using a view in Oracle using the native oracle DB connection. Iu2019m intending to write an application which should populate this report with data using a virtual table

  • Notes App:  Getting notes that are not from me

    Ever since I bought my new MacBook Pro (retinal screen) this past spring my notes app has been showing all kinds of notes in Spanish.  These notes are not from me.  I have no idea where they are coming from or how.  I have not shared my passwords wit

  • Delete Apple ID Account

    Hello, How can I delete "one" of my Apple ID account so that I only let "one" to use with icloud & app store? Thank you.