File--JDBC(Synch)--File

Hi All:
How we can acheive FileJDBC(Synch call)File without using BPM? Your valuable answers will helpful and rewarded with points:)
Thanks
Abid

file -> sync-jdbc -> file is a very simple BPM.
Do you have any constraints on using it?
if you ask me, i would go all way along with bpm, it will only consume you a couple mins to make it run.
The BPM will look pretty much like this...
[https://weblogs.sdn.sap.com/weblogs/images/251764026/bpmAsync2Sync2Async.JPG]
And for using the JDBC Receiver in Sync Mode take a look to this weblog.
/people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
Regards.

Similar Messages

  • Root.fpj dropping files & not synching files with RH GUI

    (Moving this discussion from the RSC forum, since the issue seems no-RSC related.)
    Projects are missing topics from one session to another, or from within a current session (single-writer-access or multiple-writer-access).
    Files are being randomly dropped from the root.fpj file between one RH session and the next.
    Files are not being added to the root.fpj file when re-imported through the GUI (File > Import), and must be manually added with a text editor.
    Here's an example of a Robo SourceControl Diff between one project's current root.fpj and its previous version, the strikethrough indicating what was deleted (by RH, on its own). Note how it starts at the comments,/comments line of one topic, and resumes at the comments,/comments line of the final topic. (RoboHelp team, are you listening?)
    <?xml version="1.0" encoding="utf-8"?>
    <rhpml majorversion="3" minorversion="0">
    <topics>
    (dozens of topics untouched)
      <topic>
       <name>logging_options_window_redirect.htm</name>
       <comments></comments>
       <frameset>0</frameset>
      </topic>
      <topic>
       <name>sec_class_proc_redirect.htm</name>
       <comments></comments>
       <frameset>0</frameset>
      </topic>
    (12 other topics)
      <topic>
       <name>trdbrokertreefrm.htm</name>
       <comments></comments>
       <frameset>0</frameset>
      </topic>
      <topic>
       <name>invclass_setup_considerations.htm</name>
       <comments></comments>
       <frameset>0</frameset>
      </topic>
      <topic>
       <name>commission_defaults_window.htm</name>
       <comments></comments>
       <frameset>0</frameset>
      </topic>
    </topics>
    <folders>
      <folder>
       <name>!Language!</name>
      </folder>
    </folders>
    <topics>
      <topic>
       <name>generictemplates.htm</name>
       <comments></comments>
       <frameset>0</frameset>
      </topic>
    </topics>
    </rhpml>
    We've had IT disable the Kaspersky anti-virus product for the RH project folders on our machines, and we'll monitor the situation. Now that we've identified a global problem, we'll all be externally storing a backup "good" copy of the root.fpj file.
    Leon

    This workflow might help to minimise the issue in a source control environment - it's no solution, but a partial work around for us.
    When multiple authors access a project in our organisation, it's normally sequentially (that is, not working on the project at the same time).
    When an author starts work, they check who last worked on the project. If it wasn't themselves, they delete the cpd file before opening the project. During this process, sometimes we get a message saying some files need to be writable, even though we aren't checking out anything at this stage. Saying No at this point prevents the fpj file being blanked out. (For us, this file isn't the root.fpj, but one in a sub-folder and I haven't been able to work out what causes this folder to misbehave.)
    I've always found the cpd causes problems when multiple users are adding or removing files, so we make it a habit to delete the cpd for any project that might have multiple authors.
    The blanking of the fpj file only occurs for one project as far as I'm aware.
    hope this helps.

  • File - to - JDBC- to - File  Scenario using Stored Procedure

    Hi,
      I want to do File - to - JDBC - to - File  scenario, because I'm getting data in a file format and that data i want to load in a database. Database level i have a stored procedure. if any exceptions. my stored procedure will give the Response. so, now i want to store that resposne in a file..
    for this. what are the steps we have to use. is this scenario will comes in Synch ronous or Asynchronous  ? and  I have searched the web blogs also. al the blogs are related to Http or Soap  with JDBC . so, please give me some input  help about this...
    how many data types we have to create... any body having step step procedure for this...
    regards
    Jain

    Hi,
    You will need a BPM in your design as Sender File adapter does not support Synchronous messaging. Refer my answer in this thread (page 2) and have your design accordingly....instead of RFC you will have a file adapter as the ultimate receiver.
    Re: BPM FILE--> JDBC--> RFC
    Just take care of below things:
    1) JDBC message format is as per the guidelines
    [Message format for sending req to JDBC|http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm]
    2) check for the format of your source and target file format (if it is a Flat-file with a xml structure that XI can parse then no need of FCC but if it is a CSV file then you will need FCC)
    Regards,
    Abhishek
    Edited by: abhishek salvi on Apr 14, 2009 7:32 PM

  • JDBC-XI-FILE scenario. How to extract data from more than one table in JDBC

    Hi,
    I was asked a question like in JDBC-XI-FILE scenario........ How to extract data from more than one tables (i.e from JDBC system) ?? What is the logic to do the same ??
    I am not sure whether this is a valid question..........but any help in this regards is highly appreciated.
    Regards
    Kumar

    HI,
    Yes it can be possible ,please see the following links
    JDBC  Receiver with Oracle Stored Procedures
    configuring jdbc adapter with multiple tables
    RFC -> XI -> JDBC Scenario Updating Multiple Tables
    /people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes
    JDBC Adapter multiple Selects
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=jdbc%20with%20multiple%20tables&cat=sdn_all
    Regards
    Chilla..

  • I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fa

    I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fast. please

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Help with jdbc to file scenario

    Hi guys,
    I want to do a JDBC to file scenario. I need to do a SELECT * query from my table.
    An external application does the updation into my tables. I needed XI to connect to my JDBC system whenever there is an update in the tables and post it as a file.
    Please guide me on this guys
    Varun

    as pointed out have a indicator in ur table that is updated by the external system for setting that the record is read when the jdbc is polled. this would be help for avoiding reading the same records again and again whioch results in duplication. u can follow this blog (reve engg    )
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step

  • JDBC to file scenario - Time limit exceeded

    Hi All,
    I am getting timelimit exceeded error in the inbound queues when I am processing the interface JDBC-XI-file. I have tried many options like registering the queues, changed the integration engine configuraion parameters for timeout , checked the memory space. When less data is being sent like 50kb then it is executing successfully. With large data the messages are getting stuck in the queues and then giving the timeout error.
    Also when I  am checking in sm50 it showing that some rfc is going on hold.
    Please suggest .
    Thanks,
    Aparna

    Thanks for the reply Pragati.
    What will be the UDF code for RFC lookup in case of passing the data in Queue. I am currently using the below code for gettng single value.
    Also is it possible to get multiple output values which can be mapped to different target fields. Currently I am using different rfc lookups for different target fields. So if I can combine them into single rfc lookup them this may effect the performance.
       //write your code here
    String content = "";
    MappingTrace importanttrace;
    importanttrace = container.getTrace();
    // Create document builder to create DOM XML document
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = null;
    factory.setNamespaceAware(false);
    factory.setValidating(false);
    try {
            // Create XML document using document builder
            builder = factory.newDocumentBuilder();
    } catch (Exception e) {
           importanttrace.addWarning("Error creating DocumentBuilder - " + e.getMessage());
            return null;
    // filling the string with our RFC-XML (with values)
    String m ="<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns1:ZFI_GET_COCODE xmlns:ns1=\"urn:sap-com:document:sap:rfc:functions\"><COMPANYID>" + a + "</COMPANYID></ns1:ZFI_GET_COCODE>";
    RfcAccessor accessor = null;
    ByteArrayOutputStream out = null;
    Payload result = null;
    try
    // 1. Determine a channel (Business system, Communication channel)
    Channel channel = LookupService.getChannel("BS_SAP_DEC210","CC_RECEIVER_RFC_test");
    // 2. Get a RFC accessor for a channel.
    accessor = LookupService.getRfcAccessor(channel);
    // 3. Create a xml input stream representing the function module request message.
    InputStream inputStream = new ByteArrayInputStream(m.getBytes());
    // 4. Create xml payload
    XmlPayload payload = LookupService.getXmlPayload(inputStream);
    // 5. Execute lookup
    result = accessor.call(payload);
    /*InputStream in = result.getContent();
    out = new ByteArrayOutputStream(1024);
    byte[] buffer = new byte[1024];
    for (int read = in.read(buffer); read > 0; read = in.read(buffer)) {
    out.write(buffer, 0, read);
    content = out.toString();
    if (result == null) {
                    importanttrace.addWarning("result of RFC call is null");
    catch(LookupException e)
    importanttrace.addWarning("Error while lookup " + e.getMessage() );
    Document docResponse = null;
    InputStream in = result.getContent();
    String res = "";
    try {
            docResponse = builder.parse(in);
            if (docResponse == null) {
                    importanttrace.addWarning("docResponse is null");
    res =  docResponse.getElementsByTagName("COMPANY_CODE").item(0).getFirstChild().getNodeValue();
    if (res == null) {
                    importanttrace.addWarning("res is null");
    catch (Exception e) {
          importanttrace.addWarning("Error when parsing RFC Response - " + e.getMessage());
    try {
            // Free resources, close the accessor..
            if (accessor != null) {
                    try {
                            accessor.close();
                    } catch (LookupException e) {
                            importanttrace.addWarning( "Error while closing accessor " + e.getMessage());
    } catch (Exception e) {
            importanttrace.addWarning("Result value not found in DOM - " + e);
    // return the result obtained above
    return res;
    Thanks.

  • JDBC to File Scenario

    Hey Experts,
    I have a scenario from JDBC to File (xml) scenario.
    The problem is that the data is being picked up from the data base and is sent through the sender JDBC channel to the receiver file adapter channel where the file content conversion is done. But when I check the output text file, it is empty. When I go to SXMB_MONI to check if there is any error, every thing is fine with a checkered flag on the message. My sender and the receiver data types are the same.
    Here is the scenario:
    DT_sender and DT_receiver ---> row
                                                          NAME
                                                          ID
                                                          GRADE
    payload from the sender channel is:
    <MT_DB2FILE_SENDER>
    < row>
    <NAME>CNCN</NAME>
    <ID>222</ID>
    <GRADE>A</GRADE>
    </MT_DB2FILE_SENDER>
    When the content conversion is done with the parameters :
    Recordset structure : row,1
    row.fieldNames : NAME,ID,GRADE
    row.fieldSeparator : \t
    row.endSeparator: 'nl'
    The text file that is generated is empty. I have tried out all the posts that are related to this topic. But I could not find the suitable answer. ANy help would be greatly appreciated.
    Regards.

    Hey
    I m a little confused here
    In your earlier reply,you posted
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:MT_DB2FILE_RECEIVER xmlns:ns0="http://jdbc2jdbc" />
    and now you are posting this
    <?xml version="1.0" encoding="utf-8" ?>
    - <MT_DB2FILE_SENDER>
    - <row>
    <NAME>CHAD</NAME>
    <ID>204</ID>
    <GRADE>A</GRADE>
    </row>
    - <row>
    <NAME>TYLER</NAME>
    <ID>204</ID>
    <GRADE>A</GRADE>
    </row>
    - <row>
    <NAME>AMER</NAME>
    <ID>204</ID>
    <GRADE>A</GRADE>
    </row>
    - <row>
    <NAME>BASHIR</NAME>
    <ID>204</ID>
    <GRADE>A</GRADE>
    </row>
    - <row>
    <NAME>WENBIN</NAME>
    <ID>206</ID>
    <GRADE>A</GRADE>
    </row>
    - <row>
    <NAME>lilian</NAME>
    <ID>139</ID>
    <GRADE>A</GRADE>
    </row>
    </MT_DB2FILE_SENDER>
    The above looks like a sender structure to me.
    Could you please confirm this is exactly the payload you are getting in sxmb_moni under Technical routing .
    Thanks
    Aamir

  • Jdbc to file scenario - base mapping error

    hello all,
    i am facing a similar issue discussed in this thread,
    Re: JDBC to FILE scenatio: How to map the resultSet?
    1. i changed the document name and namespace
    2. i checked for the occurence of the filed elements
    3. i tried using the documentname and namespce both from the MONI and MAPPING TEST TAB...but still the same base mapping runtime exception error.
    Please advice.
    Thanks
    i have been following the

    Aarthi,
    Can you give us the following details,
    1. select query that you are using in your JDBC sender adapter
    2.the Document Name and namespace that you have given in the JDBC adapter
    3. the source datatype that you have created for your JDBC side along with the occurence of each element.
    This will help us nail the causwe for your problem.
    Regards,
    bhavesh

  • How to add do not read file content option inside File Adapter (Synch Read)

    Hi,
    Is there any way, that I can skip reading the file content inside file adapter with operation as Synchronous Read ( I just want to read the file name and directory and if the file name matches with the input variables then I have to delete the files, for this i am using FA with synch read operation, everything is fine like deletion, but it is reading the file content and storing it in DB, i dont want this) .

    This will solve your problem.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CHDHIEBI
    HTH.
    Puneet.

  • BPM FILE-- JDBC-- RFC

    Hi All,
    I am doing the File to JDBC(Sync) to RFC through BPM
    Start->Receive(Ansc)>Send(sync)>send(Anyc)>
    I have created like this:
    DT  and corresponding MT
    1. File
    2.JDBC_Req
    3.JDBC_Req_response
    i have created Message interfaces bellow
    File outbound
    File outbound Abstract
    JDBC sync inound
    JDBC Sync Abstract
    JDBC response Asyc Abstract
    I have created Mappings like this
    File to File outbound Abstract
    File Abstact JDBC_req
    JDBC_Req Abstact to JDBC_Req
    JDBC_res Abstact to JDBC_res
    JDBC_res Abstact to RFC
    I have created Interface Mappings like this
    File to File Abstract
    JDBC_req to JDBC_res
    JDBC_res to RFC
    while i am doing in BPM i am getting error like this:
    Message File Abstact to be received and synchrounous interface MI_JDBC_req_Abstact are not of the same type
    Pls suggest me how i can map the File Abstact and JDBC Abstact.
    Thanks,
    Venkat

    Hi,
    According to my understanding your scenario is:
    1) Pick a file from some file server
    2) Send it to a BPM
    3) Send this file as a request to JDBC and get back the response....i.e synchronous..
    4) Once you get the response from JDBC map it to a RFC structure and send it to the specified destination.
    If the above flow is correctly understood by me then the following design won't work....
    Start--Receive--Receive--Tranformation--Send(Sync)--Send--End
    Your design should be:
    Start --> Receive (async) --> Transformation --> Send (Sync) --> Send (Async) --> End
    1)
    a) Define an Outbound-Async MI for File Sender
    b) Define an Abstract-Asynch MI for BPM ....(include in first receive step of BPM)
    MT for (a) and (b) shoulde be same...
    2) Define an Abstract-Async MI....this should have the request structure for the JDB
    3) Create a mapping between MI from step 1a and 2...(include in the Transformation step of BPM)
    4) Create an Abstract-Sync MI for BPM_to_JDBC....include the same message-type as that in step2....in the input message (request) part of the sync MI.....(include in the Sync-Send Step of BPM)
    5) Create Inbound-Sync MI for the JDBC receiver...again both the message type should be same as that in the Abstract-Sync MI of step4
    6) Create Abstract-Async MI for the RFC receiver....(include in the last Send step of the BPM)
    I hope that you are defining the MIs with proper message-types and with proper direction...same applicable for container variable definition...please note that all the MIs involved in the BPM should be abstract
    The error that you are getting is bcoz of the mismatch in the message-type in the MI....please check it.
    Regards,
    Abhishek.

  • OC4J에서 DEFAULT로 제공하는 JDBC CLASSES를 원하는 JDBC CLASSES FILE로 변경하는 방법

    제품 : JDBC
    작성날짜 :
    OC4J에서 DEFAULT로 제공하는 JDBC CLASSES를 원하는 JDBC CLASSES FILE로 변경하는 방법
    =================================================================
    PURPOSE
    9iAS에서 JDBC thin driver인 classes file을 새로운 version으로 변경하기 위한
    여러가지 방법을 정리한다.
    Explanation
    9iAS R2에 포함된 JDBC THIN driver는 기본적으로 <J2EE_HOME>/jdbc/lib directory에
    포함된 classes12dms.jar 화일이다. 이 classes12dml.jar는 경우에 따라서 새로운
    version의 classes12.jar file로 변경되어져야 할 필요가 있는데 그러한 경우
    먼저 현재 화일 backup을 받아두고 지우거나 옮긴 후 아래 정리된 방법 중
    한가지를 이용하여 조치한다.
    단 아래와 같이 아래의 certify된 jdbc driver version에 한하여
    필요한 경우 같은 version을 대치, 혹은 upgrade하도록 한다.
    Application Server release Certified Oracle JDBC Supported Database
    release releases
    ================================================================================
    ===
    Oracle9iAS Release 1 (1.0.2.2) 8.1.7 8.1.7
    Oracle9iAS Release 2 (9.0.2 and 9.0.3) 9.0.1.4 9.2.0*, 9.0.1, 8.1.7
    Oracle9iAS Release 2 (9.0.3.1) 9.0.1.4, 10.1.0 (thin), 10.1.0, 9.2.0, 9.0.1, 8
    .1.7
    + one off patch 9.2.0 (thin)
    Oracle Application Server 10g (9.0.4) 9.0.1.4 9.2.0*, 9.0.1, 8.1.7
    Oracle Application Server 10g (9.0.4.1) 9.0.1.5, 10.1.0 (thin), 10.1.0*, 9.2.0*,
    9.0.1, 8.1.7
    - patched core 9.2.0 (thin)
    ================================================================================
    ===
    현재 화일이 인식되지 못하도록 하기 위한 가장 간단한 방법은 다음과 같이
    화일이 .jar나 .zip으로 인식되지 않도록 rename하는 것이다.
    os>cd $ORACLE_HOME (or top level directory where oc4j was unpacked)
    os>cd jdbc/lib
    os>mv classes12dms.jar classes12dms.raj
    (1) 방법1
    OC4J가 실행되는 JSDK환경에서 global하게 access되도록 하려면 다음 directory에
    classes12.jar 와 nls_charset12.jar를 copy한다.
    <JDK_HOME>/jre/lib/ext
    [주의] 이 위치에 .jar file을 위치시키게 되면, 이것은 OC4J뿐 아니라
    command line에서 실행되는 java application 등 이 JDK환경의 어떤
    java class에서도 인식이 된다.
    이 extention directory는 jdk boot classpath보다는 이후 인식되지만,
    사용자가 지정하는 CLASSPATH환경 변수 등보다는 더 상위에서 인식되기
    때문이다.
    그러므로 이 extention directory에 .jar를 위치시키는 것이 경우에 따라
    원하지 않는 결과를 발생시킬 수 있음을 유의하여야 한다.
    (2) 방법2
    새로 사용하고자 하는 library file을 OC4J가 기본적으로 인식하는
    <J2EE_HOME>/jdbc/lib directory로 다음과 같이 위치시킨다.
    단 이때 새로운 version의 jdbc에 classes12dms.jar가 없다면 classes12.jar를 classe
    s12dms.jar로 이름을 변경시켜 두도록 한다.
    그 이유는 9iAS의 경우 default로 dms가 붙은 jdbc를 이용하기 때문이다.
    os>cp classes12.jar <J2EE_HOME>/jdbc/lib/classes12dms.jar
    os>cp nls_charset12.jar <J2EE_HOME>/jdbc/lib/nls_charset12.jar
    (3) 방법3
    $OC4J_HOME/j2ee/home/config/application.xml 에 아래와 같이 library path로
    새로운 jdbc driver를 지정한다.
    이때 다른 library path tag보다 앞 부분에 지정하도록 한다.
    <library path="jdbc_classfile이_위치한_상대경로\classes12.jar"/>
    <library path="jdbc_classfile이_위치한_상대경로\nls_charset12.jar"/>
    NOTE: OPTIONS 1 through 3 update the JDBC classes used by all
    applications running in the OC4J container.
    (4) 방법4
    위의 세가지 방법이 해당 OC4J의 모든 application에 영향을 미친게 된다.
    원하는 application에서만 변경된 jdbc driver를 사용하고자 한다면
    해당 application의 META-INF/application.xml화일에 다음 내용을 다른 libarary
    path tag보다 앞 부분에 지정하도록 한다.
    <library path="jdbc_classfile이_위치한_상대경로\classes12.jar"/>
    <library path="jdbc_classfile이_위치한_상대경로\nls_charset12.jar"/>
    Reference Documents
    <Note:236947.1> How to override the default JDBC DRIVER classes with the
    selected JDBC classes in OC4J

  • Doubt on jdbc to file

    Dera experts
    i have a scenario in xi  when i am configuring jdbc to file ,an error occured "error in structure mapping" can anybody tell me how to configure complete IR and ID and how to check data transfer to file.
    thanks in advance
    with regards
    somesh

    Hi Venkata,
    Refer to following Links
    End to End Explained PDF
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a04cd6f9-9eb0-2a10-07b8-a0fc6e88f4d4
    SAP NOTE NO :
    831162
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Also this one further to enhance..
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    If you wanna do update/insert you will have to follow the
    Document Formats for the Receiver JDBC Adapter
    For Configuring the Receiver JDBC Adapter refer:
    Configuring the Receiver JDBC Adapter
    For Configuring the Sender JDBC Adapter refer:
    Configuring the Sender JDBC Adapter
    Please go through this blog and see if it helps you.
    /people/prasadbabu.nemalikanti3/blog/2006/02/27/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-2
    For more info, just take a look at these links also,
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    All that i could get from the SAP Help regarding JDBC Adapters once when i searched for the same were these links, so go through these links and see if you find anything useful.
    http://help.sap.com/bp_bpmv130/Documentation/Planning/XIUnicodeGuide030411.pdf
    Configuring the Receiver JDBC Adapter
    Mapping Lookups
    JDBC Adapter
    Configuring the Receiver JDBC Adapter - part 2
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Reward Points if Helpful
    Thanks
    Sunil Singh

  • JDBC to FILE scenatio: How to map the resultSet?

    Hi,
      I am doing the JDBC-XI-File integration scenario.
    I am getting the data from the Database as the following XML:
    <b><?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <EMPNAME>Nagarjuna</EMPNAME>
      <EMPID>100</EMPID>
      <SALARY>15000</SALARY>
      <DEPT>dev</DEPT>
      </row>
    - <row>
      <EMPNAME>Mahendra</EMPNAME>
      <EMPID>101</EMPID>
      <SALARY>25000</SALARY>
      <DEPT>dev</DEPT>
      </row>
      </resultset></b>
       how to do the mapping?
       I actually created a Data Type(JDBCSend_DT) & Message type & Message Interface for the Sender JDBC.
      The mapping program I defined was not between <b>JDBCSend_MT</b> and <b>FileReceiver_MT</b>. (NOT BETWEEN resultSet and FileReceiver_MT)
       Please help me to solve this.
    Thanks in advance,
    Nagarjuna.

    Hi,
      I am getting the following error when I tested.
    <b>11:42:04 Start of test
    Document start
    Start tag [ns1:FileRecv_MT]
    Add raw attribute [ xmlns:ns1="http://www.xxx.com/file"]
    Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:130) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3)(:main:, row=2, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2733) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2778) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:227) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:141) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:259) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:276) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:338) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:128) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) -
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:144) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:128) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2733) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2778) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:227) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:141) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:259) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:276) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:338) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) ... 3 more Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3)
    11:42:04 End of test</b>
    Thanks,
    Nagarjuna.

  • File - Jdbc

    Hi,
    I configured FILE - XI - JDBC scenario. I am transferring data from a flat file to Oracle table. In the receiving communication channel, I gave the necessary parameters.
    The flat file is picking up, but at the receiving end its throwing an error that 'Class Name does not exist'.
    Plz help me how to resolve this...
    Thanks,
    Satish

    Hi Satish,
    Please have a look at these blogs.They clearly explain the File-JDBC scenario
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    cheers ,
    Prashanth

Maybe you are looking for

  • Battery heating up iOS 7.1.2

    Since updating from iOS 7.1 to iOS 7.1.2 I'm experiencing a hotter than normal battery when levels drop down to about 20% and the phone is in use. just wondering if anyone else also has same problem

  • A lot of time to multiply two arrays

    Hello! I want to multiply two arrays. The size of the two arrays is 1568x1568. I use to do it a AxB.vi block....but it spends a huge time, almost 17 seconds, when a operation like this have to be done it less than in a second. I 've attached an examp

  • PO Status Table

    Hi ALL, Anyone know the table name of PO status information. ( PO Header > Status tab) Quantity & Value: - Ordered - Develivered - Still to deliv. - Invoiced - Down paymts Thank You Alex Lee

  • Mouse Scrolls up on software screens, but will not scroll down

    My wired apple mouse will scroll back up a web page or other software screen but will not scroll down using the finger tip scroller ball - any ideas on how to make it work properly again?

  • BC4J - reverse generation - not all entities and views in same package

    Hi I want to use reverse generation, but separate all entity objects in package (my.entities) and View Object and view links in (my.views) not all in one package. I can do this by generating entities first and then creating view objects and view link