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

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

  • 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 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 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 PR & PO data for materials through IDOC in XML

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that. If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Alpesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    Same thing i have to do for PO & Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • How to send IDOC with extended message type MATMAS

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that.
    Can i use BAPI also for such work, if then how it can be helpful.
    If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Mahesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    That means for few selected materials there will be few PR's which may be open, i have to show those in my report.
    Eg: material A, B. are in PR 00001 & material B, C in PR 00002.
    After selecting materials A to C report will show
    Material                 PR No                   Item No                Quantity
    A                           00001                    10                             1
    B                           00001                     20                            3
    B                           00002                     10                            3
    C                           00002                      10                           1
    Same thing i have to do for open PO & open Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • How to send IDOC to DataWareHouse Systems

    Can anyone tell me how to send an IDOC to Datawarehouse systems.

    Hi,
    please have a look at thread [How to send an IDoc from MII to SAP|http://forums.sdn.sap.com/click.jspa?searchID=60546363&messageID=8112660].
    Does this help?
    Michael

Maybe you are looking for