Multiple receiver key expansions

Hello all,
   I've created a B1 2 B1 scenario with 3 key expansion: one in the sender side and two in the receiver side.
Those keyexpansion never work all toghether but works only the one in the sender side and one random in the receiver side.
Generally works only the second receiver keyexpansion that is in the BIUMETA. I've discovered that swapping the KeyExpansionRule Node in the BIUMETA.
Anyone knows something about  this strange behavior?
Thank you all in advance.

Hi Luca,
please try this way:
<?xml version="1.0" encoding="UTF-8"?>
<BIU xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:com.sap.b1i.sim:entity" xsi:schemaLocation="urn:com.sap.b1i.sim:entity ../../com.sap.b1i.system.sld.repository/General.xsd/SemanticIntegrationModel.xsd" SenderSysTypeId="B1.8.8" ReceiverSysTypeId="B1.8.8" SenderCountryCode="*" ReceiverCountryCode="*" SenderMainObjectTypeId="Z.B1.8.8_SalesOrder_CF" ReceiverMainObjectTypeId="Z.B1.8.8_SalesOrder_CF" MainBizflow="Main.bfd" Name="Z.PRG_BIZS_Docs_SalesOrders">
     <KeyExpansionRule side="S">
          <TargetObjectType ObjectNameSpace="" ObjectTypeId="MyContactPerson" RequestGenerationRuleLink="/sim.com.sap.b1i.datasync.001/biu.Z.PRG_BIZS_Contacts_Activity/B1GetCPName.xsl">
               <ObjectKeyList>
                    <ObjectKey FieldName="ContactPersonCode" SelectionPath="//BOM/BO/Documents/row/ContactPersonCode"/>
               </ObjectKeyList>
          </TargetObjectType>
     </KeyExpansionRule>
     <KeyExpansionRule side="R">
          <TargetObjectType ObjectNameSpace="" ObjectTypeId="MyRecContPers" RequestGenerationRuleLink="/sim.com.sap.b1i.datasync.001/biu.Z.PRG_BIZS_Contacts_Activity/B1GetRecCPCode.xsl">
               <ObjectKeyList>
                    <ObjectKey FieldName="CardCode" SelectionPath="//BOM/BO/Documents/row/CardCode"/>
               </ObjectKeyList>
          </TargetObjectType>
          <TargetObjectType ObjectNameSpace="" ObjectTypeId="Z.B1.8.8_Quotation_CF" RequestGenerationRuleLink="/sim.com.sap.b1i.datasync.001/biu.Z.PRG_BIZS_Docs_SalesOrders/B1SalesOrderReferenceRequest.xsl">
               <ObjectKeyList>
                    <!--<ObjectKey FieldName="BaseEntry" SelectionPath="//BOM/BO/Document_Lines/row/BaseEntry"/>-->
                    <ObjectKey FieldName="BaseEntry" SelectionPath="//BOM/BO/Document_Lines/row[BaseEntry!=0]/BaseEntry"/>
               </ObjectKeyList>
          </TargetObjectType>
     </KeyExpansionRule>
</BIU>
Please don't forget to change each RequestGenerationRuleLink in this code according to the new path of the copied xsl-files, as Bastian recommended.
Kind regards,
Marcus

Similar Messages

  • How do I install multiple KMS keys on one server?

    I currently am working at Phelps County Regional Medical Center in Rolla, MO and my question is: How do I install multiple KMS keys onto one server? This is very urgent and I have the KMS activating Windows 7 but, I also need all my Office keys, Windows
    8, and Windows 8.1  to be activated via KMS. the current KMS is a Windows Server 2008 R2 server. Please help me out and thank you for your time! :)

    you need to apply the following update (http://support.microsoft.com/kb/2885698)to your KMS server so you can license up to Windows 8.1.  From there your key for 8.1/2012R2 will license everything
    downwards and then you can also install your Office KMS key without issue.  If its Office 2013 then you need to download the files here (http://www.microsoft.com/en-us/download/details.aspx?id=35584) 
    Be kind and Mark as Answer if I helped.

  • Multiple foreign keys to a single table

    Hi,
    I need to write an SQL sentence to bring a unique row formed from multiple foreign keys which are dependent on the same table. The two tables as follow:
    CREATE TABLE UNIDADMEDIDA (
    IDUNIDADMEDIDA NUMERIC(3) NOT NULL,
    DESCRIPCION VARCHAR2(128) NOT NULL,
    CONSTRAINT PKUM PRIMARY KEY(IDUNIDADMEDIDA)
    CREATE TABLE TRANSPORTE (
    IDBOLETA NUMERIC(12) NOT NULL,
    CORRELAVEHICULO NUMERIC(2) NOT NULL,
    TIPOVEHICULO NUMERIC(1),
    TIPOGASOLINA NUMERIC(1),
    CANTIDAD NUMERIC(8),
    RECORRIDOPROMEDIO NUMERIC(10,2),
    IDUMRECORRIDO NUMERIC(3),
    CONSUMOPROMEDIO NUMERIC(10,2),
    IDUMCONSUMOPROM NUMERIC(3),
    CONSUMOTOTALANUAL NUMERIC(10,2),
    IDUMCONSUMOTOT NUMERIC(3),
    CONSTRAINT PKTRANSPORT PRIMARY KEY(IDBOLETA, CORRELAVEHICULO),
    CONSTRAINT FKUMRECORRI FOREIGN KEY(IDUMRECORRIDO) REFERENCES UNIDADMEDIDA(IDUNIDADMEDIDA),
    CONSTRAINT FKUMCONSUMO FOREIGN KEY(IDUMCONSUMOPROM) REFERENCES UNIDADMEDIDA(IDUNIDADMEDIDA),
    CONSTRAINT FKUMCONSTOT FOREIGN KEY(IDUMCONSUMOTOT) REFERENCES UNIDADMEDIDA(IDUNIDADMEDIDA)
    The columns IDUMRECORRIDO, IDUMCONSUMOPROM and IDUMCONSUMOTOT depend on the table UNIDADMEDIDA (specifically from the IDUNIDADMEDIDA field). I need to bring back the description (DESCRIPCION field) from the different values stored in TRANSPORTE table.
    Thanks for your help!!!
    Mario

    Welcome to the forum!
    Have you thought about joining against the parent table three times to pick up each different description?
    SELECT  <COLUMN LIST>
    ,       UNI_A.DESCRIPCION
    ,       UNI_B.DESCRIPCION
    ,       UNI_C.DESCRIPCION
    FROM    TRANSPORTE
    JOIN    UNIDADMEDIDA    UNI_A   ON UNI_A.IDUNIDADMEDIDA = TRANPORTE.IDUMRECORRIDO
    JOIN    UNIDADMEDIDA    UNI_B   ON UNI_B.IDUNIDADMEDIDA = TRANPORTE.IDUMCONSUMOPROM
    JOIN    UNIDADMEDIDA    UNI_C   ON UNI_C.IDUNIDADMEDIDA = TRANPORTE.IDUMCONSUMOTOT
    ;It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.
    You provided #2 partially. If you provide the rest we may be able to help you even further.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Encrypt/Decrypt data, multiple public keys using Bouncy castle api?

    Hi all.
    I need to implement encrypt/decrypt functionality of some data with many public keys using bouncy castle api and EnvelopedData class in java 1.4 SE.
    Could someone give me examples how to do it. I searched whole the internet and i could not find simple example.

    Hi thanks very much.
    I had a quick look at the examples. I will see if they could help me.
    Here is more specific what i want:
    Encrypt data with multiple public keys that are kept in .pkcs12 file.
    And decrypt the data using coresponding private key after that.
    I must use bouncy castle api for java 1.4 se.
    Best regards
    Edited by: menchev on Nov 13, 2008 8:26 AM

  • How shall we do validation for Unique Key and Multiple Primary Key?

    Hi,
    I have table created From EO in which one column is checked as Unique.
    How to do validation for column checked as Unique.
    I know how to do validation for column checked as primary key.
    Below is sample code for primary key validation
    if (getRvSize() != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "RvSize", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
    if (value != null)
    OADBTransaction transaction = getOADBTransaction();
    Object[] rvKey = {value};
    EntityDefImpl rvDefinition = xxczVAGCSRVSizingEOImpl.getDefinitionObject();
    xxczVAGCSRVSizingEOImpl rv =
    (xxczVAGCSRVSizingEOImpl)rvDefinition.findByPrimaryKey(transaction, new Key(rvKey));
    if (rv != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "RvSize", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    What changes need to be done for above code in order to do the validation for Unique Key.
    I have one more Question
    How shall we do the Validation for Multiple Primary Key in a table?
    - Mithun

    1. If you just validate on one attribute like your unique key, then put your logic in the set<Your AttributeName) method
    2. If you want to do the cross validation ( like validating multiple attributes) then put your logic in the validateEntrity Method
    How to do that?
    1. Create a Validation View object.
    2. Associate your VVO to the VAM
    3. Create entity expert.
    4. Have method in entity expert for your validation (you would be calling AM and then VO execute the query and do the validation.
    5. You would be calling the Entity experty method from your EO either setMethods or validateEntity.
    I have given just the high level points.
    Hope this helps.
    Thanks,
    RK

  • Conditional base routing to multiple receiver's for syncronous interface

    Hi All,
    I have a requirement of sysnchronous interface where i need to send the message to 2 diffrent systems based on the routing condition. Based on routing condition we will determine the receiver to send message and response shloud send back to sender.
    Please let me know my requirement is possible using sysnchromous call i.e sending to multiple receiver's based on conditon. Thanks.
    Regards,
    KK
    Message was edited by:
            kalpana k

    Aamir,
    I dont think BPM is required here,XI always use mesasgeID as the reference.
    lets say you sent a request then XI generates message ID :11111 (for Ex)
    and for the response XI again generate another message ID:22222(for Ex),but referencing to MessageID:11111,it cant be to some other request message ID.(always reference is maintained by XI for Sync calls)
    so we dont need to maintain any relationship between request and respone ,explicitly.it is being taken care by XI itself for sync calls.
    response1 for a request1 wont go to someothers  request2.
    I dont know whether you get my point what I was trying to say.
    and just using Xpaths in receiver determination would give the solution.but need to have two Receiver agreements.
    I might be wrong !
    thank you,
    regards,
    Babu Sri

  • Mail:  choosing one of multiple valid keys to sign

    If I have multiple, valid keys for signing an email message, how do I chose which one Mail should use? If possible, I'd like to configure this on a per-message basis.
    Thanks in advance,
    Joe

    Hi Balaji bhau
    Just maintain the Overhead group in FG material master.. It will be done.. This too is required, if you want to charge diff overhead for diff FG.... If your overhead rate is same across, you dont even need Overhead group
    Assign a costing sheet to your Valuation Variant....
    If you want to apply diff OH to diff RM based on FG, then
    1. Then assign Origin Group in RM Master In the Costing sheet BASE, use Cost Ele & Origin Group
    2. Maintain Org Group X in RM A, Org Grp Y in RM B
    And
    Ovh Grp 10 in FGA & Ovh Grp 20 in FG B
    you can maintain 10% Ovh on RM A and 7% on RM B for FG A & 20% Ovh on RM A and 17% on RM B for FG B
    Refer Std Costing Sheet A00001 for your requirement...
    Br, Ajay M

  • License Installation for Multiple Hardware Keys in SAP J2EE Engine

    Hi Everyone,
    I have a question to ask that we have a Failover setup in our Client Enviornment.
    But for SAP JAVA System I am seeing a Problem :
    Whenever Failover will happen SAP System will be moved to different Hardware box
    which has different Hardware Key.
    1) In SAP ABAP Systems we can install Multiple Licenses for Multiple HArdware Keys
        so that whenever Failover happens , no need to apply license for that Hardware key
    2) But in J2ee System under License Adapter , I am not able to see any option under the same
        to install another License
    Under Licnese Adpater Service , I am able to see license of J2ee-engine_ora , maintanance_ora & Netweaver_ora licneses
    Thanks --
    Deepak Gosain

    Hi,
    Try to paste the two licenses in the same file and then import the license file.
    Not sure but give it a try it should work.
    Regards,
    Vamshi.

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver
    How many Application Components are required?

    Hi Vinod,
    1) In integration repository you can have one or many software components it depends on your landscape orchestration
    2) In integration direcory you need at least one service for bpm and one or many for each system in your bpm
    also each connection between systems and bpm must have receiver determination and so on.
    Advice: Please treat BPM as a separate system.
    best,
    Wojciech

  • Multiple Receiver Dtermination from Same Business Sender Service to RecvStp

    Hi,
    I was trying to implement FORK STEP in ccBPM. Scenario I'm trying to implement is, using fork bundle PO with same items together.
    Can anybody help me to create multiple receiver dterminations for three receiver steps in three branches of fork step, where a common business sender service and same Integration process is used for receiving messages into SAP XI.
    Please advice soon,
    Thank You,

    Hi Murali,
    If it's always the same message, only one receiver determination is necessary. I'd also rather tend to do the capturing within a loop which is executed three times.
    Best regards
    Joachim

  • Multiple receiver without condition

    hi,
      I hava a scenario of multiple receiver without the condition. I used 2 send step but i don't find any parameters in send step to specify the receiver channel in send step. Please let me know whether to specify it.
    regards,
    Dhil

    Hi Ahmed,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    in the above blog <status>tag is getting populated from the sender but in my case i need to calcualte in runtime and it was in BPM for eg. sum of particular field f1.  then need to send accordingly only based on this f1 value.
    please help me out how this will be possible. can we use the variable in Recevier determination which i declared in BPM.
    Regards,
    Dhil

  • Any possiblity to use single Inbound Service Interface with multiple Receiver Agreements

    Hi All,
    Scenario: PROXY to FILE.
    Requirement is to receive to two locations.
    Is it possible to use single Inbound interface with multiple Receiver Agreements. I tried using two operation in the Inbound Service Interface, and Operation Specific in Determination. But couldnt proceed further. Do I need to use seperate Service Interface for two receiver locations?
    Please suggest some solution.

    Hi Naveen,
    There is a possibility but in the case in the same server location with dynamic configuration: Placing file in two different directories using single receiver communication Channel
    With different location you would need to develop a new adapter module as Amit Srivastava explains and develops here Send File to Two Different Locations using Adapter Module
    Regards.

  • Multiple Date Keys in a Fact Table

    Do you guys see a problem with having multiple date keys (all date keys are referencing one date demension table) on a fact table?
    RESERVATION_DATE_KEY
    SHIP_DATE_KEY
    CONTRACT_DATE_KEY
    SHIP_DATE_KEY
    CANCEL_DATE_KEY
    APPLICANT_KEY
    BRANCH_KEY
    ENLST_CAT_KEY

    Nope, this is 100% natural for the type of fact table you are building. Happens all the time.
    Scott
    use the "role" to define the multiple ways the time dime is used.

  • JPanel can't receive key events

    I have a single JPanel added to the content pane of a JFrame.
    I want to itercept key events by adding a KeyListener to the JPanel.
    If I do it, I don't receive key events.
    To solve the problem I identified two ways:
    - add the KeyListener to the JFrame's content pane
    - invoke setFocusable(true) on the JPanel (available only since 1.4)
    I can't use the former because I want to bind the the KeyListener to the JPanel, and I can't use the latter because I don't want to have dependencies on jdk 1.4.
    Can anyone suggest a way to solve the problem as simple as calling setFocusable() but available also for older versions of java?

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class KeyListenTest {
         public static void main(String[] args) {
              JPanel panel = new JPanel();
              panel.addKeyListener(new KeyAdapter() {
                   public void keyTyped(KeyEvent e) {
                        System.out.println(e);
              JFrame frame = new JFrame();
              frame.getContentPane().add(panel);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(400,300);
              frame.setVisible(true);
              panel.requestFocus();
    }The panel must be displayable and visible, so you have to make the call after frame.setVisible(true), however if you don't have any other components that will take the focus away from your panel, this should do it for you. If you want the use to be able to shift focus to your panel, then just add a mouse listener to the panel with a mousePressed(MouseEvent) method that calls the requestFocus() method on the panel.

  • [BPM] Multiple receiving steps

    Hey,
    found this demo for multiple receive steps.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    I tried to create a BPM with multiple receive steps, where one step could start
    the process. The example needs to receive ALL steps before it starts.
    How to define a BPM where ANY receive step can start the BPM?
    Would like to receive different Message-Types and transform them to
    a generic structure.
    thanks
    chris

    Hi,
    Use standard pattern multiple Trigger which you can find under BASIS software component under patterns namespace.
    Let me brief.
    First step would be fork with necessary branches(depends on how many systems are participating in requirement). Under each branch insert receive step and for each receive step you it as a start process if required.
    thanks
    Gujjeti

Maybe you are looking for

  • Finder keeps crashing after Office 11 update

    I just did the most recent MS Office 11 update and now finder keeps crashing. Here is the report: Process:     Finder [497] Path:        /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder Identifier:  com.apple.finder Version:     10.9.3 (

  • IMac G5 (without isight) acting weird after installing updates.

    Hello all, My iMac G5 has started acting very strange the last week or so. I had not used the computer in a while (I have a laptop as well) but started using it again about a month ago. Since the computer had been off for so long I went ahead and dow

  • Error - RSM1_CHECK_FOR_DELTAUPD

    Hi Source System was refreshed. After Refresh follwoing are the steps i have done 1. Restore of source system. 2. Run the report RSSM_OLTP_INIT_DELTA_UPDATE. 3. Now i have to start with master data upload. When i am doing full upload for material gro

  • Getting Server IP Address using HttpServletRequest object

    Hi I am writing code using servlets , My system is on LAN let say its IP is suppose 192.0.0.1 and i have another computer name "A" on Lan with private ip 192.0.0.2 and also its has public IP 12.0.0.10 suppose. When i recive request from i try to get

  • EJB-CMP Deployment Error

    Exception:weblogic.management.ApplicationException: prepare failed for accounts Module: accounts Error: Exception preparing module: EJBModule(accounts,status=NEW) Unable to deploy EJB: AccountBean2 from accounts.jar: [EJB:011055]Error deploying the E