"If" condition not working
Hi all,
Here i want to put condition like when BELRT field of BKPF table get 'RE' type data this time condition is fire and program will termineted. for this i put code like below.
SELECT * FROM BKPF INTO TABLE IT_BKPF WHERE BELNR IN P_DOCNO " DOCUMENT NO.
AND GJAHR IN P_FYEAR. " FISCAL YEAR.
if it_bkpf-blart = 'RE'.
MESSAGE 'Please Enter Correct Doc.No and Financial Year' TYPE 'I'.
SUBMIT ZFI_MM_DEBIT_VENDOR1 VIA SELECTION-SCREEN AND RETURN.
LEAVE PROGRAM.
endif.
But it will not working. So please help me out..
Thanks in Advance.
keyur chauhan
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 5:28 PM
please correct you code
SELECT * FROM BKPF
INTO TABLE IT_BKPF
WHERE BELNR IN P_DOCNO and " DOCUMENT NO.
GJAHR IN P_FYEAR and " FISCAL YEAR.
blart ='RE'.
if sy-subrc = 0.
" do what ever you want here further processsing
else.
message 'No Data Found' type 'I'.
LEAVE-LIST PROCESSING.
ENDIF.
( or )
SELECT * FROM BKPF
INTO TABLE IT_BKPF
WHERE BELNR IN P_DOCNO and " DOCUMENT NO.
GJAHR IN P_FYEAR . " FISCAL YEAR
if sy-subrc = 0.
loop at it_bkpf in wa_bkpf.
if wa_bkpf-blart = 'RE'.
" Do you logic what you want
else.
" here you can do many things
" a) use CONTINUE statment to move to next loop pass
" b) you can raise an message
endif.
Let me know if you need further information
Regards
Satish Boguda
Similar Messages
-
OR condition not working correctly in SQL
I am adding the folling condition to a sql statement and
AND (status_code IS NULL or status_code <> 'T'
or (status_code IN ('A','B','C','D') and TRIM(order_type) NOT LIKE '%9999')
or (status_code IN ('A','B','C','D') and order_type IS NOT NULL)
or (status_code NOT IN ('A','B','C','D')))
but the or condition work...
if i change it too
AND ( (status_code IN ('A','B','C','D') and order_type IS NOT NULL) )
then this portion of the OR condition work but when I use the OR condition something weird is happening that the condition not working... and i dont see a record that meets that condition...Hi,
It's not the "trim" that implies "not null", but rather the fact that:
- "not like" operator works only on non-null values and
- "not like" operator disregards null values.
Consider this:
test@ORA92>
test@ORA92>
test@ORA92> l
1 with x as (
2 select null as y from dual union all
3 select 'a9999' from dual union all
4 select 'bxx' from dual
5 )
6 select * from x
7* where y not like '%9999'
test@ORA92>
test@ORA92> /
Y
bxx
1 row selected.
test@ORA92>
test@ORA92>Here, trim function was not used, but still the first row (that had null for y) was not returned. That's because Oracle disregarded the first row for comparison and out of the next two rows, it returned the third row because it satisfied the condition.
As for your query, do the following conditions hold true:
1. if status_code is null - show the row regardless of order_type
2. if status_code <> 'T' - show the row regardless of order_type
3. if status_code in (a,b,c,d) and order_type is not null and order_type ends with something other than 9999 - show the row
4. if status_code in (a,b,c,d) and order_type is null - do not show the row
5. if status_code in (a,b,c,d) and order_type is not null and it ends with 9999 - do not show the row
6. if status_code is anything other than (a,b,c,d) - do not show the rowpratz -
IF-condition not working in sap script??????
hi,
i am trying to chk one condition in sap script using if statement....but it is not working at all.
statement i am writing is :-
/: IF &IST_ITEM-SAD_PRINT& <> 0
p7 ,,,,,,,,,,,,,,,,SAD,, 4.00 &IST_ITEM-SAD_PRINT&
/: ENDIF
value for IST_ITEM-SAD_PRINT is coming as it is shown while debuging .
eventhen control is going inside if statement independent from the value of IST_ITEM-SAD_PRINT
how to use if statement properly....
regards
DeepakHi,
Declare a dummy variable of type IST_ITEM-SAD_PRINT and then use that variable in sapscript..
Ex..
<b>Print program</b>
DATA: V_DUMMY LIKE IST_ITEM-SAD_PRINT.
<b>Sap script</b>
/: IF &IST_ITEM-SAD_PRINT& <> <b>&V_DUMMY&</b>
p7 ,,,,,,,,,,,,,,,,SAD,, 4.00 &IST_ITEM-SAD_PRINT&
/: ENDIF
Thanks,
Naren -
Custom Pricing Conditions not working for a PO in SRM
Hi Experts,
We are on SRM 5.0, ECC 6.0 , Extended Classic Scenario.
We configured the pricing conditions in SRM . We defined the our custom pricing condition types as below
Condition type --- Condition Class --- Calculation Type
Frieght(%) --- Prices --- Percentage
Frieght Value --- Prices --- Fixed Amount
We also defined the Calculation Schema.
But when we try to define the pricing conditions in SRM during PO creation\change , the standard pricing condition types work but when we input the above defined custom pricing condition type, the value entered gets cleared. Pricing Overview is not calculating the values of the custom Pricing condition types.
Please assist as where i have gone wrong. Do I need to run any standard report for pricing or do i have to implement any BADI.
Thanks,
Addy.Hi Sanjeev,
I have run SM52 and VMC is active with 4 VM's .
Please suggest.
Thanks,
Addy.
Edited by: Addy1209 on Nov 18, 2010 4:28 PM -
Hi all the is code i have used
DECLARE
CURRENTRECORD NUMBER;
BEGIN
DECLARE
CURRENT_DISCOUNT NUMBER;
CURRENT_REASON VARCHAR2(100);
BEGIN
CURRENT_DISCOUNT:=:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_RATE;
CURRENT_REASON:=:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_REASON;
CURRENTRECORD :=:SYSTEM.CURSOR_RECORD;
IF :XXSY_DISCOUNT_MANAGER_V.DISCOUNT = 'Y' THEN
FIRST_RECORD;
WHILE TRUE LOOP
:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_RATE:= CURRENT_DISCOUNT;
:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_REASON:= CURRENT_REASON;
IF :System.Last_Record = 'TRUE' THEN
:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_RATE:=CURRENT_DISCOUNT;
:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_REASON:=CURRENT_REASON;
EXIT;
ELSE
NEXT_RECORD;
END IF;
END LOOP;
END IF;
END;
END;
it is not working properly,for record to record values is changing.for 1st record it is ok ,2nd record itis dispalying 1st record like that..
plss help me in this condition
Rgards
SivaDECLARE
CURRENTRECORD NUMBER;
CURRENT_DISCOUNT NUMBER;
CURRENT_REASON VARCHAR2(100);
BEGIN
CURRENT_DISCOUNT:=:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_RATE;
CURRENT_REASON:=:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_REASON;
CURRENTRECORD :=:SYSTEM.CURSOR_RECORD;
IF :XXSY_DISCOUNT_MANAGER_V.DISCOUNT = 'Y' THEN
FIRST_RECORD;
LOOP
:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_RATE:= CURRENT_DISCOUNT;
:XXSY_DISCOUNT_MANAGER_V.DISCOUNT_REASON:= CURRENT_REASON;
EXIT WHEN :SYSTEM.LAST_RECORD='TRUE';
NEXT_RECORD;
END LOOP;
END IF;
END;
Is the condition ":XXSY_DISCOUNT_MANAGER_V.DISCOUNT " true for more than 1 record....??????
Is there any error....?????
Are there displayed in your block more than one record...?????
Transform the above code and execute it in sql plus..... as db procedure..... Are the results as expected....?????
Greetings,
Simon -
** XPath condition not work well in Receiver Determination.
Hi,
My scenario is having 3 receivers. I have 'Student' is the data type. I use the same data type for Source & Target Message Types. Requirement is I have to send
1) only records which are having SCOURSE = 'BE' to receiver 1
2) only records which are having SCOURSE = 'MCA' to receiver 2
3) only records which are having SCOURSE = 'MBA' to receiver 3
My Input.xml file contains the following records.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:THIRD_MT_OB xmlns:ns0="http://ganesh_third">
<STUDENT_INFO>
<ST_ID>10020</ST_ID>
<SNAME>Raja</SNAME>
<SCOURSE>BE</SCOURSE>
<SFEES>3000</SFEES>
<SMARKS>1200</SMARKS>
</STUDENT_INFO>
<STUDENT_INFO>
<ST_ID>10021</ST_ID>
<SNAME>Ram</SNAME>
<SCOURSE>MCA</SCOURSE>
<SFEES>3000</SFEES>
<SMARKS>1200</SMARKS>
</STUDENT_INFO>
<STUDENT_INFO>
<ST_ID>10022</ST_ID>
<SNAME>Ram</SNAME>
<SCOURSE>MBA</SCOURSE>
<SFEES>3000</SFEES>
<SMARKS>1200</SMARKS>
</STUDENT_INFO>
</ns0:THIRD_MT_OB>
I set the Xpath condition in the Receiver Determination Step and add the 3 receivers for against the conditions.
Our problem is, If we send the single record in the input file, the corresponding receiver is selected correctly and we get the output file for that receiver. But, if we send the all combination of records (MCA,BE,MBA) 3 receivers are selected and the 3 output files we get. But, the three files are having the all records (MCA,BE,MBA). Instead, we want the first file should only have MCA record, the 2nd file should only have BE record and finally the 3rd file should only have MBA record. That means each receiver should receive only one record for the above input.
Friends, I though it will work for the 'XPath Expression' against receivers in the Receiver Determination Step. But, it didn't work. (Records are not split up)
How do achieve this, friends?
Could you kindly help me to solve this problem.
Kind Regards,
Jeg P.If you are trying to split you input msg and send it to 3 different receivers using conditional receiver determination then it will not work. Once a condition is meet in the receiver determination then the entire msg is forwarded to the corresponding receiver, that is why when you have a single row in your input file which results in a single msg in XI the conditional receiver works. Now when you have multiple rows in your input file still only one msg is being created in XI for all the rows currently so all the conditions are being meet and the msg is forwarded to all the receivers.
If you are using FCC in the sender side then use the "recordset per msg" parameter to consider each row of your input file as a separate msg in XI and the rest will automatically fall in place.
Cheer's -
Receiver Determination-Condition not working
Hi all,
It is simple iDoc to File scenario. I have two receivers based on a condition in the receiver determination. I am getting all data into both receivers without executing the condition.
Below is the condition. Any idea why this is not being executed? Thanks for your help.
(/ZGENERIC_OUTBOUND01/IDOC/Z1GENERIC_SDATA/SDATA = '1C')
(/ZGENERIC_OUTBOUND01/IDOC/Z1GENERIC_SDATA/SDATA = '1B')> <?xml version="1.0" encoding="UTF-8" ?>
> - <ZGENERIC_OUTBOUND01>
> - <IDOC BEGIN="1">
> - <EDI_DC40 SEGMENT="1">
> <TABNAM>EDI_DC40</TABNAM>
> ......
> ......
> </EDI_DC40>
> - <Z1GENERIC_SDATA SEGMENT="1">
> <SDATA>1C</SDATA>
> </Z1GENERIC_SDATA>
> - <Z1GENERIC_SDATA SEGMENT="1">
> <SDATA>1C</SDATA>
> </Z1GENERIC_SDATA>
> - <Z1GENERIC_SDATA SEGMENT="1">
> <SDATA>1B</SDATA>
> </Z1GENERIC_SDATA>
> </IDOC>
> </ZGENERIC_OUTBOUND01>
You cannot have both the conditions in same IDOC at the same time. Like here in the above example you have 1C & 1B both, so in this situation it will not work.
Just for testing either remove 1C or 1B and then test. I am sure it will work.
You cannot send the same payload at the same time based on two different conditions to 2 different receivers except you put 'OR' in your conditon for 1C & 1B. But in this situation message will go to both of the receivers which you don't want here.
Regards,
Sarvesh -
Oracle equals_path condition NOT working with table and materialized view
The user i am using is xdb with dba role.
1.When i try to use the statement
SELECT PATH FROM xdb.path_VIEW
WHERE
EQUALS_PATH(res, '/home/OE/PurchaseOrders/2002')=1
the result is
/home/OE/PurchaseOrders/2002
2. When i drop the path_view and recreated it like materialized view with statement
create MATERIALIZED view path_view as
select /*+ ORDERED */ t2.path path, t.res res,
xmltype.createxml(xdb.xdb_link_type(NULL, r2.xmldata.dispname, t.name,
h.name, h.flags, h.parent_oid, h.child_oid),
'http://xmlns.oracle.com/xdb/XDBStandard.xsd', 'LINK') link,
t.resid
from ( select xdb.all_path(9999) paths, value(p) res, p.sys_nc_oid$ resid,
p.xmldata.dispname name
from xdb.xdb$resource p
where xdb.under_path(value(p), '/', 9999)=1 ) t,
TABLE( cast (t.paths as xdb.path_array) ) t2,
xdb.xdb$h_link h, xdb.xdb$resource r2
where t2.parent_oid = h.parent_oid and t2.childname = h.name and
t2.parent_oid = r2.sys_nc_oid$
then the equals_path condition STOP working !!!
3. The same experiment, but i recreate it like table
create table path_view as .... using the rest of the statement ...
Can someone help me to understand why equals_path is NOT working on table and materialized view !Thanks Jonah. I was under the impression that I already had it but seems like it has to be a direct priv - thru a role doesn't work.
I granted the reqd privs and then it worked fine. Thx for your help! -
Date Condition Not Working ,Value not cming in to item.
Hi Friends,
i have create a form for palce order and i have create a MASTER table for fixed item Rate between two date with price code like A,B,C,D .
In Form i have for Item
:P1_ORDER_DATE
:P1_ITEM_CODE
:P1_PRICE_CATEGORY Select List With Submit
:P1_ITEM_RATE
In Item rate i have put in Source ,
Source Type --SQL Quary
Source Vale
select RATE_1 from SAM_ITEM_MAS where ITEM_CODE =:P1_ITEM_CODE and PRICE_CATEGORY=:P1_PRICE_CATEGORY and :P1_ORDER_DATE
between FROM_DATE and TO_DATEMy Table
CREATE TABLE "SAM_ITEM_MAS"
( "ID" NUMBER NOT NULL ENABLE,
"ITEM_CODE" NUMBER,
"PRICE_CATEGORY" VARCHAR2(5),
"FROM_DATE" DATE,
"TO_DATE" DATE,
"RATE_1" NUMBER,
CONSTRAINT "SAM_ITEM_MAS_PK" PRIMARY KEY ("ID") ENABLE
/that code's not working but if i run this code in to SQL Command Then it's work fine.but not in to ITEM :P1_ITEM_RATE .
i want when i select P1_PRICE_CATEGORY Like A,B,C,D then Respective Rate from Table SAM_ITEM_MAS should come in to item :P1_ITEM_RATE .
Oredr date condition is not working.
Thanks
Edited by: 805629 on Dec 28, 2010 11:32 PMHi,
Have you tried casting the item values as dates using TO_DATE():
select RATE_1
from SAM_ITEM_MAS
where ITEM_CODE =:P1_ITEM_CODE
and PRICE_CATEGORY=:P1_PRICE_CATEGORY
and TO_DATE(:P1_ORDER_DATE,'DD/MM/YYYY') between "FROM_DATE" AND "TO_DATE"(change the date format string to match the format of the P1_ORDER_DATE page item)
You should probably change the name of the field to something other than TO_DATE as this is an Oracle function name - try DATE_FROM and DATE_TO or START_DATE and END_DATE or something like that. Otherwise you may have to use the double-quotes as I have shown above
Andy -
Condition not working if Part Number is not included in result
Good day
Please assist with the following?
A user wants to display a summary of values for different key figures on all Parts belonging to certain vehicle categories. One of the key figures (KF1) must only display values > (greater than) u20180u2019. He does not want the Part number to display in the report, but KF1 must be based on the individual values of the parts, example if Part V001 has amounts u201C-R200.00u201D, u201CR10.00u201D and R20.00u201D, the summary total to be displayed in the result must = u201CR30.00u201D. (u201C-R200.00u201D must not be included)
I have created a condition on this key figure (KF1) where I indicated the value > 0. When I run the query, the condition does not work on the summary of data, it still includes the values < (smaller than) u20180u2019.
Is there a way I can display the correct values?
Thanks in advance.
CjI am not sure if I understood your problem correctly. But to me seems like your problem can be solved at aggregates. I didnt understand your problem correctly, but let me put some pieces together and see of that helps you.
Lets say you have 3 different KFs.
KF1__KF2__KF3
-200__10___20
100___20___20
Now if you create a fourth KF (CKF), you dont want to consider the negative values of KF1. Meanging CKF should display 30 and NOT -190.
If that is the case for KF1, only, you can create one CKF1 which will calculate either 0 (if KF1 value is less than 0) or the KF1 value (if KF1 value is > 0). After this, your scenario will be,
CKF1 = (KF1 > 0)*KF1+0
KF1__CKF1_KF2__KF3
-200____0____10___20
100__100_____20___20
After that create second CKF2 to sum CKF1 + KF2 + KF1
KF1__CKF1__KF2__KF3__CKF2
-200_____0___10___20____30
100____100___20___20____140
Now if your problem is that if part is not part of query result, you sitll want to perform this calculation at part level. In that case, you can create an exception aggregation for CKF2 as part level. So, even if part no is not in query, the calculation will be performed at part no level.
- Dhaval. -
XI - Receiver Determination Condition not working
I created a Condition on my Receiver Determination to stop some messages from being sent based on a field in our message.
It works when using some test tools (workbench, SOAPUI, etc) but not when coming from our MDM system. The beginning of the input message looks like what is listed at the bottom of this message(and it works).
But when coming from MDM the one node looks like this - there is no colon ( after the xmlns.
<YMDMB_CREMDM xmlns='http://intel.com/MDM/BUPA/Vendor'
without the colon ( the condition does not work; with the colon it does work.
the sending system is not able to add the colon.
Does anyone know why the colon matters and what we can do to get around it in XI ??
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Receiver Grouping -->
<YMDMB_CREMDM xmlns:='http://intel.com/MDM/BUPA/Vendor' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<IDOC BEGIN='1.0' xmlns=''>below is the beginning of the XSD from the IDOC (it is custom but based on a SAP one - just added a few fields)
I also put the start of the input message below that.
also to make sure I was clear, if all we do is change this node of the input message by adding a colon after the xmlns everything works.
<YMDMB_CREMDM xmlns='http://intel.com/MDM/BUPA/Vendor'
thanks
begging of XSD from IDOC
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="YMDMB_CREMDM">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="IDOC" type="YCREMDM.YMDMB_CREMDM" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="YMDMB_CREMDM.E1BPADTTX">
here is beginning of input message
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Receiver Grouping -->
<YMDMB_CREMDM xmlns='http://intel.com/MDM/BUPA/Vendor' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<IDOC BEGIN='1.0' xmlns=''> -
Select condition not work, possible mistake
I have simple select like
String sStatus=req.getParameter("processStatus")==null?"":req.getParameter("processStatus");
I can get the value of
sStatus
but my else is not working, what is the possible mistake?
if(sStatus.equals("#"))
Sql+=" and basicStatus=1 order by family_income asc ";
else
Sql+=" and basicStatus=1 and ProcessStatus='"+sStatus+ "' order by family_income asc ";
I try sql in db db like and basicStatus=1 and ProcessStatus='"New' order by family_income asc it work fine, so??
Thank youHi jverd,
thank you fot the reply, but before I only nedd to executeQuery my sql once, but, if I use PreparedStatement, then I have to
executeQuery as many as the conditions I have , any way, right now I change my code to
String Sql="SELECT * FROM student2 as s, student_financial_info2 as f where s.student_id=f.student_id ";
//search for Id, so we don't care about status and how many row in one page
if (university_ID !=""){
Sql+=" and s.student_id=? order by family_income asc ";
ps = conn.prepareStatement(Sql);
ps.setString(1,university_ID );
ps.executeUpdate();
connectionPool.returnConnection(conn);
//for group search
else{
if(search.equals("All")){
if(basicStatus.equals("basicStatus"))
Sql+=" and ProcessStatus=? and basicStatus=? order by family_income asc ";
Sql+=" limit " + currentRow + ",100";
ps = conn.prepareStatement(Sql);
ps.setString(1, FStatus);
ps.setInt(2,1);
ps.executeUpdate();
connectionPool.returnConnection(conn);
//for department search
else{
if(basicStatus.equals("basicStatus")){
Sql+=" and faculty =? and ProcessStatus=? and basicStatus=? order by family_income asc";
ps = conn.prepareStatement(Sql);
ps.setString(1, search);
ps.setString(2, FStatus);
ps.setInt(3,1);
ps.executeUpdate();
connectionPool.returnConnection(conn);}
else{
Sql+=" and faculty ='"+search+ "' order by family_income asc";
ps = conn.prepareStatement(Sql);
ps.setString(1, search);
ps.executeUpdate();
connectionPool.returnConnection(conn);
}// out elseI get error on String Sql="SELECT * FROM student2 as s, student_financial_info2 as f where s.student_id=f.student_id ";
//search for Id, so we don't care about status and how many row in one page
if (university_ID !=""){
Sql+=" and s.student_id=? order by family_income asc ";
ps = conn.prepareStatement(Sql);
ps.setString(1,university_ID );
ps.executeUpdate();
connectionPool.returnConnection(conn);
//for group search
else{
if(search.equals("All")){
if(basicStatus.equals("basicStatus"))
Sql+=" and ProcessStatus=? and basicStatus=? order by family_income asc ";
* Sql+=" limit " + currentRow + ",100";*
* ps = conn.prepareStatement(Sql);*
* ps.setString(1, FStatus);*
* ps.setInt(2,1);*
* ps.executeUpdate();*
* connectionPool.returnConnection(conn);*
//for department search
else{
if(basicStatus.equals("basicStatus")){
Sql+=" and faculty =? and ProcessStatus=? and basicStatus=? order by family_income asc";
ps = conn.prepareStatement(Sql);
ps.setString(1, search);
ps.setString(2, FStatus);
ps.setInt(3,1);
ps.executeUpdate();
connectionPool.returnConnection(conn);}
else{
Sql+=" and faculty ='"+search+ "' order by family_income asc";
ps = conn.prepareStatement(Sql);
ps.setString(1, search);
ps.executeUpdate();
connectionPool.returnConnection(conn);
}// out else
I got error on the blod part JDBC error:Parameter index out of range (1 > number of parameters, which is 0).
java.sql.SQLException: Parameter index out of range (1 > number of parameters, w
hich is 0). How com the index is start on 0?
Thank you -
Xpath condition not working for determining receivers
hello all
am writing a xpath expression for a simple structure
<doc>
<status>
<id>
</doc>
status is attribute field.and will have value 'error' and some other value for no error. I want to choose one receiver if error and other receiver if no error
so I wrote an xpath expression
/Doc[@status='Error'] EX --> Error receiver
count(/Doc[@status='Error']) = '0' --> no error receiver
it was working couple of days ago but suddenly stopped working
whats going on? thx
mikeBut xpath is not working properly..
Are you using this in the condition editor of Interface Determination (it should not be a cause of concern though)
Can you confirm that the condition that you have specified is proper ....does it work when you specify only one condition?
Regards,
Abhishek. -
Fault policies locaton and test xpath conditions not working.
I cant place fault policies files in a non mds location or the composite directory.
For example it does not work with an /opt/...... server path in the composite.xml property.
Also, I can't get working xpath test expressions like this:
<condition>
<test xmlns:elem="http://na.telefonica.com/elementoscomunes">$fault.fault0/elem:AREA_ERROR/ErrorType = "F"</test>
<action ref="reintentos-neon"/>
</condition>
In jdeveloper, the part is "fault0", and the subelements are like i've showed, but the condition never matches.
I saw in a forum that the sintax was $fault.nameofpart/xpathexpression, but doesn't seem to work. I've tried lots of permutations of the syntax, and also with 'F' instead of "F".
¿Any Idea?This is the exception in the server GUI
<fault>
<bpelFault>
<faultType>1</faultType>
<OBA_Par_Alta_AveriaFault>
<part name="fault0">
<elem:AREA_ERROR>
<ErrorID>8888</ErrorID>
<ErrorType>F</ErrorType>
<ErrorDesc>Afsafds</ErrorDesc>
</elem:AREA_ERROR>
</part>
</OBA_Par_Alta_AveriaFault>
</bpelFault>
</fault> -
Iu2019m trying to create a new Tree type for INPUT DMEE. format. This is already working but Iu2019m having a problem in the tab conditions.
My input file has a field that can have u201C+u201D or u201Cu2013u201C and I want to transform in u201CDu201D and u201CCu201D.
My condition is:
Arg 1-1: ZDMEETYPE (structure)
Arg 1-2: SENTIDO02 (field)
Type: 2
Operator: =
Arg 2-1 : '+'
Type: 1
If I didnu2019t put this condition the field in output file will be u201C+u201D or u201C-u201C.
If I put this condition it will be always blank and it should only fill the u201C+u201D where it appears.
If I put this condition and in Mapping condition put flag u201CUse constant Instead of Source Valueu201D and put u201CDu201D all my records will have u201CDu201D.
My conclusion is that the condition is wrong or not working.
Can anyone help me ?
Best Regards,
Cláudio PereiraI am writing the condition inside the button
Ive picked,
Condition Type :
Value of Item / Column in Express 1 != Expression 2
Expression 1 :
P151_STATUS
Expression 2:
Completed
Thanks
Maybe you are looking for
-
My laptop A305-S6857 doesn't work.
Hi all, I have a problem with my laptop. I press the power key, the light on the keyboard goes on but the screen is blank. I was looking for a drama online last night, when I switched back to facebook, the message went on my screen:" Shutdown your c
-
In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol by using shift <, why ??
-
How to view Table names?
Dear gurus.... can u tell me how to view or whats the Tcode to view table names like for PO its CEKKO and for PR its CEBAN and RFQ,Service etc?? Thanks
-
Earlier via live chat option I received a $2000 increase to my walmart store card and $1500 to my Amazon store card, and decided to go for my Zales card and received an $800 increase, to a total of $2000. May be time for a new gift . $4,300 increase
-
Have a java based application displaying query results from an oracle database. Sorting is done using "ORDER BY (CASE WHEN SUBSTR(field_name, 1, 1) BETWEEN '0' AND '9' THEN 0 ELSE 1 END) || NLSSORT(field_name, 'NLS_SORT = GERMAN_AI')". Sorting is cor