IDOC to HTTP

I need to send my IDOC's from R/3 to XI and then to our partners over HTTP(s).
Could you please let me know what are all the necessary steps that I need to do? Thanks a lot.

Hi Rohini,
Configuration in the Sender SAP R/3 System.
     Step 1: Define Logical Systems for Sender and Receiver Systems
     Step 2: Assign the Sender Logical Systems to the Client
     Step 3: Create RFC destination to SAP XI
     Step 4: Maintain Distribution Model and Distribution Views
     Step 5: Maintain Distribution Model and Distribution Views
     Step 6: Distribute the Model View
     Step 7: Send the Idocs to the Receiver
Configuration in SAP XI
     Step 1: Define Logical Systems for Sender and Receiver Systems
     Step 2: Assign Receiver Logical System to client
     Step 3: Create RFC destination to SAP XI
     Step 4: Port maintenance in IDoc adapter
     Step 5: Load IDoc Metadata
Thanks,
sekhar

Similar Messages

  • IDOC-- XI-- HTTP (non-sap) 403 Forbidden

    Hi guys,
    When I execute my scenario IDOC>XI>HTTP (non-sap) URL address Asynchr. The receiver receives the message correctly
    but in my XI monitoring the message stands in error mode.
    At first sight this is not a big problem because the receiver receives the message correctly
    but it would be nice if the message would stand in processed succesfully.
    The error:
      <?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>403</SAP:P1>
      <SAP:P2>Forbidden</SAP:P2>
      <SAP:P3>Service Error</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Http server code 403 reason Forbidden explanation Service Error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please don't redirect me to an old topic because I have  read all topics and none of them could help me. :s
    TIA
    Message was edited by: Peter Delve

    Hi,
    this is the describtion of W3ORG:
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.
    May contact web admin.
    Regards
    Matt

  • IDOC-- XI-- HTTP

    Hi all
    I have completed the IDOC>XI>HTTP scenario.
    When I trigger a material in the source R/3 system, material details are being posted in to the destination JSP page.
    The problem I'm facing is that same material record XML message is appearing in morethan one xml file.
    Example:- when I trigger material 123 from BD10........
    morethan one XMl message is appearing for the material 123 with all the same material details.
    Can someone help me please.

    Hi Simon and Michal,
    I have a similar scenario proxy to XI-jsp .Now in this jsp page I have a textarea 'test' and after inserting the value in it when we click on a submit button on that jsp it goes to handler'/abcdef/trial' handler that can be seen in action of the jsp page.Following are few concerns:
    1. Now can I use http adapter to send the data coming after the message mapping to the external application (i.e the handler /abcdef/trial? or should i go for java proxy.
    2.I tried implementing HTTP adapter but I am not understanding how HTTP adapter creates the HTTP request.and how this submit button click action will be triggered.Please help me on this.This is very urgent for me...thanx in advance....
    Akshata

  • Message Mapping - IDOC to http

    Hi ,
    I am creating Message mapping for IDOC to Http scenario.
    In which i have the following requirement. For a partner Role in segment E1BPDLVPARTNER we need to get the Address_No value
    and then with that we need to get the address from segment E1BPADR1
      <E1BPDLVPARTNER>
          <PARTN_ROLE>AG</PARTN_ROLE>
         <PARTNER_NO>0007745359</PARTNER_NO>
      </E1BPDLVPARTNER>
      <E1BPDLVPARTNER SEGMENT="1">
        <PARTNER_NO>0007745359</PARTNER_NO>
        <ADDRESS_NO>0000267775</ADDRESS_NO>
      </E1BPDLVPARTNER>
       <E1BPDLVPARTNER SEGMENT="1">
         <PARTNER_NO>0007759123</PARTNER_NO>
         <ADDRESS_NO>9000001048</ADDRESS_NO>
      </E1BPDLVPARTNER>
      <E1BPADR1 SEGMENT="1">
         <ADDR_NO>000075</ADDR_NO>
         <NAME>BRIDT HOSPITAL INC</NAME>
       </E1BPADR1>
       <E1BPADR1 SEGMENT="1">
         <ADDR_NO>00775</ADDR_NO>
          <NAME>BRIDGA</NAME>
       </E1BPADR1>
       <E1BPADR1 SEGMENT="1">
        <ADDR_NO>05</ADDR_NO>
        <NAME>BRIDL INC</NAME>
       </E1BPADR1>
    Can you provide inputs on this.
    Thanks,
    Vishal

    For the Address No 0007745359 in E1BPDLVPARTNER we need to go to the E1BPADR1 segment and get the address from
    it and populate the target. Also the data above is test one
    Me a bit confused about your requirement!
    In your structure Partner_Number is having the value 0007745359
    What i get is you have to check for PartnerNo in E1BPDLVPARTNER and if that value matches then go to E1BPADR1 segment and get the Address......but to go to a particular E1BPADR1 you need to check for some field within it.....
    Your mapping logic will be something like:
    PartNum/ AddrNum -->
                                  --->equalS --->
    Constant(0007745359)
                                                              ----> And ----> IfWithoutElse --->    Target
    Field_of_E1BPADR1 (validation logic) -->             Then(Field_of_E1BPADR1)
    Context of PartNum/ AddrNum to be raised and also that of Field_of_E1BPADR1 (the one on which validation is imposed.
    If possible get some more details from your technical lead on how to select the E1BPADR1 ...
    Regards,
    Abhishek.

  • IDOC to HTTP tutorial  and vice versa

    Hello all,
    I am a beginner in PI and I have just configured my first IDOC to file scenario. I am looking to implement an IDOC to HTTP scenario where I create an order in ERP 2004 and the order is sent as an XML file via PI into a suppliers website. I am trying to find a tutorial on how to do that but after looking here in SDN and in google, I couldn't find something helpful. There are plenty of file to idoc and idoc to file tutorials, but not an idoc to http .
    Could you please provide me with some links or some information on where I can start with that. I am also interested on the reverse, i.e. HTTP to IDOC: The supplier sends the invoice in XML format through PI and I receive it in my ERP 2004 system as an IDOC
    Many thanks
    Andreas

    Hey folks!
    We have a PI 7.31 SPS5 Java-only installation here and are using the module IDOCFlatToXmlConvertor. For single IDocs with one line for the EDC_DC40 header and the others for the IDoc payload the conversion works. But when we want to process multiple IDocs from the same type within one file, we see this error in the log:
    Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM = ' found, cause: <null>
    Are there any requirements how the multiple IDocs have to be structured within the file?
    Best regards
    Heinrich
    Update:
    I found out that the module wants each record to contain the corresponding DOCNUM to find the matching records. The non-SAP sender system normally does not set this value. Is there a way to "convince" the module to convert the IDocs nevertheless?

  • Idoc and http adapter

    Idoc and http adapter resides in ABAP stack. So how do we monitor these two adapters ? It wont be visible in RWB ?

    Hi,
    To know the difference i suggest u try to do it by ur self only.
    Login in to Runtime Work bench- component monitoring-Adapter engine-communication channel monitoring- Filter the communication channel with name.
    and click on message id of that channel, it will show u the steps by step log for that channel.
    MONI is used for message monitoring.
    chirag

  • IDoc  to HTTP using BPM

    Hi,
    My Requirement is  IDoc(Async)HTTP(sync)-IDoc(Async) using BPM
    and there is a condition if i will not get response from HTTP then i need to send error message to ECC(IDoc).
    could you please provide me details steps in IR and ID.
    Thanks
    Girii

    HI,
    please go through below blog instead of file you are using IDoc and instead of rfc you are using HTTP,
    http://wiki.sdn.sap.com/wiki/display/XI/FILETORFCTOFILEwithBPM
    regards,
    ganesh.

  • IDoc on HTTP adapter

    Hi,
    what are the steps to post idoc on HTTP adapter.
    Regards,
    Anurag

    Hi Anurag,
    It is also possible to post an IDoc to HTTP directly from your ECC syste, without using PI. Please refer to this blog, hint #2, if you are interested:
    [Four things you might have not known about IDocs|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/28375]
    Hope this helps,
    Greg

  • IDOC - XI - HTTP/MAIL (How to get the http response and send an email?)

    Hi David!
    If you are able to send any Http message in reference to message from XI (eg. with Idoc number or msg-id) there is no problem to process it in your scenario (even if comunication is asynchronous).
    Regards,
    Radek

    You need a 2:1 mapping. source interfaces are Idoc and Http response, target interface is the mail.
    As you can do his only for abstract interfaces, you have to create an abstract message interface based on the IDoc structure.
    For the http call you need abstract async message interfaces representing request and response which you can use for the mapping and for the container variables inside the BPM.
    Regards
    Stefan

  • Capture message ID / IDOC numbers (IDOC-XI-HTTP)

    Hi! I am running a IDOC-XI-HTTP scenario and am trying to figure out a way to capture the XI message ID and the IDOC number to which it is linked and send this to back to the source system such that the user can see the data. This is needed to support easy follow up on issues.
    Does anyone have experience on how to grab this kind of data at runtime? I know I can output the message as a file to the filesystem but this is not an option.
    Any bright ideas would be much appreciated!
    Thx, Duncan

    Hi Prakash
    Really really helpful. Can grab the message ID now. However, I am still not my end point. Basically, my scenario is as follows:
    Source SAP --> IDOC --> XI --> Map --> XML --> External Party
    I don't want to the put the message ID in the message to the External Party but rather write it back - probably via RFC - to it source SAP system. Net, dusire scenario is as follows:
    Source SAP --> IDOC --> XI --> Map --> XML --> External Party
    + Message ID --> Source SAP
    Any ideas? Will award points for your previous reply as that already helped a whole lot.
    Thx
    Duncan

  • Idoc to http scenario

    Anyone know how to do idoc to http scenario step by step?
    Especially receiver http adapter configuration. Using a test tool for Http client, how can we get the parameters for it in adapter configuration?

    >>Anyone know how to do idoc to http scenario step by step?
    There is no guide on SDN which tells u step by step for IDOC to HTTP.You need to read for sender IDOC configuration and receiver HTTP configurations on SDN.
    >>Using a test tool for Http client,
    HTTP client tool is used only in case of sender HTTP not for receiver HTTP.
    >>how can we get the parameters for it in adapter configuration?
    The help.sap documentation on SDN has given all the parameters for all the adapters.
    Thanx
    Aamir

  • In sap 4.7 ver i want to  dispatch an Idoc through http in xml format

    Hi
    Here i am giving the brief scenario of about my
    requirements "::::
    Our organization need to receive an IDoc through
    HTTP into XML format  then we have to send an acknowledgement  back to USA (external  system
    located)
    then we hav eto process tha tIDoc an dsend it back
    to the edi 850 ...
    we are not using Sap Business Connector
    Plz send the suggestions as soon as possible
    I really appreciated if u can give the suggestions
    regarding my  business scenario ..
    without using any thirdparty tool in sap 4.7 version it is possible how can i do that ??
    Thanks & Regards ,
    bak

    The exact error message I'm getting is :
    ABAP XML formatting error in XML node of type "element", name: "abap"

  • SOAP-IDOC scenario- HTTP 500 error

    Hi All,
    We are working on SOAP- IDOC scenario.
    We are getting a request from Sender which should come via Reverse Proxy server to PI.
    We generated WebService on PI and the URL(X) is shared with Proxy team, wherein they mapped that URL (X)with other URL(Y). This URL (Y)is shared to sender and he is trying to send some requests now.But below is the error message.
    [09/02/13 15:26:12] ID=app01 (trace) Delivered HTTP Direct outbound message, containing details...
            Destination URL=https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            User=ZZZZZZZ
            Status Code=500
            [req]Content-Length=7148
            [req]X-HTTPS-ClientAuthCertificate=/AAAAAAAAAAAAAAAA
            [req]X-HTTPS-ClientAuthCertificateForm=PKCS12
            [req]Authorization=Basic RjRGSU5GWEQxMDA6c3luZ2VudGEx
            [req]X-HTTPS-CACertificatePath=/BBBBBBBBBBBB
            [req]X-HTTPS-PrivateKey=/CCCCCCCCCCCCCCCCC
            [req]JMSReplyTo=sga.ws.test.response
            [req]messageuniqueid=6d65d89f-ffff-ffc0-00ee-3aa7032c3299
            [req]adpnextmlemarkersequence=3
            [req]X-HTTPS-PrivateKeyPassword=ZZZZZ[maid
            [req]Content-Type=text/plain
            [resp]content-type=text/xml; charset=utf-8
            [resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
            [resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
    Any Clue

    Hi,
    Check this
    HTTP 500
    o Internal error in J2EE
    o Check SAP Note 807000 - Http requests are not fully read
    after timeout
    Regards,
    Sreenivas

  • IDoc to HTTP: Using acknowledgments

    Hi friends.
    I know the HTTP Adapter does not support acknowledgments.
    But we had a scenario in which we send an IDoc from SAP and transformed it in a HTTP Call.
    We get back to the SAP system a aleaud Ack IDoc from PI. It reports that the communication between SAP and PI works.
    The ack was not for the sucessfully or unsucessfully HTTP call.
    Now we updated our PI 7.0 system from service level 12 to 20.
    Since the update there comes no ALEAUD IDoc back.
    Any replies to that problem?
    Thanks!!!
    Stefan

    HI,
    please go through below blog instead of file you are using IDoc and instead of rfc you are using HTTP,
    http://wiki.sdn.sap.com/wiki/display/XI/FILETORFCTOFILEwithBPM
    regards,
    ganesh.

  • Change FILE to IDOC by HTTP to IDOC scenario

    Hi !!!
    We have a txt FILE to IDOC scenario.
    Now we want to implement a HTTP  to IDOC scenario, but taking advantage of the mappings existing and avoid re-implement it. The HTTP calls must contain the text of the actual FILE.
    What is the best way to do it?
    How convert a txt FILE in a XML?

    Hi, Bhavesh
    Rigth? Not exactly...  I assume I need to create new receiver determination and to make some changes in integration directory (like message interface, message mapping), but if it's possible, i want to avoid changes in message mapping
    In fact, I have more than one scenario (orders, stocktaking, cash up, bank information... ) and therefore, some complicated message mapping. This is the main reason to evaluate the best solution.
    In your proposal... ¿How test if first imput is a XML or a TXT? ¿When and how call the java code?
    Thank you in advance,
    Carme

  • IDOC --- XI -- HTTP (via a flat file structure, not XML)

    I am working on a senario in which we need to send a third party payroll service provider our HR Master Data records (Message type HROT_UM).  The manual method is to create a flat file from an IDOC and place the file in a shared directory, then upload the flat file by logging on to the web server.  We would like to automate this process using XI.
    Is it possible to send a flat file structure to a webserver using a HTTP receiver adapter?  If not, can you provide a basic view of how to accomplish this task.  Please note that FTP is not an option for us. 
    Any suggestions or recommendations would be greatly appreciated.

    hey
    flat file over HTTP is not possible,it takes only XML.
    have a look at the following thread
    Send file through http
    thanx
    ahmad
    PL:reward with points for helpful answers

Maybe you are looking for

  • Visual Voicemail and vm icon not coming in help please!

    Hello---Have been working on this for a few days--Visual Voicmail is not working properly.  I don't get notification of voicemails, and the only way I know if I have a vm is if i call it???  Never had this problem before, and I had the older blackber

  • Raw images in Photoshop Elements 12

    I connected the camera to my Mac Book Air to download my latest photos using a Nikon D3300. Went to open a raw photo in my adobe photoshop elements 12 and it claims it is unable to read/open the file. I just downloaded and opened other photos a week

  • My I phone 4 S was on & now off.,

    My I phone 4 S was on & now off., fully charged and it just went compeletely off. I can't turn it on or when I plug it in with charge cord, nothing happens. What can I do...any suggestions?

  • Stereo Microphone Sound Cards

    LabVIEW has a set of SI-Config/Read/etc VI's that take data from the computer's microphone input. A configuration option is Mono-versus-Stereo. Does anybody have a list (or even one example) of Stereo sound input cards that work with these LabVIEW SI

  • Preconfigure GRC AC 5.3 Installation

    Hello, The GRC AC 5.3 Upgrade guide says the following: 8.1 Preconfigure the Installation Preconfigure the installation by applying all the xml files in the Archive (SAR) file VIRACCNT00_0.sar that you downloaded earlier. Based on the above, what doe