Error in parsing join condition!
Forms 5.0: Trying to use 'or' or parentheses in join condition and keep getting "error in parsing join condition". Need to check 3 different buckets in relating 2nd table to 1st. I'm trying to find records in table2 where at least one of po_no1, po_no2 and po_no3 matches table1.po_no. Any suggestions?
Here's what I've tried:
table1.po_no in (table2.po_no1, table2.po_no2, table2.po_no3)
table1.po_no = table2.po_no1 or
table1.po_no = table2.po_no2 or
table1.po_no = table2.po_no3
table1.po_no in (select distinct po_no1
from table2 union select distinct po_no2 from table2 union select distinct po_no3
from table2)
Andreas Weiden wrote:
As far as i know you cannot create relationships between non-db-blocks (or maybe you can create them, but they will not work).Hi
Oh yes u can for query purposes only e.g. suppose i have dept table and emp table created Master Block as non-db dept_no & Dept_name and a Detail_block with emp tabel and a dept_no as a foreign key ...
1. we either set up a form relation ship between the two blocks - if we want the user to retrieve data only -
2. or we use copy value property in the dept_no item in the detail block to get the copied value from the dept_no of the master to the dept_no of the detail
3.While the user entered or select the dept_no in the Master Block then Press Entered here comes the role of the WHEN-BLOCK-INSTANCE Trigger
GO_BLOCK('DEATIL_BLOCK_NAME');
EXECUTE_QUERY;Here the data will be displayed in the detail block accordingly ...
So the relation here played the role of the Where Statment or the default where to filter the displaing of data in the Detail Block according to the Master Block
Regards,
Amatu Allah.
Similar Messages
-
Creating a Relation between two Blocks - the Join Condition [SOLVED]
Hi. I'm trying to create a Relation between my TTMS_Audit table and my Bundle_Exceptions table. This is the join condition:
ttms_audit.primary_key_values = bundle_exceptions.project_cd||','||bundle_exceptions.bundle||','||bundle_exceptions.exception_cd
And I get the following error:
FRM-15004: Error while parsing join condition
Does anyone know if my concatenated values in the Join Condition are allowed? Can I even do this? Is there a logical work around?Got it.
I first created the concatenated values as a non-base table item on my form:
:NBT_PRIMARY_KEY_VALUES := :bundle_exceptions.project_cd||','||:bundle_exceptions.bundle||','||:bundle_exceptions.exception_cd;
Then my join condition simply became:
ttms_audit.primary_key_values = bundle_exceptions.nbt_primary_key_values -
Join condition validation error in owb 10gR2
Hi friends,
When I tried to validate the join condition in the mapping im getting the below error like
an error occurred during expression validation, bad expression return type
When I googled for the above error, I got the below link mentioning like a bug for that join condition validation problem
https://forums.oracle.com/thread/717194
In which it is mentioned like a BugNo: 7417869 for that issue.
Is there any fix for that bug??
Thanks in advance.
Brgds,
MiniDear Allan,
Happy to get reply from you and sorry for my late reply as im been stuck with other work
Like you said, I downloaded the required patch 4898608 for the validation bug in mapping with owb 10.2.0.4. By viewing the readme.txt file of the patch I followed the below steps like
Set the ORACLE_HOME environment variable to point to the OWB Home
Add $ORACLE_HOME/OPatch in the PATH
Stopped the runtime service using the supplied SQL*PLUS script stop_service.sql as a rep_owner
OWB_HOME/rtp/sql/stop_service.sql
After the above three steps I applied the opatch like below in cmd prompt
C:\orahome\10gR3_1\OPatch>opatch version
Invoking OPatch 10.2.0.4.9
OPatch Version: 10.2.0.4.9
OPatch succeeded.
C:\OraHome_1\OPatch>opatch apply
Invoking OPatch 10.2.0.4.9
Oracle Interim Patch Installer version 10.2.0.4.9
Copyright (c) 2009, Oracle Corporation. All rights reserved.
Oracle Home : C:\OraHome_1
Central Inventory : C:\Program Files (x86)\Oracle\Inventory
from : n/a
OPatch version : 10.2.0.4.9
OUI version : 10.2.0.1.0
OUI location : C:\OraHome_1\oui
Log file location : C:\OraHome_1\cfgtoollogs\opatch\opatch2013-06-24_18-14-27PM.
log
Patch history file: C:\OraHome_1\cfgtoollogs\opatch\opatch_history.txt
Failed to load the patch object. Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = C:\OraHome_1\OPatch
Details = PatchObject constructor: Input file "C:\OraHome_1\OPatch\etc\config\
actions" or "C:\OraHome_1\OPatch\etc\config\inventory" does not exist.
ApplySession failed: PatchObject constructor: Input file "C:\OraHome_1\OPatch\et
c\config\actions" or "C:\OraHome_1\OPatch\etc\config\inventory" does not exist.
System intact, OPatch will not attempt to restore the system
OPatch failed with error code = 73
C:\OraHome_1\OPatch>
Im not sure why the above error is occuring, kindly help me with that error.
Thanks in advance.
Brgds,
Mini -
More than one join condition for 2 tables in obiee
Hello,
I am using obiee 11g.
There are 2 tables tableA and tableB where the join condition is like (tableA.col1=tableB.col1) or (tableA.col1 is null and tableB.col1 is null)
where should i do these type of joins.
I tried putting in physcial layer->f(x) but giving error like here only columns an d opertaors are allowed.
Thanksok here it goes.
I have a tableA with columns col1(pk),col2 and other columns
I have tableB with columns col1(pk),col2..Only these 2 columns.
Now distinct tableA.col2 values are put in tableB.col2. For those distinct values i have put the tableB.col1 values.
Now tableA.col2 as well as tableB.col2 can be null beacuse there may be null values in tableA.col2.
Now in tableB i have added one more row which has col1 as value and col2 as null.
Now when in physical layer when i do tableA.col2=tableB.col2 i dont get the null values.
What i want is whenever the tableA.col2 and tableB.col2 is null then take tableB.col1 for those vales.
So when i query i do
select * from tableA,tableB where
((tableA.col2=tableB.col2) or (tableA.col2 is null and tableB.col2 is null))
What i want is when i do a join i should be able to give this OR condition in rpd thats it.
because when i do in where clause of content tab it goes like a AND condition and not OR.
Thanks
Edited by: user123 on Jul 5, 2011 1:57 PM -
Xmlsequence with where clause or with join condition...
Hi
I have a XML as like below:
<File>
<FileDetails>
<Student>
<RegNo>1001</RegNo>
<Name>Joseph</Name>
<ResultDetails>
<Subjects>
<SNo>1</SNo>
<SubjectName>ENGLISH</SubjectName>
<Marks>80</Marks>
</Subjects>
<Subjects>
<SNo>2</SNo>
<SubjectName>MATHS</SubjectName>
<Marks>78</Marks>
</Subjects>
</ResultDetails>
</Student>
<Student>
<RegNo>1002</RegNo>
<Name>Vincent</Name>
<ResultDetails>
<Subjects>
<SNo>1</SNo>
<SubjectName>ENGLISH</SubjectName>
<Marks>62</Marks>
</Subjects>
<Subjects>
<SNo>2</SNo>
<SubjectName>MATHS</SubjectName>
<Marks>73</Marks>
</Subjects>
</ResultDetails>
</Student>
</FileDetails>
</File>
This XML file has been inserted into a table gtt_xmlfile on column "XML_DATA" of datatype "CLOB(4000)".
Now i have executed the below query:
select
extract(value(d),'//RegNo/text()').getStringVal(),
extract(value(d),'//Name/text()').getStringVal(),
extract(value(d),'//SNo/text()').getStringVal(),
extract(value(d),'//SubjectName/text()').getStringVal(),
extract(value(d),'//Marks/text()').getStringVal()
from gtt_xmlfile x,
table(xmlsequence(extract(pk_xml.clob_to_xmltype(x.xml_data),'//File/FileDetails/Student'))) d;
And i got the below output:
REGNO NAME SNO SUBJECTNAME MARKS
1001 Joseph 12 ENGLISHMATHS 8078
1002 Vincent 12 ENGLISHMATHS 6273
After i have executed the below query:
select
extract(value(d),'//RegNo/text()').getStringVal() RegNo,
extract(value(d),'//Name/text()').getStringVal() Name,
extract(value(e),'//SNo/text()').getStringVal() SNo,
extract(value(e),'//SubjectName/text()').getStringVal() SubjectName,
extract(value(e),'//Marks/text()').getStringVal() Marks
from gtt_xmlfile x,
table(xmlsequence(extract(pk_xml.clob_to_xmltype(x.xml_data),'//File/FileDetails/Student'))) d,
table(xmlsequence(extract(pk_xml.clob_to_xmltype(x.xml_data),'//File/FileDetails/Student/ResultDetails/Subjects'))) e
i get the below output: (Cartesian product)
REGNO NAME SNO SUBJECTNAME MARKS
1001 Joseph 1 ENGLISH 80
1001 Joseph 2 MATHS 78
1001 Joseph 1 ENGLISH 62
1001 Joseph 2 MATHS 73
1002 Vincent 1 ENGLISH 80
1002 Vincent 2 MATHS 78
1002 Vincent 1 ENGLISH 62
1002 Vincent 2 MATHS 73
But my required output should be like below:
REGNO NAME SNO SUBJECTNAME MARKS
1001 Joseph 1 ENGLISH 80
1001 Joseph 2 MATHS 78
1002 Vincent 1 ENGLISH 62
1002 Vincent 2 MATHS 73
How can i achieve that using a join condition??
Any help would be much appreciated...
Best Regards
MuthuNo
The above doesn't help me. Because, if the same set repeats, it gives an error:
XQuery dynamic type mismatch: expected singleton sequence - got multi-item sequence.
Note: Same set means, on the below sample, the student set repeats twice. In this case, that gives me error as mentioned above
<File>
<FileDetails>
<Student>
<RegNo>1001</RegNo>
<Name>Joseph</Name>
<ResultDetails>
<Subjects>
<SNo>1</SNo>
<SubjectName>ENGLISH</SubjectName>
<Marks>80</Marks>
</Subjects>
<Subjects>
<SNo>2</SNo>
<SubjectName>MATHS</SubjectName>
<Marks>78</Marks>
</Subjects>
</ResultDetails>
</Student>
<Student>
<RegNo>1002</RegNo>
<Name>Vincent</Name>
<ResultDetails>
<Subjects>
<SNo>1</SNo>
<SubjectName>ENGLISH</SubjectName>
<Marks>62</Marks>
</Subjects>
<Subjects>
<SNo>2</SNo>
<SubjectName>MATHS</SubjectName>
<Marks>73</Marks>
</Subjects>
</ResultDetails>
</Student>
</FileDetails>
</File> -
How to change operator of join conditions in where clause?
Hello
I have a situation... I want to change the operator between each join conditions in the where clause when these join conditions are not from the same join..
For example, I have the following schema:
Dim1 ------ DimA -------Fact1
Dim1-------DimB -----Fact1
So DimA and DimB are aliasas of one dim table, but the join is different.
Now if I run this model, what I will get in the where clause of the query is:
Where Dim1 = DimA and Dim1 = DimB and DimA= Fact1 and DimB = fact1.
Is there a way I can change these "and" operator to "OR", so that the where clause would look like this: Where Dim1 = DimA and Dim1 = DimB and DimA= Fact1 OR DimB = fact1?
This is different from simply changing the join operator within the same join, because these are different joins and I'd like to control how they relate to each other..
Please help
ThanksSometimes, business rules are complex, so there isn't always a way to simplify things. Is your issue that it's complex and error prone, or is it performance due to the OR clauses?
One possibility that will at least make it easier to test and debug is something like this: (pseudocode)
From Table1 Inner join Table2 on x=y etc.etc.
CROSS APPLY
(Select case when a=b and (c=d or e=f) then 1 else 0 end) as Situation1
, case when h=i or j = k then 1 else 0 end) as situation2
, case when l = m then 1 else 0 end) as situation 3
) as CA_Logic_Simplifier
Where situation1 = 1 and situation2 = 1 and situation3 = 1
Although you could say, "Hey, this is basically doing the same thing as before", this approach would be far easier to test and debug, because you can at a glance look at the values for situation1, 2, 3, etc. to see where errors are being introduced.
The cross apply makes the columns situation1/2/3 "instantiated", so they are usable in the where clause. Divide and conquer. -
Using records that satisfy and do not satisfy join condition
Hi,
My requirement is to use the records which satisfy and do not satisfy the join conditions in ODI.
Can any one explain how to achieve this?
Thanks in advance.
Regards,
SRKHi Katukota,
Thanks for the suggestion. When i tried to implement the same with an OUTER JOIN to capture the records that satisfied and not satisfied the join condition, the SQL statement is not getting created properly and as given below
"from DEPT [empty] EMP where (1=1) And (DEPT.DEPTNO=EMP.DEPT(+))"
THere is no ',' operator between the two tables in the FROM Clause. When it is corrected in the ODI operator, the task is executed successfully.
Can you please suggest the way forward to avoid this error?
Thanks in advance.
Regards,
SRK
Edited by: user6416145 on 04-May-2009 14:13 -
Problem in Spras field for join condition in creating new views
Hi,
I want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
table field table field
t1 mandt = t2 mandt.
t1 vkbur = t2 vkbur.
And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please helpHi,
1.u can specify the first thing i.e. t1 mandt = t2 mandt and t1 vkbur = t2 vkbur in the <b>join conditions</b> even if there is no relation ship b/w t1 and t2 on vkbur.simply u specify the join condition manually.
2.for the second thing....wat u did is rite.......
I think it will work.
Thanks ,
Jyothi.D
want to create a new view for three tables t1 t2 and t3 say.....i want to join this three tables like
table field table field
t1 mandt = t2 mandt.
t1 vkbur = t2 vkbur.
And other condition is t2-spras = 'E' now.... how should i give this condition in the join condition as u have to give the other table name and the field name on the other side too..... table t1 has no filed in its table for the field spras.........so i just have to give t2-spras as 'E'. But this is throwing error...Please help -
Master Detail Form is ignoring the 4th join condition
Hello All,
I have master detail relationship between two tables with a
composite foreign key (of 4 columns). I'm creating a master
detail form in O9iAS Portal 3.0.9.8.0 on these 2 tables
successfully with no errors. The only thing I have noticed, is
that the wizard does not populate the join conditions
automatically in step#3. The form runs Okay but it ignores the
last condition (i.e., 4th), which means that it brings too many
details records.
Any ideas
Much appreciated if you can CC me: [email protected]
Hamada HimaI had this same problem with master/detail form and 4 join conditions. I opened up a TAR and after several weeks
Oracle determined this to be a bug and submitted it to developers.
For a work around, I created a view with two of the join fields concatenated together, then created another md form
with 3 join conditions and it worked. Good luck. -
Hi,
I have a requirement to frame the where condition in the select stmt,
the below one is a logical join condition
JOIN BCAR_DETAIL_ADJ to STG_FIN_ACC via ACC_RK,
JOIN STG_FIN_ACC to
JOIN STG_FIN_ACC_PARTY_SRC to STG_PARTY_SRCD via Party_SRC_RK
Where STG_FIN_ACC_PARTY_SRC.party_role_cd = 'BOR'
When multiple records return of the subjoin, select the one with
MAX(FINANCIAL_ACC_PARTICIPANT.Party_SRC_RK)
) via ACC_RK
and i framed the join like this,
WHERE B.ACC_RK = SF.ACC_RK
AND SF.ACC_RK =
SELECT ST.ACC_RK FROM
STG_FIN_ACC_PARTY_SRC ST,STG_PARTY_SRC SP
WHERE ST.PARTY_SRC_RK = SP.PARTY_SRC_RK
AND ST.PARTY_ROLE_CD = 'BOR'
AND ST.PARTY_SRC_RK =
(SELECT MAX(FCC.PARTY_SRC_RK)
FROM FINANCIAL_ACC_PARTICIPANT FCC)
I dont know i have formed the join condition correctly.
Can anyone help me in this
Thnx
RadHi, Rad,
I see only one syntax error: you're missing parentheses around the outer scalar sub-query.
Perhaps you meant something like this:
WHERE B.ACC_RK = SF.ACC_RK
AND SF.ACC_RK = (
SELECT ST.ACC_RK
FROM STG_FIN_ACC_PARTY_SRC ST
, STG_PARTY_SRC SP
WHERE ST.PARTY_SRC_RK = SP.PARTY_SRC_RK
AND ST.PARTY_ROLE_CD = 'BOR'
AND ST.PARTY_SRC_RK = (
SELECT MAX (FCC.PARTY_SRC_RK)
FROM FINANCIAL_ACC_PARTICIPANT FCC
)Sorry, I don't understand the pseudo-code in the first part of your message, so I can't say if the real code in the second half does it or not.
Whenever you have a question, it helps to post:
(1) The version of Oracle (and any other relevant software) you're using
(2) A little sample data (just enough to show what the problem is) from all the relevant tables
(3) The results you want from that data
(4) Your best attempt so far (formatted)
(5) The full error message (if any), including line number
Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
Formatted tabular output is okay for (3). Type these 6 characters
{code}
(small letters only, inside curly brackets) before and after formatted text, to preserve spacing. -
Getting the following error while parsing the values usng xml parser
Hi
I am getting the following error while parsing the values using the code in r12 instance on linux
declare
XML_PARSER XMLPARSER.PARSER;
DOC XMLDOM.DOMDOCUMENT;
DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
BEGIN
-- NEW PARSER
XML_PARSER := XMLPARSER.NEWPARSER;
-- SET SOME CHARACTERISTICS
XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
THEN
FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);
-- PARSE INPUT FILE
FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);
-- GET DOCUMENT
DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
LOAD_SUPP(doc);
ELSE
DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
END IF;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
ROLLBACK;
END
I am getting the following error
DIRACTORYL-/home/appldevORA-0000: normal, successful completion
FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
ORA-06512: at "SYS.XDBURITYPE", line 11
ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
ORA-29280: invalid directory path
ORA-29280: invalid directory path
ORA-29280: invalid directory path
It could be great if some one could give a suggestion/solution.
Thanks
AjeshBesides this is not the correct forum try to google the error message first before posting:
http://ora-29280.ora-code.com/
cheers -
Infoset Join condition on Key feilds and data fields
Hi Guys,
I have a requirement to biuld the Info set with join conditon on two DSO's the info objects which i am using in the JOin condition are defined as data fieds in one DSO and defined as key fields in another DSO, is it possible to define join condition on key fields and data fields.
The two info objects are
0AC_DOC_NO
0ITEM_NUM
These two info objects are defined as data fields in DSO : 0LIV_DS1 Invocie verificaion
key fields in DSO: 0FIAP_0o3 FI AP Line Item
Please suggest me is it possible to define join the condtion on the data fields and key feilds.
Thanks
Best regards
SGHi
yes you can create join, you will get any issue in reporting level.
example: Say i want to create Info Set on 0MATERIAL and Sales DSO.
In 0MATERIAL Info Object it is key filed, but in my DSO 0MATERIAL is data field.Still we can create
Creation of join is dependent on fields common in your source objects.
check out the below document
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7?QuickLink=index&overridelayout=true
Regards,
Venkatesh
Edited by: Venkateswarlu Nandimandalam on Sep 27, 2011 2:26 AM -
Set operator NE in Database View creation in join condition
Hi Experts,
I have a requirement to set NE(not equal) operator in join condition of Database View creation. Could you please help me how to set in operator.
Join condition :
Ex : BSAK-AUGBL NE BSAK-BELNR.
You know that by default operator is '='. i want to set NE in place of '='.
Thanks,Hi Chinna,
Check whether if there is any possibility or not to include more key fields like bukrs, lifnr, gjahr etc in the where condition, so that you query may result faster. Then, there won't be any necessary to create the view.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
Error while parsing or executing XML-SQL document
friends,
my scenario is based on file to jdbc.i am facing an error in receiver CC in RWB.
The error states that '
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'MATMAS' (structure 'STATEMENT'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]String or binary data would be truncated.'
My SOAP xml message is
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
- <SOAP:Header>
- <sap:Main xmlns:sap="http://sap.com/xi/XI/Message/30" versionMajor="3" versionMinor="0" SOAP:mustUnderstand="1" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
<sap:MessageClass>ApplicationMessage</sap:MessageClass>
<sap:ProcessingMode>asynchronous</sap:ProcessingMode>
<sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
<sap:TimeSent>2008-02-06T22:30:21Z</sap:TimeSent>
- <sap:Sender>
<sap:Party agency="http://sap.com/xi/XI" scheme="XIParty" />
<sap:Service>ECC</sap:Service>
</sap:Sender>
- <sap:Receiver>
<sap:Party agency="http://sap.com/xi/XI" scheme="XIParty" />
<sap:Service>BS_JDBC</sap:Service>
</sap:Receiver>
<sap:Interface namespace="http://file_to_jdbc">MI_JDBC_RECEIVER</sap:Interface>
</sap:Main>
- <sap:ReliableMessaging xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
<sap:QualityOfService>ExactlyOnce</sap:QualityOfService>
</sap:ReliableMessaging>
- <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">
sapecc50\sapmnt\trans</sap:Record>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">UTF-8</sap:Record>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</sap:Record>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">matmas1.txt</sap:Record>
</sap:DynamicConfiguration>
- <sap:HopList xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
- <sap:Hop timeStamp="2008-02-06T22:30:21Z" wasRead="false">
<sap:Engine type="AE">af.e6e.sapecc6eval</sap:Engine>
<sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
<sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
<sap:Info />
</sap:Hop>
- <sap:Hop timeStamp="2008-02-06T22:30:21Z" wasRead="false">
<sap:Engine type="IS">is.01.sapecc6eval</sap:Engine>
<sap:Adapter namespace="http://sap.com/xi/XI/System">XI</sap:Adapter>
<sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
<sap:Info>3.0</sap:Info>
</sap:Hop>
- <sap:Hop timeStamp="2008-02-06T22:30:22Z" wasRead="false">
<sap:Engine type="AE">af.e6e.sapecc6eval</sap:Engine>
<sap:Adapter namespace="http://sap.com/xi/XI/System">XIRA</sap:Adapter>
<sap:MessageId>18f17dd0-d503-11dc-cb4d-001635b02bfd</sap:MessageId>
</sap:Hop>
</sap:HopList>
- <sap:Diagnostic xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
<sap:TraceLevel>Information</sap:TraceLevel>
<sap:Logging>Off</sap:Logging>
</sap:Diagnostic>
</SOAP:Header>
- <SOAP:Body>
- <sap:Manifest xmlns:sap="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
- <sap:Payload xlink:type="simple" xlink:href="cid:[email protected]">
<sap:Name>MainDocument</sap:Name>
<sap:Description />
<sap:Type>Application</sap:Type>
</sap:Payload>
</sap:Manifest>
</SOAP:Body>
</SOAP:Envelope>
and payload message is
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_JDBC_RECEIVER xmlns:ns0="http://file_to_jdbc">
- <STATEMENT>
- <ROW action="INSERT">
<TABLE>MATMAS</TABLE>
- <access>
<MATNR>38</MATNR>
<MTART>HALB</MTART>
<MATKL>00107</MATKL>
<MEINS>pc</MEINS>
<ERSDA>2008.04.05</ERSDA>
<BRGEW>10</BRGEW>
<NTGEW>12</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>88</MATNR>
<MTART>FERT</MTART>
<MATKL>02004</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2008.04.05</ERSDA>
<BRGEW>12</BRGEW>
<NTGEW>13</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>89</MATNR>
<MTART>FERT</MTART>
<MATKL>02004</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2008.03.02</ERSDA>
<BRGEW>12</BRGEW>
<NTGEW>14</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>98</MATNR>
<MTART>HALB</MTART>
<MATKL>2</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2006.09.01</ERSDA>
<BRGEW>12</BRGEW>
<NTGEW>12</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>170</MATNR>
<MTART>NLAG</MTART>
<MATKL>4</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2005.03.02</ERSDA>
<BRGEW>2</BRGEW>
<NTGEW>3</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>178</MATNR>
<MTART>NLAG</MTART>
<MATKL>4</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2007.03.06</ERSDA>
<BRGEW>3</BRGEW>
<NTGEW>4</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>188</MATNR>
<MTART>NLAG</MTART>
<MATKL>5</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2007.05.02</ERSDA>
<BRGEW>2</BRGEW>
<NTGEW>3</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>288</MATNR>
<MTART>HALB</MTART>
<MATKL>101</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2006.02.11</ERSDA>
<BRGEW>5</BRGEW>
<NTGEW>4</NTGEW>
<GEWEI>KG</GEWEI>
</access>
- <access>
<MATNR>358</MATNR>
<MTART>HAWA</MTART>
<MATKL>2</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2007.09.09</ERSDA>
<BRGEW>500</BRGEW>
<NTGEW>500</NTGEW>
<GEWEI>G</GEWEI>
</access>
- <access>
<MATNR>359</MATNR>
<MTART>HAWA</MTART>
<MATKL>2</MATKL>
<MEINS>PC</MEINS>
<ERSDA>2007.08.01</ERSDA>
<BRGEW>20</BRGEW>
<NTGEW>10</NTGEW>
<GEWEI>G</GEWEI>
</access>
</ROW>
</STATEMENT>
</ns0:MT_JDBC_RECEIVER>
Could anybody help me in sorting out this issue.My advance thankshi,
ypur structure is bad defined.
if you want to do an insert, the DT should be
<ns0:MT_JDBC_RECEIVER xmlns:ns0="http://file_to_jdbc">
___<StatementName>
______<dbTableName action=INSERT>
_____<table>MATMAS</table>
_______ <access>
___________<MATNR>38</MATNR>
___________<MTART>HALB</MTART>
___________<MATKL>00107</MATKL>
___________<MEINS>pc</MEINS>
___________<ERSDA>2008.04.05</ERSDA>
___________<BRGEW>10</BRGEW>
___________<NTGEW>12</NTGEW>
___________<GEWEI>KG</GEWEI>
______</access>
_____</dbTableName>
__ </StatementName>
</ns0:MT_JDBC_RECEIVER>
the ROW field is used when you wait receive data from DB for example you execute and SQL Query from Sender communication channel "SELECT name FROM TABLE Names"
so, the result of this query would be, for example:
<row>
____<name>joge</name>
</row>
<row>
____<name>pepe</name>
</row>
<row>
____<name>nicola</name>
</row>
See this link
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
Thanks
Rodrigo
Edited by: Rodrigo Pertierra on Feb 8, 2008 8:40 AM
Edited by: Rodrigo Pertierra on Feb 8, 2008 8:42 AM -
Join is not working for NULL values on join condition
HI ,
I have the following problem .
SQL> select *from a;
X Y
1
2
3
4
SQL> select *from b;
B Y
1
2
SQL> select f.x,f.y,s.b from a f,b s
2 where f.x=s.b(+);
X Y B
1 1
2 2
4
3
SQL> select f.x,f.y,s.b from a f,b s
2 where f.x=s.b(+)
3 and f.y=s.y;
no rows selected
So now if i include one more join condition where in null = null situation arises , it is now working.
Simply saying its not treating ( 1 and null ) and ( 1 and null ) are same.
What is the solution.Is this a expected behaviour.
Thanks
Pramod GarreHI
I want something like this
SQL> select f.x,f.y,s.b from a f,b s
2 where f.x=s.b(+);
X Y B
1 1
2 2
4
3
SQL> select f.x,f.y,s.b from a f,b s
2 where f.x=s.b(+)
3 and f.y=s.y;
Instead of "now Rows " i have to get
X Y B
1 1
2 2
4
3
Is there is any way to do this.
Thanks
Pramod
Maybe you are looking for
-
New HDD Will Not Boot Internally
I'm trying to install a 1TB HDD into my MBP in place of the 750GB that came with it. I wouldn't have thought this to be important information, but this 1TB drive has come from inside a Seagate Expansion. I've cloned the drive, and made sure it will b
-
I am trying to run a PLC software, Click, on a Mac Pro with a windows partition and windows 8.1 software. The software runs fine, but cannot recognize a USB port. Does anyone have an answer for this or tried the same thins?
-
Hi, This seems to be a common problem, however maybe someone has an answer! I have just moved to a Time Capsule for back ups. As in many previous posts my iMac 'freezes' at random points during the back up and has to be re-booted. I have tried using
-
I accidently went into bridge mode on my linksys E2500 router. I want to reset it back to normal but i'm not sure how to do it. i tried the little reset button on the router but that didn't change it. somebody please help !?
-
Reset the spiral original prefs in the tools panel
Hello, When you create shapes and start to play with the original settings, like in the star, spiral or polygon tools, either by using your arrow keys when drawing or clicking on the tool to change it's preference there, is there anyway to get the to