How to config. different Operations of the same Interface to different BPM

Hi Gurus
   I have a very urgent problem.
   The requirement is like this:
   Customer creates an invoice in A1S and release it. Information of the invoice is retrieved via two service interfaces:
        CustomerInvoiceProcessingInvoiceAccountingOut
        CustomerInvoiceProcessingReceivablesPayablesOut
        with operation NotifyOfInvoice;
   These two interfaces will transfer the information into XI and the information will be filled into a BAPI, BAPI_ACC_DOCUMENT_A1S, to R3. Then the finacial document together with the invoice will be created in the R3.
   when customer cancels the invoice in A1S, Information of the cancellation is retrieved via the same two service interfaces:
        CustomerInvoiceProcessingInvoiceAccountingOut
        CustomerInvoiceProcessingReceivablesPayablesOut
        with operation NotifyOfInvoiceCancellation;
   These two interfaces will transfer the information into XI and the information will be filled into a BAPI, BAPI_ACC_DOCUMENT_REV_POST, to R3. Then the reverse finacial document will be created in R3.
    My solution is like this:
    1. for invoice creation:
     Both messages sent to BPM_1, then send to R3.  3 interface determinations are needed for 3 abstract interfaces.
    2. for invoice cancellation:
     Both messages sent to BPM_2, then send to R3. 3 interface determinations are needed for 3 abstract interfaces.
    My problem is this:
    No matter during creation or cancellation, the same interfaces are triggered. The related receiver determination will distribute the information to both of two BPMs. However the information only contains data of one operaton: creation or cancellation. Error messages will appear in monitor for the other BPM. For example, when customer creates an invoice, the information only contains data of creation whereas it is sent to two BPMs via the receiver determination. the BPM for cancellation surely can not deal with this information then error appears.
    My question is : how can i solve the problem? How can i avoid the appearance of the error? thanks
Message was edited by:
        SAP LCR

Hi,
In the receiver determination you can route the message to the RIGHT BPM according to the content of the payload. So each time only one BPM is called.
Regards,
Hui

Similar Messages

  • How can i share photos on the same mac but different users?

    how can i share photos on the same mac but different users? we have different iphoto acounts and just want to be able to look under users in the finder and view another users iphoto.

    You may try moving ur librarie to the folder /Users/shared if and link it to iphoto from there
    You may locate and link libraries from arkiv-->change library in iphoto

  • How can I share user in the same workspace but different applications

    I recently created a new application (new) in the same workspace as my old application (old).
    I have about 35 application express users. They are stored in uppercase.
    The new appl (old) , login page will only accept the DB user login and Not the application users. When I type it in uppercase, it revert it to lower case.
    I have no authentication schemes, uses all defaults. I created a DB user and 35 application users.
    It give me " Invalid Login Credentials'.
    I am due to upgrade tomorrow, but now have run into this problem!!
    Desperate

    Angela,
    That is not clear.
    I recently created a new application (new) in the same workspace as my old application (old).Now you have exactly two applications in that workspace.
    I have about 35 application express users. They are stored in uppercase.Okay.
    The new appl (old) , ...What?
    ...login page will only accept the DB user login and Not the application users.What DB user did you create and why did you create it? Your application must be using a different authentication scheme that the one you intended. Check the current authentication scheme and set it to the Application Express scheme (make it current) or whichever scheme matches that used by the working application.
    When I type it in uppercase, it revert it to lower case.I can't explain that unless you created a database user account using double quotes around the lower-case name.
    I have no authentication schemes, uses all defaults. I created a DB user and 35 application users.Again, why did you create a DB user?
    I am due to upgrade tomorrow, ...What is an upgrade?
    What is your current database version and Application Express version?
    Scott

  • I have an ipod classic my daughter has an ipod touch, how do I put both on the same computer for different libraries

    I have an ipod classic my daughter has an ipod touch, can I put both libraries on same computer and how is this done???

    I would think you can. If you don't want them to be synced the same, create a playlist with your daughters music, and one with yours, and configure iTunes to only sych the selected playlists.

  • How do i back up 2 different devices with the same ID but different content, without losing any content?

    I have 2 iPads but just one ID. I use the iPad 2 and my daughter uses the mini. Both have different contents, as her mini contains a lot of videos that she's taken. Niw, I just bought an iPad Air and want to essentially transfer my iPad 2 contents there and also transfer my daughter's mini contents to that iPad 2. If I back up both to the same computer, will I have access to both sets of content and transfer the data to whichever device as I see fit? I just want to make sure so I don't lose any of her content (especially).
    Thanks!

    Using iTunes on a computer, be sure to set the backup(s) to be stored locally and not the iCloud for efficiency's sake. If all devices belong to the same AppleID, each one will store its backup on a separate file, and if appropriate, you can choose any for a restore as needed. As shown in Diavonex pic, the backups are listed in Preferences / Devices. Hover the cursor over each and a popup will appear detailing which device it belongs to. And you can keep, if needed, more than one backup of a device: control-click on the backup to preserve and choose Archive from the menu (Older backups get overwritten otherwise).

  • How do I call methods with the same name from different classes

    I have a user class which needs to make calls to methods with the same name but to ojects of a different type.
    My User class will create an object of type MyDAO or of type RemoteDAO.
    The RemoteDAO class is simply a wrapper class around a MyDAO object type to allow a MyDAO object to be accessed remotely. Note the interface MyInterface which MyDAO must implement cannot throw RemoteExceptions.
    Problem is I have ended up with 2 identical User classes which only differ in the type of object they make calls to, method names and functionality are identical.
    Is there any way I can get around this problem?
    Thanks ... J
    My classes are defined as followes
    interface MyInterface{
         //Does not and CANNOT declare to throw any exceptions
        public String sayHello();
    class MyDAO implements MyInterface{
       public String sayHello(){
              return ("Hello from DAO");
    interface RemoteDAO extends java.rmi.Remote{
         public String sayHello() throws java.rmi.RemoteException;
    class RemoteDAOImpl extends UnicastRemoteObject implements RemoteDAO{
         MyDAO dao = new MyDAO();
        public String sayHello() throws java.rmi.RemoteException{
              return dao.sayHello();
    class User{
       //MyDAO dao = new MyDAO();
       //OR
       RemoteDAO dao = new RemoteDAO();
       public void callDAO(){
              try{
              System.out.println( dao.sayHello() );
              catch( Exception e ){
    }

    >
    That's only a good idea if the semantics of sayHello
    as defined in MyInterface suggest that a
    RemoteException could occur. If not, then you're
    designing the interface to suit the way the
    implementing classes will be written, which smells.
    :-)But in practice you can't make a call which can be handled either remotely or locally without, at some point, dealing with the RemoteException.
    Therefore either RemoteException must be part of the interface or (an this is probably more satisfactory) you don't use the remote interface directly, but MyInterface is implemented by a wrapper class which deals with the exception.

  • How to plot 2 signal in the same graph but different frequency?

    Hi!!
    I have 2 sensor, motion and EMG.. I want to plot both of the signal (after processing) in the graph (real-time)..
    The frequency of motion sensor is 128 Hz and for EMG sensor 800 Hz..
    When I'm trying to plot (motion and emg) in the same graph, the signal from EMG (red line) not smoothly and very different with motion sensor..
    I'm trying to resample that signla but, it's not working..
    Can you help me?
    thank youu
    Attachments:
    graph.png ‏11 KB

    Akardo14 
    Yes, I trying to use merge signal before...  but signal from emg signal didn't appear in the graph (using merge signal figure)..
    I'm showing motion and emg signal in different graph, it's work..
    But I need to show both of signal in one graph to compare between motion and emg signals (fig1)
    Attachments:
    using merge signal.png ‏19 KB
    fig1.png ‏9 KB

  • How to manage multiple operation within the same partner link ?

    Hi,
    I have a partner link with 2 possible operations : "sayYes" and "sayNo".
    I want to do the following : if the operation is "sayYes", I return "YES", if it's "sayNo", I return "NO".
    (not really complex... in theory)
    In my WSDL file, I have the following :
         <message name="TestPickRequestYesMessage">
              <part name="payload" element="client:TestPickProcessYesRequest"/>
         </message>
    <message name="TestPickRequestNoMessage">
              <part name="payload" element="client:TestPickProcessNoRequest"/>
         </message>
         <message name="TestPickResponseMessage">
              <part name="payload" element="client:TestPickProcessResponse"/>
         </message>
         <portType name="TestPick">
              <operation name="sayYes">
                   <input message="client:TestPickRequestYesMessage" />
                   <output message="client:TestPickResponseMessage"/>
              </operation>
    <operation name="sayNo">
                   <input message="client:TestPickRequestNoMessage" />
                   <output message="client:TestPickResponseMessage"/>
              </operation>
         </portType>
    The returned value is in a string variable : "return_value".
    I've created a "pick" activity :
    <pick name="Pick_1" createInstance="yes">
    <onMessage portType="client:TestPick" operation="sayYes"
    variable="inputVariableYes" partnerLink="TestPick">
    <sequence name="Sequence_1">
    <assign name="setReturnYES">
    <copy>
    <from expression='"YES"'/>
    <to variable="return_value"/>
    </copy>
    <copy>
    <from variable="return_value"/>
    <to variable="outputVariable" part="payload"
    query="/client:TestPickProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutputYES" partnerLink="TestPick"
    portType="client:TestPick" operation="sayYes"
    variable="outputVariable"/>
    </sequence>
    </onMessage>
    <onMessage portType="client:TestPick" operation="sayNo"
    variable="inputVariableNo" partnerLink="TestPick">
    <sequence name="Sequence_2">
    <assign name="setReturnNO">
    <copy>
    <from expression='"NO"'/>
    <to variable="return_value"/>
    </copy>
    <copy>
    <from variable="return_value"/>
    <to variable="outputVariable" part="payload"
    query="/client:TestPickProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutputNO" partnerLink="TestPick"
    portType="client:TestPick" operation="sayNo"
    variable="outputVariable"/>
    </sequence>
    </onMessage>
    </pick>
    !http://www.monsterup.com/image.php?url=upload/1237201855.png!
    [http://www.monsterup.com/image.php?url=upload/1237201855.png]
    !http://www.monsterup.com/image.php?url=upload/1237201924.png!
    [http://www.monsterup.com/image.php?url=upload/1237201924.png]
    When I deploy and test this application, I have a huge problem : if a choose a "*sayNo*" message, my application do the following :
    The "pick" activity logs :
    <inputVariableYes>
    - <part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <ns1:TestPickProcessNoRequest xmlns:ns1="http://xmlns.oracle.com/TestPick">
    <ns1:input>
    blabla
    </ns1:input>
    </ns1:TestPickProcessNoRequest>
    </part>
    </inputVariableYes>
    I have a right "*TestPickProcessNoRequest *" message type.
    BUT, the next activity is "setReturnYES", instead of "setReturnNO".
    !http://www.monsterup.com/image.php?url=upload/1237201958.png!
    [http://www.monsterup.com/image.php?url=upload/1237201958.png]
    Can anyone tell me where I'm wrong ?
    It looks like the "pick" activity always go with the first sequence...

    Hi PhunkyBob,
    I also had a hard time, finding out that the problem was with the BPEL console and not with my processes -.-
    Perhaps it's the Browser, I too use Firefox. Did not try it in IE yet.
    Here is the solution, try to switch to XML View and then change the Operation! (you will notice that it changes properly) Then you can either send it that way or return to HTML View.
    I have always to it that way,.. gets really annoying when I have to test a process many times :-/ ...change to xml, change operation, back to html, making entries, send...
    If someone has a solution, other than changing the Brwoser, please post :-)
    greetings,
    Michael

  • Applying different template to the same item for different organizations

    Hi I'm having an issue with an item load.
    We are trying to load a list of items using the item import.
    3 orgs
    1: mas
    2: first
    3: second
    say in the new list that we are importing there is an item "100A" (mtl_system_items_b.segment1)
    This item already exists in the mtl_system_items_b as a master item (ie assigned to the master org) it has template "STOCK ITEM"
    and is also attached to the first org
    I want to create the same item as a nonstock for the Second org
    Can this be done?
    When i tried to do the import it failed giving me a INV_IOI_MASTER_CHILD_1A error (Master - Child Conflict in one of these Attributes: Default Buyer(BUYER_ID), Accounting Rule(ACCOUNTING_RULE_ID), Invoicing Rule(INVOICING_RULE_ID), Purchased(PURCHASING_ITEM_FLAG), Shippable(SHIPPABLE_ITEM_FLAG), Customer Ordered(CUSTOMER_ORDER_FLAG), Internal Ordered(INTERNAL_ORDER_FLAG), Inventory Item(INVENTORY_ITEM_FLAG))
    Any ideas on how to do this?
    Thanks
    D

    Hi Sandeep
    Thanks a lot for the reply
    In our MASter org setup, the Template "T1" is a STOCK_ITEM template and it has the stockable attribute set at the org level.
    This item is also assigned to ORG1 as a T1 STOCK_ITEM.
    So can we create the same item using "T2 which is a NON_STOCK Template in org2 ?
    If yes then that means I just have to create a record in the MTL_SYSTEM_ITEMS_INTERFACE only for the child org2.My concern is I read somewhere that
    the item import tries to match the attributes of the child org to the master org attribute(for attributes controlled at master org i think).
    And since the attributes for a nonstock are different than those for a STOCK wouldn't that create a problem?
    Thanks
    D

  • Why am I getting different results for the same resolution but different Windows boxes, Win 7 and XP

    I am running an .exe on two different windows boxes, one in Win 7 and one on XP.  I set both for resolution 1024 x 768.
    On Win 7 (laptop and old Dell desktop) I have a great looking app.  On the WIn XP boxes all the fonts to large.  THis doesn't make sense to me as all the PC's have the same resolution.
    Has anyone run across this before?
    Mark Ramsdale
    Solved!
    Go to Solution.

    The system fonts for XP and Vista/Win7 are different.
    See
    http://forums.ni.com/t5/LabVIEW/Elements-have-moved-when-opening-vi-with-f3-patch/m-p/1054817
    http://forums.ni.com/t5/LabVIEW/What-can-affect-the-size-of-a-front-panel-object-between/m-p/1058607...
    http://forums.ni.com/t5/LabVIEW/Font-size-on-Windows-7-with-LabVIEW-2009/m-p/1055114/highlight/true#...
    and several other similar threads.

  • How to purchase multiple copies of the same song for different people?

    I am planning a children's musical and wanted to know how to handle this situation. Say I wanted 30 copies of a song to put on CD's for the kids to take home and practice. How do I handle that purchase? I want to legally be able to make 30 copies of a song for 30 different children. Where do I start? Thanks!

    If you are in the USA and are using the songs as part of a non-profit educational institution, the rules governing the use of copyrighted material are different from other uses. Do a web search on the "Technology, Education and Copyright Harmonization Act of 2001," also known as the TEACH Act, or ask the legal advisor of your school.

  • How do I put multiples of the same button in different places on my tool bar?

    I'd like there to a new tab button to left of the address bar and to have the option of also clicking to right of my tabs as well. Like the old version. The customize toolbar option only allows me to use one button of each kind, and I'd like to have multiples for this and perhaps other uses.

    Sounds that you have selected the Firefox application for a file type that it doesn't support.
    See:
    * https://support.mozilla.com/kb/Firefox+keeps+opening+many+tabs+or+windows

  • Help!  Can't figure out how to store the same photo in different events

    I know that this is just a user error problem, but I can't figure out how to store multiple versions of the same photo in different events. For example, I use Aperture as my main photo library, so I have a big folder set-up by year and then by events within those years to organize and maintain my library. I'm currently working on a project where I would like to pull out certain pictures for other uses. I tried creating new events and then moving the pictures to those events (like I would have in iPhoto) expecting for a new version of the picture to be deposited in the new event. That didn't work - it moved the picture out of my "main library" folder and as far as I can see it now only exists in the new event. Next, I tried creating "new versions" of the pictures I wanted to move and then just selecting those and moving them. In one folder I selected three photos, clicked "New Versions", then in the browser display I could see two of each picture (for a total of six), I selected ONE of each photo and moved those three to the new event. At which point all six disappear from the "main library" and end up in my new event. I don't understand why that happens. Currently the only way I've been able to do what I need to do is by using the flag field, but as far as I can tell there is only one of those - it's on or off that is really not serving my purpose. What do I need to do???

    Like Jim said, you most likely want Albums for what you describe. Albums simply consist of "pointers" to a single compilation of image data. Albums can be created and deleted at will, because they are just pointers; an important concept.
    Also learn to use Keywords - and unlearn "folder" organization, which is not the way digital asset management works. The power of Albums and Keywords is huge once we lose the film-think of folders organization.
    HTH
    -Allen Wicks

  • 2 different files in the same location?

    When we upload files they go all in one folder.
    The first editor calls his graphic "Picture 1.png" (wonder where that came from..)
    Sure sometimes before the item gets deleted another one will upload an completly different picture with the same filename.
    The thing that it different between the 2 would be the Asset ID. So I was wondering if there is a way to make folders with asset IDs in the location where everybody uploads there stuff to.
    To tidy up on the long run I guess we just would need to delete the empty folders (as the content has been archived).
    How would I do this? How do other people deal with the same filenames for different files? It even happens within the same production so the solution to create an subfolder for each production (read this a while ago) does not work for us.
    I know that for future projects we will tell people to use more describing filenames (but even there: there might be two different kitchens called the same..) but I also talk about a huge, messy archive to migrate..
    thanks
    tobi

    Let me rephrase things a bit as I used the term Excel chart  to literally. We create charts in SSRS. We then use a query string that includes "rs:command=render&rs:format=Excel" to get the chart into Excel. The "chart" in Excel is really just an
    image and the associated data table is the cells filled in with the data. We then "select" the area that encompasses all of these objects and paste that into the PowerPoint slide.
    Our source folder structure is as follows (note that I while I am being generic, the Ecel file names are the same between folders:
    Folder A: File1.xls, File2.xls, File3.xls ..... File40.xls
    Folder B: File1.xls, File2.xls, File3.xls .....File40.xls
    This goes on for 8 folders but can be as many as 30
    The routine we use to create the xls file from the SSRS chart names the xls file and puts it in the correct folder.
    The idea was we would create a template chart set in PPT for folder A and then create copies of the PPT and change the links to point to Folder B, etc.
    We have ensured that all Excel Documents are closed when we try to do an update.
    We are also getting the following error and I'm paraphrasing: Cannot open multiple instances of a file of the same name even if it is in a different location. This occurs when doing an update links when we don't get the initial error message I listed first.
    If we change the names of the files in each folder: i.e. FolderAFile1.xls, FolderAFile2.xls, etc then we can do the update links. This is time consuming as the SSRS exports are done by the end users and we are the developers trying to create a reusable solution.
    One other issue we are seeing which I hope you can address is that when we are getting the update links to work, the process opens up each Excel file THREE times. It takes almost 15 minutes to update a PPT with 18 linked xls files.

  • Multiple BPEL processes as operations in the same port type

    Dear Oracle BPEL experts,
    Is it possible to deploy several BPEL processes that are initiated through different operations in the same PortType?
    (I am using Oracle BPEL Process Manager Console v10.1.2.0.2 and Oracle JDeveloper v10.1.2.1.0, Build 1915).
    Thanks in advance,
    M. Quijada

    Yea, I understand. But you can do that in BPEL. You tried to do that in the suitcase, but you have to do it in the WSDL. The multiple operations you need are specified in the WSDL, all using the same porttype.
    I've done that several times, and my suitcase looks like:
    <partnerLinkBindings>
    <partnerLinkBinding name="client">
    <property name="wsdlLocation">myService.wsdl</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    The multiple messageset is defined in my WSDL:
    <portType name="myService">
    <operation name="initiate">
    <input message="client:myServiceRequestMessage"/>
    </operation>
    <operation name="optimize">
    <input message="client:myServiceOptimizeMessage"/>
    </operation>
    <operation name="register">
    <input message="client:myServiceRegisterMessage"/>
    </operation>
    </portType>
    <portType name="myServiceCallback">
    <operation name="onResult">
    <input message="client:myServiceResponseMessage"/>
    </operation>
    <operation name="onComplete">
    <input message="client:myServiceCompleteMessage"/>
    </operation>
    <operation name="onError">
    <input message="client:myServiceErrorMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="myService">
    <plnk:role name="myServiceProvider">
    <plnk:portType name="client:myService"/>
    </plnk:role>
    <plnk:role name="myServiceRequester">
    <plnk:portType name="client:myServiceCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    Hope this helps. Otherwise send me an email and I'll send you my (working) example.
    Mike.van.Alst#AT#it-eye.nl (replace with @)

Maybe you are looking for

  • Transfer within FI

    Dear All, We have a requirement to transfer the amount posted in one GL to another two accounts monthly in a fixed percentage (which will vary for every month). Do we have a functionality to split the cost booked to a GL account to other two accounts

  • 7.1.4 Ability to share screen saver in MobileMe?

    It's been a while since I published photos to my screen saver on .mac/MobileMe. My family typically subscribed to that screen saver so they could see our kids pics. I attempted to upload a new set today, and could not find the option to do so? Am I m

  • IPhone 5 stuck on low battery charging screen A.K.A $500 Paper Weight

    Well this is the third and final iPhone 5 my family has encountered with this issue, Luckily my mom upgraded to a 5S and avoided this issue even though she was experiencing it. Me and my father are not as lucky. Usually jumping power sources and rebo

  • Can we set a variable by assigning another variable to it

    Hi, Can we set a variable by assigning another variable to it. If not how can we implement this. Thanks Madhavi

  • My iPad shut off an now won't do anything except display the apple logo. What do I do

    My iPad is a full size iPad2 about a year old it has the max of memory storage available,I think it was 64? It was fine and the battery was low, it had powered down and displayed the apple. I plugged it in and recharged it but now all it does is disp