Multi-mappings for IDoc receiver

Hi ALL,
Im working on a scenario in which multiple purchase orders are selected from a database and i want to post an idoc for each purchase order.
Im using JDBC and IDOC adapters respectively.
I tried to split the source message using Multi-mapping (Enhanced Interface Determination), but according to SAP Documentation, you cannot use IDOC adapter in case of multi-mappings.
Is there a way to do this?
Please help.
Thanks n Regards
Akshay

Hi ALL,
   I referred the note 814393 and did my design as specified in it. But im getting the following error
  <b><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Call Adapter
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIAdapter</SAP:Category>
  <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
  <SAP:P1>Inbound_XSD_ORDERS</SAP:P1>
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>Unable to interpret IDoc interface Inbound_XSD_ORDERS</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error></b>
But i had one query...the note doesn't mention abt creating message interface for the external definition.
Do we need to create one?
    Michal & Vijaya,
           BPM is a good solution...but wht do u think abt the other solution?

Similar Messages

  • Multi Mapping for JDBC Receiver JDBC Adapter

    Hi All,
        I'm trying an IDoc to JDBC (canonical XML) scenario using multi mapping (single IDoc as source and two different JDBC messages in receiver end). But, this is failing in RWB with some parser error. So, am not sure whether multi mapping is allowed for JDBC Canonical XML format. Please clarify.
    Thanks,
    Hussain.

    Hi ,
    JDBC Adapter supports multi mapping,so you can implement the same,but what do you mean by Canonical XML format??
    Regards,
    Raj

  • Maximum size of XML files and number of IDocs for IDoc receiver adapter

    Hi Guys,
    We have an XML file to IDoc scenario where XI picks up an XML file with multiple Customer records in it, it does a simple mapping and creates one DEBMAS06 IDoc per record in the XML file. All IDocs are sent in a single file in XML-IDOC format to IDoc adapter which then posts the separate DEBMAS IDocs to R/3.
    a) What is the maximum size of XML files that XI can handle with mapping involved ?
    b) What is the maximum number of IDocs in a single file that the receiver IDoc adapter can handle ?
    The first time this interface runs almost 200,000 Customer records will be exported in one XML file.
    Thank you.

    Hi,
    Well it is difficult to find out the  maximum Size of xml messgaes that can be processed by XI and also Maximum number idocs an recevier Idoc adapter can handle.
    This totally depends on your production system loads and the limits can be set totally on trail & error basis..
    In my heavy loaded production system, i found out that the maximum size of the successfull messages after processing by XI is around 75 MB (seen in transaction SXMB_MONI). Whereas messages with size around 100 MB went into error.
    I havent encounter any such limits with respect to Idocs.
    I would suggest that you divide your data into smaller chunks and sent it part by part instead of sending it all once since you data size is huge.
    You can vary your batch size as per your system load.
    Regards,
    - Deepak.

  • Multi Mapping with IDoc receivers

    Hi,
    I want to use an Interface Mapping in Enhanced Interface determination. The Interface Mapping includes two Message Mappings and should create either  IDoc Type WPUWBW01 or IDoc Type WVINVE03, depending on the values of the Source Message.
    In SAP Help I read the following about developing Multi-Mappings for Message Splits: "Messages that result from the split in a mapping-based message split are sent using one Adapter Engine. For this reason, only those adapters that run on the Adapter Engine are supported. "
    Does this mean my scenario will not work?
    Thanks in advance.
    Alex

    Yes correct. you will have to do two separate message mappings and interface mappings to achieve your goal.
    The IDoc adapter is on the ABAp stack and therefor does not allowing you to use some of the functionality which you get on from the adapter engine on the java stack.
    let me know if you need anything else...
    Edited by: Alex on Jul 21, 2008 5:37 PM

  • Overwrite Value from Payload for RCVPOR, Receiver Port

    Dear All,
    Can we overwrite value of receiver port (RCVPOR) from Payload?
    The actual port value (For example SAP<SID>) will be specified in IDOC Receiver adapter.
    If I want to replace this value with say ABC can I do it through mapping?
    I tried using "apply control record from Payload"  for IDOC Receiver communication channel but still the actual port value (SAP<SID>) is going to SAPR3 and not ABC.
    I checked the help.sap.com link as well.
    http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/frameset.htm
    As per my understandings, RCVPOR value will be picked up only from IDOC Receiver communication channel.
    Can you please suggest?
    Warm Regards,
    Gouri

    Thanks Prateek for replying.
    Even my understanding is same that this value will not be overwritten. But I am not able to find any help.sap.com link or valid SAP Document which will clearly specify this.
    I need to pass this ABC value into IDOC header Record. This value will be required by User as selection criteria while executing WE05 and WE09 reports on SAPR3.
    This ABC value is nothing but the Application name and while executing above standard reports user will be able to differentiate application specific IDOCs if i provide this information in IDOC header .
    Now I spoke to ABAP Team and he suggested to use RCVPOR filed for thsi purpose as it is present in selection screen of both WE05 and WE09 report.
    So I wanted a confirmation through official document that we wont be able to use this field.

  • Multi-mapping for ibound IDOC

    Hi! All
    It would be of great help if you provide your suggestions on:
    Mapping one XML source file to 6 IDOC receivers, 2 of them are of the same type and 4 are distinct idoc types.
    I tried multi-mapping and received the following error:
    "Messages in multi-message format can only be sent to one Adapter Engine"
    Looks like IDOC adapter does not support multi mapping...
    Can you please suggest any other option apart from using BPM(since it consumes lot of resources).
    Thanks a lot!!
    Regards,
    Patrick

    Hey
    its not possible to do Multimapping over IDOC's without BPM.
    other way around can be to do a single -single scenario,suppose u have 6 IDOC's to post then u need to design 6 different scenarios for them.
    without BPM you cant do multimapping for IDOC or HTTP
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • Idoc multi mappings in a single interface

    Hello Folks
    I have to send three different types of Idocs (MATMAS, CLFMAS, BOMMAT) from R/3 to XI.
    The sender application sends only one file and I need to map the data relevant to each of these Idocs and post in R/3 separately in a defined sequence. Customer wants me to incorporate all of these idocs in a single interface. How can I achieve this?
    If I want to create the interfaces separately in XI for each Idocs, then how can I use the same inbound file to XI for all of the Idoc interfaces?
    Which is the best way to achieve this type of scenario? I would like to know the solution without BPM preferably.
    Thanks
    Ricky

    Hi Raj
    This is the scenario again
    Send a single File from a sender application.
    Receive the file in BPM.
    Create three message mappings/interface mappings for MATMAS, CLFMAS and BOMMAT in XI repository separately for each.
    The file has the data for these three idocs. I wil keep the file message type  as the same source for these three interfaces in the mapping and change the target message type accordingly.
    Create a interface determination with three interface mappings involved.
    Create a receiver determination
    Create a receiver R/3 at the end to receive the messages.
    For all these three idoc interfaces, I am going to use a single receiver agreement and sender agreement
    In this BPM, the ALEAUD message should also be incorporated. When the MATMAS is send across to R/3, I need to receive the ALEAUD from R/3 and find the status of this. If it is success, then send the CLFMAS to R3 or else, roll back the MATMAS idoc sent and end the process. If CLFMAS is also success, then send the BOMMAT idoc or else, roll back the BOMMAT idoc and end the process. If BOMMAT is also success, then end the process.
    In R/3, I have to run the report RBDSER04 to generate and post the idocs based on serialization group. Here I am not sure about how to use the roll back of Idocs sent to R3 in BPM since the idoc is only generated and posted together when this report is executed. SO what do we do to roll back the message sent from XI to R/3?
    Thanks
    Ricky

  • Error is Receiver AS2 adaptor used for Idoc to AS2 scenario

    Hello Experts,
       I am doing Idoc to AS2 B2B scenario where I am getting below error message in runtime workbench comm channel monitoring.
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..
    Sending failed.
    Error type: COMPONENT_ERROR,NOT_TRANSMITTED >> Error date: 10/16/09 9:06 AM >> Description: AS2 Adapter failure Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.. com.seeburger.as2.AS2Plugin.execute(AS2Plugin.java:321)
    AS2 Adapter failure
    Processing task
    Sending called. 
    Message processing started
    Basis has already configured the AS2 Server with Certificates and provided me the below details for receiver agreement and those are put in Receiver agreement.
    AS2 sender Configuration:
    Authentication certificate à TRUSTEDAS2certAS2_datapool
    AS2 Receiver Configuration:
    Decryption Key à TRUSTEDAS2certXXXenterprise2008
    Signing Key à TRUSTEDAS2certXXXenterprise2008
    XXX is my receiver partner
    For the Receiver party XXX I have maintained the Identifier as given below
    *Agency----
    Scheme-------Name*
    http://sap.com/xi/XI--XIParty--
    XXX
    Seeburger----
    AS2ID----
    XXX_AS2ID
    There is no need for sender agreement for Sender IDoc but still I tried to created R3 as sender party and R3 Business system, used it for the scenario and created sender agreement for sender Idoc but received same error message in Runtime workbench.
    R2 system sender party is also set with identifier with AS2 ID.
    MDN mode is set to no MDN in the receiver AS2 communication channel.
    Please suggest me if something is missing or wrong in the configuration.
    Thanks in advance.
    Vinit

    Hi Larry,
       The solution was very simple.
    It was problem with the basic understanding of system and configuration.
    Idoc is send sent by R3 ERP system and target is Partner Party. As ERP system is Business system and not the party w.r.t XI/PI terminology, we are not supposed to use Sender party as Sender ERP system but just use Business system as sender without any sender party. So in this way PI system could recognize that the data is coming from R3 system which is nothing but PI Business system.
    Now question comes where to user the Serder Party which was defined with AS2 ID? So answer is in the receiver determination we have to mention the Sender party and sender service in the header mapping part (Also mention receiver party and service).    
    So in my case problem was with sernder party. I mentioned sender party in all receiver determination, Interface determination, Sender Agreement and receiver agreement where only sender service ie sender system was required. And as I configured my scenario without sender party it worked because PI could recognize the sender R3 system and AS2 ID was recognized form the Header mapping of Receiver Agreement.
    Kindly let me know if it works and if you require snap shots of my configuration then I can send you the same.
    Regards,
    Vinit

  • IDoc receiver AEE: Error "Configuration for Sender/Receiver Partner Number/Port is incorrect"

    Hi all,
    We are on PI 7.4 AEX SP 7. We are trying to get the following scenario working: Inhouse warehouse management system (JMS) --> PI --> ECC (IDoc)
    Sender is configured as 3rd party technical system system with business system maintained in SLD
    business system has logical system assigned in SLD
    adapter specific identifiers show logical system in ID / NWDS
    logical system is defined in receiver (ECC system)
    partner profile is created in ecc for this very logical system (inbound parameters)
    No mapping of EDI_DC40 node in ESB (complete node disabled)
    no header mapping in ID / NWDS
    receiver IDoc AEE adapter is configured to not enforce control record (Control Record in IDoc XML = Not Mandatory)
    no Identifiers specified in receiver IDoc AEE adapter
    My guts feeling is that this should work, however, it doesnt't. Failing with "The Configuration for Sender/Receiver Partner Number/Port is incorrect. Enter proper values in Sender/Receiver Component"
    Any thoughts are highly welcome.
    Cheers
    Jens

    Hi,
    The error mentioned by you is not related to the port..but its related to the Application ...
    IDoc 51 means idoc has been received in R/3 client and when it tries to process it ended in error..
    Check with the functional consultant for the error you have received..
    HTH
    Rajesh

  • RFC Look Up APIs for a IDOC Receiver Communication Channel

    Hi,
    Can we use RFC Look Up APIs in UDF for a IDOC Receiver Communication Channel. (File to IDOC Scenario). Requirement is to send a notificaiton when IDOC got posted with IDOC number.
    Best Regards,
    Madan Agrawal

    As the name suggests, RFC lookup uses RFC receiver channel only. In mapping of your File to Idoc scenario, you may perform this lookup.
    Requirement is to send a notificaiton when IDOC got posted with IDOC number.
    Configure ALEAudit for this requirement. How were you planning to use RFC lookup for such a requirement?
    Regards,
    Prateek

  • Hi friends, I have file for 10 records (sender),it display 10 idocs(receive

    1)I have file for 10 records (sender),it display 10 idocs(receiver) how its possible.

    Using XSLT
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    Change occurrence of idoc
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Prateek

  • Multi Mapping   for a simple scenario

    Hi,
       i have   a scenario    i.e. from the source I'm getting some 10 fields of data..   like  bellow..
    Data:                      0--- Unbounded
        Company_Code   1-1
        Order_No            1-1
        Material              1-1
        Amount              1-1
    but my requirement is.. in the receiver side i have two structures.. 
    1)Receiver1
    Data:                      0--- Unbounded
        Company_Code   1-1
        Order_No            1-1
    2)Receiver2
    Data:                      0--- Unbounded
        Company_Code   1-1
        Material              1-1
        Amount              1-1
    if the Company Code is  1000  then   the data wil goes to First Receiver..   and  if the  Company Code is 2000  then the data will goes to Second Receiver
      This is my requirement..
      for this.  idid IR point of view every thing correctly by using multi  mapping..  even if i test the mapping that is working fine..
    but  in the ID(Integration Directory ) i'm not able to see any  Interface mappings .  in the Enhanced  Interface detremination..    It was displaying No Objects Found.. message..
    for that what  can i do..   any suggestions.. please..
    regards
    Jain

    Hi jain,
      I think you confused with  occurance.
      For your recurement You created a structure with 0-unbounded in the Source and Receivers.
      There is no need of change the Message type and Interface Name Structure occurances.
      Just Do like belllow.
      1. Mapping:
         select your source structure.
         select your Receiver structures.
         Put the condition for creating Nodes for the Receiver structures.
         There is No need of change occurances.
      2.InterFace Mapping:
         Select Your source message Interface.
         Select your Receiver interfaces.
         Have (1 Mapping) 1 source ,2 Receivers.
         There is No need of change occurances.
    Now go to Interface Determination.Choose extened.you will get your mapping.
    Regards,
    Prakasu

  • Error "codepage could not be determined for the receiver-system"

    Hi,
    we use the idoc-adapter to send message from mySAP ERP to PI.
    All worked fine.
    So, this morning I have changed the datatype of the messageId from "char" to "int" in mySAP ERP in the customizing menue (install param). So, no message received in SAP PI.
    When I start transction "we05" in mySAPERP" I get the following error:
    "codepage could not be determined for the receiver-system" status 02.
    I have changed the datatyp to "char" but the same probleme
    Can anybody help me please?
    Regards
    Stefan

    This error shouldn't occur unless there is some modification at the OS level codepages.
    Please check the entried in the RFC destination for connecting to the XI system. Unicode settings.
    Regards,
    Prateek

  • IP Job in BW finished, but how can I check the IDoc receive status in BW ?

    Hi,experts
    After I execute a Infopackage with loading more than 200000 records data, the infopackage monitor show me yellow light, 186020 from 200000 records. this infomation still show me till now, seaval hours,it looks pause here.
    And I check the request in the R/3, the Job has finished. as you know it means the R/3 push the IDoc already finished.
    and how can I do now ? or how can I check the IDoc receive status in BW side?

    Hi,
    I too had the same problem, i executed the following to solve the proble, may be this will help you:
    1) Go to T-code SM58 and select TRFC and press F6,
    2) For manual push of I-Docs, GO to T-COde BD87 select perticular idoc and see the status if it is not executed properly then do the manual push by pressing Execute option,
    Thanks,

  • How to use Value Mappings for simple translations?

    Hello,
    I want to use Value Mappings for simple translations in mappings, e.g. from IDoc to Inhouse structures.
    For example unit of quantity:
    IDOC    -->    INHOUSE
    PCE               P
    ABC               A
    How can I use Value Mapping for this? What should be used as Agency, what should be used for Scheme? What about groups? I tried the following: I created a new Value Mapping in Integration Directory:
    - Source Agency: DELVRY05
    - Source Scheme: MENEE (IDoc field name)
    - Target Acency: INHOUSE_DESADV (Name of structure)
    - Target scheme: UNIT (Name of field)
    Then, in the table, I added several lines for translating PCE to P and ABC to A and so on. But I have to define a group name for each line. I used INHOUSE. But than I get one INHOUSE group for each line.
    This seems very complicated for simple translations from A to B. I don't want to use FixValue in Message mappings.
    Any help appreciated.
    Thanks,
    Christoph

    Hello,
    @pavan kumar: Thanks, but I know all Blogs about Value Mappings. That does not help me. And I refer to PI 7.1.
    Lets get it very simple: I want to have exactly the same functionality of "FixValues" as ValueMappings. In 7.1, I need to define a Group for every row / line in the conversion table (e.g. for units of measurement conversion between IDoc and FlatFile). That does not make sense for me, as the Group is always the same, e.g. "Unit of measurement". So I will get dozens of same groups called "Unit of measurement".
    I don't really understand the concept of Groups. Maybe this is just not appropiate for my intenses? Maybe the Group has to be defined as one specific value of Unit of measurement, e.g. "pieces"?
    CHRISTOPH

Maybe you are looking for