Urgent: Sending order05 IDOC from R/3 to ICH (SAP SCM) through SAP XI

Hi All
I have requirement where I have to send Order05 IDOC from SAP R/3 (ECC 6) to ICH (SAP SCM 5) through SAP XI (PI 7).
I came to know that there is one standard scenario in SAP SCM Basis content in integration repository.
I never done any XI development, please guide me with the useful links or whole step by step process. I will be very thankful for your inputs.
Please reply asap.
Regards,
Amol

Hi !
Check this note:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383336323030%7d
Regards,
Matias.

Similar Messages

  • Error to send a IDOC from ECC to SUS

    Hi,
    I am trying to connect to SAP SUS System using HTTP adapter using PI 7.0.The scenario is
    ECC ->PI->SAP SRM. I have configured HTTP adapter as the receiver with addressing type as HTTP Destination. I have created a RFC destination of type H pointing to SAP SUS on PI. I have encountered the following error after executing the scenario.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Error during parsing of SOAP header</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Error during parsing of SOAP header</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have configured HTTP receiver with Addressing type HTTP Destination and configured the HTTP destination field with RFC destination(Connection Type H) created on PI. Here my source and target structures are same i.e DELVRY03. I have triggered DELVRY03 idoc from ECC and i am expecting same xml to be sent to SAP SUS but stuck up with the above mentioned error.
    Someone know how fix this problem?
    Tks,
    Erik

    HI,
    As per my understanding to your scenario, You want to send one IDoc from ECC to SAP SUS system using SAP PI.
    So i hope you must have configured on all the steps required to Send one IDoc to PI syste, Secondly, are you using any Standard interface in PI to send data to SAP SUS system? If yes, you need to create an HTTP Destination for that system and then you have to create XI Receiver Adapter with that HTTP destination to post incoming message to SAP SUS system.
    Your error suggests you are using Plain HTTP adapter to post data to SAP SUS, which is in my understanding is incorrect.
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Feb 21, 2011 9:15 AM

  • 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

  • Error sending IDOC from external Java application to Sap ERP system

    Hi Experts!
    When I try to send Idoc from Java application to XI an error occurs : no service for system CLNTJAVA, client in Integration Server.
    My question is: What value the setSenderPort() is excepting?The Java third party business system's logical name or the ERP business system's logical name where the JCO can be found?I tried both of them, but still have the problem.
    Please help. I read all threads about this error, but non of those can help me.
    My relevant java sourcecode:
                doc.setSenderPort("CLNTJAVA");
    The XI documentation says that:In the case of non-SAP senders, the entry in the SNDPOR field is interpreted as a logical system name, and the corresponding business system is searched for in the runtime cache.
    Both case(third party business sytem and erp business system) I have configured the ID    i think correctly. I  made a business systems,I configured the adapter specific identifies,I  made the IDX1 port,I made the RFC destination,I polled the IDOC type with IDX2 transaction, I have made full cache refresh,I configured the INTEGRATION_DIRECTORY_HMI rfc destination,but I do not made any communication channels, receiver determinations, receiver agreement.
    My configurations if it can help for you.
    Hostname:sapsp5
    System name: NE2
    Clients:
    000 ERP
    001 Integration Server
    <b>SLD configurations:</b>
    Third Party Technical system name: Java_sytem
    Business System:CLNTJAVA
    Logical system name: CLNTJAVA
    <b>ID configurations:</b>
    Business System:CLNTJAVA
    adapter-specific identifiers:logical system:CLNTJAVA, <u>the rest is initial</u>,because I cant change it.
    IDX1 port name: CLNTJAVA the client is 001. the rfc destination is client_001.
    I think the IDX1 port and the adapter specific identifiers are wrong. is it?
    my java source if the sender is the JCO
    doc.setSenderPort("INTSERV");
    My configurations if the sender is the JCO.
    <b>SLD configurations:</b>
    Technical system name: NE2
    Business System:INTEGRATION_SERVER_NE2
    Logical system name: INTSERV
    <b>ID configurations:</b>
    Business System:INTEGRATION_SERVER_NE2
    adapter-specific identifiers:logical system:INTSERV,system NE2,client 001.
    IDX1 port name: INTSERV the client is 001. the rfc destination is client_001.
    Could this error be an autorization error?I tired to connect to the xi from the Java, with the user PIISUSER extended with PISUPER roles.
    Thank very much.

    Hi!
    My SNDPOR already set to my source business system's logical name if you check my configurations(JAVACLNT), so there is another problem unfortunately. I set SNDPRN to JAVA, but it still does not work.
    Check this configuration please(posted here:
    No service for system ... in Integration Directory)
    doc.setMessageType("ACC_DOCUMENT");
    doc.setRecipientPort("SAPSE1"); // get stuck in XI mapping if not set
    doc.setRecipientPartnerType("LS");
    doc.setRecipientPartnerNumber("SE1CLNT500");
    <b>doc.setSenderPort("SAP3MA");</b>
    doc.setSenderPartnerType("LS");
    <b>doc.setSenderPartnerNumber("TREMACLNT");</b>
    doc.setClient("100");
    Inside XI configuration integration builder
    <b>Business Service: Service: TREMACLNT</b>
    Under the menu Service - Adapter specific identifiers
    Idoc Adapter Logical system: TAPPMAN (This thing is important when sending idoc XI -> SAP and should match the logical sys in the receiving SAP system)
    IDoc Adapter and RFC adapter R/3 Sysytem ID: 3MA
    Client: 100
    In IDX1 trans
    <b>Port: SAP3MA</b> (Note that the 3MA here is matched against the IDoc Adapter and RFC adapter R/3 Sysytem ID: 3MA)
    (a not so well documented feature)
    Client: 100
    RFC Destination: SE1 (A SAP test system from where IDOC def can be imported, rfc dests are setup in SM59)
    I guess that your idx1 port name is the same as the SNDPOR value. I think it should be, because the XI is whatching the IDOC traffic in the idoc adapter port, so you should send the IDOC from external system to the adapter port. Is it right?
    My idx1 port is the same as my SNDPOR value in Java,but still came the error.

  • Steps of EDI is used to transfer IDOC from R3 system to non sap system

    Hi Experts,
    Can you provide me Steps to configure EDI is used to transfer IDOC from R3 system to non sap system?
    Full points will be assigned.
    Thanks in advance!
    Sapna

    Hello,
             The EDI Configuration required to be done for Transfering IDoc to non SAP System is.
    1. First of all, we need to identify the Transaction Data which is required to be Transfered to external System.(Ex: Sales Order Data or Shipment Data or Delivery Related Data).
    2. Secondly, Identify the IDoc Type & Message Type. IDoc Type can be found in Transaction WE30 & Message Type Can be explored in Transaction WE81.
    3. After that, assign the IDoc Type to Message Type in WE82.
    4. Identify the Selection Program (Outbound) which is generally a Function Module in the Form of IDOC_OUTPUT_<Message Type>. Example, if the Message Type is ORDERS, the FM will be IDOC_OUTPUT_ORDERS.
    5. Assign the Function Module to a Process Code in WE41 (Process Code for Outbound).
    6. Configure Port Definitions in WE21 for which the RFC destinations are to be maintained in Transaction SM59.
    7. Maintain Partner Profiles for the Outbound Message Processing in WE20.
    8. Last, but not the Least, we need to Focus Mainly on Message Control Configuration which is nothing but maintaining the Output Type for the Outbound IDoc to be Triggered for the Sales Order Application or Delivery Application.
       i. In Message Control Configuration, we'll maintain
          a. Condition Tables
          b. Access Sequences
          c. Output Types
       ii. To Create the above elements, we can go to SPRO Transaction and do the same depending on the Application Area such as Sales / Shipping / Logistics Execution etc.
       iii. For Output Types & Access Sequences, we can go to the Transaction NACE or VK01 in which we'll maintain the Output Types / Access Sequences & Condition Records.
       Please note that all the above steps may not be needed if we are using some of the Standard Elements provided by SAP such as Message Type, Process Code, IDoc Type & Selection Program as many of the Standard SAP Applications have their own Elements for different Application Areas.
       For example, if you want to send an Order Confirmation IDoc when the Sales Order is saved, you can use the Message Type ORDRSP, IDoc Type ORDERS05 & Selection Program as IDOC_OUTPUT_ORDRSP.
       However, Message Control Configuration is the Key Factor and is required for all the Applications as per the Customer's / Client's Requirements.
    Hope the above procedure was clear.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Unable to send an idoc from SAP R/3 to XI

    Hi,
    We are trying to send Z_CREMAS_SUSMM.CREMAS03 idoc from R/3 system to XI using IDOC adapter.
    We have done the following steps.
    On  SAP R/3 system:
    1.created a RFc Destination which points to the XI system using transaction SM59
    2.created a port in which we have selected  this RFC Destination   using tansaction WE21
    3.logical system for R/3  with transacion BD54
    4.In WE20 transaction,we have configured the PartnerProfile by adding the IDOC message type to the outbound Parameters of XI Logical system.
    On XI Sytem:
    1.Created RFC destination
    2.Created a Port
    3.Loaded metadata
    While trying to Post IDOc from SAP R/3,it is throwing an error"External segment name E2LFA1M001 cannot be interpreted"
    and "Basic type CREMAS03 does not exist" on XI side.
    Can anyone please provide a solution to this?

    HI Jagruthi,
    Have you loaded the metadata into the XI system by using IDX2?
    If it is done then try to delete once and do once again.
    And also delete the IDoc from IR and reimport the IDoc and activate it once again.
    Regards
    Goli Sridhar

  • Limit send of IDoc from SAP-ERP to SAP-XI or a Non-SAP

    Hi guys,
    I send the following IDocs from SAP-ERP over SAP-XI to Non-SAP for an initialload: Artmas, Bommat, Infrec, Cond_a, Mmaddi, Cremas
    Example: Artmas with TA: BD10.
    Problem: SAP-ERP send all 25'000 IDoc to SAP-XI. The effect is that the qRFC and tRFC in SAP-XI is full, because the Non-SAP is not fast enough to takeover the Idocs. From then other systems can't send out or get in Idocs.
    I tried to limit in WE20, but it didnt work. TA: RSEOUT00 ist not so useful, because of the quantity of the IDocs.
    Is in SAP-ERP a possibility to limit the sending of IDocs to SAP-XI or Non-SAP?
    Example: Automatic sending of 200 Idocs every 2 Minute.
    Thanks

    may be u can write a wrapper above BD10 this way
    report zaRs message-id b1.
    select-options: matsel for marav-matnr matchcode object mat1.
    parameters: receiver like tbdlst-logsys no-display.
    start-of-selection.
      select * from mara into i_mara where matnr in matsel.
      refresh : matsel.  
      v_no = 0.
      loop at i_mara.
        move i_mara-matnr to matsel-low
    * fill up sign option etc.
        append matsel
      do.
       move mara
       if v_no = 200.
        submit rbdsemat  " Program behind BD10
              with logsys eq receiver
              with matsel in matsel
              with mestypat eq 'ARTMAS'
              and return.
              wait 20 seconds
        exit.
        clear v_no.
       endif.
      enddo.  

  • 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

  • SCOT - How to send a mail from mail server to a SAP system

    Dear SAP colleagues,
    With SCOT you can configure the SAPConnect administration.
    You can easily configure your SAP system to allow the send of email from SAP to your mail server.
    Exemple :
    1. SID SAP : DL1
    2. Mail server : sn1exch.lec.local
    3. Target email : "myeamailaddress"
    Send email process 01 : 1. DL1 ==> 2. Mail Server ==> 3. You read your email in your inbox "myeamailaddress"
    My problem :
    From my inbox "myeamailaddress", I want to be able to send email to SAP (Dl1).
    Send email process 02 : 1. My inbox "myeamailaddress" ==> 2. Mail Server ==> 3. SAP (DL1).
    Question :
    Do you have any help to configure it ?
    Thanks in advance for your input.
    Best regards
    NetWeavAdmin

    Dear Olivier,
    I do not have a specifi technical problem.
    Let's summarize - my request concerns a SRM Workflow :
    I am ordering an article. When the order is higher than 2'000 USD, I need to get the approval of my manager.
    That's the workflow.
    Workflow :
    1. I am user in DL1 SAP System.
        UserName : CharlesN
        In SU01,
        charles(a)green.com
    2. From DL1 SAP system, I order articles. The order total amount is higher than 2'000 USD.
        In the workflow, an mail from DL1 is automatically send to my manager in his MS-Outook inbox.
        (manager(a)green.com)
    3. My manager reads the mail I have sent him and give his approvals by clicking on a approvals button.
        When clicking the button, an mail must be automatically send from my manager MS-Outlook inbox
        to DL1 to CharlesN inbox in SBWP in DL1 SAP system.
    I have configured SCOT and read OSS Note 455140.
    The SAPconnect virtual host is activated in DL1 (SICF).
    I think a miss a step in our mail server to relay a mail from MS-Outlook to my SAP system.
    Any suggestion is welcome.
    Best regards

  • Sending PO idoc to create PO in another SAP system

    Hi,
    SAP A is sending PO idoc (Orders05) to SAP B ...i want it to be posted as PO in SAP B...is it possible or do i have to post it as an SO only ....I found a IDoc type PORDCR01 ...is this correct??
    Also once a PO is created in SAP B can i send a ORDRSP back to SAP A? What config is needed for this...only otbound partner profile( with message control) need to have this entry and also a distribution model entry ....what else?
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 19, 2011 10:39 PM

    Please check through MM01 whether these fields are display only or can be input enabled, also check the transportation group (MARA-TRAGR) in both the SAP system are in Sync

  • Sending reduced IDOC from XI to R/3 with nodata markers

    Hi !
    I need to update a VERY FEW Vendor fields data in R/3 from XI (FILE-XI-IDOC). I'm using the standard IDOC type CREMAS04 (I need to update fields of the E1LFBWM segment...withholding tax fields).
    The problem is, that if I disable the not needed IDOC fields in the XI message mapping, when the IDOC reaches R/3, it blanks all the fields that were empty as result of the mapping...I verified it using XI and using the IDOC test tool (we19). For example, if the vendor had data in fields such as "salutation", "phone number", etc. after the IDOC processing, those fields change to BLANK.
    One solution is to send the NODATA marker ("/") in those not needed fields, and that works!!!!...<b>BUT</b>, there are hundreds of IDOC fields.
    I made a reduced IDOC type, based on CREMAS, enabling only the segments and fields needed, but tnx-WE19 and XI keep sending blank data in the not needed fields instead of the NODATA marker.
    How could I send by default, the NODATA marker ("/") to all the fields NOT mapped or disabled, without having to map each field manually ?!?!?
    Should XI send those fields as "/", or the R/3 should detect that the incoming IDOC is a reduced IDOC type, and complete all the not existing fields with NODATA ??
    The goal is to update some data, and not overwrite with blanks, those fields that should remain untouched.
    Thanks !!
    Matias.

    Matias
    Is ur intention /equirement to send the NODATA for the rest of the IDOC elements or just send the reduced IDOC for the required sender elements..
    if it is only for sender file elements, as sravya said Note 709400 describes
    The integration repository provides a new function: "export reduced XSD" to reduce the XML schema of an IDoc.
    To use this function in the mapping tool, proceed as follows:
    1) Open the relevant IDoc in the object editor of the XI Repository.
    2) In the menu "Tools", select the menu option "Export reduced XSD".
    3) Assign a file name in the subsequent dialog box and save the data on the hard disk of your local PC.
    4) Use this exported file in the message mapping instead of the IDoc by using the function "Import XML or XSD" in the mapping tool to select the source or target message. So you must use this function to import the reduced XML schema stored under
    3) of the IDoc in question, and use this XML schema instead of the complete IDoc.
    Note: The XML schema generated using the function "export reduced XSD" does not contain the full information in the repository on the IDoc and should only be used for the mapping.
    option2: if you want to send the NO DATA, you got to develop UDF in Java or XSLT..
    Here is a sample Java code:
    obj = inputModuleData.getPrincipalData();
    msg = (Message)obj;
    XMLPayload xmlpayload = msg.getDocument();
    DocumentBuilderFactory factory;
    factory =DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    // parse the XML Payload
    Document document = builder.parse((InputStream)
    xmlpayload.getInputStream());
    var x=document.getElementsByTagName("<rootnode>");
    for(i=0;i<x.length;i++)
    //the attlist variable will hold a NamedNodeMap
    var attlist=x.item(i).attributes;
    if (attllist.getvalue.equals("") {  //pseudo
    attlist.setvalue("/"); //pseudo
    document.write(att.value + "<br />");
    Good luck
    Thanks-Gopal
    Message was edited by:
            gopal srinivasan

  • Send orders idoc from sender

    Experts 
    tell me which tcode is used to send the sales order data from sender to receiver.
    Example  : we use the following tcode to send the master data idocs like
    SEND MATERIAL MASTER: BD10
    SEND VENDOR MASTER:   BD12
    1)is there any tcode to send the sales order data also like this.
    2)if tcode not there then tell me which function module is used in the sender system to fill the segments of order01 idoc.
    3) I want to fill the sales order data in the segments , the following data i need to fill
    sales area , document type , customer numeber , payment terms , material , net price , quantity , order data , po number.
    tell me which segments are used for this.
    4)where to see the segments of the idoc and its fields.
    5) if any one having sample code to fill the orders idoc , please give me the link

    prabhu
    send data through Message control ? means how to send .
    My requirement is to fill the idoc segments and then to post.
    Which tcode is used to see the segment fileds  both header and item other than we60 , we61.
    For orders01 idoc how to identify which segment fields are used for sales area , customer , payment term etc  becasue po fields are also there, so confusing

  • Urgent ::: Sending java mail from AbstractPortalComponent

    Hi all,
       I am using WAS SP9 (with EP & KM). I am connecting to corporate exchange server and i am sending mails and i have permission to relay from my server also. The code i used is working fine in webdynpro and also in simple java file but its not working in Abstract Portal Component. Following is the code snippet....
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.smtp.auth","true");
    props.put("mail.transport.protocol", "smtp");
    Session session = Session.getDefaultInstance(props, null);//getting error in this line
    session.setDebug(sessionDebug);
    In the above acode I am getting PRT error when i get instance of session by session.getDefaultInstance method.
    I didnt configure anything in the server(like javamail client). Help me out on this...
    Thanks in Advance..
    Regards
    Vasu

    Hi Akhilesh,
      Thanks for the info. I tried what u told. But,i still have a problem.
    String host = "<host ip address>";
    boolean sessionDebug = false;
    Properties props = new Properties();
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth","true");
    props.put("mail.transport.protocol", "smtp");
    Session session = Session.getDefaultInstance(props, null);   //i am getting the error in this line
    session.setDebug(sessionDebug);
    Any ideas please?
    <b>Regards,
    Sai Krishna.</b>

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

  • Urgent - Sending Secret Text from Socket

    First of all, this is my finishing project. My project has a client and server parts. Server sends the DES key and client initializes it . It is working fine when I check. But the problem is I'm sending encrypted text to the server. And it is stored in SQL DB. then I retrieve the text and decrypt it. And here the problem starts . It throws some exceptions. They are
    DES Bad Padding Exception2 !
       DES Illegal Block Size2 !I looked the text that is stored in db. The encrypted text is sent to Server and DB is in server's computer. The encrypted text and the text in DB are same.
    Then I again get the encrypted text from the server and I compare the texts all are the same. Wht is my problem? Is it because of the sending error of sockets (I use TCP Socket) . And when I don't use encryption the data are sent very perfectly.
    Please Help. I cannot find my problem. And if there are someone doing similar projects please contact me.. msn: [email protected]

    I bet you are converting the encrypted bytes to a String using
    String toStoreInDB = new String(encryptedBytes);
    Your encrypted bytes will look very random and using your default encoding system will probably not convert properly using this approach. Centainly the transform bytes -> String -> bytes will probably not get back your original bytes.
    You have two possible approaches.
    1) Define your DB column to hold bytes (not CHAR or VARCHAR).
    2) Encode the encrypted bytes. I would use Base64 encoding but HEX and many other encoding systems are just as good.

Maybe you are looking for

  • FDM Import: create 4 fields from single chartfield in source file

    Hi Experts , In my requirement, i have single member in Source file which i have to split into 4 filds (Target dimension) ex "1234 44 55555 456" , this string should be "1234" "44" "55555" "456" to represent 4 dimension members in Essbase. I tried pu

  • Ess- career and job- skills link

    Dear All, I need to change the Short application description that comes under the hyperlink "Skills Profile". (ess->career and job->skills link ) where should I change the description. And if I need to change the hyperlink name "Skills Profile" to so

  • Getting Ready to upgrade from 1.6 to 3.2 - any pointers?

    We are getting ready to upgrade our servers and all our applications from 1.6.1.00.02 to either 3.1 or 3.2. I'm being asked to estimate the amount of time it will take for the remediation effort for all of our apps to make sure they are working prope

  • How attach iphone photo to gmail on an iphone?

    Hi, How do I attach an iphone photo to a gmail on an iphone?  Thanks.

  • XDB login box..how to remove it. ?

    I have oracle and tomcat both installed on my system. Now when I try to open anything in Tomcat this login box pops up saying XDB and asking for login name and password.... ? How can I use Tomcat now .. ?