Condition in switch step is not getting checked

Hi Friends,
My requirement is to send the input msg to two receivers based on a condition and get the response. If the condition is true it will either goto both or anyone of the receiver.
I defined two branches in a switch step. In each branch i defined condition using XPath. Under that branchs i defined the sync send step to send the msg to receiver and get response.
If i give input that is true for any one of the receiver, it executs successfully. But if my input satisfies the condition of both branchs, instead of sending the message to two receivers it is sending the msg to only receiver.
Pls help me in resolving this issue.
Thanks & Regards,
Senthil.

Senthil,
Please confirm your process looks like this:
    /-- item name CE 'X' -- [send] --\    /-- item name CE 'Y' -- [send] --\
Or, if you follow patrick's suggestion
     /-- item name CE 'X' AND item name CE 'Y' -- [send] -- [send] --\
---   -- item name CE 'X' -- [send] ---------------------------------   ---
Kind regards,
Koen

Similar Messages

  • Delivery completion indicator not getting checked after GR against STO

    Hi All,
    I am facing the following issues while posting GR against the Stock Transport Order -
    Issue No. 1 - While posting GR against Outbound Delivery, I am receiving Error M7865
    Issue No. 2 - While posting GR against Stock Transport Order, the deliver completion indicator is not getting checked in PO even if the GR qty. is same as OBD qty.
    Can someone help me to come across these issues.
    Thanks,
    Pankaj

    Hi,
    Generally, in  case of Stock Transport Order, Goods Receipt is to be done w.r.t. Outbound Delivery only. Otherwise, it will not update Delivery Completion and also will not update the Sales Document Flow as well as Po History properly. So, better try to resolve Error M7 865 and do GR w.r.t. OBD only.
    To rectify error M7 865, check following;
    Diagnosis: -
        The goods receipt for the delivery cannot be posted.
        The error according to the error code:
        1.  The delivery does not exist.
        2.  The delivery type is unknown.
        3.  The delivery is not goods issue posted.
        4.  There are no delivery items.
        5.  The receiving plant could not be determined.
        6.  The delivery items have already been goods receipt posted or contain zero quantities.
        7.  Goods receipt(effect)movement type to goods issue movement type could not be determined.
        8.  It is not currently possible to block the delivery.
    Procedure: -
        Error code 1      : Check your entry.
        Error code 2,3,4,6: Check the delivery and its document flow.
        Error code 5      : The delivery must be related to a purchase order or the customer must be a retail business.
        Error code 7      : Check the settings for your movement types.

  • Check box GEN_NEW is not getting checked while creating a change order.

    Hi Experts,
      I have written a zee function module to create a change order.I am calling this function module from an external system.In my zee function module I am calling a standard function module
    CCAP_ECN_MAINTAIN.I am able to create the change order successfully but when I open the object types in the change order the check boc of the field GEN_NEW is not getting checked.I am unable to find the field and default it to 'X' so can you please help out over this issue.Answers will be rewarded with good number of points.
    Thanks,
    Sridevi.

    Hi,
    If you want to close a line item for a PR Number, refer FM BAPI_REQUISITION_DELETE
      CLEAR : wa_pr_close,
              wa_return_close.
      REFRESH : it_pr_close,
                it_return_close.
      wa_pr_close-preq_item  = lv_bnfpo. "<--Line Item Number (BNFPO)
      wa_pr_close-delete_ind = c_check.  "<--set as X (c_check = 'X')
      APPEND wa_pr_close TO it_pr_close.
      CLEAR wa_pr_close.
      CALL FUNCTION 'BAPI_REQUISITION_DELETE'
        EXPORTING
          number                      = lv_banfn  "<--PR Number (BANFN)
        TABLES
          requisition_items_to_delete = it_pr_close
          return                      = it_return_close.
    Hope this helps you.
    Regards,
    Tarun

  • Checking condition in switch step of BPM

    hi all,
    i am doing an 1to1 transformation where: i am converting my source into a target. the target has
    header 1
    lineitem 1..unbouneded.
    lets say there are three line items:
    header1
    lineitem
    lineitem
    lineitem
    i am using a send step where i am sending this target msg to a switch step. in the switch step i am checking for a condition.i am checking for the occurence of a field in the line item. but when specifying in the condition editor, it allows only to choose from the root of the structure. how can i check the ocuurence of a particuler field for the lineitem alone??
    is there a way to to do it??
    Any help will be greatly appreciated.
    Thanks

    Hello,
    This is the condition i have currently given: but if i have 2 or more lineitems in the incoming msg does this condition also check for :
    MI_DOC./p1:SRC_ROOT.lineitem/itemfield2 EX
    MI_DOC./p1:SRC_ROOT.lineitem/itemfield3 EX
    etc...
    and in one of the line item the field may EX and some it does`nt. when it doesn`t i am cancelling the process, if the field EX then it is sent to further processing.so if i have 3 lineitems in which two of the line items the field EX and in the other one the field does the EX, are the msgs split accordingly??
    Message was edited by: Aarthi R

  • Condition tab in STO is not getting displayed

    Hi,
    While creating STO, the Condition tab in Line Item is not getting displayed.
    Why it is not getting displayed? Where do I need to change the configuration?
    Do I need to maintain any Pricing Procedure in MM?
    Please guide.
    Regards,
    PK

    Hi,
    Check whether you have maintained Schema determination for respective document type and STO.
    below mentioned is the navigation path to maintain the same.
    > spro - materials management - purchasing - conditions - define price determination process - define schema determination - Determine Schema for Stock Transport Orders
    Here maintain the Purchasing Schema group , Document type & pricing procedure for STO.
    Standard Pricing procedure for STO is RM2000.
    Hope this is helpful..
    Regards,
    Vamshi

  • BPM: XPath-Condition in Switch Step

    Hello,
    I have the following requirement in BPM.
    There is a switch step with five branches, and I have the following document structure:
    <Root>
    <Segment>
       <Docnum> 12345 </Docnum>
    </Segment>
    <Segment>
       <Docnum> 12346 </Docnum>
    </Segment>
    </Root>
    The switch condition is done based on the last digit of the first Docnum element. So in this case the value would be 5.
    I tried to work with a substring as the total number of digits of docnum is always 5.
    How would an XPath expression look like to retrieve the substring from the first <Segment> element? I tried different combinations but none of them really worked.
    Example what I tried: p1:/root/Segment[1]/substring(docnum, 4,1)
    Any advise on this?
    Thank you very much

    Try this...
    substring(/p1:/root/Segment[1]/docnum,4,1)
    for more info see
    http://www.w3.org/TR/xpath
    Message was edited by:
            Alex

  • Workflow step is not getting executed

    Hi all,
         I have designed a workflow in which I have a Decision step. after taking the a decision then it is taking so much time to execute the next step which is a background step.
    The waiting time is varying from time to time some times it is getting executed in 20 min, some time it is taking 1 hr no fixed time.
    I have used SAP_WAPI_DECISION_COMPLETE function module and I am passing space to the DO_COMMIT  becuse of this the workitem is getting completed but it  is not going to the next step. This fm is called under a button Approve of a WD application. after completeing the entire cycle of the WD application we are using the statement COMMIT WORK but still the execution is not going to the next step.
    In this regard , please, can any body share their views and ideas.
    And it is mandatory that only after the webdynpro application execution finishes they want to COMMIT the work.
    One more thing while searching forums I found like there are terms like DB COMMIT and simple COMMIT WORK what is the difference between them .
    Thanks&Regards
    Pavan

    Hello,
    I wasn't asking about the commit.
    In the first post you said:
    "The waiting time is varying from time to time some times it is getting executed in 20 min, some time it is taking 1 hr no fixed time."
    And in the latest post you said:
    "but no matter it is not moving to the next step"
    Which one is true?
    And anyway, commiting the result of a decision step is not, I think, something that can be delayed.
    regards
    Rick Bakker
    Hanabi Technology

  • Condition in switch step

    Hi:
    Somebody help me with some information about how to Configurate the switch step (Condition, left operand) in BPM

    Even though this forum says BPM and WF, but for your question XI forum will be right place.
    Regards, IA

  • Condition types for Import Vendor not getting in Contract

    Hi,
    In Contract Document if Import Vendor selected, for the Line items we are not getting the Import Pricing Condition types. Instead, we are getting the Local pricing condition types even if Import vendor schema maintained in Vendor Master.
    We have found that Gross Price PB00 and PBXX are maintained for both Local and Import Pricing Procedures. In PB00 condition type configuration, Local Pricing Procedure is assigned in the field Pricing Procedure (V_T685A-KALSM).
    But while creating the Purchase Order we are not facing this problem & we are getting respective Pricing Condition types based on the Vendor schema assigned in Vendor Master. And already till now more than 4 Lakhs of Purchase Order created.
    Please let me know the solution to get Import Pricing Condition types in Contract for the line items.
    Thanks & regards,
    Datta

    In Contract only basic price will be shown, other conditions and pricing procedure do not appear, becayse eventually the contract has to be released, which is nothing but creating a PO.
    SAP Standard practice, Outline agreements (Contract and Scheduling areement) will not have pricing procedures, they will have only basic price and discounts conditons.
    Hope this anwers your question.
    Thanks & regards
    Hameed Parvez.

  • Switch step is not processsing 2nd Branch in BPM !!

    Hi Guys,
    One BPM question please. I have got one BPM scenario as follows.
    One XML is splitting into 2 messages. First Target message has got 'n' number of messages and 2nd Target messages has got 'n' number as well. I need to process these two target split messages into ERP ABAP proxy.
    I have put
    1st step :receive step,
    2nd step: transformation step to split,
    3rd step :  switch with 3 branches
    4th step: first branch for Target1 split - on this branch I did put ForEach block in the block Sender (Async)
    5th step : 2nd branch for Target2 split - on this branch I did put another ForEach block, in the block Sender (Asyn)
    6th Step: Exception branch for alert.
    receive step is ok, transformation step also ok, First split goes into branch one, triggering messages to ERP. But 2nd branch is not executing at all.
    Please guys can any one solve this issue? Why the second branch is not executing at all, process is completing with out processing 2nd branch?
    Regards
    San

    I resolved myself.
    Thanks
    San

  • Switching phones and not getting email connectivi​ty

    Hi there,
    Never knew switching blackberry could be so involved.  
    I had an old 8310, with all my email accounts on etc, as pay as you go with O2.
    I upgraded to a newer secondhand blackberry (yes we can't all afford new ones), a 8900 which was my sns and had been on orange.
    The new phone was unlocked professionally, and I did a hard wipe afterwards, master reset (or thought I had).
    The phone is regsered with blackberry - confirmed
    The phone is regostered with O2 confirmed.
    The new phone has recognised all the email accounts and I have entered the passwords to enable.
    However I still can't get access to email (all the usualphone functions are fine).  I have reset by removing battery twice, no joy.
    Am I missing somethig, or is there a delay in the accounts registering??? if so how long
    Thanks Mark

    There is no activation fee for activating a different phone on an existing line.  You only pay an activation fee when you start a new line of service.
    As to the survey, I've never been prompted to answer any questions like that when switching phones.  The only reason you would not be able to use your old phone as a backup is if you report it to Verizon as lost or stolen, or fall behind on your payments while that phone is on your account.  If the phone is listed as lost, stolen, or tied to an unpaid account, it is placed on a blacklist and cannot be activated on any Verizon account.
    You can either use the online tool, or just turn off your old phone and then dial *228 and choose option 1 from the new phone.

  • Not getting check box for Bank Statement Processing in Company Details Tab

    I am trying to achieve the ability to perform automatic external Bank Reconciliation.
    I have installed following add on successfully under SAP B1 2007A: FD, BTHF and Payment.
    I restarted license server and SAP B1.
    However I do not see the option  - Install Bank Statement Processing in company details.
    (Admin->System Init->Company Details).
    I am running 2007A SP1 patch 10 with hotfix.
    I also tried by removing the addon-on Payment. Still no sign of Install Bank Statement option on Company Details tab.
    What could be the problem?
    Thank you for you help.
    Edited by: Syed Aleem on Sep 22, 2010 7:02 PM

    Hi,
    You may check this: 1607: Unable to install on  add-on BTHF
    Thanks,
    Gordon

  • Testing switch step conditions

    Hi
    Is there a way to test conditions in switch step?
    With real data when the process is executed... it seems that the condition does not work... but I can not see more details to investigate what is wrong.
    Has anybody ideas how to test switch conditions?
    Thanks for any input,
    Heiko

    Ok sorry, I thought you were maintaining a Business Workflow, not an XI process..
    I haven't worked with ccBPM or the integration/workflow builder myself, but could you go to the graphical builder, drill down to the switch step and see what's available there? In the business workflow builder you can see a small simulation button in the bottom together with create test data button.
    -Mikko

  • Problem with Switch Step in BPM

    Hi,
    I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me to solve this out?
    Thanks,
    Yaseen.

    HI,
    I checked in the workflow the xml file generated contains value 'true'.
    Its not multiline and looks xpath reflects for the changes made.
    I think it may be problem that needs to deploy any OSS notes.
    Please throw some idea.
    Thanks,
    Yaseen.

  • BPM process switch/fork is not processing!!

    Hi Guys,
    I have scenario for 1:n multi mapping using BPM. In my BPM just I have got 5 steps, the first one is receiver,  next step is transformation (workinig fine), switch with 2 branches, on branch one Sender 1 to SNC (Prod Active Notific) and on second branch has got Sender 2 for (ProductDemandInfluencingEventNotification) to SNC. The process is coming upto Switch, the process is not coming into Swithch step to send these messages to sender? what is the condition for Switch step? I put it like (1=1), message is not processing completely.
    Any valuable inputs for this please?
    Many Thank in advance
    San

    Hi biplab das ,
    Many thanks for very quick reply. I have tried both. Let me explain you my scenario, please give me your inputs on that!!
    Sender side xml messages comes with couple of messages. What I need this xml has to split into two message types "Product Activity Data" and "Product Influence Demand", each message goes with multiple messages, as follows:
    <Root>
       <output>
       <output>
       <output>
       <output>
       <output>
    </Root>
    Each output message got multiple submessags. Couple of submessages has go under "Product Activity Data" and Couple of other messages has go under "Product Influence Deman"
    Mapping is working fine. Messages are splitting.  I have configure BPM as follows:
    Setp 1---- Receiver --- > Receive the message
    Setp 2 -
    Mapping -
    > Messages are splitting
    Step 3 -
    Fork Step ---> with 3 Branches , Branch 1 for, 1 Receiver Determination and 1 Sender --> Product Acitivity Data
                                                                           Branch 2 for , 2nd Receiver Determination and 2nd Sender --> Product Influence D
                                                                           Branch 3 for throw Alert
    I can this message is failing on Moni, I opened PE, the graphical represenation shows error on Sender1 and Sender2.
    Please can you advice me in this.
    Many Thanks
    Regards
    San

Maybe you are looking for

  • FINDER WON'T LAUNCH

    I just installed the latest iLife Support 8.2 and now Finder can launch, which means I can't see any of my desktop, etc. Just had another Graphics update today and when I tried to restart, it is cancelled by Finder (which is opening and closing in my

  • Should I buy a 4S or wait for the 5 to go down in price

    We are in the market for a new phone.  The entire family has gone to the Iphone so I feel it is time for us to join.  I think when you purchase a new phone you have to try and get the latest and greatest.  But difference in cost between the 4S and th

  • Big Problem: ABAP-RFC and JCO  client

    Hi Friends, I am a java developer in trouble with a ABAP/RFC, and I dont have idea whoe lese ask for help This is the situation: In order to send a "candidates resume" (curriculum) in to SAP, the ABAP developers made for me a RFC which uses the trans

  • Saving phone numbers

    can you save your phone number into itunes is it possible?

  • Igx 8410 password recovery

    I have forgotten the username and password of CISCO igx 8410,but i don't know the password recovery procedures. Could you tell me how to recovery the password ?Thanks very much!