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

Similar Messages

  • Question on use of multi-mappings in interface mappings

    We have the following scenario :
    1. XI receives a orders05 idoc - xml and does a first message map - splitting this xml into two - a lookup key msg type and a copy of orders05 msg type ( 1:n )
    2. These two messages from the first mapping are used in a second message mapping ( of type multi-mapping too ) ( n:1) to create the final orders05 message.
    3. These two message maps are put sequentially in the interface mapping.
    orders05 -> MessageMapping1 -> MessageMapping2 -> orders05 . Please note that our objective is to send one single ORDERS05 idoc into the end R3 system - using the idoc adapter. The use of multi-mapping is in the interim - and not in the idoc adapter.
    Issues:
    a. the "ns0:Messages" and "ns:Message[n]" tags are not being created automatically.
    b. In the interface determination we do not see the interface mapping when we select the 'enhanced' option.
    Any ideas, pointers as to what I am missing here ? I am on a critical timeline to implement this and can't understand whats going wrong ?

    Michal,
               In your suggestion - to use two interface mappings - how I can configure the two interface mappings as a part of a single interface determination so that they execute one after the other .  Or is it two interface determinations - one for each interface mapping - how do I relate these two ?
    Also, I assume that since the message mappings in the interface mappings are multimappings , I need to use enhanced interface determination .
    Could you share one of the scenarios wherein you had two interface mappings execute in a series - ? Thanks for your time.

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

  • How to track the Inbound child IDOcs in PI 7.4 Single stack

    Hi Friends,
    I would like to know the procedure of tracking the Inbound child IDocs in PI 7.4 Single stack.
    Here is the detailed description.
    Say we are getting the data from third party system and the message may have multiple IDOcs in it. The message has processed successfully from PI and reached to the target system(ERP). So, now my question is how to track the IDOc count with in that message.
    Please suggest on the same.
    Thanks in Advance,
    Venkateswarlu.

    Hi Hareesh,
    Thanks for your inputs. According to the link IDOC Status, Tracking in SAP PI/PO Single Stack I am thinking the required funcionality is not there in PO 7.4, but still i would like to have little more clarity before moving further.
    I will explain what what was happening in PI 7.11 so that you can understand what i am looking for in PO 7.4.
    We will get the data from third party system in xml format, we had to search for the messages based on interface name and time range within SXMB_MONI. After getting the result(say the output is 100 messages), we will download the values of "Outbound Reference" field(which is a key to find the child messages for messages resulting in an Interface Collection). Below is the snap of Outbound Reference field for your reference.
    Now we will go to the table IDXRCVPOR in SE16(within PI) and put the values of Outbound Reference field in Text 24 and execute. Here we will get all the child messages.
    Now please let me know if this kind of scenario is possible in PO 7.4.
    Thanks,
    Venkat.

  • Using multi mappings in a synchronous intergace mappings scenario.

    Hi XI Gurus
    I have a synchronous soap --> XI --> Sync. RFC scenario (non BPM) which works fine.
    My requirement is to add another mapping object  using multi mappings in this scenario, but since XI has a limitation which prohibits me to use multimappings as interface mapping used  is a synchronous one.
    Can this be achieved using a BPM ?
    Is it possible to use two asynchronous message mappings instead of one synchronous Interface mappings?
    Thanks,
    Lovein

    Hi Pratheek ,
    Thanks for your reply.
    To explain the issue in other words..
    I would like to use a asynchronous interface mapping instead of synchronous one being used currently to access RFC.
    I need to use asynchronous Interface mapping as the multi mappings are not supported by synchronous Interface mappings in XI
    as has been described on help.sap.com "If you want to map multiple messages to each other by using a multi-mapping, you can only specify asynchronous interfaces" on link
    [http://help.sap.com/saphelp_nw04/Helpdata/EN/4f/ef761a5ecfb1418b79896e10fe4c57/content.htm]
    So the burning issue boils down to if I can break a synchronous call (RFC request/response in my case) in to 2 asynchronous ones.
    If a BPM is needed to achieve the goal then can you guide how that can be done.
    Thanks,
    Lovein

  • How to create multi-folders in a single folder in numbers

    how do you create multi-folders in a single folders. I have multi files orginized by month, but now i need to group it into a single folder by year.

    See this link:
    http://apex.oracle.com/pls/otn/f?p=31517:107
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to load multiple target tables simultaneously in single interface?

    I have a requirement where I have to load data into two target tables in single interface simultaneously. Reason is to populate parent-child relationship on target side as it is coming from the source side.
    For eg: I have 2 headers and 10 corresponding lines in source. Now I want load 2 headers into T1 and 10 lines into T2 simultaneously.
    Eg. SOURCE_TABLE
    HeaderId HeaderDesc LineId LineDesc
    1 AAA 10 QQQ
    1 AAA 20 WWW
    2 BBB 30 ZZZ
    2 BBB 10 XXX
    TARGET_TABLES:
    TARGET_HEADER
    HeaderId HeaderDesc
    1 AAA
    2 BBB
    TARGET_LINE
    HeaderId LineId LineDesc
    1 10 QQQ
    1 20 WWW
    2 30 ZZZ
    2 10 XXX
    I would appreciate if anyone can provide solution in this scenario.
    Thanks in advance.
    Giri
    Edited by: user10993896 on Apr 13, 2009 2:56 PM
    Edited by: GiriM on Apr 14, 2009 10:47 AM

    Hi Giri,
    Let me try to build an example... If I misunderstood your requirement please, let me know!
    1) Source table Tab_S
    create table Tab_S as (cs1 number, cs2 varchar2(10))
    2) Table Parent (P)
    create table Tab_P as (cp1 number, cp2 varchar2(10))
    3) Table Child (C)
    create table Tab_C as (cc1 number, cc2 varchar2(10), cp1 number)
    4) Function F$_Tab_C (create it in a ODI procedure)
    4.1 - step 1
    Create or Replace
    Function F$_Tab_C (p_cp2 varchar2, p_cc1 number,p_cc2 varchar2, cp_cp1 number) return varchar2 as
    begin
    insert into Tab_C (cc1, cc2, cp1)
    values (p_cc1, p_cc2, p_cp1);
    return p_cp2;
    end;
    associate this step to an procedure option like "Create_Function"
    4.2 - step 1
    Drop Function F$_Tab_C
    associate this step to an procedure option like "Drop_Function"
    4.3 - Step 2
    Disable the FK constraint and parent and child
    associate this step to an procedure option like "Disable_Constraint"
    4.4 - Step 3
    Enable the FK constraint
    associate this step to an procedure option like "Enable_Constraint"
    5) ODI interface:
    Source: Tab_S
    Target: Tab_P
    Mapping:
    cp1 ---> cs1
    cp2 ---> F$_Tab_C(cs2, 123, 'abc', cp1)
    6) ODI Package with all flow:
    6.1 - Drag and drop the procedure and put the options:
    "Create_Function" yes
    "Disable_Constraint" yes
    "Drop_Function" no
    "Enable_Constraint" no
    6.2 - Drag and drop the interface
    6.3 - Drag and drop the procedure (again) and put the options:
    "Create_Function" no
    "Disable_Constraint" no
    "Drop_Function" yes (optional, can let as NO if you wish)
    "Enable_Constraint" yes
    These are the necessary steps.... Maybe there is some syntax error because I build all in a notepad and do not compiled it in the DB. It is just to show you the general idea.
    Maybe you can be a little afraid about disable the FK but it is OK because you can guarantee the relationship by logic (funcion).
    The only point is that you must be the only one working at the target tables during the process.
    Make any sense in your case?

  • Single interface instead of logical hostname

    Hello!
    Currently we have a solaris cluster of two nodes running which serves as an NFS server. Both nodes have their own interface and a logical hostname is used for NFS.
    Now we want to provide NFS for a second network with the same cluster. We are short of addresses in this network so the best solution would be a single interface which is only activated by the node which runs the NFS server:
    bge0: First network (and virtual hostname if active)
    bge1: Second network if active
    bge2+3: Cluster transport
    Is this setup possible with sun cluster?
    TIA
    Stephan

    If I understand your problem statement correctly, then the answer is no.
    Tim
    ---

  • Can single interface accomodates multiple bridge groups

    Hi,   
    I am working on building FW configuration to serve multiple tier environment. The FW is in Transparent Mode, Sw Ver 8.4 which supports Bridge-group.
    My question is, whether FW supports having mutilple Bridge-groups under single interface. If not, what are the alternatives.
    firewall transparent
    interface gi0/0
    nameif outside
    security-level 0
    bridge-group-1
    bridge-group-2
    interface gi0/1
    nameif WebServers
    security-level 50
    bridge-group-1
    interface e0/2
    nameif AppServers
    security-level 100
    bridge-group-2
    Thanks

    Hello,
    That is not possible, Each interface will need to be assigned to a specific bridge group..
    Alternative would be to use a dedicated pair of interfaces for each bridge group
    Regards,
    Julio

  • NAT, DMZ single interface two firewalls... Create Edge topology

    Hello,
    I have a two firewall DMZ so I'm strugging  to understand why the toplogy builder is asking me for the "Internal" IP of the edge server...  the edge server is not internal (by design) it's in the perimeter network (DMZ) it does not
    have an internal interface nor am I interested in giving it one (that's why I have firewalls).... Its NAT'd..
    Is this explained somewhere ? How do I setup the topology wizard to understand my  firewall configuration.. I see the NAT'd external IP.. obviously that's on the public side...
    Thanks for help,
    Steve Lithgow

    Anthony's two posts win the PRIZE !  Ben get's runner-up !
    It still baffles me why it is necessary to have an additional network in my DMZ. You are not increasing your level of security by increasing the complexity (security by obfuscation).   The internal network can have persistent routes to the
    DMZ IP of the Edge Server as well as firewall rules governing traffic by source IP to the internal network from the DMZ.  A host with two interfaces that becomes compromised is no more secure than one with a single interface.  Our firewall rules 
    are not based on "networks" to from DMZ.. they are based on source/destination IP's.
    So basically..  my point is MS should not ASSume a particular firewall configuration and force this via the Topology builder... just my .02  
    Can anyone tell me if MS is doing some memory level protection in the Edge server to that masks the external facing process from internal ones or something really special?  My guess is that the edge server is NOT ISA/TMG so......
    To someone else's point..   that stated "You don't want the edge server to be your firewall"  my response is you dang right ! But... in essence that is what you are doing by placing an internal interface on the edge server , firewall rules/routes
    or not.  That is what you are doing is  creating a firewall leg on the edge server. 
    Thanks for all then FAST help !  Though I 'm still shaking my head a bit....
    Steve Lithgow

  • Clear all settings on a single interface?

    Hi,
    Does anyone know if it's possible to clear all settings on a Cisco 3750 on a single interface with one command?

    Disclaimer
    The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.
    Liability Disclaimer
    In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.
    Posting
    BTW, the default interface command often works on other Cisco network devices too.
    Whether a defaulted interface will be in shutdown or not, appears to vary, so as I never recall device specifics, I'll follow up the default command with an interface command to either shut or no shut the interface (to make sure it's as I desire).
    Also BTW, on 6500s, some interface commands program the ASIC, i.e. they impact other ports.  Defaulting an interface will remove those commands from other interface within the same ASIC port group.
    So the moral of the story, be careful when using the default interface command.

  • ODI Multi Target tables insert using single interface

    Hi
    I am facing an issue in ODI with multiple target tables insert.
    I have a source table in Sybase ASE and want to insert the data in two different target tables which are in Sybase IQ.
    Any suggestion would be appreciated !
    Thanks in advance.
    Best Regards
    Sanchit Aggarwal

    Have you tried using  IKM Oracle Multi Table Insert?

  • Multi-Mappings in BPM (XI 3.0)

    Hello,
    I´am trying to create a multi-mapping to merge a list of messages into one single message.
    Does anyone know if there is a multi-mapping testing environment ?
    If I test the multi-mapping in the normal message mapping test environment every things is fine - nevertheless I get a mapping error during workflow runtime.
    Thanks a lot for your comments,
    René de Daniel

    Hi Karl,
    It tries to create an IDOC element in the second PROACT element and fails, because the source structure contains exactly one IDOC element, while the result document must have as many IDOC elements as there are PROACT elements. In 99% of the cases when a target node has minOccurs=maxOccurs=1, the best thing you can do about it is to leave mapping blanck, i.e. map nothing to it, then you won't get such problems in runtime. If you really want to map something to it you should map a node, which occurs in source document exactly the number of times, that the target node must occur in result document. In your case it would be E1EDP31 but you should not map it directly to IDoc, but through a SplitByValue function.
    Best regards,
      Alexey

  • Multi Period Load using Open Interface Adapter in FDMEE

    There was a similar question, but it didn't exactly cover this.   I already have a ticket open with oracle, but I'm hoping someone here can help.
    We currently use a Before Improt script to populate the Open Interface Adapter table.  As a simple example, we data from a PeopleSoft ledger for a period to load to our Hyperion Planning system.
    The Workbench process works perfectly.  Import for January 2014 grabs the data for 2014 from PS and loads it through.  Ideally we would like to be able to use the Data Load Rule option to execute the process for a range of periods, so that I could reload all of 2014 by selecting a Start Period of Jan 2014 and an end period of Dec 2014. 
    Unfortunately what currently happens is only the first period is processed despite the range.
    I've seen several references to period mappings as possible solutions.  This information was already verified by Oracle, but for the clarification, we've create them and mapped them at an applicaiton level.
    Any ideas as to why it would only run the first period of the range?

    Just an update:
    In order to use the Start Period/End Period functionality, you must specify a source period mapping and define a calendar in the rule.
    This issue "partially" solved my problem, however it turns out the BefImport and other Event Scripts only run once for the range.  Using the select query below:
    "Select * From AIF_PROCESS_PERIODS where PROCESS_ID = '" + str(LoadID) + "' Order by PeriodKey ASC"
    I was able to optain the records containing the periods in the Start/End range, so I was able to just create loops in the BefImport and other event scripts as necessary to mimic the running of the event scripts on all periods in the range.
    That said, I still have no solution for executing target application calcs (we have one calc that runs before load to do a clear and another after load that runs an aggregation).
    Anyone have any thoughts on how to make those calls loop?  Because the ranges can cross years, I can't just pass the periods to the calc since Jan-FY14 to Feb-FY15 isn't just Jan to Feb and FY14, FY15 (which would only be 4 periods total vs the 14 it should be).
    Alternatively, is there an easy way to call a essbase calc script from an event script?

  • Helps!:How to start multi process in a single java program?

    I wanna to test the querying performance of a Database
    connection poll,and here,not only multi threads,but also multi process I need to start in the same java program cause i have only one PC available.....
    Does that possible?

    In pure java this is not possible.
    A java program with all its thread run in a single
    jvm,
    which is just one process.However, you can have multiple instances of the jvm, I've done it w/ I needed to test some row locking in my database app. If you are in windows and want 3 copies of you program just make a bat file that looks likejavaw.exe -classpath "classesGoHere" MainClass
    javaw.exe -classpath "classesGoHere" MainClass
    javaw.exe -classpath "classesGoHere" MainClassThat will create 3 instances of the jvm and thus three instances of your application. I'm sure the same can be done on multiple platforms.
    Peter

Maybe you are looking for

  • Printer won't print problem

    We purchased an HP Photosmart Plus B209a-m last December. We have an HP Pavilion 513c with Microscoft Windows XP home edition version 2002. At first the printer worked quite well. But for the last few months we have had an intermittent problem where

  • At new .....statement in ALV

    I have created an ALV report . In the report, the requirement is to display the material name and its description whenever it changes. How can i use the at new matnr...or on change of matnr in an ALV report .. Please help me out.. Thanking you in adv

  • Dreamweaver Flash Embedding Problem...

    Hello all, Just stumbled across a slight issue which im hoping some of you may be able to help me with... Firstly I will give a slight bit of background... As part of a University assignment, a small Dreamweaver based website is to be created. In thi

  • N95 boots when I use GPS Recent feature

    N95 boots always when I use GPS Maps (Kartat in Finnish) and select the from or to location using the Recent (Äskeinen in Finnish) feature. This happens also with the new 11.0.026 software. It lists the recent locations (I think so) and immediately t

  • 2 questions from new mac owner

    Hello all, I've found some good information on these forums and there seems to be a good community here, I'm glad I finally bought a mac. I have two questions: 1- When I copied many digital photographs from dvd's to my hard drive, all of the director