** How to send 2 IDocs DEBMAS06, ADRMAS03 only if both contains data?

Hi Friends,
My scenario is like below. Whenever create a new customer or change an existing customer (XD01/XD02), we distributes the IDoc DEBMAS06 & ADRMAS03 from one SAP system to other SAP system through XI.
The present scenario  is if DEBMAS06 IDoc gets failed (due to some reason) and ADRMAS03 created successfully it will be distributed to XI and processed successfully and reaches the target system. But, the customer wants only when both IDocs created successfully, the XI should process the message.
To achieve this,
1) Both IDocs are exported and the occurrences of  IDoc node changed to  0..1 .
2) Now the DEBMAS06 IDoc segment occurrence is 0..1 likewise ADRMAS03 IDoc segment occurrence is 0..1. Both are imported in External Definitions.
3) Created Message Mapping - Source Side 2 Messages (DEBMAS.DEBMAS06) & (ADRMAS.ADRMAS03). Likewise, the target side the same 2 messages.
4) We put the condition by checking IDoc Node and tested that it is working fine. (DEBMAS06-E1KNA1M-KUNNR is not initial then only ADRMAS03 IDoc will be created. Likewise, ADRMAS03-E1ADRMAS-OBJ_ID is not initial then only DEBMAS06 IDoc will be created.)
5)  We created 4 Message Interfaces and one interface mapping. Source Side 2 Interfaces are there : DEBMAS06_OUT, ADRMAS03_OUT. Target Side 2 interfaces DEBMAS06_IN, ADRMAS03_IN. The mapping program created in Step 4 is used . Consistency is checked. It is OK. Tested the mapping. Fine.
Now, how do we configure receiver determination in Integration Directory Side ? Because, Sender Side 2 interfaces are there ?
Kindly reply me friends about the ID configuration briefly for the above design.
Thanking you.
Kind Regards,
Jegathees P

Hi,
You have 2 sender interfaces, so you will need to have a BPM which will collect these 2 IDOCs in 2 receive steps and map them to target interfaces.......in BPM you can have a wait step to collect the IDOCs and if in this time the IDOCs didnot arrive, you can cancel the BPM process, so stopping these IDOCs to reach target system.
Regards,
Rajeev Gupta

Similar Messages

  • How to send multiple idocs from WE19?

    How to send 100 IDocs at  a time using We19?
    in other words, can we generate 100 IDocs from a single Idoc using We19
    Thanks,
    Ven

    Hi Venkat,
    Check program RSEOUT00.
    Hope this helps.
    Regards
    Lakshman

  • How to send an IDoc

    Hi all,
    I am doing a test Idoc to File interface. Can anybody tell me how to send an Idoc from R/3? I am trying to send using we19 transaction.
    I am selecting basic type and after giving appropriate values, i am clicking on <b>Standard outbound processing</b> button. Now i am getting an error saying: "<b>Port " does not exist in the table of port descriptions</b>." I tried to mention the port and partner profile information in <b>Idoc->Edit control record</b>. But it is still giving the same error.
    Can anybody help me with this?
    Thanks in advance,
    Divija.

    Divija,
    The sener port will be r3's port and receiver port will be XI's port.
    In partener prolfile, as you are sending the IDOC from the r3 to XI, the entry will be as an <b>outbound paramter</b>.
    Logically, this is how it works, for the R3 , the partner is XI and it is sending it to XI and so, an entry is made in the Outbound side for the same.
    Regards,
    Bhavesh

  • How to send vendor IDOC data from SAP R/3 to XI.

    Hi experts,
    I have developed the IDOC to FILE scenario for Vendor Master Upload. I want to place flat file in local folder with in XI or Outside of XI. (Using NFS or FTP protocol in FILE adapter). My First quesstion is How to setup Folder with in XI ro Out side XI?
    And also I want to push the IDOC from SAP r/3 to test the scenario. Both XI and R/3 systems are configured to exchange data.
    How to Push Vendor IDOC from SAP R/3 to XI? (we can send XML directly to XI; but the R/3 kernal should be moe than 6.20).
    Thanks in Advance.....

    Hi,
    >>My First quesstion is How to setup Folder with in XI ro Out side XI?
    Its a normal way to creation of folders in Os level . u can create the folder in XI Server or on the FTP Server.
    ALE Settings
    Steps
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
    IDoc-XI-File scenario
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Posting the IDOC from R/3 to XI
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    REgards
    Seshagiri

  • How to send an idoc of lower release to an External RFC server

    Hi All,
    I am sending idocs from the sap system to an external rfc server(written using Sap RFC SDK).
    When an idoc is sent from the Sap system, I receive an IDOC_INBOUND_ASYNCHRONOUS call in the external RFC server with the Idoc data.
    Everything works fine with the latest release of idocs. But if I send an Idoc of lower release number, I am getting the data records properly for the lower release(say 640). But the DOCREL field (in the control record- EDI_DC40) always gives me the latest release number(700)
    In my partner profile, I specify the Segment release number to 640 and even then I am receiving the value 700 in DOCREL.
    What am I missing here? How can I populate the DOCREL field with the appropriate release number?
    Any help would be greatly appreciated.
    Thanks
    PS: Please feel free to move this post to appropriate category, if this is not the one.

    Serigo,
    Thanks for your reply and we are not using XI.
    I have defined in the port definition giving the path name refering to unix like /outbound/<system name>/<directory name>. But I dont know how to define for C:\temp\, if I define the same way as c:\temp\  do I need define anything anywhere else ?
    Kindly let me know.
    Thanks,
    Kalikonda.

  • How to send Outbound IDocs through an RFC-enabled FM

    Good day to all;
    A partner system (AS/400) wants to use a Java Connection to execute a RFC Function Module, in SAP, that will then return a collection of IDocs.
    Currently, the Function Module builds the IDocs, but I'm not exactly sure how to simply send those IDocs back to the AS/400.
    If anyone can help in this regard, that would be great.
    My current thoughts are to use Master_IDoc_Distribute, but then I imagine that requires a port configuration for the AS/400.  And if this is the case, does that mean that SAP will send the IDocs back itself instead of using the RFC interface?

    Hi Tavares,
    If you want to send outbound IDoc to AS/400 (external system), you need to setup file port (t/code WE21).
    For RFC interface, you need to setup RFC file port with RFC Destination (t/code SM59). In this case, SAP will send IDoc (individually or batch) to receiver system (AS/400). Perhaps you need a middleware for data transformation, if AS/400 does not perform data mapping for outbound IDoc. 
    For FTP interface, you need to setup flat/XML file port for outbound. then you can FTP the file to AS/400 later on.
    In addition to file port configuration, you also need to setup partner profile for outbound parameter (t/code WE20) and the distribution model (t/code BD64).
    Hope this will help.
    Regards,
    Ferry Lianto

  • How to send ORDERS01 IDOC?

    Hi Experts,
    how I can send the ORDERS01 IDOC? I Will send it with following Message Types: ORDERS, REQOTE, ORDRSP and QUOTES.
    Till now I can't find a TCODE to send that IDOC, that I can see the result in TCODE BD87.
    Someone have a solution or a hint to realize that?
    Thanks,
    Frederic

    Hi,
    Go through the below link, how one can send IDocs for different message type.
    http://****************/Tutorials/ALE/DataDistributeCustomIDOC/page1.htm.
    Regards,
    Anbalagan

  • How to send PO IDOC from SRM server

    Hi All,
    How to send IDOC, after successful creation of the PO in SRM ?
    Please tell me how to configure the SRM system ?
    Regards

    Hi,
    See the foll related useful link:
    Re: Intercompany process u0096 MM u0096 SD
    BR,
    Disha.
    Pls reward points for useful answers.

  • How to send an iDoc from XI to flat file

    hi,
    I have send an IDoc from R/3 to XI.The iDoc is being received by XI.Now,I need to send this iDoc to Flat file.
    For this,What i need to do?
    can any body help me step by step in this regard..........
    Thanx in advance..
    Sridhar Raju Mahali

    Hi Sridhar,
    Hope you are clear with the XI portion.
    Now for sending the data from IDOC to XI follow these steps...
    1.create an RFC destination pointing to <i>XI server</i> in the Business System where IDOC is present, using transaction sm59
    2.create a tRFC port in the same Business System using transaction we21
    3.create a logical system name using transaction bd54
    4.then create a partner profile  using transaction we20
    5.Now log on to the Business System where IDOC is created.
    6.go to we19..execute the idoc and give standard outbound processing on
    7.on the values given click and give the sender and recipeint port and partner name and type..
    Hope this will help you...
    Regards
    Suraj

  • How to send the idoc to 12 status, without processing with RSEOUT00 and RBD

    Hi All,
    How can I change the status of IDoc to 12 without processing with the programs RSEOUT00 and RBDMOIND programs, only with using the partner profiles.  Help needed ASAP.
    Thanks,
    sreenivas.

    Then you need to use fm
      call function 'MASTER_IDOC_DISTRIBUTE'
        exporting
          master_idoc_control            = wa_edidc
        tables
          communication_idoc_control     = i_edidc
          master_idoc_data               = i_edidd
        exceptions
          error_in_idoc_control          = 1
          error_writing_idoc_status      = 2
          error_in_idoc_data             = 3
          sending_logical_system_unknown = 4
          others                         = 5.
    then you want to change status
    try to submit the above said program

  • How to send an idoc to a particular partner and port?

    Hi,
    I need to post an idoc from R/3 system, using transaction BD10. After execution, it'll generate some idocs and will post them. but the problem, these idocs generated will not have the partner or port to which i intended to send them to. How will i ensure, the posted idoc will always have my XI system as target?
    Regards,
    Rashmi

    I Think U didn't even seen the BD10 screen.
    there u will have option for Logical sytem  which is mandatory and based the logical system entered IDOC wil be routed..
    In  u r case there will be LS which points to XI system and whole Partner Profiles are defiend for that LS in WE20
    Suresh

  • How to send a IDOC-XML to a non-sap system

    Hai Frnds,
                      Can you give me a hint , if i would like to Convert a IDOC into xml and need to send it to a Non-sap system.And can i use change pointers here...
    i have have similar one but it stores in the Front End system only....
    waiting for ur replies...

    Hi Mr. Jeevan,
    And can i use change pointers here..>>>.
    i think it wont be useful.. as change pointer only replicates master datas in the target system.
    Actually u can use CHANGE POINTER in such cases where When ever changes occur in  the field values then idoc triggers automatically and send changed information via ALE to other system.
    for example:
    u r setting up ALE for material master.
    suppose u change material description in one side then change pointers triggers idoc and generate idoc with changed description and send to other end.
    main use of change pointers is to track changes and send to other end if there is any changes.
    i will suiggest u to follow this....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    also see
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    regards
    biplab

  • How to send a list item value to URL to open data related to item value

    Hi,
    Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region.
    Here i want to open the data related to list item value in other page.
    List item - :Familyp
    i want to pass this selected value to the url and when ever user selected the list item and clicks on the url, then it should display the item value related data in new page.
    I tried with &FamilyP in url but it's not working. Any one help me plz.
    Regards
    Vamsi.Tata

    Is it a normal Select list or Multi Select list?
    If you have select list that allows you to select multiple options then you cannot pass it through URL. Multi-select /Shuttle keep colon separated list in the item, and this confuses Apex because the Apex URL uses colons for a different purpose. No escaping or URL encoding will help.
    If it is normal select list that allows selection of only one option then you can pass through the url. Unless of course the data has a colon in it.
    For multi-select, and when the value contains colon, the only way is to save the value in session state, same page item or any other place like Application Item, and then reference it at the other end. Never pass through the URL.
    Regards,

  • How to send a reminder maill at 3 months before retiring date?

    Dear all,
    if I need to send a reminder mail to the related HR administrator before 3 months of the employee's retire date, how should I do it?
    Should I write a batch program for it? 
    Thanks a lot for any suggestions!

    Hello Lucy
                   You can shedule this program for running every day at 12 o clock.it will not affect system performance.Check infotype 41date type - 42 last working day.(provided you are updating while hiring date type 42).
    Program Logic :
    1. Check infotype 41 date type 42.
    2.Check the difference in dates and months (system date and date type 42) using function module (HR_HK_DIFF_BT_2_DATES).
    3.If 3 months ,send a remainder mail.
    Hope this will help you for coding.
    Regards,
    Manoj.
    Message was edited by:
            manoj kumar

  • How can I delete an account, BUT only after having saved data

    I need to delete my account from the iPhone BUT not before having saved the current data. How?
    My Calendar, Contacts, Bookmarks sync is not working. As a solution, I was told to delete account from the iPhone, reset the iPhone, create my MobileMe account again on the iPhone and select Calendar, Contacts and Bookmarks to be synced using MobileMe.
    Fine, but I get a warning that all the information that I currently have in Calendar, Contacts and Bookmarks on my iPhone will be lost!!!
    That would be a problem, as I have entered a great number of new contacts on the iPhone, and I really don't want to lose them. Is there no way to MERGE without losing what's on the iPhone? Or can I save the Contacts and Calendar data somehow before I delete the account of the iPhone, so I can import them back later in a new account?
    In a nutshell: I need to delete my account from the iPhone BUT not before having saved the current data. How?

    If the sync process is not working between your iPhone and the MobileMe "cloud", is it working properly between the Address Book and iCal on your Mac with the MobileMe "cloud"?
    With a MM account, you can sync contacts and calendar events over the air, or direct with the supported applications on your compute via the iTunes sync process. You can do one or the other, not both at the same time. In order to sync direct with the supported applications on your computer via the iTunes sync process, you must turn Contacts and Calendars off for over the air syncing on your iPhone, which will remove all contacts and calendar events from your iPhone.
    I'm afraid you will need to manually enter the new contacts with the Address Book, the new calendar events with iCal on your Mac.
    There is an outside chance. Contacts and calendar events are included with your iPhone's backup. You can sync with iTunes to update your iPhone's backup before deleting your MM account on your iPhone - I suggest turning Contacts and Calendars off on your iPhone before deleting the account.
    Follow deleting your MM account from your iPhone by restoring your iPhone with iTunes from your iPhone's backup. This should restore the contact and calendar events on your iPhone from your iPhone's backup. Follow this by syncing with the Address Book and iCal on your Mac.
    There is a chance this won't work and if not, all contacts and calendar events on your iPhone will be lost in the process.
    Message was edited by: Allan Sampson

Maybe you are looking for