IDoc - IDoc interfacing with multiple mappings

Hi,
We want to use two different mappings for the same IDoc interface (based on a condition). So we use the ORDERS idoc for a sales scenario and also for a purchase scenario. The sending service is the same for both ORDERS messages, lets call it service SEND. Furthermore, for both ORDERS messages, the receiving service is also the same lets call it RECV.
The problem is that we want to use a different mapping for the ORDERS sales scenario as for the ORDERS purchase scenario. The sending and receiving interface in both cases is the same.
The receiver determination and interface/mapping determination is a problem in this case.
One way to solve this is to use a party, but in the configuration of the party you can only use the same sending logical system name ONCE. So party A cannot have the same logical system name (SEND) as party B (SEND) for scheme ALE#LS.
Another way would be to use different services, one for the first scenario and mapping and one for the second. Again the problem is that you need to enter adapter settings for both services (RECV1 and RECV2), but a logical system name can only be used in ONE service. If you want to assgin it to a second service, this is not allowed.
Does anybody have a solution for this?
thanks !

Hi Alexander,
why don't you try doing it in one BPM?
something like this:
one sender
one receiver
2 mapping programs
<b>Receive step</b> -> <b>Swich Step</b> - if PO go to <b>Transformation step</b> one (mapping 1), else go to <b>Transformation step</b> two  (mapping for the SO) - <b>Send Step</b>?
you can base you swith step on E1EDK14 segment qualifier = 013
(As far as I remamber only Purches orders have it)
but check it:)
BTW
if you use the Swith Step you probably want to use a Transformation step before the Swith step (mapping from ORDERS to dummy message with one TAG - indication if this is PO or SO based on content of the ORDERS) this way the swich step will work for sure  
Regards,
michal
Message was edited by: Michal Krawczyk

Similar Messages

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

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

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

  • IDOC segment with multiple lines

    Hi,
    I have a requirement where I need to populate the multiple lines in one segment without getting created multiple segment.
    I am generating material with multiple line data in the additional data using MATMAS05 IDOC for segment E1MTXHM but its generating multiple sub segments. I need to have multiple lines in one segment and not multiple segment.
    Please let me know how to achieve multiple lines in one segment.
    Thanks & Regards,
    Rayan

    Hi Subas,
    I haven written any code as I am triggering IDOC through BD10. This is a testing requirement and we need any IDOC irresepective of MATMAS, DEBMAS, CREMAS etc etc which can have multiple lines in a single segemnt.
    Sample IDOC:
    Z2XXXXD000                                       00002300002203CTDI-PA
    90210 Testing Address
    CA
    Beverly Hills
    United States                                                             
    Z2XXXD000                                       00002400002203ON TESTING
    303 308 5319                                                                               
    Z2XXXXC000                                       00002500000102Z004E          
    Actually every IDOC I am generating is getting multiple segment and each segment holding one line and my requirement is that all the lines should be get accomadated in a single segment like the above sample IDOC.
    Actually each segment has segment name and IDOC no. followed by field values but my requirement is within one segment name and IDOC no. all the field values get accomadated. Hope you got the understanding of what my requirement is? Please guide me how to trigger multiple line in a segment.
    Thanks & Regards,
    Rayan

  • Mapping in Services Interface with multiple operation... ?

    Hi ALL,
    I have a SOAP to SOAP scenario here Just PI 7.1 with EHP1 acting a bus no mapping nothing .
    1) I have the WSDL file from the receiver system with multiple synchronous operations  in it ..i imported the wsdl as External Definition .. i used the same the WSDL file to create the sender Service interface also...
    when i created the service interface with the operation in it , i just gave the same operation name from the WSDL.this i followed for the sender and receiver service interface.
    1)now the issue is do i need any operation mapping if the service interface has more than one operation ...?
    2) I compelted the scenario without any operation mapping ..but i am getting this error ..Problem occurred in receiver agreement for sender -ICRM_D to receiver -EXACTTGETWEBSERVICE_D,http://ICRMtoExactTaetWebservice.com.si_os_ICRM_EXACTTETWEBSERVICE: No standard agreement found for , ICRM_D, , EXACTTARGEBSERVICE_D, http://ICRMtoExactarebservice.com, si_os_ICRM_EXACGETWEBSERVICE..?
    pls help me in this issue..
    Thanks
    Souz

    you might want to read this /people/shabarish.vijayakumar/blog/2010/09/08/service-interface-and-multiple-operations--is-it-just-an-hype
    you will need to create additional configurations for multiple operations to be supported

  • Interface with multiple msg.PM

    Hi, Experts,
    I’m considering the parallel migration to FS-PM from legacy system using migration solution.
    As far as I know, FS-PM has the business validation step (check data, recalculation the premium) after finishing the technical validation.
    To deal with the parallel approach for the business validation in the FS-PM, I would like to know that FS-PM can interface with the multiple msg.PM system.
    It means that 2 or 3 msg.PM can connect with a FS-PM system to reduce the migration time (or load balancing).
    My assumption may be wrong in the parallel migration. But I really want that multiple interface with msg.PM can be possible or not in terms of the technical aspects.
    Please let me know if you have some idea or relevant experiences.
    Thank you in advance.
    Best regards,
    Kyoungkeun

    Hi Kyoungkeun,
    If no reaction you should blog to Planet Insurance.
    If there is no reaction you should raise an internal message.
    Best regards
    Boris
    Boris Greven
    Insurance GTM Lead &
    Cloud Business Development
    IBU Insurance
    Visit Planet Insurance

  • Interface with multiple hard drives

    I am looking to buy a Mac Pro later this year, although want to learn about everything now, so I am well educated when I buy it ^^
    I was reading around http://macperformanceguide.com/Mac-LightingFast.html and it brought up a question. Right now I have a 170 GB MBP and a Time Capsule... If I were to get a Mac Pro with the proposed SSD Launch Drive and Hard Drive data drive, what would the interface be?  Would it be similar to the interface with a time capsule, with different hard drives listed in the finder window?  Or would it ask me to specify where to write?  Or would I manually choose a 'default write to' on all my applications?
    Thanks
    Ben

    Buy your own SSD, RAM and hard drives.
    Mercury Extreme Pro 6G SSD
    Mac Pro Memory
    There are 4 internal drive bays, get it stock, skip getting an apple branded SSD they tend to not be best of class. All drives have to be 3.5" SATA or use an adapter to fit the sleds.  Other than application preferences for where a media library is,  default location for documents, scratch, and of course you can put your /Users/myaccount on a data drive. 
    My PCs have 1.2GB/sec of SATA bandwidth. Double the 600MB/sec that is shared by 4 SATA ports.
    Macintosh Performance Guide  Articles & Reviews
    MacPerformance Blog
    That link you have is over a yr old out of date and talking about early Intel X25s for one.

  • Inbound interface with multiple IDOC processing

    Hi,
    I have to create an inbound interface which has to be triggered only when a batch job is completed in the middleware. The batch job will create 2000 records and 1 IDOC for each record. I have to get all the 2000 IDOCs and then process them together. I have to manipulate the data in these 2000 IDOCs and update them in a SAP table.
    Please let me know how do I proceed with this.
    Should I go with a custom func module or a custom program?
    Thanks,
    Abhishek

    Hi,
    Custom function module with standard parameters : For details refer to the topic Implementing Inbound Processing on page 85 of the
    [ALE Programming Guide|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf]
    regards,
    Advait

  • Data Transfer using LSMW IDOC processing with multiple segments

    we need to post the document data (Header structure, BP item structure, G/L item structure..etc) using LSMW IDOC processing.
    is it possible to transfer data for all these structures (Segments) in single file?

    Thanks for the reply.
    I am assuming when we are specifying the file in LSMW we are going to give the option to generate the file with include all structures.
    could you please elaborate further is there any thing specific we need to do while configuring LSMW to get the file for all segments in the IDOC with field names which we are going to populate with data, so that we can use it for data transfer.
    any help document will  be helpful.

  • Using an audio interface with multiple inputs

    Hi,
    I'm currently facing an issue where I need to be able to use the audio from a microphone and a keyboard through Skype calling. I have them both plugged in to a Focusrite Saffire Pro 24 audio interface. The problem is that only the microphone plugged into input 1 seems to be coming through, as if Skype will only address one channel of the interface. Is there any way around this or a different method you have used in a similar situation?
    Thanks,

    I stumbled upon this thread in searching for some deeply hidden feature in Skype, but alas, there may not be a fix within Skype.  I realize the parent topic is very old, but I hope this can hope anyone in need of a solution (or get skype to incorporate some sort of summing feature).
    That being said, there is an alternative for those of us with interfaces that have fully customizable routing.  Fully customizable routing, and more than your standard two (stereo) outputs, and at least one more input than you need in total for microphones.
    What we're going to have to do for our podcast (one member is on vacation, states away), is hook all microphones into inputs that are not input 1. As far as I can tell, Skype will only recognize input 1.  In your interface's output routing software, you will need to create a submix/monitor mix (whatever they will call it) that sums (combines) all of the microphones together.  While you have the ability to add the software/daw return to this mix, you typically will not want to, as it could create feedback for the person joining the conversation via skype.
    After you have created this submix/monitor mix (and be sure to double/triple check that input 1 is not involved with this mix at all) you will assign this to an auxiliary output... so say, your interface has 4 outputs, assign it to output 3.  Then lead a cable from the physical output 3 into the physical input 1 on your interface.
    What this accomplishes is we're effectively sending all microphones into input 1, so your Skype recipient will be able to hear a mixdown of all microphones.  Certain interfaces will also allow you to do this routing without cabling.
    There are more things to keep in mind, like if you're recording the call, you'll want to run a parallel output from your Main DAW/Software return into another physical input, but again, quadruple-check that you are not monitoring that track into your main buss as it would create a horrible feedback loop.  Generally I'd have the caller record their audio through Audacity or something free, but getting their recording on my end makes for syncing the call to the room recording so much easier... SO MUCH.
    TL;DR
    1) Make sure you have more than 2 outputs, and 1 more input than you would normally need for mic's.
    2) Plug microphones into inputs 2 and on, saving input 1.
    3) Use interface's software/routing mixer to sum all microphone inputs (EXCEPT 1) to an unused physical output.
    4) Route or connect that output into Input 1.
    0-5) For the love of all audio gods, make sure you are double checking to avoid feedback.
    I also recognize that with the appearance of things like WavTap and Soundflower that there are other solutions -- but this is one option for those of us that do not wish to explore those options.

  • Provider proxy error - Service Interface with multiple operations

    Hello experts,
    I've a synchronous provider proxy scenario using an inbound and outbound service interface.
    That service interface contains 3 operations: create, change and delete a table entry.
    I created all the necessary repository objects and integration scenario objects.
    Next, I generated a provider proxy on the ECC backend system and created an endpoint via SOAMANAGER.
    When I test, I get this error:
    No implementing class registered for the interface (ABAP interface, request message ...., request message, namespace....)
    I currently use a receiver XI adapter in the scenario. Is that ok?
    or should I use a receiver SOAP adapter with a SOAP action?
    Please advise.
    Thanks a lot.
    Dimitri

    Hi,
    Check these
    INTERFACE_REGISTRATION_ERROR:No implementing class reg'd for interface
    No implementing class registered for the interface
    Regards
    Seshagiri

  • Proxy to JDBC interface with multiple select queries

    Hi all,
    We have to develop a interface where SAP will be sending a Number based on which we have to fetch the data from the database and send it to back to the SAP system.
    The data in database is spread across 6-7 tables/views and canu2019t be fetched using a single query even with joins.
    Can anyone please suggest the best way to develop this interface.
    As it would be a synchronous interface, I think it is not possible to use multimapping.
    Regards
    Younus

    >They have confirmed that they can't create a stored procedure but can create PL/SQL program or function with the same logic.
    IMO, it is not fully feasible to call the oracle function from PI. I would recommend still to use query and construct the following jdbc data structure.
    <StatementName>
    <anyName action=u201D SQL_QUERYu201D
    <access>SQL-String with optional placeholder(s)</access>
    <key>
      <placeholder1>value1</placeholder1>
      <placeholder2>value2<placeholder2>
    </key>
    </anyName > 
    </StatementName>
    Place your complex join query in the access tag element. Under key tag you can pass values through placeholder element and reference the placeholder element as follows. Sample as follows...
    <statement>
        <Customers action="SQL_QUERY">
          <access> Select x,y,z from customers1 a, customers2 b,customers3  c, where a.CompanyName=u2019$NAME$u2019 and b.CustomerID='$KEYFIELD$u2019
          </access>
          <key>
            <NAME>Company</NAME>
             <KEYFIELD>CO</KEYFIELD>
          </key>
        </Customers>
      </statement>

  • Is it possible for Nexus7000 flexible netflow monitor for interfaces with different vrf and export to one netflow analyzer?

    I have a Nexus 7000 with many vlan interfaces with multiple vrf, I would like to know if my netflow analyzer only connected to one vrf, can I use flexible netflow on the Nexus 7000 to monitor those vlan interfaces with multiple vrf and export them to my netflow analyzer, so that I can see all flow from different vrfs on my netflow analyzer?
    Thank you!

    Adriano, there is a RV042G, which supports the gig ports and a 800 mbps nat throughput. Here is the datasheet
    http://www.cisco.com/en/US/prod/collateral/routers/ps10907/ps9923/ps12262/data_sheet_c78-706724.html
    If you are using a DSL connection, the SRP527/547 models may be an alternative. These models support the RFC 1483 Bridges EOA Please note the SRP547 should be 10/100/1000. Also note the SRP521/541 are Fast Ethernet units and they do differ from the SRP527/547. The main selling point of these devices are the FXS/FXO ports. So this may also be a bit of an "unfocused" solution. But it's worth throwing the idea out there!
    Here is the admin guide;
    http://www.cisco.com/en/US/docs/voice_ip_comm/unified_communications/srp540_series/administration/srp500_AG_2567701.pdf
    Here is the datasheet;
    http://www.cisco.com/en/US/prod/collateral/voicesw/ps6790/gatecont/ps10500/data_sheet_c78-550705.pdf

  • File to multiple IDOCs scenario with the same receiver system

    Hi guys,
    I have to design and implement the following scenario:
    I will receive one file with many lines (Records) with data for materials, quantities, operations etc..
    Based on the values of some fields of each line, I will have to create an IDOC for each material.
    For example:
    if operation type = "INSERT", and Labor = 001 then create 3 Idocs of type MBGMCR with movement types=101, 261,311 that have to be posted one after the other to the same receiver system.
    else if operation type = "INSERT", and Labor <> 001 then create an Idoc MBGMCR with movement type=311 and plant = 1001.
    else if operation type = "Delete", and Labor = 001 the created 3 Idocs MBGMCR with movement type=312, 262 1002 and post them serially to the same receiver system.
    else if operation type = "Delete", and Labor <> 001 the created 1 Idoc MBGMCR with movement type=312.
    All IDOCS are posted to the same SAP R/3 system. We do not care about the sequence, except for the cases where 3 IDOCS are created.
    I am trying to think of a good design in performance terms.
    It is obvious that I will need BPM for sure.
    I am thinking of creating a mapping program that will produce 4 message types for the different cases from the initial file and then create a different message mapping for each case from the message type to the IDOC.
    I am asking you if I have to include everything (mappings) in BPM with a "fork" step?
    Or shall I produce only the 4 message types and then post them to R/3 and execute the mappings in R/3?
    Best Regards
    Evaggelos

    hi,
    >>I am thinking of creating a mapping program that will produce 4 message types for the different cases from the initial file and then create a different message mapping for each case from the message type to the IDOC.
    To me this seems to be the right solution.
    here u will create different message mappings and write them sequentially in interface determination. the multi mapping will then be utilised in transformation step in BPM.
    thus if this is the only requirement there is no need of using a fork step.
    [reward if helpful]
    regards,
    latika.

  • Read MULTIPLE idocs data with all sgmn to my internal table in a single

    Dear SAP Folks!
    I have a question, I know to read SINGLE idoc data with all segments, we have FM IDOC_READ_COMPLETELY but my requirement is to Read MULTIPLE idocs data with all segments to my internal table in a single shot without keeping this FM in loop! since it is performance issue, at a time i may want to read 1000 idocs data!
    Could anyone please let me know is there any way to get this, keeping mind of performance and any other FM?
    Best Regards,
    Srini

    Hi,
    I know idoc numbers and i can write a select Query to DB table EDID4 to get all segments data to my internal table. But i am looking for FM to do this. because i have too many number of idocs and each idoc is having many segments(I am thinking in performance point of view!) The FM IDOC_READ_COMPLETELY can accept only ONE IDOC number as import parameters at a time to get segment data. in similar way do we have any other FM? or other way? except select query to EDID4 table?
    Best Regards,
    Srini

  • Vendor Master Creation through IDoc with Multiple Company Codes

    I am trying to create vendor masters sent from a 3rd party into SAP using CREMAS05 IDoc.  I have the requirement that the vendor should be created in each of 3 company codes and the vendor number is internally assigned in SAP.
    I create my IDoc with the general data E1LFA1M and multiple E1LFB1M & E1LFB5M Children.  When I post the IDoc using IDOC_INPUT_CREMAS which uses Call Transaction, the vendor gets created for the first company code, but the IDoc errors on the vendor extension XK01 for the next company code with the error: "Fill all required fields SAPMF02K 0111 ADDR1_DATA-NAME1". 
    In debugging through this, it appears that the vendor number that gets created in the first XK01 transaction does not get passed into the data for the second XK01 call and SAP tries to create a new vendor instead of extending the newly created one.
    If I force the value in during debug after the initial call transaction into the variable h_lifnr, it works fine (Vendor created with multiple company codes.
    Any help would be greatly appreciated.
    -Larry

    I cannot give you exact solution, but can guess why this is happening, below is what I believe.
    I think Synchronous update is not happening in call transaction, second transaction is getting processed before the first one is saved, debugging it works fine, because we give system enough time to save while processing.
    Generally in call transaction we have MODE, if we pass S - then synchronous update happens, in your case, you need to find the way to incorporate this.
    Hope it helps.
    Regards,
    Ravi Kishore.

Maybe you are looking for