Complex interface determination fails for 0-N mappings

We have a mapping question for the following scenario in PI 7.1: One message needs to be mapped into two target structures, it comes from the same sender and goes to same receiver. We need to call two different BAPI in the same SAP end system simultaneously.
This is set up in one interface determination (same sender & receiver) where we use two different operation mappings with different receiver interface names. If the mapping have multiplicity 1, everything works fine and the message gets mapped to both receiver interfaces simultaneously. But, when the multiplicity of the mappings is 0-N (split mapping), then we get error message during interface determination phase:
Error when determining the inbound interface: Inbound interface found several times (for same sender and receiver) for the outbound interface http://sending/namespace.sndInterfaceName
How can we set up our scenario with two 0-N mappings without getting error message? One option would be combining two mappings in one, but this can not work in our case because of the high complexity.
Any comments appreciated. Thanks, Sanjay.
Edited by: Sanjay Gupta on Oct 21, 2010 10:50 PM

Thanks for taking the time to look into this. See my comments below.
1. Are you using multi mapping? Source Message type 1 and Traget message types 2 (added from messages tab in the mapping)
We have two mappings, both create only a single output type, however, they are split mappings, meaning the mapping result message multiplicity is 0-N. So the answer is NO, this are no multi mappings
2. At any time, can both the target messages be created or are they mutually exclusive?
both targets will always be created, they are NOT mutually exclusive
3. With in each message type that gets generated on the target side, is the occurance 1..1 or 1..unbounded?
Don't fully get the question, but I assume you ask if the mapping is defined as a 1:1 or 1..N mapping. The latter is true.
4. Is there any condition in the interface determination?
Answer is No.
5. How many operation mappings did you design.
We have two operation mappings, each containing a different mapping to the different receiver interface type.
Being said that, the ideal way should be, You need to create only one message mapping by adding multiple message types on the target side. I fully understand and agree with this statement, but due to the complexity of the mapping we need to separate it out into two mappings.
It is confusing, that the described scenario works if the multiplicity of the mapping objects used is 1, but as soon as the multiplicity is 0-N (when using a split mapping instead), we start getting the error message.

Similar Messages

  • Excise year determination failed for 100 --- Message no. 8I526

    Hi All,
    I am creating a subcontracting challan. During the creation, I am getting an error "Excise year determination failed for 100 ".
    While I was searching for the solution, I found some one has written that,he was also facing same problem (BUT  he faced this error while doing GR) after changing the "Storage condition"  in the Material.
    Kindly let me know what could be the cause for this issue and how it can be resolved. and also pl let me know what is the relationship between "Storage condition" and the "Excise year determination" ?
    Thanks in advance......
    Regards,

    Hi,
    In connection with my previous post --- pl note that " his issue got resolved after he changed the storage condition".
    Rgds,

  • Excise year determination failed for company code

    Hi
    im getting the following error while trying to post GR.
    "Excise year determination failed for company code"
    Please help....
    regards
    ramprakash

    HI,
    Check the link
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/excise-year-determination-failed-for-company-code-1000-3319164
    Regards
    KK

  • Output determination failed for a single customer(order confirm thru mail)

    Hi,
    i n sales order while we save a confirmation mail goes to cutomer.but in case of one customer it failed in output in  edit option it is showing yellow signal and email id also maintained in cutomer master .for all other customer its ok.i m new to this could you plz suggest me and provide me the settings .
    Reagrds,
    Debesh

    Hi Debesh,
    Please go to NACE t-code in order to configure output determination, if customer master is ok for output control . in that screen, Firstly you should select V1 output control for order confirmation ,and go in your output condition records for your output control adn create a condition record for your access sequence (ıthink there is no condition record or correct condition records for your specific customer.)
    When creating condition records, you should define customer number+ SP- partner function +message trn. medium-5, dispatch time- periodic job, immediate, or etx...
    I hope you will solve this proble after output condition records for your spesific customer correctly.
    Regards,

  • Receiver Determination and Interface Determination Condition conflict in ICO

    Hi,
    I found a strange issue today while configuring two receivers using the Receiver and Interface Determination conditions.
    Sender - Proxy Service
    Receiver1 - ReceiverA
    Receiver2 - ReceiverB
    Receiver Determination Condition : When Field1 = 100, message should flow to ReceiverA and ReceiverB
    Interface Determination Condition (ReceiverA) : When Field1=100 and Field2=50 message should flow to a specific interface in ReceiverA
    There is no Interface Determination condition for ReceiverB, for all messages having Field1=100, it should go to ReceiverB.
    Test Scenarios:
    1) Field1=100, Field2=50 : Message flows successfully to ReceiverA and ReceiverB
    2) Field1=100, Field2=89 : Message fails to process from ECC itself throwing Interface Determination not found error. Ideally this is a positive scenario for ReceiverB and it should send the message to ReceiverB without any errors. But, this did not happen in this case
    I tried the same by configuring the conditions completely in Receiver Determination itself without using the Interface Determination, it worked perfectly fine. But, just wanted to understand that if this is an expected behavior.

    Hi Sherin,
    As there are two receivers Receiver A and Receiver B.You need to create two bussiness components and two communcication channels for two receivers and one Reciver Determination, two Interface Determination,two Receiver Agreement.In Receiver Determination you need to keep the below and condition.
    In the above screenshot the two receiver are Receiver B and Receiver C and Field 1 is Key_Value and Field2 is Emp_ID.
    If the Key_Value=100 and Emp_ID =22 then the message should go to both the receivers B & C by keeping the following AND condition
    If the Key_Value=100 and Emp_ID is not equal to 22 then the message should go only to Receiver B by keeping the following condition
    You need not keep any condition in Interface Determination just create 2 Interface determination for two receivers.
    Hope this helps you.
    Thanks,
    Durga.

  • Interface determination not found

    Hi,
    I am reading a file and trying to send it through a SOAP adapter.
    I am getting the below error
    Error when determining the inbound interface: No interface determination found for outbound interface http://test.com.testFlies_OB: Error while determining root tag of XML: BOM / charset detection failed
    No interface determination found for outbound interface http://test.com.testFlies_OB: Error while determining root tag of XML: BOM / charset detection failed
    Error while determining root tag of XML: BOM / charset detection failed
    Error while parsing an XML stream: 'BOM / charset detection failed&#39
    Need help.

    Hi,
    just check in ID, whether in receiver determination, you have specified interface determination.........if yes, then check whether it is activated or not............if not activated, then activate it...........
    if it is activated and still you get this error, then ask your basis guys to do a full CPACache refresh using XIDIRUSER..........then re-run your scenario.
    Regards,
    Rajeev Gupta

  • Question related to enhanced interface determination option in ID

    HI All,
    I am trying to create a 1:N message mapping and here are the steps which I have done.
    1. Created a Source Data type, Message type , Message Interface and activated
    2. Created 3 Target Data types, 3 Message types and 3 Message interfaces and activated.
    3. Created a Message mapping and Interface Mappings in Message interface and activated.
    While creating the configuration(ID) i have to use the enhanced interface determination but my interface mapping is not getting reflected in the popup.
    All of the above objects are created in a Customer Specific software components but however if i create the Message Mapping and Interface Mapping in SCV SAP_BASIS and Namespace http://sap.com/xi/XI/System then i am able to select the interface mapping through enhanced interface determination option during configuration.
    What i wanted to know is do I need to create the Interface mapping in SCV SAP_BASIS instead of Customer Specific SCV.
    Regards,
    Swaroop

    Which version of PI are you working on?We develop objects in customer SWC not SAP Basis.
    Create Interface determination and add 3 operation mappings by using + button , write a condition if you required.I hope you created one Bussiness compoenent for Target.

  • Agent determination failed in Standard Workflow.

    Hi Experts,
    I am new to workflow and we are trying to implement the standard HCM process of Transfer.
    The worflow is giving this error.
    Error when processing node "000000032"
    which further says Agent determination failed for step "000000032"
    Pls help and guide what can be done to resolve it.
    We have checked the Org Structure.
    Regards,
    SV

    Hi,
    Thank you for your reply,
    Which std workflow you are using ?
    We are using the WF WS17900427.
    Are you using portal to trigger the workflow and webdynpro screen for approval or adobe form for approval ?
    Yes
    If the agend resolution is getting failed. What role number ?
    Rule ID 17900012.
    Have your tested individually from PFAC t-code. Is it giving the correct agent from there. check from there.
    Testing individually (onclick of Stimulate rule resolution).
    Runtime Error MOVE_CAST_ERROR
    Exception     CX_SY_MOVE_CAST_ERROR
    Regards,
    Sanjyoti.

  • Interface Determination under Enhanced Receiver Determination Scenario

    Hi,
    One of the very basic assumption for Enhanced Receiver Determination is that Receivers are found at run time, and one of the such requirement is that we don't know about Receiver  Business System at the time of configuration.
    Now for such scenarios, how do we configure "Interface Determination". For Interface Determination one of the input filed is "Receiver Service/Party", in addition to "Sender Service/Party" plus "Sender Interface"
    Since we don't know Receivers at config, what value(s) should come in "Receiver Service/Party" in Interface Determination at config time.
    Thanking all of you in advance

    Hi Rajan,
    You have to do the following things:-
    First, maintain Database Table in SAP XI. Which contains several keys like Sender, Receiver system and then according to that key combination we perform a JCO call and fetch the values which gives us the correct receiver and interface.
    Create a Data Type which will be having Two elements Service And Interface.
    Now careate a message type and message interface for this data type. This will be for your receiver.
    Then use source payload and perform a message mapping between Sender Payload & this Message Type.
    Use UDF and make a JCO call and fetch table entries for service and interface.
    Then in Directory perform extended determination and use this mapping into it. The result will be Service & Interface.
    Thanqs
    Biplab

  • PR Overall Release Workflow - Agents Determination Failed

    Dear All WF Experts,
    I have used the standard workflow WS20000077 for PR Overall Release. I have assigned the agents to the task TS20000159 by position maintained in the Workflow Organizational Management Structure. The agents' names are showing correctly in the task's agent settings.
    However,  when I execute the workflow, the error 'Agent Determination Failed' for that step (TS20000159). I have checked the agent settings in workflow and SPRO, they look fine. Could anyone please kindly give me advices how to solve this error? Thank you so much.

    Hi, to all the experts who have helped me all these while,
    Thank you very much for spending time helping me to go through this issue.
    Yesterday, I ran through the coding for the function module for the rule AC20000026 again. I found out that there is one part of the coding which is causing the failure of determining an agent. The code disregard the company code for overall release of Purchase Requisition while the business requirement involves company codes in every PR created. Thus, by changing that code, the problem is solved.
    The snippet of code of function module (ME_REL_GET_RESPONSIBLE):
       CASE t16fc-frgwf.
    * keine Ermittlung
          WHEN space.
            RAISE nobody_found.
    * Ermittlung ¨¹ber T16fW
          WHEN '1'.
            IF eban-gsfrg EQ space.
    *     Einzelpositionsfreigabe Banf
              SELECT SINGLE * FROM t16fw WHERE frggr = eban-frggr
                                           AND frgco = rm06b-frgab
                                           AND werks = eban-werks.
            ELSE.
    *     Gesamtfreigabe Banf
              SELECT SINGLE * FROM t16fw WHERE frggr = eban-frggr
                                           AND frgco = rm06b-frgab
                                           AND werks = space.
    There is always a value in werks in my business scenario...
    SELECT SINGLE * FROM t16fw WHERE frggr = eban-frggr
                                           AND frgco = rm06b-frgab
                                           AND werks = space.
    So, by changing it to
    AND werks = eban-werks
    it will work, however, I think it's better to just remove the If statement
    IF eban-gsfrg EQ space.
    , since it has no effect anymore.
    I hope this would give a hint to all the rest who might be facing the same problem as well.
    Thank you very much,
    YL

  • ACK for receiver determination with 2 interface determination

    Hi Forum,
    I have a XI scenario, with a BPM, where i have a Send step,
    this send step corrsponds to a receiver determination in Configuration,  and this receiver determination has 2 interface determination,
    because the send step is like,
    BPM to Receiver1, through sender message interface MI_Sender1, but there are 2 different receiver message interface namely MI_receiver1, and MI_receiver2,
    .......hence 2 interface determination and 2 interface mappings accordingly,
    and now when in BPM, i choose "transport acknowledgement" for this send step, my BPM stucks while waiting for the acknowledgement, but...in MONI, i am receivng both the acknowledgement, but in PE, workflow descrition, it waits for acknowledgement and finally fails,
    what's the reason,

    check the workitems of both sender/receiver (ack) in moni (problem might be in BPM config).

  • When we  will go for Ectended Interface Determination

    extended interface determination example give me any one...
    Regards,
    Vinay

    Enhanced (Mapping-Based) Interface Determination 
    Use
    In an enhanced interface determination, you do not enter the inbound interfaces manually, but first select a multi-mapping. You get the inbound interfaces from the target interfaces of the multi-mapping. The inbound interfaces are determined at runtime during the mapping step.
    You typically use an enhanced interface determination if the source message has an element with occurrence 0 ... unbounded (for multiple items of a data record) and you want multiple messages (for the individual items) to be generated at runtime.
    For example, you want to split an overall booking for a trip comprising connecting flights into individual booking orders (for each leg of the trip).
    You cannot realize this usage case with a standard interface determination (without using an integration process). A standard interface determination does allow you to specify multiple (N) inbound interfaces (with different mapping). In this case, N messages with the same payload and different receiver interfaces are generated from the source message before the mapping step; these are then transformed differently depending on the receiver interface. Therefore it is conceivable to write the mappings in such a way that the first mapping from the source message generates a message that only contains the first item, the second mapping generates a messages that only contains the second item, and so on. However, this no longer works if the number of items can vary with each new source message.
    You can use an enhanced interface determination to configure a mapping-based message split for this usage case. You assign the interface determination a multi-mapping that has a target interface with an element with occurrence 0...unbounded. At runtime, the individual messages (for the individual items) are calculated in the mapping step. First, the individual messages are grouped into a bulk message. Then, the bulk message is transferred to the Adapter Engine. The Adapter Engine then splits the bulk message up into the individual messages (see figure).
    Procedure at Runtime During Message Split
    Note that both the bulk message and all individual messages each have a message header with a receiver interface (see figure).
    Receiver Interfaces of Bulk Messages and Individual Messages
    The header of the individual messages contains the relevant receiver interface. It is based on the definition of the multi-mapping. Note that the receiver interfaces of the individual messages may be different. The receiver interface of the bulk message is always InterfaceCollection (namespace http://sap.com/xi/XI/System).
    If the message split only results in one message, the original message structure remains the same. In this case, a bulk message containing just one individual message is not created.
    You can also assign a multi-mapping with multiple different target interfaces to an enhanced interface determination (1:n transformation). Each target interface can contain elements with occurrence 0 ... unbounded.
    Messages cannot be sent by using different Adapter Engines in a mapping-based message split. This affects configuration thus: All receiver agreements that have a receiver interface from the mapping entered in the key must only be assigned communication channels with the following adapter types:
    -          RFC adapter
    -          SAP Business Connector adapter
    -          File/FTP adapter
    -          JDBC adapter
    -          JMS adapter
    -          SOAP adapter
    -          Marketplace adapter
    -          Mail adapter
    -          RNIF adapter
    -          CIDX adapter
    The adapters also have to all run on the same Adapter Engine.
    Adapters developed by partners also support a mapping-based message split if they run on the same Adapter Engine.
    Attachments from the original message are not appended to the messages resulting from the message split.
    Activities
    To execute a mapping-based message split, perform the following steps:
           1.      Integration Repository: Define the multi-mapping (see Developing Multi-Mappings for Message Splits).
           2.      Integration Directory: Define the interface determination.
    Note the following:
    ○     The outbound interface of the multi-mapping must be entered as the sender interface in the key of the interface determination.
    ○     The interface determination type must be set to Enhanced.
    ○     Select the multi-mapping you defined previously from the Integration Repository.
    To select the interface mapping, use the input help ( ).
    The target interfaces of the interface mapping are displayed in the Inbound Interfaces frame.
    The number of messages (for an inbound interface) created in the mapping step is displayed in the Occurrence column.
    regards,
    Raj

  • Error when trying multiple inbound interface determination for IDOC

    Hi !
    I have this scenario: File -> XI -> IDOC. 
    For each source file, I need to send multiple idoc packages, all to the same business system, but each package should be the result of different interface mappings.
    All mappings have same source and target message types...e.g. source: MT_MyFile, target: CREMAS04.
    To avoid creating a generic mapping program, we need to duplicate the current mapping program, make it handle the new case, and then add it as second interface mapping in Interface Determination, with same inbound interface, but different interface mapping, without conditions. All interface mapping should execute.
    We are receving this error:
      <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xxxxx/xxxx:.MI_xx_xxxxxxxx_xxx_xx</SAP:P1>
      <SAP:Stack>Error when determining the inbound interface: Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xxxxx/xxxx:.MI_xx_xxxxxxxx_xxx_xx Inbound interface was found more than once (for same sender and receiver) for outbound interface urn:xxxxx/xxxx:.MI_xx_xxxxxxxx_xxx_xx</SAP:Stack>
    Any clues?
    Regards,
    Matias.

    Hi Satish !
    Thanks.
    I need to send different IDOCs to SAME business system.
    In Interface determination I need this:
    Inbound Interface -
    Condition -
    Interface Mapping
    <b>IF_1</b>                     no condition                   <b>M_1</b>
    <b>IF_1</b>                     no condition                   <b>M_2</b>
    I need to send BOTH IDOC packages to same business system.
    But it keeps throwing the posted error.
    Regards,
    Matias.

  • Problem in Interface determination for multiple MM

    Hi experts,
    i designed an IDOC to Jdbc scenario.
    The particular thing is that I have TWO message mappings to apply for the same source and same target.
    Hence, I have in my directory two scenarios with :
    - same Reveicer Determination
    - same Interface Determination
    - differents Receiver agreements (i have two Communication Channels)
    In my interface determination, I have configured a standard Interface determination with my two interface mappings to apply.
    My problem is when I send an idoc, the result should be for my two interfaces differents payloads to inject to the database, but I get the same payload for both interfaces with the same namespace...it looks like it only use one Interface mapping instead of both...
    It is driving me crazy...
    Any help would be greatly appreciated
    Kind regards,
    Jamal

    Hi,
    i have the same receiver.
    I do have two interface mappings in my interface determination. The problem is that it uses the same for both interface.
    If I use enhanced ID, i can only specify one Interface mapping.
    What I want :
    - sender A - Message mapping 1 - receiver A
    - and also sender A - Message mapping 2 - receiver A
    when the idoc is sent.
    what I have right now (though my configuration seems to be right) :
    - sender A - Message mapping 1 - receiver A
    - and also sender A - Message mapping 1- receiver A
    Thanks a lots,
    Jamal

  • Agent determination getting failed for one particular scenerio

    Hi,
    I am working on production workflow issue. Production system is cluster of hospitals for HR system. Staff applies leave from hospital A by keeping approver from hospital B. Workflow is triggering. The problem is work item is not getting placed in Approver inbox.
    So when work item is not placed in approver inbox, We have done following things.
    <li> We have run transaction SWI1_RULE to fix missing agent. This can be used to re-trigger complex user determination.
      After running the t.code, Work item was placed in approver inbox.
    But Staff complained again when he got same problem next time when leave was applied.
    <li> This time we have run transactions SWU_OBUF to refresh workflow buffer(Suggested in forum) and  SWI1_RULE to fix missing agent. After running these t.codes, Work item was placed in approver inbox.
    But Staff complained again when he got same problem next time when leave was applied. We died this time.
    Could you please tell me what kind of R&D we need to do ? By the way, this is customized Leave workflow.
    Thanks
    Venkat.O

    Hello,
    Okay, that's your problem. FInd out how the agents are determined. Look at the inputs to the rule or method and find out where it's going wrong. How are they determined?
    I don't understand how SWI1_RULE seems to fix this.
    regards
    Rick Bakker
    hanabi technology

Maybe you are looking for

  • Fit the window with mouse doesn't work after new update 10.9.2

    Hi, I could fit a windows using my mouse wheel or two finger(on trackpad), doesn't work after I set up new Mavericks update(10.9.2) I'm using Haswell rMBP. Can anyone help me please? Thanks a lot. (Also, minimize with mouse wheel doesn't work too.)

  • Which Offline RT to use, if any?

    Help! I have three six minute videos due by 3/22. I am just beginning with FCP. Here's my question... My media drive has 300gig available. With approximately 250 minutes of source material to digitize I fear I may run too low on space capturing uncom

  • Index column limit of 16

    Hello, We are running SAP R/3 Enterprise 4.7 on an Oracle 9.2.0.7.0 database and have an issue with a limit on a table index of 16 fields.  The Oracle version has a limit of 32 but the SAP application doesn't allow more than 16. Has anyone else encou

  • Accessing OBIEE Webservices under SSO Setup

    Hi All, We have 3 OBIEE Webservices that are Out-of-the-Box accessed by Siebel. SAWSessionServiceSoap - Logon (eg.) http://<hostname>:<port>/analytics/saw.dll?SoapImpl=nQSessionService WebCatalogServiceSoap - Web Catalog Retrival JobManagementService

  • DAC External Program

    When launching an external bath file task the task hangs. Is there a command that needs to be run to communicate back to the DAC server that the batch file is complete? If so what is it? I haven't found anything in the command line references that wo