Odi_condition in mapping gives error

My source and target columns are in different schemas.
Source table:
column1| column2
sc1 | app1
sc2 | app2
Target Table:
T_column1|T_column2
T_column1=select column2 from source table where column1=sc1
T_column1=select column2 from source table where column1=sc2
when i put this condition for the target column in the property inspector of the target datastore filed.I get this error '"FROM clause not properly mentioned'".
Where do i put this condition in odi ??
Edited by: 851305 on Oct 13, 2011 6:17 AM

Hi
try below one
take two project variables and add both select queries in varaibels like below
Varaible details:
Name : Var1
Datatype : Alphanumeric
schema : source database logical schema
Description : select column2 from source table where column1=sc1
Name : Var2
Datatype : Alphanumeric
schema : source database logical schema
Descrition: select column2 from source table where column1=sc2
add both variables in package and target end
Target Table:
T_column1|T_column2
T_column1=#projectcode.Var1
T_column1=#projectcode.Var2
Hope this may resolve your issue
Note: Make sure that two variables and interface are link with * ok> * eg: Var1--ok-->Var2--ok-->interface
Thanks,
Phani

Similar Messages

  • RuntimeException in Message-Mapping transformatio error in txt to txt  fcc

    hi
    in my design part i executed my mapping program , it executed successfully
    my src is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:mt_sarat_txttxt_sender xmlns:ns0="http://Sarat">
       <Company>
          <Header>
             <Key1>H</Key1>
             <RecordId>123</RecordId>
             <PlantName>abc</PlantName>
          </Header>
          <Item>
             <Key2>I</Key2>
             <MaterialId>456</MaterialId>
             <Quantity>def</Quantity>
          </Item>
       </Company>
    </ns0:mt_sarat_txttxt_sender>
    IN SXMB_MONI   i got RuntimeException in Message-Mapping transformatio error
    i reffered some blog according to their sugessition  do as follows
    Go to SXMB_MONI and get the source xml from there and test it in the IR->Mapping Editor
    my source xml is
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:mt_sarat_txttxt_sender xmlns:ns="http://Sarat">
    - <Company>
    - <Header>
      <Key1>H</Key1>
      <RecordId>123</RecordId>
      <PlantName>abc</PlantName>
      </Header>
    - <Item>
      <Key2>I</Key2>
      <materialId>456</materialId>
      <Quantity>def</Quantity>
      </Item>
      </Company>
      </ns:mt_sarat_txttxt_sender>
    when i executed in mapping editor it gives fatal error
    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:2668) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2713) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:132) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:142) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245) 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:2668) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2713) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:132) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:142) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245) 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)
    but i have mapped main nodes in message message mapping.
    waiting for answers,
    mahesh

    got it maheshwar
    in FCC you have given small "m" .
    <materialId>456</materialId>
    but in data type its caps..
    <MaterialId>456</MaterialId>
    change it in sender comm channel and it will work..
    dont forget to award points..
    regards
    pushkar

  • SXMB_MONI : Mapping exception error - cause unknown

    Hi! ALL
    I am getting a mapping exception error....
    However, if i copy the payload and run it through my test tab it is getting processed successfully.
    Is there any other way i can debug this issue....as i do not see any problem with payload or the message mapping and I am getting the following  error...
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_mm_204: RuntimeException in Message-Mapping transformatio</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Your help is greatly appreciated!!
    Thank you,
    Patrick.

    Dear Patrick,
    As our experts told you can trace by using ST01 and select your ID and start the trace then again test be editing and reactivating the scenario and test it again then you ill came to know if in case any issues.
    1. Other way to test the scenario is Goto RWB--> Component Monitoring --> Select Adapter Monitoring --> Then select the TEST MESSAGE TAB and give Interface details inputs or copy or take your pay load from MONI and past here and check and changes are to be made and then test the message there itself .
    2. Also as u can test the message in Message Mapping TEST TAB and test the mapping and also parallely do Cache Refresh in SXI_CACHE.
    3. You can also check the status of the message in SYSEM STACK of message monitoring this is different from RWB message moni
    [http://Host name:PORT/MessagingSystem/monitor/systemStatus.jsp]
    4. YOu can also trace the message through this system stack also.
    Regards:
    Amar Srinivas Eli
    Edited by: Amar Srinivas Eli on Jan 30, 2009 8:53 AM

  • Digital Fax to Folder Setup gives error message unable to establish 2-way communication with device

    Digital Fax to Folder Setup gives error message unable to establish 2-way communication  with device. I can s end a Fax and I can print documents. I can also, now, scan to computer. I have changed the phone line twice, restarted the router, restarted the computer, and made sure the front panel was lit when setting up the Digital Fax folder. I am on a Homegroup network, with both wireles and ethernet computers.  When I view the network, it sees both computers (wireless laptop and enthernet desktop), the printer, scanner, and router (VerizonDrive). I recently had to reinstall Windows 7, where Digital Fax to Folder Setup previously worked, and now it doesn't.  The network shows up as Network 3. When I try to view the network map, I get the error message that Windows cannot create the network map. Responses from other devices on the network are delayed or there is an  incompatible router on the network.  What am I doing wrong?

    Hello @JiffyFingers and Good Afternoon
    From what you have described, and from the work you did on another thread, I believe you'd get better assistance talking to either Microsoft or your router manufacturer. With not being able to create the network map, that's something a bit more intricate than digital fax setup
    You can have a look at this Windows cannot create the network map. Responses from other devices on the network are delayed or th... Microsoft thread as well, and you may be able to figure it out from there.
    Hope that helps, have a great day!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Fpga -Re:ERROR MESSAGE INDICATIN X-FLOW PROGRAM MAP RETURNED ERROR CODE

    sir,
    I am working on a project using ni rio-7831R uaing labview fpga1.1, on compiling on to the device i am encountering a error giving follow message:
    Problem encountered during the packing phase.
    ERROR:Xflow - Program map returned error code 2. Aborting flow execution...
    so please, recommend me the action so that i could compile my project without error.
    vamsi

    Hi Vamsi,
    The information you are looking for is in this KB: Why Does My FPGA Compile Give An OVERMAPPED Error When Compiling? < http://digital.ni.com/public.nsf/websearch/060BA89​FE3A0119E48256E850048FFFE?OpenDocument >
    I think you are running out of space on your FPGA. You can either purchase a 3 million gate fpga(7833R) or Optimize your code to use less space. Have a great day!
    Regards,
    Prashanth

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • ITunes new version doesn't open at all. Gives error message

    I downloaded 7.4.3 version of iTunes and it doesn't open at all. Gives error message. "iTunes has encountered a problem and needs to close."
    I have previous version of iTunes in my spare HD, in the same computer, and it works perfectly fine.
    I have unistalled and re-installed again and again many times including with the help of Apple Support help in the phone and came up with no clues of what's going on.
    How can I get a previous version of iTunes to download to my PC? I have looking for a place on Apple's website where I could probably have my issue resolved, but I found nothing.
    Thank you.

    Thanks to Jim Zack, the problem is solved.
    If you're having this problem, go find the solution at the following page and read Jim's suggestion.
    http://discussions.apple.com/thread.jspa?threadID=1155613

  • Report server gives error

    i have installed oracle 9i AS (EE)on NT,
    Now i want to display reports in pdf/HTML on web broswer. For that i am trying to run report tester page given through broswer it is showing one page having Button(run report), when i click on that, it gives error unable to connected to database, and request rejected by report server. WHY ???
    i want to display reports through JSP How it can be done? Does anybody knows it?
    Naresh
    null

    Please check at http://<server>/dev60html/runrep.htm for follwings :
    01. your test.rdf must be in report60 folder
    02. your db must contain scott user
    03. connect string must be tested and give the same inplace of test
    04. your webhost may contain a dot, please check this should be the same as yours
    hope this will help
    bye !

  • Report builder error after applying sql server 2008R2 SP3 when click on report builder gives error like 'Application validation did not succeed. Unable to continue.

    Hi All,
    I applied SQL server 2008 R2 SP3 recently but report builder doesn't work since then
    When click on report builder gives error like 'Application validation did not succeed. Unable to continue.
    and when I try to see details the error summary like following:
    +File, Microsfot.ReportingServices.ComponentLibrary.Controls.dll, has a different computed hash than specified in manifest.
    this is urgent.
    Please reply me asap.
    thanks a lot in advance.
    Regards,
    Nik
    Regards, Naman

    Hi nikp11,
    According to your description, you recently updated SQL Server 2008 R2 to SP3, Report Builder doesn’t work since then the error occurs: "Application validation did not succeed. Unable to continue".
    This is an known issue in SSRS 2008 R2 SP3 that Microsoft has published an article addressing this issue. It is not planning to release a fix for this issue. But we could implement one of the following workarounds:
    Install and run Report Builder 3.0 of SQL Server 2008 R2 RTM.
    Install and run Report Builder of SQL Server 2014.
    Uninstall Service Pack 3 then uninstall Service Pack 2 and then reinstall Service Pack 3.
    Reference:
    Report Builder of SQL Server 2008 R2 Service Pack 3 does not launch
    Thank you for your understanding.
    Best Regards,
    Wendy Fu

  • When i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th

    when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
    if you can help me thank's
    [email address removed by host]

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • After upgrading to Lion Image Capture does not work, even though it is intel software.  Gives error 9931.  What gives?

    After upgrading to Lion, Image Capture does not work, even though it is intel software.  Gives error 9931.  What gives?

    Ouch, if it is indeed damaged, then sadly you need to restore the whole danged huge OS!
    Didn't used to be this way before Lion/10.7.
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to Update a clob column..it gives error string literal too long

    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too long

    Peeyush wrote:
    I am trying to update a clob column of a table but it gives error string literal too long plz tell me what's the issue
    ORA-01704: string literal too longThere's a problem with my car. It won't start. Why won't it start? Please tell me!
    Oh wait, you can't, because I haven't given you nearly enough information...
    In other words, if you would like help in trying to work out where you've gone wrong, you should provide a small enough example of your code that demonstrates the error. We might then actually stand a chance of being able to help you!

  • SSAS Tabular - Adding Column to a table gives error "Object reference not set to instance of object"

    If I make changes to a table in SSAS Tabular Visual Studio, the newly added column gives error as "Object
    reference not set to instance of object"

    Hi VikasJain13,
    According to your description, you get the "Object reference not set to instance of object" error when adding columns in Tabular. Right?
    Generally, it throws this error when the internal code is accessing the property of an empty object. As you mentioned it happens when you make changes on a table, mostly it means that table is already a empty object. Please re-process your tabular to see
    if this table is still existing. 
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • GI installtion gives error while executing root.sh for ASM diskgroup

    Dear Gurus,
    We are implementing a 2 node RAC configuration with ASM on vmware and openfiler on LINUX RHEL 6.2. We started our installation with grid infrastructure. While executing root.sh on node 1 it gives error diskgroup cannot be mounted and no alterntions perfomed as below.
    +[main] [ 2012-10-04 05:38:33.150 PDT ] [UsmcaLogger.logException:173] SEVERE:method oracle.sysman.assistants.usmca.backend.USMDiskGroupManager:mountDiskGroups+
    +[main] [ 2012-10-04 05:38:33.151 PDT ] [UsmcaLogger.logException:174] ORA-15032: not all alterations performed+
    ORA-15017: diskgroup "CRS" cannot be mounted
    ORA-15088: diskgroup creation incomplete
    +[main] [ 2012-10-04 05:38:33.338 PDT ] [UsmcaLogger.logException:175] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-15032: not all alterations pe+
    rformed
    ORA-15017: diskgroup "CRS" cannot be mounted
    Note:- we are not using ASMLib. We presented the LUN's to oracle binaries with Multipathing.

    Put here relevant info of alertlog of ASM and CRS.
    Please format your text by using tag at begin and end of output.                                                                                                                                                                                                                                                           

Maybe you are looking for

  • PowerShell Scripting help to combine two scripts

    I have a script that helps automate virtual server builds.  The script creates a specification document which is used to perform the actual builds. # Spec-And-Build.ps1 - Loops through a directory and performs an # end to end specification generation

  • Portletizing ADF Faces - Portlet Unavailable - Is there a Working Sample?

    Hi, It seems I have run into a similar issue as some people before me. I have watched all samples, read all relevant forum threads and yet I cannot solve my problem. I have created a very simple ADF Faces applications that uses DataBinding - it displ

  • Server issue or website issue

    Periodically when I open my site from a browser (i.e.6), I see some pages of my site split in half (See URL for pictures). Two Pictures The top picture shows the split (bad), the bottom picture shows how it should look. If I refresh my browser the pa

  • On-board multifunction DAQ programming ?

    I need to make the following sequence a certain number of times : generate a pair of voltages (from a list, or computed from the loop index), make a pause, and finally measure some input voltage. As I cannot rely on the timing of my VB program (eithe

  • Photoshop hangs temporarily using brush tool on large files

    When using the brush tool on layer masks on very large files (2-6G), photoshop will stop responding for a minute or two, seemingly randomly. The app has not crashed, but I cannot paint, change brush size, or interact with palettes. I've noticed that