Problem evaluating a condition

Hi
I'm getting an error in the receiver determination when I'm using a context object.
The error is "Problem extracting values from the Payload: Check line 2 column 1 of the XML document".
This is my paylod
"<?xml version="1.0" encoding="utf-8"?>
<ns:MT_XML_UNF xmlns:ns="http://dddd.com/XI/dddd">
     <MESSAGE>
          <TYPE>S</TYPE>
          <BODY>x</BODY>
     </MESSAGE>
</ns:MT_XML_UNF>
Can somebody explain me witch one is line 2 column 1 and maybe what is the problem?
Florin

> "<?xml version="1.0" encoding="utf-8"?>
> <ns:MT_XML_UNF xmlns:ns="http://dddd.com/XI/dddd">
>      <MESSAGE>
>           <TYPE>S</TYPE>
>           <BODY>x</BODY>
>      </MESSAGE>
> </ns:MT_XML_UNF>
Check the condition in the Receiver Dertermination...also check you paylod value and Type should match with the condition.

Similar Messages

  • "Problem evaluating a condition" at Receiver Determination

    Hi,
    I've created a complex mail to rfc interface, in which, message is being send as mail attachment  and service inbound interface has multiple operations (each for corresponding rfc).
    at Receiver Determination, rule was created with multiple conditions, in order to determine correct "Communication Component" (multiple receiver agreement and  interface determination were created to supported this "multi interfaces" scenario).
    If no receiver was found message is ignored.
    once in a while, bad non-xml messages (e.g., "asdfasdfasdfffdfdsasdf") are being send,  is this case, while PI is trying to determining the receiver (i.e., evaluate Receiver Determination conditions) exception is being thrown, message is therefor has system error status* (at sxmb_moni) and it can not be ignored (as i wanted it to be).
    how can i workaround this problematic scenario?
    Regards
    Uri
    *Error message (sxmb_moni)
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem evaluating a condition: An exception has occurred.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error when determining the receiver: Problem evaluating a condition: An exception has occurred. Problem evaluating a condition: An exception has occurred. An exception has occurred. An exception has occurred. An exception has occurred. An exception has occurred. An exception has occurred. Problem extracting values from the Payload: Check line 2 column 1 of the XML document</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Abhishek,
    10x for your replay, but as far as i understand this is exactly the case here.
    conditions are:
    cond1: (/rfc: RFC1 ~ *)
    cond2: (/rfc: RFC2 ~ *)
    this works as expected in cases of xml messages (in case no cond is satisfied) message is ignored. but, in case of non-xml message exception is being thrown while cond is assessed.
    Regards
    Uri

  • Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred

    Hi all,
    I have a scenario MAIL TO PROXY, and i would like to receive incorrect xml files and send an answer telling this error.
    My problem is in the receiver determination, an error is produced as "Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred".
    Is there any way to solve this and send an email as an answer?

    Hi,
    Can you provide the whole error message ?
    Check out this thread : Re: Error in Receiver Determination
    Thanks,
    Pooja Pandey

  • Problem using a conditional suppress in a cross-tab ?

    is there a problem using a conditional suppress in a cross-tab on a row  or summarized field  in crystal XI?
    I am using the following conditional suppress on a summarized field and its rows
             If {@SortCode}=4 then true;
    Sortcode is a group sorting formula field
    the summarized field is a formula field as well.
    All of the summarized fields are suppressed although the cross- tab performs correctly on @Sortcode  and the summarized field when not using the condition        
    it seems to me to be a reporting flow issue although i've included "whileprintingrecords" and "evaluateafter" with no success.
    i have also moved the cross-tab from the report header to group header and applied a conditional suppress on the group header through section expert.
    this supresses the group i dont want but includes grand totals for each group and also varys the number of columns
    i can't filter on sortcode because one of the grand total calculations requires those records and a subreport or second cross-tab does not contain the same number of columns
    the cross-tab is necessary as a client may have columns spanning one to many pages
    thanks for your help

    Hi I have a similar problem,
    I have an clock in solution, where i have some dates with data such as, various entries for a date eg, 01/11/2010 1hr, 01/11/2010 3 hrs etc, 03/11/2010 2hrs , 05/11/2010 4.5hrs, 05/11/2010 4 hrs so i need total for each day and highlight only those days, where total is less than 4.5, including days which donu2019t have records eg 02/11/2010 & 04/11/2010, I summarise in totals using a cross tab, to get summarised output for each day as,
                Totals
    01/11/2010    4
    03/11/2010    2
    05/11/2010    8.5
    in order to get the dates which didnu2019t have records, i added a dataset from Excel spreadsheet where i just have a sequential dates for the year , and use record selection to select only those dates in range which i need to display, so the result i get
    01/11/2010    4
    02/11/2010    0
    03/11/2010    2
    04/11/2010    0
    05/11/2010    8.5
    so far so good, all using cross tab, now i want to suppress rows which have total > 4.5 so the result should be
    01/11/2010    4
    02/11/2010    0
    03/11/2010    2
    04/11/2010    0
    How can i do that?

  • Problems w/ race conditions when using attachmovie

    Hello,
       I'm having a strange problem w/ race conditions when using attachmovie.
    I have a class linked to a movie clip that I'm attaching to the stage.   The class is
    fired off when the movie clip is attached but also other classes are getting loaded at the same time
    while the movie clips is attached.     Even though the other classes are called after the
    movieclip is attached, they are getting loaded faster and therefor the class linked to the attached movie clip
    cannot access their functions. 
    I'm looking for a listener that will fire off an event ONLY when the attached movieclip is fully loaded but I can't
    seem to find any examples of associating a listener to a attachmovie method.
    Any ideas?
    Thanks,
    Clem C

    flash is single threaded so nothing happens simultaneously.  what do you mean by, "other classes are getting loaded at the same timewhile the movie clips is attached"

  • Problem with pricing condition table - Urgent

    Hello,
    I have created a new condition table ' 627 ' in ECC, and i want to transfer the condition table to CRM.
    I did initial download for objects "DNL_CUST_CND" , "DNL_CUST_PRC".
    how can i transfer the condition table.
    Full points will be rewarded.
    regards
    yaswanth.k

    Hi,
    You have to create the new Adapter Object in R3AC5 for the newly created conditional table 627.
    Take the standard adapter like DNL_COND_A011.
    create the new Z adapter like ZDNL_COND_A627.
    In the table/structure tab replace the A011 by A627 and do remaining settings as it is.
    now u can carry out the inital download.
    i think this will solve your problem.
    Let me know the status?

  • Problem with pricing condition type in case of proforma invoicing

    Hello All,
    the problem is related to a pricing condition type in case of proforma invoice where the details are as follows -
    Name of Condition Type - ZADC - Add 10% on Cost                                         Access seq.   Z038 Diff
                                                                                    Plus/minus    A Positive
    Cond. class -  A Discount or surcharge
    Calculat.type -  A Percentage
    Cond.category - Blank
    Manual entries      D Not possible to process manually
    Amount / Percent - Checked
    Item Condition - checked
    Scale Basis - Quantity
    Currency Conversion - Checked
    Quantity Conversion - Checked
    This condition type has been kept as statistical in the pricing procedure. Still in the proforma invoice the condition type is not getting reflected automatically , whenever I am updating with " carry out new pricing " option the condition type is getting populated.In case of other commercial invoices this very condition type is getting populated automatically without any updates.Along with this point to be noted is that the Condition type in which the actual costi is captured has been kept active.
    What more needs to be configured or what are the changes to be done to populate the condition type automatically as statistical during the time of proforma invoicing?
    Thanks & Regards
    Priyanka Mitra

    Hi,
    Kindly do the pricing analysis and check whether you have the following error such as
    Inactive condition type because of subsequent price,
    Regards,
    Ravi

  • Problems with the condition for a switch in our IntegrationProcess

    Hi,
    we're relatively new in using the XI-IntegrationBuilder and we have a small problem.
    We try to define a switch-condition to perform two different Transformations depending on a specific value of a message element.
    The condition looks like this:
    (IncomingRequest./p1:MT_XI_REQUEST/status = donormal)
    Both 'sides' of the condition are of the type (xsd:string).
    But it seems the condition is not working in the right way.
    It always uses the Transformation 'merge' (pls see image of IntegrationProcess->here the Transformation is shown as 'me').
    <a href="http://www.edwebservice.de/uploads/a1a956a10f.jpg">Image of sampleprocess</a> (this is only a testprocess to show  what we want to do)
    For testing we already run the process without the switch (making it linear), by using each transformation occurring in the switch on its own. Both tests worked well and returned the expected different values. But as mentioned above when we're using both Transformations in the switch, always the Transformation 'merge' is performed.
    It does NOT matter if the Transformation 'merge' is placed in the 'if' or in the 'otherwise' branch. It does NOT matter what value (true/false) the condition should return.
    Maybe its a basic desing-problem of our process? 
    <b>Any suggestions will be appreciated</b>
    Regards!
    Georg
    Our systemenvironment:
    Runtime
    Java version:1.5.0_01
    Java vendor:Sun Microsystems Inc.
    Version
    Service pack:15
    Release:NW04_15_REL
    Latest change:15767
    Sync time:200603080654
    ps: we already checked the OSS note 890760 for resolution. but this didn't solve the problem.

    Hi!
    @Peter:
    1) the namspaces are the same. we ckecked it already.
    2) status is an element NOT an attribute
    3) it is the same value (no blanks etc.)
    we will try to run XI with 1.4.2
    @Udo:
    We know how to use XPath a litte bit and were to customize an expression in the conditioneditor. We only thought that you could mean a 'special functionality' of XI
    Thanks for your ideas so far!
    Regards!
    Georg

  • Problem evaluating boolean in XSLT

    Hi,
    I am running into a wierd problem. I have a small BPEL process with input schema as shown below.
    <element name="testIssuesProcessRequest">
    <complexType>
    <sequence>
    <element name="boolValue" type="boolean"/>
    <element name="dateValue" type="date"/>
    <element name="timeValue" type="time"/>
    </sequence>
    </complexType>
    </element>
    In my BPEL process I have a switch statement which checks the value of boolValue and takes the appropriate path. The problem is this variable is always evaluating to true(I tried using true, false, 0, 1). The function I am using is
    bpws:getVariableData('inputVariable','payload','/client:testIssuesProcessRequest/client:boolValue')
    I tried the similar approach in XSLT and it is the problem
    /ns1:testIssuesProcessRequest/ns1:boolValue = true()
    I am not sure what I am missing. Is there a different way to treat boolean values
    in xslt? Any pointers will be of great help.
    Thanks
    Raj

    Use < instead of < symbol, if your javascript doesnt need to be generated from some template from some XML value you also could insert it into a CDATA section.
    I hope it can help you.

  • Problem in IF condition

    Hi All,
    I am facing a problem in the if condition below, here the IF statement checks only the 1st condition and even if it does not satisfy it populates the error message.
        IF ( ( ( T_EBAN-BSART = 'FO'      OR
                 T_EBAN-BSART = 'ZX'      OR
                 T_EBAN-BSART = 'NB'  )   AND
             (   T_EBAN-KNTTP = 'Y'   ) ) AND
           ( (    AUFK-AUART = 'ZIN1' )   OR
             (    AUFK-AUART = 'ZIN2' )   OR
             (    AUFK-AUART = 'ZIN3' )   OR
             (    AUFK-AUART = 'ZIN4' ) ) ).
        IF T_EBKN-SAKTO is not initial.
    *Condition 1
        IF T_EBKN-SAKTO < '3000000'.
          t_message-type     = 'E'.
          t_message-id       = 'MID'.
          t_message-number   = '028'.
          append t_message to ex_messages.
    *Condition 2
        ELSEIF TEMP_SAKTO > '3900000'.
          t_message-type     = 'E'.
          t_message-id       = 'MID'.
          t_message-number   = '028'.
          append t_message to ex_messages.
        ENDIF.
        ENDIF.
        ENDIF.
    Here even if the value of T_EBKN-SAKTO is greater or less than the given value the IF condion executes only for the 1st logic and not for the seceond logic.
    Help and suggestions will be much appreciated.
    Thanks.
    Kumar

    You need to pad the comparison field with zeroes:
    ELSEIF TEMP_SAKTO > '0003900000'.
    Rob

  • Problem with or condition in if statement

    Dear Oracle experts,
    I have a strange problem with Oracle 10g1R1 :
    The script below should normally write the value 1, 2, 3, 4, 5, 7, 9, 10 into my table.
    But itwrites all the values from 1 to 10 into my table.
    Only if I use only one condition without the 'or' the
    if condition is successful.
    Is this a normal behaviour of the database ?
    If yes, then why ?
    Best regards,
    Daniel Wetzler
    create table messages (results varchar2(30));
    declare
    var1 number;
    begin
    for i in 1..10 loop
    dbms_output.put_line(i);
    if (i != 6) or (i != 8)
    then
    insert into messages results values (i);
    end if;
    end loop;
    commit;
    end;
    /

    You want to use AND for that condition, not OR
    SQL> begin
      2  for i in 1..10 loop
      3     if (i != 6) and (i != 8)
      4     then
      5        dbms_output.put_line(i);
      6     end if;
      7  end loop;
      8  end;
      9  /
    1
    2
    3
    4
    5
    7
    9
    10

  • Problem with multiple condition type for VAT &CST

    Hi,Gurus,
    pl. suggest  the procedure for the following problem.we configured  seperate  pricing procedures for our product material and scrap material.We have configured same condition types for VAT(ie.condition type:ZVAT) and CST(cond type:ZCST), in both pricing procedures. Now We want to maintain  seperate condition types for VAT and CST for pricing procedure for Product material and Scrap material. I have created two new condition types for scrap sales ZSCT- cst for scrap and ZSVT-vat for scrap by copying the same from existing conditions ZCST & ZVAT, and the same is included in the scrap pricing procedure. And also maintained OB40,OBCN,OVK1,OVK3,OVK4, FTXP,FV11 and VK11.
    now I am facing the following problems.
    1. while creating the Material master & customer master, in tax category sub screen all conditions i.e. conditions defined for  product material( ZCST,ZVAT) and defined for scrap material (ZSCT, ZSVT) displaying and these are compulsory fields.
    2. While creating the sale order for scrap material, system is considering the TAX classes from ZVAT/ ZCST (defined for product material) and taking the condition value from the condition type ZSVT/ ZSCT with the TAX class values of  ZVAT/ZCST.
    Now I would like to know is there any procedure  to assign the Material type and Customer  Account group to Tax category.
    Thanks & Regards
    sam

    Hello Sam,
    The Access Sequence Assigned to your New Condition types ie, ZSCT and ZSVT are same as the Previous Condition type ZVAT and ZCST.
    After Adding new condition type in the Tax category in the Masters you have to take care of the Sequence of the Condition type.
    If ZSCT and ZSVT is on the 3rd and 4th number in the masters the Condition table you are using in the access sequence should have fields  Taxclassification3-Customer and taxclassification3- material. For ZSCT
    Likewise Taxclassification4-Customer and taxclassification4- material. For ZSVT
    Please add New Condition table in the access sequence with the required Field
    And next when you are maintaining the condition record for say ZSCT you will have to maintain condition record for the condition table which has Taxclassification3-Customer and taxclassification3.
    In Document the values will be flown correctly after changing this.
    Hope I have Solved your Query.
    If any Doubt please revert.
    Regards,
    Rohit Dongre

  • Evaluating a condition multiple times

    Suppose I have a SQL query or PL/SQL code that I am using to conditionally fire components during show/accept processing.
    This SQL query/PL/SQL code is expensive, takes a long time to run.
    So, my question is:
    How does the HTML DB engine work? Does it evaluate the condition once per show/accept processing and then "cache" the result (true/false) so that any other component can just re-use that answer without re-evaluating the (expensive) condition?
    Or does it re-evaluate the condition over and over again? (hopefully not)
    Thanks

    The result of the condition would change between evaluation points if it referred to values in session state and stuff.
    But if the query/code were invariant with respect to HTML DB, it could cache the result.
    The shared pool will only cache the execution plan so that the SQL will not be hard-parsed the time, thats a small fraction of a second anyway.
    Coming to think of it, if I am sure the condition will not change then I could just as well run it once-per-page using a Before Header computation to set a hidden item and change my subsequent conditions to just read this hidden item!
    Thanks for your input.

  • PROBLEM to give condition in ADF table column and on pressing enter

    Hi,
    1st problem:
    ========
    I have 1 ADF input text ,
    <af:inputText id="testinp"
    contentStyle="width:200px"
    value="#{adfobj.input1}"
    />
    say user is trying to enter any value , immediately if user presses "ENTER KEY" inside input text only i should invoke managed bean method
    say,
    Test.java
    ======
    public void getData(){
    2) im trying to display an ADF table,
    ADFStandardsLeftMenu=in faces config this name points to "ADFStandardsLeftMenu.java" bean
    mostCommonAgencySelectedList=of type arraylist which is present inside this bean
    this list obj holds 1 "StandardURLData.java" bean object
    accreditedagencyStdSelectedList.add(new StandardURLData("test col"));
    public class StandardURLData{
    private String stdName;
    public StandardURLData(String stdName){
    this.stdName=stdName;
    <af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
    id="t1" width="100%" var="stdURL"
    emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
    inlineStyle="height:500px;">
    <af:column sortable="false" headerText="STANDARD NAME" align="start" id="c1" width="220px"
    inlineStyle="font-weight:bold;">
    <af:goLink text="#{stdURL.stdName}"
    id="sub_pt_gl1"
    destination="#{stdURL.viewerLink}"/>
    </af:column>
    <af:column sortable="false" headerText="FILE NAME" align="start" id="c3" width="220px">
    <af:goLink text="#{stdURL.fileName}"
    id="sub_pt_gl3"
    destination="#{stdURL.viewerLink}"/>
    <af:outputText value="#{stdURL.fileName}"/>
    </af:column>
    </af:table>
    im able to print all the values......
    but i want to include 1 condition in go link,
    like ,
    if "fileName" value (2nd column data) is null or "" (string in StandardURLData bean)
    i should not give hyperlink in 1st column "stdName" column
    i.e.
    (text: stdname should not come in hyperlink)
    <af:goLink text="#{stdURL.stdName}"
    id="sub_pt_gl1"
    destination="#{stdURL.viewerLink}"/>
    could anyone tell me how to give these conditions in adf table.
    in managed bean even if we check it will be prob while generating cols in table
    thanks in adv
    regards,
    sandeep

    Hi,
    If u know the employees who can change the values in other boxes, then follow the below procedure,
    In PBO,
    if employees can change,  (EMP = '....')
    loop at screen.
    if screen-name = 'Name for the input field'.
    screen-input = 1 .
    modify screen.
    endloop.
    else.
    loop at screen.
    if screen-name = 'Name for the input field'.
    screen-input = 0 .
    modify screen.
    endloop.
    endif .
    If u r not still clear, Mention ur problem with example
    Regards,
    Prem Karthick

  • Problem creating Header Condition in BAPI_PO_CREATE1

    Hello Gurus,
       I am having problems with creating a header conditions using the BAPI BAPI_PO_CREATE1. I am filling up table such as: POCONDHEADER, POCONDHEADERX.
    It creates a PO document but the header conditions I supplied is not included.
    How do I go about this?
    Can you guys give a sample code for this?
    Need your urgent response on this matter.
    Thanks,
    Jeffrey

    Hai
    Check the following Code
    DATA: g_s_poheader    TYPE bapimepoheader,
          g_s_poheaderx   TYPE bapimepoheaderx.
    DATA: l_no_messaging       TYPE char1.  
    DATA: bednr                LIKE wvfb-bednr.
    DATA: l_t_return            LIKE bapiret2  OCCURS 0.
    DATA: l_t_poitem          STRUCTURE bapimepoitem,
          l_t_poitemx         STRUCTURE bapimepoitemx,
          l_t_poschedule      STRUCTURE bapimeposchedule,
          l_t_poschedulex     STRUCTURE bapimeposchedulx,
          l_t_poaccount       STRUCTURE bapimepoaccount,
          l_t_poaccountx      STRUCTURE bapimepoaccountx,
          l_t_pocond          STRUCTURE bapimepocond,
          l_t_pocondx         STRUCTURE bapimepocondx.
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader                     = g_s_poheader
          poheaderx                    = g_s_poheaderx
          no_messaging                 = l_no_messaging  "RWI-47-20-messaging
       IMPORTING
          exppurchaseorder             = bednr
      EXPHEADER                    =
       TABLES
          return                       = l_t_return
          poitem                       = l_t_poitem
          poitemx                      = l_t_poitemx
      POADDRDELIVERY               =
          poschedule                   = l_t_poschedule
          poschedulex                  = l_t_poschedulex
          poaccount                    = l_t_poaccount
      POACCOUNTPROFITSEGMENT       =
          poaccountx                   = l_t_poaccountx
          pocond                       = l_t_pocond
          pocondx                      = l_t_pocondx.
    Thanks & regards
    Sreenivasulu P

Maybe you are looking for

  • Error While Running JasperReport in JSP Page

    Dear All i am running Report JasperReport using JSP and i am sure that i attached jasperreports-3.0.0.jar and i am getting this error net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: C:\Us

  • 2 of 3 computers connected to the airport cannot connect to the internet

    I have an airport extreme that is connected to the cable modem, and is set to distribute IP addresses using a single 10.0.1.1 etc. All three computers, a ppc mac mini, a 12" powerbook, and the intel iMac are connected to the base station, and that is

  • SQL Server Data Tools - for visual studio 2013

    Hi I have recently installed Visual Studio 2013 and need to install the SQL Server Data Tools too, as I have done in Visual Studio 2012, but I can not find the software, where can I get it? thanks MsdnMezzo

  • Append Intensity Chart to Report

    Hello everybody I am trying to append an intensity chart to word report generation VI, any ideas to do this? I am thinking about append front panel image to report vi. but it doesn't accept my chart reference. The idea is to send the picture to repor

  • Exist OSDComputerName then Join Domain, if not join workgroup

    I add OSDComputerName into Unknown Computer as below  Right Click "Unknown Computers" and choose Properties. Open Collection Variables tab. Click on the yellow star to add a new variable.  Type OSDComputerName http://www.gerryhampsoncm.blogspot.ie/20