Interface without a source datastore

I have to transform Data from a DBView into an XML (based on an XML schema). On reverse-engineering the XML schema, it generated 4 data stores. For successful generation of an XML file based on this schema, these data stores should be populated.
Of the 4 datastores, I was able to populate one of them using the data from the view. But, in the remaining data stores, there is no source datastore. So, I tried populating the data by hard-coding some values (using Variables in ODI)
So, is it possible to execute an interface w/o a source data store? If possible, how? (I tried hard-coding the fields using ODI Variables. It did not work!! )
If not possible, how do I populate the remaining datastores generated by the XML schema?

-11 : 37000 : java.sql.SQLException: Unexpected token: SELECT in statement [insert into DIFF__I$_FILE_ (       ) select         from       where           (1=1)]
java.sql.SQLException: Unexpected token: SELECT in statement [insert into DIFF__I$_FILE_ (       ) select         from       where           (1=1)]
     at org.xmldb.jdbc.jdbcUtil.throwError(jdbcUtil.java)
     at org.xmldb.jdbc.jdbcPreparedStatement.<init>(jdbcPreparedStatement.java)
     at org.xmldb.jdbc.jdbcConnection.prepareStatement(jdbcConnection.java)
     at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java)
     at com.sunopsis.sql.SnpsQuery.a(SnpsQuery.java)
     at com.sunopsis.sql.SnpsQuery.a(SnpsQuery.java)
     at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
     at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.i(e.java)
     at com.sunopsis.dwg.cmd.g.y(g.java)
     at com.sunopsis.dwg.cmd.e.run(e.java)
     at java.lang.Thread.run(Thread.java:595)
In the above mentioned error, the data which I assigned using the ODI variables did not reflect in the query.

Similar Messages

  • Cdc on multiple joined source datastores

    Hi gurus,
    There are multiple source datastores and one target datastore in my interface.All of source datastores will be modified by ct application in future,How to enable cdc on multiple source datastores ?Is there any "thumb of rule" for cdc of multiple joined source datastores?
    Source: DB2/AS400
    Target: SQL SERVER 2000
    Thanks
    nan

    Hi nan,
    As i wasn't tried CDC on the source and target you specified,to give you a hint,
    For achieving CDC on multiple data stores, you can use JKM Consistent mode. This will make sure that all your data stores within the particular model will be CDC'ed and PK and FK relations will be maintained.
    Thanks,
    G

  • Problem interface having only target datastore without source

    Hi,
    I have created an interface,there is no source my target is oracle table.
    This table is having columns like..
    current_date,load_cycle_id etc.
    For current date in mapping i wrote 'select sysdate from dual' or 'sysdate'
    For load_cycle_id = database sequence is mapped like
    <schemaname>.<seq_name>.nextval
    But it is not working properly,
    In the operator select query doesn't have the from clause table value because of this it is resulting in an error.I manually added dual in that it is working.
    plz let me know how to create interface without source datastore and necessary setting required.
    <schemaname>.<seq_name>.currval it is also not working,it is giving error like
    "not defined in this session"
    plz let me know how to solve these problems
    Thanks,
    Jai
    and in one more interface if i want to use current value of the sequence i wrote

    I have created file_id_seq in database.
    In my first interface i have only target datastore.I have two fileds,like
    Load_cycle_id: Mapping--> <schema>.<seq_name>.nextval
    log_date : Mapping--> sysdate
    when I saw the query generated by the Odi in operator description tab
    selec ..
    from <table name is missing>
    in from clause i manually added dual ,and restarted the session then it was done.
    Its problem with query generated by the ODI.
    I changed in mappin as "select sysdate from dual" like that still i didn't get.
    After loading this interface by manually editing ,I created one more interface,
    in that one more filed is there which requires current value of the sequence used in above interface.In mapping i wrote <schema>.<seq_name>.curr_val Its resulting in an error like "sequence current value is not defined in this current session"
    plz help me
    Jai

  • Customize interface without touching the source code

    My VP of of marketing is at it again. I have pasted in the exact email that he sent me. If anyone has ideas or suggestions or knows if Forms 9i has this built-in capability, please let me know.
    Thanks.
    Can you post this on metalink and see if someone at Oracle (or elsewhere) has an answer for us? Somehow, other LIMS developers are distributing LIMS products that allow their users to customize the interface without touching the source code -- no impact on their ability to take new releases. How do they do that?
    Here's my question:
    Anyone familiar with the Tools / Forms / Design this Form feature in MS Outlook? This allows a mere mortal to actually create and publish a custom Outlook form (could be a Contact, Task, Note, Journal, etc. form) across the organization. Is there such a capability built into Oracle9i Forms? In other words, can a developer easily build and distribute an Oracle software app such that the end-user can use an administrative tool to modify the interface/forms, add fields, change field names, move things around on the form, change colors, etc. -- without needing the Oracle Developer tool used by the original software developer, along with source code?
    Here's my original email from a few months ago:
    Our VP of marketing has been on my case about the ability to allow customers to "map" a form label (prompt) to a "custom" label of their choosing. The only way I know to do this is to create a "mapping" table and each time a form opens have code in the Post-Query trigger that changes the prompt of each column to the label that is in the "mapper" table. My fear here is Performance. Also, if the user closes that form and comes back to it - that logic has to be executed again - once again Performance. We have thought about the global variable idea, but we have over 100 tables with approx. 20 columns each. That's alot of globals to carry around. What's the overhead of carring around let's say 150 global variables?
    My questions to all of you are:
    1) Is anyone else doing this exact thing?
    2) If so, what is the performance hit?
    3) Is there a way to "remember" after the first time it paints - until the application is closed (not just that form) - other than global variables?
    4) Is there a solution already in place within Forms for this?
    5) Is there newer technology that has overcome this problem?
    My VP doesn't like the mapping idea. He wants to know isn't there a better way instead of mapping all the fields. Isn't there some simple utility provided by Oracle that allows the user to simply change the form labels (no, he's not talking about Oracle Developer). He is a real Outlook nut. So he's always comparing everything to how Outlook works. This is how it works in Outlook -- you click on Design Form, modify it, then install it on the machine. Surely Oracle must have something like this. He thinks we're asking the wrong question or not asking it in the right way. I'm not sure how else to ask it. Our users want to see "Date of Birth" spelled out instead of "DOB" as the label for a column on a form. Is there a way for them to take the fmx and change that label? Is there a better way other than storing this in a table and querying it up each time the form opens? Yes, I could use a global so I don't have to query it from the database every time, but I still have to evaluate every time the form is opened during that session to see which label I need to use and then set the prompt accordingly. Our VP doesn't like this, he wants this to be a one time change.
    Thanks so much for you help,
    Tina

    Hmmm.... either your VP of marketing or the users have too much time on their hands. ;-)
    I would go with a lookup table. If your database is responsive and you index the table by form name, you can retrieve a number of rows and setup the screen quickly enough that nobody would notice any time lag.
    If there aren't too many titles stored in the form, you could use a PLL library procedure and stuff all of them into a few globals -- just stack them into a single string separated by an odd character, like maybe chr(3). Then when the form is called again, it could first check to see if the globals exist, and parse the titles from there.
    But be careful about changing field titles. If they change DOB to Date of Birth, the length changes, and so you need to determine where the extra length goes. The title field must be wide enough and the text justification should be set properly.

  • To Find out Source datastore in ODI interfaces using SNP tables

    Hi,
    Could you please let me know how to find out Source datastore(s) in ODI interfaces using SNP tables ?
    Regards,
    Rashmik

    Please use below query...Just pass the interface name..
    SELECT C.TABLE_NAME AS "Target Table Name",
         A.COL_NAME AS "Target Field Name",
         Wm_Concat(G.SOURCE_DT) AS "Target Data Type",
         Wm_Concat(G.LONGC) AS "Target Data Length",
         Wm_Concat(TXT) AS "Transformation Rule",
         Wm_Concat(DISTINCT F.TABLE_NAME) AS "Source Table Name",
         Wm_Concat(D.COL_NAME) AS "Source Field Name",
         Wm_Concat(D.SOURCE_DT) AS "Source Data Type",
         Wm_Concat(D.LONGC) AS "Source Data Length"
    FROM
         SNP_POP_COL A JOIN SNP_TXT_CROSSR B ON A.I_TXT_MAP=B.I_TXT
         JOIN SNP_POP C ON A.I_POP=C.I_POP
         JOIN SNP_TXT E ON A.I_TXT_MAP=E.I_TXT AND B.I_TXT=E.I_TXT
         LEFT OUTER JOIN SNP_COL D ON B.I_COL=D.I_COL
         LEFT OUTER JOIN SNP_TABLE F ON F.I_TABLE= D.I_TABLE
         LEFT JOIN SNP_COL G ON A.I_COL=G.I_COL
    WHERE POP_NAME = 'XXXXXXX'
    GROUP BY C.TABLE_NAME,A.COL_NAME ORDER BY 1
    Edited by: KaushikPatel on Apr 18, 2013 6:52 AM

  • Easy replacement of a source datastore

    Hi gurus,
    Is there an easy way to replace a source datastore by another one with the same structure in an interface ?
    Without having to re-do the join, filter and the mapping of target column.
    Thanks for your help.
    Regards

    user1459647  wrote:
    Thank you for your quick and precise reply.
    Unfortunately, when I delete a source datastore, all the joins/filters involving this datastore disappear.It will happen if your join condition/filter is specified only on 2 tables and 1 of them is getting deleted.
    And all the target mappings involving this datastore are set on "Target" instead of "Source" (not a big deal).You can chage the execution area
    Is there something to change in my ODI Studio parameters ?I do not think so
    I'm using ODI 11.1.1.5 and Windows 7.That should be fine .
    You can explore the SYNONYM option also :)

  • File to File Interface without ESR objects

    Hello everyone,
    I have a requirement where our business users will  produce the .csv files in one location and we need to move to another location.
    I recon that we can build this File to File interface( usin FCC) without using ESR objects, can any one help me with the procedure since i am new to PI.  
    Thanks in advance

    HI Chandrika ,
    File to File Interface without ESR objects
    this is very simple , you need to create Configuration objs
    1. sender Communication channel and agrrenment
    2. receiver Communication channel and agrrenment
    3. u have to provide dummy service interface names and name space in interface determination,
    4.in receiver determination , we have to provide source and receiuvers bu.components and remaining dummy names.
    thanks,

  • Variable Source Datastore

    Hi all,
    We have 3 interfaces where we perform a join between two tables.
    One of the tables is common to the three interfaces and the other tables are different for the 3 interfaces but have the same columns (only the name is different).
    Would it possible to have only one interface where one of the source datastore of the join is variable? and how we could do it?
    Regards and thanks

    Hi F Amroes,
    Yes, Its possible with one interface and varable datastore ( Datastore neame should be variable )
    Logic :-
    Create datastore with varible name (if the table structure is same .
    then use this DataStore in interface. refresh/assign the value to ur variable ( table name / datastore name)
    Then call ur interface.
    Also u can use the Looping concept of ODI to loop 3 times .
    Please reffer my old threads in this forum for the looping logic / please reffer the below URL
    http://odiexperts.com/?p=531
    Regards,
    Rathish A M

  • Constraints in target or source datastore?

    Hi,
    When I put a constraint (condition) in my source datastore, the constraint works fine when I just test it by clicking on the table and clicking "Control->Errors". All the errors are shown in a list. But when I run my scenario using the same datastore/table, my target db picks up all lines even the ones that "should" have failed.
    When I read the ODI Users Guide i can see a note on page 57 stating the following:
    "Only the constraints declared on the target datastore in its model appear in the constraints list."
    So can someone please explain to me why you would put constraints in the source datastore if they cant be used in a scenario/interface?
    Best regards
    M

    Thank you for your answers.
    I still not quite sure how I would inplement my Scenario/Interface the way I would like to.
    What I am trying to do is to extract data from table A to table B and put error data in an error table. In my case, I would like to extract customers from table A to table B and put all error rows where customer id < 0 in a separate table and put all correct customers, i.e. with customer id > 0 in my target source.
    So I tried to put the constraint in the source (which I now know is for static control only) but I have now also put the same constraint in the target but still I get ALL rows put in my target when I execute the interface. Can this be accomplished through constraints or do I need to put a filter on Diagram to do this?
    Best regards
    M

  • Dynamically choosing source datastore column from variable

    Hi Everybody.
    I have a source table which contains 12 columns - one for each month of data. I want to load the columns as rows in the target table. For example:
    Source Table:
    ACCNO M01 M02 M03 M04 M05 M06 M07 M08 M09 M10 M11 M12
    00001 1 2 3 4 5 6 7 8 9 10 11 12
    00002 13 14 15 16 17 18 19 20 21 22 23 24
    Target Table:
    ACCNO Month Value
    00001 JAN 1
    00002 FEB 2
    I am thinking of constructing a package that will loop 12 times - in each iteration it will change the interface mapping column to the desired one.
    Seeking your wise suggestions and solutions.

    Hi,
    Hi,
    From the example its not clear what you are looking for ....(can you please give some more data in your output example)
    I guess the below is one of the sample which you are trying for ...
    INPUT:-
    accno|m01|m02|m03
    100|1|2|3
    200|10|20|30
    OUTPUT :-
    accno|mon|Value
    100|JAN|1
    100|FEB|2
    100|MAR|3
    200|JAN|10
    200|FEB|20
    200|MAR|30
    If yes :-
    Create a table/View
    create table test (Mon varchar(20) )
    insert into test values('JAN')
    insert into test values('FEB')
    insert into test values('MAR') ...
    In interface level - In source tab join the main table and test table (inner join)
    Mapping (taregt):-
    ACCNO = ACCNO
    Month = MON (from test table)
    Value =
    case when Mon = 'JAN' then M01
         when Mon = 'FEB' then M02
         when Mon = 'MAR' then M03 END (include all the mon .....)
    Regards,
    Rathish

  • How to create own interface without .cpp file?

    how to create own interface without using .cpp file ? To access the method inside the interface .
    e.g.  ILayoutTarget.
      Should not be SDKFileHelper.h because they are using SDKFileHelper.cpp file

    Rathan,
    PLz chk the below link (PDF file)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?quicklink=index&overridelayout=true
    Mutti

  • Inbound Service Interface without Input Request Message

    Is it possible to create an Inbound Service Interface without Input Request Message?  We are trying to create a web service to get all records from a database table hence no input parameter is needed.  We have tried in both XI 7.0 and PI 7.1 but couldn't do it.  Is this scenario not supported by ESR or am I missing something?  Any hint will be appreciated.
    Regards,
    Jiannan

    In the scenario I described in my initial post the table structure is only needed in the response message to receive the data. 
    For a web service generated from a RFC function module using the service creation wizard (SE80) a table parameter is automatically included in the request message.  I can understand this as the wizard can not figure out if the table parameter is needed in the request message or not.
    I have tried to use the service creation wizard to generate a web service from the function module RFCPING that has no input or output parameters.  As shown in below WSDL segment the WSDL does allow not having any input or output parameters.
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style">
    - <xsd:element name="Rfcping">
    - <xsd:complexType>
      <xsd:sequence />
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="RfcpingResponse">
    - <xsd:complexType>
      <xsd:sequence />
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="Rfcping">
      <wsdl:part name="parameters" element="tns:Rfcping" />
      </wsdl:message>
    - <wsdl:message name="RfcpingResponse">
      <wsdl:part name="parameter" element="tns:RfcpingResponse" />
      </wsdl:message>
    Thanks,
    Jiannan

  • E-business Suite RMAN cloning without connecting source

    Hi,
    I've RMAN backup with catalog and nocatalog. I want to use my nocatalog RMAN backup to clone e-business suite R12/11i Application without connecting source.
    Please advice/sugegst any doc.
    thanks

    Hi;
    What is your EBS and OS?
    Please check below notes which cover RMAN cloninig steps:
    Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
    Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
    FAQ: Cloning Oracle Applications Release 11i http://ID 216664.1
    Also check below thread:
    Clone -with rman
    Re: backup procedure using RMAN for 11i Instance
    Hope it answer you
    Regard
    Helios

  • Synchronous interface without Service Interface and Mapping

    Hi all,
    Short and simple question: Is it possible to set up a synchronous interface without using Service Interfaces and (Operation and Message) Mapping?
    In my case I would like to create an interface with a SOAP and File adapter.
    Cheers,
    Mac

    Hi Mac,
    >>Short and simple question: Is it possible to set up a synchronous interface without using Service Interfaces and (Operation and Message) Mapping?
    Yes possible provided you have both Sync adapter as sender and receiver. For eg: Soap sender --> PI --> HTTP adapter
    >>In my case I would like to create an interface with a SOAP and File adapter.
    Sync scenario using File adapter as receiver is not possible. Because File adapter works asynchronously.
    Regards
    Suraj

  • My project in imovie says source unavailable after I moved the events to the backup drive. It is connected and shows up in the events library. I can see the pictures but they won't play without the source. What do I do.

    My project in imovie says source unavailable after I moved the events to the backup drive. It is connected and shows up in the events library. I can see the pictures but they won't play without the source. What do I do.

    I moved it because I did not have room on my hard drive to import my latest video. I take videos my grandkids basketball games then edit them as projects. I don't have room to move the whole events library back to my hard drive. Can I move part of it at a time.
    I filled up my 1 TB back up drive so got a 3TB to move my video projects to. Do I have to move both the i photo videos and the projects to the 3 TB drive together some how. When can I delete them off the hard drive .
    I moved all the i photo library to the 3 TB drive and deleted them out of i photo. That is 87 GB which I don't have room for on my hard drive.
    I think when I use the export movie to my hard drive it works but will I still be able to edit it later if I want. Is it best to do quick time or i tunes if I use the export feature.

Maybe you are looking for