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

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 array of bytes to a servlet and store it in a file

    Hi,
    How to send array of bytes to a servlet and store it in a file.
    I am new to Servlets. if possible for any one, please provide the code.
    Thanks,
    cmbl

    Through HTTP this is only possible with a POST request of which the encoding type is set to multipart/form-data. You can use Apache Commons FileUpload to parse such a multipart form data request into useable elements. From the other side (the client) you can use a HTML <input type="file"> element or a Java class with Apache Commons PostMethod API.
    You may find this article useful: http://balusc.blogspot.com/2007/11/multipartfilter.html

  • Why Sender side IDOC adapter doesnt have SenderAgreement and Sender CC

    Why Sender side IDOC adapter doesnt have SenderAgreement and Sender CC . But in receiver side it is having.
    what i know is
    1) Idoc adapter is in ABAP Stack.
    2)XI having Idoc Metadata.
    3)Once Communication Idoc generated , no control on it.
    4)SAP using  TRFC to identify XI , XI cant.
    Pls explain , in comparition with receiverside. Dont post links.

    Hi vijayreddy.veluri
    these questions are very general.
    Please refer to the
    [rules of engagement|/thread/117188 [original link is broken];
    before creating threads.
    Sender agreements are not required as there is no requirement to bind sender information to a sender communication channel.
    [IDoc Processing with the IDoc Adapter|http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm]
    Thanks and Regards
      Kenny Scott
    SDN XI/PI Moderator

  • 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 a mail on a particular date

    hello everybody.
    i am developing a greeting site.
    where in i need to send a mail on a particular date, which is greater than today. how can i send mail on a pre selected date.
    my server is IIS and i am using java servlets and java mail api.
    please tell me if anybody having the solution.
    or please mail me to [email protected]
    thank you
    sambareddy
    hyderabad

    As far as I know there is no method in JavaMail for sending a message on a particular date.
    However you can use the Java.util.Timer and java.util.TimerTask class to do this.
    In the class that you send your message from
    public class SendMessage extends TimerTask{
    public void run(){
    //send message here
    TimerTask implements Runnable so a thread can be created here.
    To call the thread:
    public class CallMessage{
    public static void mail(String args[]){
    SendMessage sm = new SendMessage();
    Timer timer = new Timer();
    timer.schedule(sm, 10000, 10000)
    //wait for 10 seconds and repeat in 10 seconds
    There are a number of different schedule methods available for whatever you need to do.
    Hope this helps!

  • ** 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 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 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 trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

Maybe you are looking for