Enhanced Interface Determination for IDOCs

Hi All,
    I've a query on the usage of Enhanced Interface Determination for IDocs.
I've to create IDocs based on the condition in the Message Mapping i.e. say if recordtype in the source is A then IDoc1 should be created and if recordtype is B then IDoc2 should be created.
Is it possible to use Enhanced Interface Determination to achieve this??..  Because I was told by someone that Enhanced Interface Determination can't be used for IDoc based scenarios though am using External Definitions for the mapping purpose. Please clarify.
Thanks in advance
Regards,
Joe.

Hi Sridhar/ Bhavesh,
                       Thanks for your prompt reply. I think I wasn't clear in my previous post.
The scenario is the input file has three different record types (3 different structures) and the IDocs should be created based on the record type. I don't think I can use the condition based scenario as the record types are totally different. Please suggest.
Thanks,
Joe.

Similar Messages

  • 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.

  • Error with Enhanced Interface determination

    Hi Experts,
    In enhanced interface determination for message splitting w/o BPM, i have given the interface mapping.
    But while testing the configuration.......... i am getiing an error at Interface Determination & Mapping which is not showing any processing log.
    My mapping program works fine.
    could anyone tell me where the problem is....

    Hi,
    Can you post the error message that you are getting....it will help experts solve your problem accurately.
    Regards,
    Abhishek.

  • Enhanced Inerface Determination for File to IDoc scenario

    I am using Enhanced Interface Determination in my scenario - where I map my source message (from a single instance) into more than one IDoc messages (separate instance of Idoc for each occurance of a particular segment in the source message). To implement this I am 1:n message mapping for Message Splitting.
    The mapping is being executed successfully and several instances of the target IDoc type is being created at the runtime. But at the technical routing step I am getting error:
    <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
    Does this mean that we cannot use Multi-Mapping for Message Splitting for IDoc Outbound Channels? Even if all the target messages (more than one) are being sent through the same Inbound interface and same Reciever IDoc Channel?
    Regards,
    Suddha

    Thanks Farooq for your valuable advice.
    You know what, I read those restrictions in the help.sap.com but had thought there must be some work around. It says split messages are sent using only one AE, but I hoped that Idoc and Http can be used as they are not part of AE and rather IE itself. Anyways, can't help...............but could help me understand what are the technical reasons for these restrictions?
    The blog is really a nice one and very helpful..............thanks! I used multi-mapping in exactly similar way as in the blog and used enhanced interface determination - but the target message being Idoc
    Is BPM the only option for my scenario?
    Regards,
    Suddha

  • Enhanced Receiver Determination for synchronous interface.

    Hello!
    Was anyone faced with the Enhanced Receiver Determination? When I try to create
    the definition of the Interface Mapping, I get the error:
    "Interface modi are different. Source interface Message Interface MI_My_sync_iface | urn:my is synchronous. Target interface Message Interface ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous"
    Thank you.

    Hi ,
    U can go through below limks  :
    Illustration of Enhanced Receiver Determination - SP16
    SAP NetWeaver Process Integration: Enhanced Receiver Determination for Synchronous Scenarios
    Enhanced Receiver Determination in SAP XI - Exchange Infrastructure - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/enhanced%2breceiver%2bdetermination%2bin%2bsap%2bxi
    Thanks

  • Integration Scenario for Enhanced Interface determination

    Hello Friends,
    I am modeling the integration scenario for 1:N Mapping case, that is 1 outbound Interface and  3 inbound Interfaces. I am finding difficultly in modeling the integration scenario for enhanced interface determination.
    Kindly provide me inputs in configuring this case.
    Thanks

    Have you look this help?
    http://help.sap.com/saphelp_nw70/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    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.

  • Enhanced Interface Determination - does not work!

    Hi guys,
    well i have a scenario where i have done a multi mapping where MT_TYPSCH is generated for each new value which occurs in one special source field.
    <NO>1</NO>
    <NO>2</NO>
    <NO>3</NO>
    ..so three MT will be generated.
    Now i would like these messages devided to different Business Services where each one has on FTP-CC to write a file with a certain filename, e.g. File1.txt, File2.txt, File3.txt.
    Therefore i thought i use different receivers in Receiver Determination with using Conditions and pointing to a value in field with XPATH. So depending on field <NO> the message should be routed to the given receiver targets.
    I surely use the enhanced Interface Determination because i use multi mapping.
    But when i run test, i receive 3 files with different names but same content. For me the receiver determination is not working that good.
    Can someone help me on this?!
    source:
    <ZBC0>
    <IDOC BEGIN="">
    <EDI_DC40 SEGMENT="">
    <ZBC0 SEGMENT=""> 0...9999
    <NO>1</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </ZBC0>
    <ZBC0 SEGMENT="1">
    <NO>2</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </IDOC>
    </ZBC0>
    target:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_TYPSCH> 1..1
    <TYPSCHRecordSet> 1..1
    <TYPSCHDetailsStruc> 1..unbounded
    <FELD1/> {represents content of <No>}
    <FELD2/>
    <FELD3/>
    </TYPSCHDetailsStruc>
    </TYPSCHRecordSet>
    </MT_TYPSCH>

    Hi Mario,
    ok here is my requirement.
    We get ONE IDoc in which several items are listed. These have one field <NO> which can have the values 1,2 and 3. Depending on this value the items should be collected and written to different files on FTP.
    My approach is that i divide all the items in mapping in different Message Types. This MT should be routet to different business services which has one CC to write on FTP.
    To get the items with e.g. <NO>1</NO> i took condition in reciever determination using xpath. ((/ZBC21/IDOC/ZBC21/NO = 1).
    So depending on the mapping everything runs - in my point of view but the different messages are not routed to the different services to write them to different files.
    Source
    <ZBC0>
    <IDOC BEGIN="">
    <EDI_DC40 SEGMENT="">
    <ZBC0 SEGMENT=""> 0...9999
    <NO>1</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </ZBC0>
    <ZBC0 SEGMENT="1">
    <NO>2</NO>
    <TYPE>1B20-6</TYPE>
    <SPEC>152J</SPEC>
    </IDOC>
    </ZBC0>
    target:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_TYPSCH> 1..1
    <TYPSCHRecordSet> 1..1
    <TYPSCHDetailsStruc> 1..unbounded
    <FELD1/> {represents content of <NO>}
    <FELD2/>
    <FELD3/>
    </TYPSCHDetailsStruc>
    </TYPSCHRecordSet>
    </MT_TYPSCH>
    The output should be files with content of items depending on field <NO>.
    file1.txt (all items with <NO>1</NO>)
    file2.txt
    file3.txt
    I hope i made it clearer!
    br

  • Acknowledgments in scenario having enhanced interface determination

    Dear Experts,
    I have noticed that in case of Idoc sender scenarios where PI is having an enhanced interface determination, the acknowledgments are not sent back to R/3. Is this something standard or is there a way to enable the acknowledgements in these case.
    Regards
    Varun

    Hello,
    Is this something standard or is there a way to enable the acknowledgements in these case.
    You can enable/disable acknowledgement by running report IDX_NOALE. From there filter the sender port/client and then click execute. You can then turn on/turn off acknowledgements for idocs sent from that port.
    Hope this helps,
    Mark

  • Enhanced Interface Determination in PI 7.1

    Hi All,
    My scenerio will work as follows
    The changes in the process order will triggered by the client system .I will get the already converted XML file.I have used the file adapter in the sender side to pick the file.At the receiver side I am using the  3 custom  BAPIs.I have used 3 message interface instead of multi-mapping as the inbound interfaces.
    The Logic is like that:
    If the Process order status is = 1 then call BAPI 1,if it 2 then call BAPI 2  & call BAPI 3.
    Please tell me the following
    1.Is there Enhanced Interface Detrmination option available in PI 7.1?If so then can I mention  or call 2 BAPIs in one condition over there?Do I need to write ABAP condition?
    2.Is Enhanced interface Determination possible when I have used 3 inbound interfaces instead of multi-mapping?
    3.From my point of view I need the following in my scenerio
      - 3 message mappings(Graphical Mappings),
      - 3 interface mappings,
      - 1 sender agreement,
      - 1 receiver determination,
       -1 interface determination(with 2 conditions in it),
       -3 receiver agreements.
    Am I right?
    4.How many sender and receiver agreements do I need?
    5.Do I need to go for Enhanced  receiver determination?
    Thanks in advance.

    the same status node in the source file on which I will impose check will call the selective inbound interface based on the
    status node.Is it?If so,then do I need to mention anything other than the check condition in XPATH e.g.do I need to mention any
    mapping program or inbound interface (though I dont thing so but I am still confused) ?
    Yes, apart from specifying the condition in the Condition Editor you also should mention the corresponding Inbound Service Interface and Interface Mapping (if any).
    Condition will only cause the execution of that particular line and wont automatically call the mapping/ interface (unless these are specified in the Interface Determination).
    Is XPATH the alternative option in condition editor which can be skipped though I would surely like to go through it as
    much as possible?
    XPATH is the easiest option to specify a condition....other option includes the use of a Context Object.
    So as of now think that you cannot skip XPATH (for this particular requirement).
    Once you become an expert in using a XPATH (which you can in a days period) you can try out for Context Objects.
    Regarding Test Case:
    There is no standard template for this.....i would suggest check with peers in your company.....many a times companies have their own templates for test cases alongwith the possible cases....then referring to those test cases you can build the cases for your scenario. Avoid a direct copy of the test cases.....many wont be relevant for your case.
    Regards,
    Abhishek.

  • Enhanced Interface Determination?

    Hi All,
    I have a scenario where i need to do a header validation . if validation succeeds i have to map source to target data and sent to SAP system. if validation fails i need to map source to error data and sent it to MQ system.
    I  am using enhanced receiver determination for selecting proper receiver based on the header validation. but in this case inspite of failed header validation there is no error message in SXMB_MONI...
    what i wanted is that when header validation fails , error message should be displaced in moni and also a error message (xml ) should be sent to MQ system.
    for implemention the above mentioned feature , i took another message mapping and interface mapping where i am explicitly throwing error -- Repository work.
    In configuration , i just create one more receiver determination with new message type and in existing interface determination , i added the additional interface mapping ( throwing error ).
    due to above changes , i am getting three message in Moni.. if header validation fails.
    1. which indicated that there is message splitting.
    2. one successful message ( source to error xml file ) to be sent to MQ system.
    3. error message where i am explicitly throwing error .
    can we have a situation where we have only one error message in moni and also the error is sent to MQ system?..
    i guess there is some feature in interface determination.. what is enhaced interface determination..
    I hope i am clear with my requirement..
    Ranjeet Singh...

    Have a look
    /people/robin.schroeder/blog/2006/11/15/using-dynamic-receiver-determination-with-sync-interface
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    List of receivers can be dyamically determined and assigned at runtime using enhanced receiver determination .
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
    Thanks

  • Enhanced Receiver determination - for Integration Process

    Hi,
    Just wanted to confirm that if it is possible to have more than one Receivers, with Enhanced Receiver Determination and one of the Receiver happens to be Integration Process. I know with Enhanced Receiver Determinations you can find more than one Receivers at Run time, however the key question is, if in addition to normal Receiver Systems (like SAP R/3 or Web Services etc), if we can also kickoff Integration Process within Enhanced Receiver Determination.
    Thanking in advance.

    as said by Udo Martens
    Assumedly the different receivers are using different Inbound Interfaces (a BP is using an Abstract Interface). Therefore you would need for each different receiver a own Interface Determination referring a own mapping.
    refer this wiki  http://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=131760630&version=5 to Know how to  configure Enhanced receiver determination  and Interface determination for each receiver .
    In your case one of the receiver will be Integration process

  • Abap proxy with attachments in enhanced interface determination/mapping

    Hi guys.
    We were receiving a abap proxy from ECC with a pdf attached in the header.
    This was the scenario PROXY ---> FILE
    We used the PayloadSwapBean Module in a Receiver File Adapter to get this document and put it in a FTP Server.
    Now we have to make and improvement in the scenario and we have to generate two receiver interfaces so the scenario looks like this:
    PROXY ---> FILE and JDBC.
    So we have to use an enhanced interface mapping and an enhanced interface determination.
    The problem is that with this enhanced interface determination/mapping the attached document is lost.
    Any solution?
    Thanks a lot.
    Regards.

    > The problem is that with this enhanced interface determination/mapping the attached document is lost.
    I know there was an issue in early PI 7.1 SP versions. maybe you find a bug fix for this?
    Otherwise report to SAP.

  • Extended receiver and enhanced interface determination

    Hi,
    Can somebody list me the business cases when we use the extended receiver and enhanced interface determination.In which scenarios we have to use them?
    Where we can use these features and whom they can replace?
    Regards,
    Anoop

    Hi Anoop
    have alook at thses URl's also
    http://help.sap.com/saphelp_nw04/helpdata/en/43/01322a7af25285e10000000a1553f7/frameset.htm
    :Dynamic file and variable substitution
    Similarly Extended Receiver determination is used to determine the receiver at runtime.
    Refer my reply:Re: Condition In Receiver Determination Not Working
    enhancement in ID
    Enhanced Receiver Determination:
    You use an enhanced receiver determination to have a mapping program determine the receivers of the message dynamically at runtime. Instead of creating the receivers in the receiver determination manually, you assign a mapping to the receiver determination and this returns a list of receivers at runtime.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
    Enhanced (Mapping-Based) Interface Determination
    In an enhanced interface determination you do not enter the inbound interfaces manually, but instead 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.
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    <b>enhanced interface determination</b>
    /people/robin.schroeder/blog/2006/11/15/using-dynamic-receiver-determination-with-sync-interface
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    List of receivers can be dyamically determined and assigned at runtime using enhanced receiver determination .
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
    Thanks
    Pls reward if useful

  • Enhanced Interface Determination gives Empty Payload

    Hi,
    I am using Enhanced Interface Determination in my scenario.
    1:3 Message Types(Interfaces).
    The thing is that split occurs, but after Message Mapping I get empty Payloads..
    I am using External Definitions instead of Message types.
    Another question: Can there be multiple dynamic confgiurations during splits. i.e one Dynamic Configuration for each message split.
    Note: testing the Interface mapping from IR with payload from MONI gives proper output.
    Regards,
    Sundar.

    Hi All,
    I copied the entire XML which i used for testing in Interface Mapping which i should not have....
    I gave as
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:SAP_HR_MT xmlns:ns1="http://com.cognizant/sapr3/all">
             <Participant>....
                         </Participant>
             <Dependent>
                ....         </Dependent>
             <Coverage>
                ....         </Coverage>
          </ns1:SAP_HR_MT>
       </ns0:Message1>
    </ns0:Messages>
    But the input should have been
    <?xml version="1.0" encoding="UTF-8"?>
          <ns1:SAP_HR_MT xmlns:ns1="http://com.cognizant/sapr3/all">
             <Participant>....
                         </Participant>
             <Dependent>
                ....         </Dependent>
             <Coverage>
                ....         </Coverage>
          </ns1:SAP_HR_MT>
    now the output is perfectly coming....:-)
    Regards,
    Sundar )

  • Enhanced interface determination IN BPM

    Hello experts,
    Question is in the title.
    I'm in PI 7.0 and i think it's not possible. Can you confirm it ?
    Thank you for your responses.
    Regards.

    Yes ! ;o)
    But, i have a scenario with BPM  : file -> synchronous call bapi -> 2 split mapping (using enhanced interface determination) -> possibility 4 files.
    It's not a problem for me, because i will 'stop' BPM afterthe Bapi call, but i have to create most CC.
    It was just an quastion for me.
    Thanks.

Maybe you are looking for

  • ORA-03135: connection lost contact (10gR2) on RedHat 3ES

    Hello all, We are having an issue with a new installation of Oracle 10gR2 on a RedHat Enterprise 3ES server. After twenty minutes or so of idle connectivity, we are losing connections to the database with the following error: ORA-03135. So, I looked

  • Labview does not compile my vi!

    Labview does not compile my vi. It says "could not compile vi, bad dsoffset, dso = -1". I was still wiring the vi and was able to compile it several times before this error appeared. It shows a broken run arrowa and when I click on it to see the list

  • Pictures missing from iPhoto 11 9.4.1

    I upgraded to 9.4.1 the other night, and now some of my pictures are missing. It shows a thumbnail very briefly but then turns into a gray box. Should I rebuild the library? I back up to Time Machine. Thanks!

  • Omg help!!!

    ok so im trying to set up my email on my bb8130 and it says that if i want to use an already existing email account than i need to type that into the user name spot and the password that goes with it in the password spot well i did and it is telling

  • How do I reload system extensions?

    I have the following warning: "The system extension "/System/Library/Extensions/AppleUSBEthernetHost.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update." How do I accomplish th