One IDOC to different destinations.

Hello,
I want to think together with you what the best way to implement these requirements:
I need to receive in my XI server (3.0 SP19) IDOC Invoice02.
I need to map the IDOC with different mapping to XML files and send the xml files to many different locations according to the country field.
What is the best way to implement this scenario?
Elad

Hi Elad,
The best approach which I can think is
Single Sender (SAP System) sends IDoc to PI/XI and then PI sends it to multiple receivers (using File Adapter). To achieve this you need
1. One receiver Determination (Add different receiver services/system based on the country code condition)
2. One interface determination (and hence interface mapping) for each of the receivers
say source is A and receivers are X, Y, Z. Then three interface determination (and interface mappings) viz A-X, A-Y and A-Z
3. One receiver agreement for each of the receiver systems/services
Regards
Suraj

Similar Messages

  • Flatfiles with different structures to one IDoc

    Hi,
    I did'nt found any valuable information about an N:1 scenario where 2 Flatfiles are to be mapped to one IDoc.So, some elements of the Message1 should be mapped with some segments of the idoc and some elements of the Message2 should be mapped with other segments of the same Idoc.I've seen also the patterns of the SWCV SAP BASIS 7.00.It's clear that I should use forks with correlation for the two messages.But I don't know it would be the Messge Mapping that makes the N:1 Transformation step.Every where i.e blogs,forums the flatfiles have the same structure.
    I would be grateful for some precise suggestions
    Thanks
    George

    Hi,
    In the message mapping we can do in the below mentioned way.
    In the message mapping we have 3 tabs, Design, Test and Messages. By default it is Design, now you select Messages tab, and add the 2 source(flat) files by using the add(+) symbol. now your sender contains 2 flat files and just drag and drop the required idoc at the receiver side and do the mapping as usual.

  • More than one deliveries in single tpsdls idoc as different nodes

    hi,
    can anyone help me out. i have to send multiple deliveries in single TPSDLS idoc as different nodes. is it possible? if yes then can anyone tell me how to do this?
    thanx.
    from
    lalit atit

    Dear Anup,
    Please try below steps
    1)Goto VL02N to change the delivery, you already created.
    Or you can do the following steps while you are creating a delivery also.
    2)Go to "pack" icon.
    3)In the upper section, enter the "packing material"
    4)In the lower section, change the "partial quantity" to 10 for material A.
    5)Select both the lines of upper section and lower section and click the green ok. It generates a shipping unit/handling unit number.
    6)Now, select both lines of upper & lower section & click the button "per part. qty" (New HU per part qty of material)
    Check: click "General Overview" icon to see whether it packed 10 pieces of material in 5 cartons.
    You can repeat the same process for Material A, B, C, D  and E.
    Hope this helps
    Thanks
    Murtuza

  • One Idoc -- One Logical System ?

    Hi everyone,
       Right now i'm developed 6 interface using idoc (6 different business process). Do we need create logical system for each interface? Or just only one logical system? If we have success create this interfaces, how to transport this setting (logical system,rfc destination) to production system ? Thank you.
    Regards,
    Satria

    Satria,
    <b>In R/3:</b>
    1. Logical System are careated only once. If there is a requirement then only they will be created by using tcode <b>SALE</b> (it's not so frequent).
    2. You can see all logical system by using Tcode "<b>BD54</b>".
    <b>Note:</b> In <b>DEV,</b> <b>QA</b> or <b>PROD</b> system, you will not be having authorization to create any logical system.
    So, while doing outbound processing you can reuse the same logical system.
    If still you have any doubt, kindly let me know.
    Kindly set the thread to "Answered", once you get your final ans.
    Regards,
    Sarvesh
    *****Reward points, if found helpfull.
    Message was edited by:
            Sarvesh Singh

  • Account Groups in the IDoc is different Message no. B1356

    Hi Experts,
    We are setting up CfC using the HCI interface, when we make a change on a customer (Which has been sent from ERP), in CfC, we get an inbound IDoc error in ERP "Account group in IDoc is different":
    Error Message:
    Diagnosis changes cannot be made automatically to the account group of a customer master record. The customer with number 00000XXXXX currently has account group 0020, but the account group 0001 is contained in the intermediate document. Procedure: Please change the account group manually to 0001 and then try to process the intermediate document again.
    The error makes sense since account 00000XXXXX was created in ERP with account group 0020. This was then sent to CfC where we have mapped a lot of account groups e.g. (CRM000 = 0001, CRM000 = 0010, CRM000 = 0020 etc.) When we map more account groups to the same internal account role in CfC (Via. Code list mapping), it is required to have one default outboud meaning that every change to an account will be sent with the role 0001 (If that is the default outbound, in this case it is).
    We are working with multiple account groups comming from ERP, all these account groups are Sold Tos, therefore we need to be able to send data from CfC to ERP, without the IDoc getting stuck in the validation.
    I was told in a CfC training session from SAP, that Sold tos should always be mapped to CRM000, therefore I haven't created different roles for different account groups.
    Do you have any recommendations on this issue? Is it recommended to create new Roles in CfC for every account group (remember that these are all sold tos, so they should work exactly as the standard role CRM000), or do we need to work with somekind of BAdi in inboud for ERP? Any thoughts are ideas?
    Best Regards
    Anders

    for information, I found this note 1914662, I think this will solve the issue.

  • One IDOC sent but 8 IDOCs received in backend

    Hi,
    I have a strange problem:
    I generate a IDOC at the end of a simple BPM (receive message, send same message, no transformation step). In sxmb_moni, I can see one message (from process engine to IDOC adapter) as expected. When I click on "IDOC"-field in the message row (sxmb_moni), I can see that 8 identical IDOCs (only different IDOC numbers) were generated and in the SAP Backend system, I also receive 8 IDOCs.
    This effect sometimes appears, sometimes not. I cannot see why or why not.
    Has anyone an idea where I could search to stop this phenomen?
    Kind regards,
    Torsten

    Hi Bhavsh,
    no, I'm not using a collect pattern. BPM simple consists of one receive step and one send step.
    I don't think that there are any Packaging settings on XI, because it worked already for a long time and we didn't change settings.
    Or could Packaging settings in the backend system influence the XI?
    But I got a step further: If I double-click on one of these IDOC messages in IDX5, I can see a lot of error status entries (6x status 51, 2x status 54). Is it possible that XI sends an IDOC multiple times if an error occurs?
    Kind regards,
    Torsten

  • Idoc to Different Trading partners using AS2 Adapter

    Hello experts,
    I have a requirement where we have to send an Idoc to different trading partners using van.
    On the receiver side AS2 adapters will be used.There are many trading partners here.Can someone guide me through? ..
    The entire scenario will be done in SAP PO 7.4
    Breaking the entire scenario in the following parts---
    1)IDoc on sender side--What will be partner profile type? Will it LS or any other (BP, GP or KU??)
    2)AS2 configuration details---AS2 adapter is available in the dropdown of adapter list.What are the config details for AS2?
    3)Trading partner mechanism-How this can be achieved?..what this essentially achieves ? any step by step guide available? Does it take care of sending the Idoc only to VAN or sending Idoc to different trading partners directly bypassing VAN?
    4)Is using NWDS suggestible?--Is it convenient?
    Any help/step by step blog will be of great help.
    If I miss anything in the entire scenario, please let me know
    Thanks
    Ayan Chaudhuri

    Hi Ajay,
    1)IDoc on sender side--What will be partner profile type? Will it LS or any other (BP, GP or KU??)
    -->>The partner type is depend on your scenario. AS2 adapter is used for B2B communication and usually to vendor and customers.
    This purchase Order should go to the particular vendor as a sales order. Then we use partner type as LI -- Vendor.
    Similarly when we sell some materials to our customers, we create the Sales order to our customer. Then we use Partner type as KU - Customer
    Partner Type GP---Business Partner
    Partner Type KU---Customer
    Partner Type LI---Vendor
    Partner Type LS---Logical system
    Partner Type US--User
    2)AS2 configuration details---AS2 adapter is available in the dropdown of adapter list.What are the config details for AS2?
    -->> to configure as2 connection you need following details from trading partner
    AS2 ID
    server address with URL extension
    TP certificate
    MDN address and type (Sync, asyn and signed or not signed)
    Message communication encryption algorithm
    Compression is required or not and if req. which algorithm to use
    3)Trading partner mechanism-How this can be achieved?..what this essentially achieves ? any step by step guide available? Does it take care of sending the Idoc only to VAN or sending Idoc to different trading partners directly bypassing VAN?
    -->> If you are communicating through VAN then you need to send the message to VAN and VAN will route the message to respective TP.
    4)Is using NWDS suggestible?--Is it convenient?
    -->> NWDS is another option to create scenario, it is depend on developer which one he want to use.
    The belog blog might be useful
    Easy-to-use AS2 software - part IV
    B2B- EDI Inbound -Step by Step Configuration
    regards,
    Harish

  • Combine into one IDOC

    Dear FI Idoc Gurus,
    Iu2019m using basic type PEXR2002 , this idoc is generated when I  do a payment run via F110. The idoc generation as far as I know is standard , with some enhancement done via user exit - EXIT_SAPLIEDP_902.
    Currently for each payment document generated one IDOC is created . The Business document / payment document is per vendor. Hence each vendor I get one IDOC .
    Client is asking if  I can combine payments of various vendors into one IDOC ? is this possible?  Is it possible through heavy customization?
    Please assist thank you.
    Best Wishes

    Hi,
      I guess its very difficult to combine the different vendor IDOC into single IDOC and require the customized development.
    Instead you can collect the different vendor IDOC based on the specific parameter. so that all the IDOC will get collected and send as a single message or single file. for this you can use the IDOC collect functionality.

  • Is it possible to display one table on different sheets?

    I'd like to use one table on different sheets.
    On these sheets are also other tables, but one should be the same on each sheet.
    Is this possible?

    You can make one table refer to (take data from) another. 
    Here is a simple example where I made a table named "Source" and duplicated the table and named is "Destination-1".
    the table "Destination-1" refers to table 1 like this:
    A1=Source :: A1
    copy cell A1 in the table "Destination-1" , then select ALL cells using the menu item "Edit > Select All", then paste
    you may now duplicate this table to make additional "copies" as needed.  To duplicate a table, select the table, then select the menu iten "Edit > Duplicate"
    NOTE:  you should be aware that data flows FROM the table "Source" to the destination tables-- NOT the other way.

  • Requirment of two records in One Idoc

    Dear Expert
    Requirement is such that like:
    Currently there is one condition Record in system as :
    Site    Vendor   Article    Tax     Valid From     Valid To   Tax Code
    111     100000  2000000  5%     01.01.2011   31.12.999    V0
    Now User Inserting A new record As ;
    111     100000  2000000  10%   11.11.2011   31.12.9999  V0
    In this case if  we triggered data through BD21 , Two Idoc are generating form SAP for Both Change Records
    But Client requirement is such that both change records should flow in One Idoc.
    How it can be done , what are those setting in SAP.
    Thanks & Regards,
    Surendra

    Hi Oliver
    Thanks for your reply.
    Actually we want multiple segment of  *E1KOMH* in one Idoc.
    As this is already happening in our Quality client but in production is coming differently.
    We utmost check all the setting related with idoc(Both client have same setting)
    Can u suggest something more to resolve this as change in BADI , User Exits is the last option.
    Regards,
    Surendra

  • IDOC not reaching destination system

    Hello,
      I am trying to send DOCMAS type IDOC from one SAP sys to another SAP sys.The IDOC has the status 03 (The IDoc was sent to an SAP system or an external program via a transactional RFC) but i dont see the IDOC in the target sys.
    Please let me know what could have gone wrong.
    Thanks,
    Rakesh.

    Hello Rakesh More ,
    First let us know how you corrected the previous error???. What was wrong?
    Then talk about the  next issue.
    If you maintain properly the Inbound IDOC partner profile this error should not come. Make sure you  have the below things set-up properly:-
    1) In the inbound IDOC in the destination system there should be a partner receiver in the IDOC control data. Make sure you have maintained the partner profile for that partner and for the partner type as well.
    2) For the partner make sure you have maintained the proper inbound mesaage type and process code properly.
    Thanks,
    Greetson
    Edited by: Greetson Shunmugasundaram on Aug 1, 2011 9:47 PM

  • Posting Idocs with different users

    Hi folks,
    I have a simple scenario, File -> PI (7.0) -> ECC (Idoc)
    I would like to know if there is a way to post the Idocs with different users, for example, in the source file a field contains the user that has to post the Idoc, so I'd like to map that user as the one that posted the Idoc.
    Is it possible?
    Thanks in advance!
    Juan

    Thanx Ivan, but you mean Outbound Idocs, or Inbound Idocs?
    Prateek, the issue here is that this is a part of a whole process where are involved many handhelds.
    With this handhelds, first there is an authentication of the users (via RFC) to see if that user has permission or not, and after that, if successful, when PI posts the data fetched from the handheld, they want to know the user that posted that info in ECC (IDOCS); supposing that it was the same user that did the validation before.
    regards,
                 Juan

  • My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    My serial number for Logic Studio doesn't work. I used one from a different box and it worked. How can I get a new number?

    http://support.apple.com/kb/TS2005
    http://support.apple.com/kb/HT1861
    https://ssl.apple.com/support/proapps/serialnumbers/

  • How to update multiple Sales Orders with one IDOC using IDOC_INPUT_ORDCHG

    Hi Gurus,
    Here's my scenario:
    Consider there are 2 Sales Orders for same Purchase Order -
    Open Quantity
    Sales Order 1
    Article A1
    1
    Sales Order 2
    Article A2
    1
    Say if I want to change Open Quantity of both SO 1 & SO2 by dispatching 1 Quantity each for Article A1 and A2 via ORDCHG, observed that in Include LVEDBF0N, XVBAK-VBELN is checked for only 1 Sales Order.
    Whether it is possible to update multiple SOs with one IDOC using IDOC_INPUT_ORDCHG?

    Hi,
    Check out this link, this deals with the problem you are facing.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
    Regards,
    Runal

  • Wifi sync 2 iPhones in one iTunes with different Apple-ID's.

    Wifi sync 2 iPhones in one iTunes with different Apple-ID's. My Phone will show up in iTunes, my wife's wont. After plugging my wife's phone into my Win 8.1 pc and check Sync over wifi, I hit the eject button, could this be the reason? Or might it be the different Apple-ID's? If the answer is the first, is there any way tohave iTunes forgetmy wife's phone so I can addit from scratch?

    Ello,
    I know this, but thats in the past now sadly. The question is: Why wont my wife's iPhone show up in iTunes via wifi?
    Is it because I pushed the eject button? And if so, is there any way I can make iTunes forget my wife's iPhone and *** it from scratch again?
    Or is it because the phones uses different Apple-ID's?

Maybe you are looking for

  • One Communication Channel for two XML-Structure

    Hi to all! i'm Newbee in XI. i register one Communication Channel to recieve two different XML-Structure and when i sent second structure there was a Mapping error, because XI waiting for first XML-Structure. I'd like to ask if there are any addition

  • Percentage calculation in t-sql based on two columns

    Hi All I have a source table with 4 columns and data like this.. ID  Cnt   Col1   Col2  1    22    17      5    2    20    15      5    3    12    5       7    4    10    null    10     5    25    25      null    My output should look like this.. ID 

  • BI Application Frame - set filter values

    Hi, I have a BI application frame in my WebDynpro ABAP component and I want to set filter values. The variables are already defined in the BEx query so I only want to pass the values of the variables. Does anybody have an idea how to do this? Regards

  • Illustrator CS4 ACE Re-Certified

    Does anyone know if you must take and passed CS3 exam to get full credit before taking CS4 re-certification? I had the option to take just the re-certification for CS4 and passed but don't seem to be getting the full credit for the entire application

  • Can't find songs on my computer after transfer.

    I'm in ipod ****! I was on the forum last night and got help transferring songs from old laptop to new one. I played many songs afterwards and everything was working fine (apparently not). I went to play them this morning and I'm getting a message th