Sync HTTP to ABAP proxy

Hi:
I am looking for a Sync HTTP to ABAP proxy scenario screenshots.
Can someone help?
Thnx

HI,
See the below links
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336ea78
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd1c81
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
Regards
Chilla

Similar Messages

  • HTTP to ABAP Proxy - Problem with "Current User" parameter

    Hi experts,
    We have a HTTP to ABAP proxy sceario, where I used an HTTP Destination to connect to the proxy.
    We're trying to use the option "Current User" in that destination in order to login to ECC with the same user that in PI adapter plain.
    The user exists i both systems, PI and ECC, with the same password.
    Checking that parameter we get the following error:
    <SAP:Error><SAP:Category>XIServer</SAP:Category><SAP:Code>INTERNAL.UNAUTHORIZED</SAP:Code><SAP:P1>401 </SAP:P1><SAP:P2>Unauthorized</SAP:P2><SAP:P3>(See attachment HTMLError for details)</SAP:P3></SAP:Error>
    We think that PI is not getting the password.
    Does aybody know how to do this?
    Thanks and regards,
    LUIS B.

    Hi Chirumamilla,
    If we put user and password in SM59 (unchecking "Current User") the commuication works without problems.
    We don't want to leave a user set there, beacuse we are looking to access to PI with different users and login to ECC with the same user.
    Thanks,

  • Http to abap proxy

    Hi ;
    Can somebody help me by sending screenshots for a http to abp proxy scenario.
    I am new to sap xi .
    i need a http cleint also,
    Thnx

    Hi
    Here in this case it is a http client to abap proxy. For http client (sender CC) u wud not req sender agreement. Follow the below link for http client config:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
    And u shud have the DT,MT, MI, Mapping in place. U wud do the req confir in ID and recv agreement will be for proxy. For that follow this link.
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    Combine these two and u will get ur thread anwsered for sure. In this post the file will be replaced by http client. remeber no need to sender agreement.

  • Http to Abap Proxy communication with multiple queues generation in Recevr

    Dear SDNs,
    I need some help in the following scenario, appreciate your suggestions and help .
    I am receiving the messages from sender to PI on http posting, from PI  I am sending the message to SAP system using receiver xi communication channel ( receiver is abap proxy).
    Sender will send the messages in QOS=EOIO, QUEueID=XXXt_100 etc  parameters, when large volumes cases, it is getting delayed to process it using a single queue.
    We are thinking to dynamically  generate multiple queues in PI and send the same queue ids to receiver SAP system to process all the messages quickly in SAP System also.
    Help /Clarifications needed:
    1. XI receiver communication channel in  pi  does not provide any options to generate dynamic queue id based on payload content (using dynamic configuration) and sent it to SAP.
    2. Module Tab in receiver communication channel also got disabled to add  custom adapter modules, can we add custome adapter module on xi receiver channel to generate dynamic queue id ?
    Really appreciate your immediate help and suggestions.
    Thanks.
    Suraj.

    Dear Praveen,
    Thanks lot for the immediate reply, we need to use EOIO, as the messages need to be processed in the same order we send and receive, there is no flexibility in QOS=EOIO, Appreciate if there is any other thoughts?
    Thanks In Advance.
    Suraj.

  • Asynchro receiver ABAP-Proxy with unexpected response

    Hi Guys,
    I have an asynchro senario HTTP --> PI7.1 --> ABAP-Proxy (SAP backend ECC6.0) to update a SAP table. Once the senario runs the data in the backend table will be correcttly updated, however the SAP backend sends back a response to PI and causes a error there: NO_MAPPINGPROGRAM_FOUND. As the proxy should be asynchro the response is not expected.
    Who has idea, how to prevent the response from SAP backend back to PI? Thanks in advance!
    Regards,
    Kuan

    Hi Guys,
    the good news: my problem has been identified, the error reason is the QoS=BE, as you mentioned earlier. However I couldn't find where to setup the QoS in my scenario.
    A new advice showed me the HTTP URL configuration which I forgot to check, as it was maintained in the extern application. This HTTP-Post sends the message to our PI in my HTTP-to-ABAP Proxy and specified the parameter &QoS=BE, which is the reason of synchronous communication.
    I changed the configuration of my HTTP-Sender URL address with the new value &QoS=EO. The scenario runs now asynchronous without any error.
    More details see http://help.sap.com/saphelp_nwpi71/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm
    Thanks your support and you all are rewarded.
    Regards,
    Kuan

  • ABAP proxy to HTTP sycnchronous scenario.

    Hi All,
    I have an ABAP proxy to HTTP syncronous scenario in which the proxy through PI makes an HTTP request to a third party to download a PDF.Once the PDF is sucessfully downloaded we need to send an acknowledgement to ECC system that the download was sucessful and also place the PFD file in an FTP server as well.
    Looking forward for any possible ways that the above scenario could be achived in once interface.We are open to use ccBPM to achive this.
    Thanks in advance.
    Best Regards,
    Bhanu.

    Hi Bhanu,
    if this is a sync request to a HTTP receiver (to initiate with the request a PDF upload) you will expect to get a response back to the Proxy sender.
    So following the described implementation the response will provide the information about un/successfull PDF load
    from the http receiver (so this partner has to provide a response in a sync connect!!!).
    If you need the PDF to be moved back to a location near to the proxy sender additionally to the response message the receiver of the proxy trigger has to return both in the sync response but the proxy is not able to receive an attachment.
    And... as I know HTTP adapter does not allow to handle attachment. This is only possible with SOAP !
    So in such a case the PDF needs to be provided with another adapter (which would allow to use a sync connect Proxy-> HTTP and another one async from the PDF loader via file adapter (file -> file). So this will not require a BPM too!
    a) Proxy-> PI -> HTTP (sync)
    b) FTP -> PI  -> FTP (async)
    Result: No BPM required!
    Regards
    Dirk

  • ABAP Proxy to HTTP Synchronous

    Hi All,
    My scenario is ABAP Proxy to HTTP POST synchronous, while I am trying to execute the scenario I get the following error in SXMB_MONI:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>404</SAP:P1>
      <SAP:P2>Not Found</SAP:P2>
      <SAP:P3><Exception><Status>The resource you requested does not exist</Status><Reason>Event does not exist</Reason><Code>404</Code></Exception></SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 404 reason Not Found explanation <Exception><Status>The event resource you requested does not exist</Status><Reason>Event does not exist</Reason><Code>404</Code></Exception></SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    What I understand is the target HTTP server sends a error response because my request xml data is not valid
    How do I structure my response message type and how do I map this response to the calling ABAP Proxy. The target HTTP server says if the data is fine they will send a success message in the http header, how do i map this response from http header back to calling ABAP Proxy.
    Thx in advance
    Ravijeet

    Hi Abhishek,
    The target http server says that if my xml request data is valid then they will send a response back in the http header in a field call route.
    And if the xml request data is not valid then they will throw an exception, which I am getting from the target http server as below in SXMB_MONI :
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter   -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>Bad Request</SAP:P2>
      <SAP:P3><Exception><Status>Bad Request</Status><Reason>ActivityId and ActivityStep combination already exists</Reason><Code>400</Code></Exception></SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 400 reason Bad Request explanation <Exception><Status>Bad Request</Status><Reason>ActivityId and ActivityStep combination already exists</Reason><Code>400</Code></Exception></SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    What I want to know is do I need to create a response message type as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <Exception>
       <Status/>
       <Reason/>
       <Code/>
    </Exception>
    Thx in advance
    Ravijeet

  • Abap proxy client  and https webservice

    Hi, I have a problem with an abap proxy client.
    This proxy works perfectyl when I call the test webservice (via HTTP protocol) but it does not work if I try to call the productive webservice (via HTTPS protocol).  Of course I have configured LPCONFIG in order to let the proxy point to the correct web site.
    I'm pretty sure that problkem is caused by different protocols HTTP vs HTTPS.
    I thought the problem could be the web site certificate, so I added it into the PSE (transaction STRUST) but nothing happnes.
    Your help is really appreciated.
    Edited by: robcom69 on Feb 22, 2010 3:34 PM
    Edited by: robcom69 on Feb 22, 2010 3:35 PM
    Edited by: robcom69 on Feb 22, 2010 3:49 PM

    I have loaded the certificate in the TRUST transaction.
    Anyway, in our system we do not have the SAPCRIPTOLIB libraries and I do not underastand if they are necessary or not.
    I mean, I need these libraries only if I expose an HTTPS server from SAP or even if SAP is the client and it need to access an external https webservice ?
    Please help.

  • ABAP Proxy HTTP response contains status code 401

    We have a client ABAP proxy running in a program successfully in our development system. Today I transported this to our Test system. When I tested, there were no messages in the adapter engine pipeline.
    One of my colleagues discovered that when running SXMB_MONI on the Application system (_not_ the XI system), the XML queue there shows the message with an error, the error being:
    HTTP response contains status code 401 with the description Unauthorized
    I have looked at quite a few posts here with this error; the PIAPPLUSER is not locked, Integration engine is configured the same way in both Development and Test, but I cannot figure out why this is happening.
    Any assistance more than welcome!
    BR,
    Tony.

    hi,
    Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    • If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    • If the error is in Adapter Engine
    –then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    • May be wrong password for user XIISUSER
    • May be wrong password for user XIAFUSER
    – for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Thanks
    Swarup

  • ABAP Proxy throws HTTP-400 error

    Hi,
    I've created an ABAP Proxy/Enterprise Service in ECC6.0 to consume a webservice that is created in NetWeaver 2004s. Now, when I want to test the proxy, it gives me the error message:
    SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")
    The error originates from class CX_AI_SYSTEM_FAULT
    I don't know if it is related to the proxy or with some system settings on ECC 6.0/Netweaver2004s.
    Any help or document reference is appreciated.
    Regards.

    I investigated a little and here are a couple of things you could try:
    - In note 1139406, they are talking about a scenario with HTTP error 404... I realize it is different than the 400 you get, but it may be worth checking if you have a similar problem as described there - it may give a clue what your problem is.
    - Try to check if the endpoint URL to which the request is sent is correct... it may be missing the style parameter, like ?style=document. Go to SOAMANAGER and take a look at the system settings, perhaps there is a wrongly formulated URL that is missing the style parameter.
    Hope this helps a little...

  • ABAP proxy to Stored procedure on MySQL sync

    Hi,
    I have one question regarding above scenario. Scenario is like this: user will run sync scenario from some ABAP report, which will connect to PI through ABAP proxy, execute some stored procedure on MySQL server, get data back and update some Z-table in SAP.
    My concern is beacuse of stored procedure and some weird situations. Stor.procedure selects data and immediately after does update on same data. What I happend in my situation. I ran it for the first time, with debugger, ABAP proxy made call and returned data, but because of compiling and debugging, I lost connection and I LOST DATA, because stored procedure made select and update and I don't have this data anymore. Is there any chance to restart this kind of process? I know this will not happend usually, but want to be sure.
    thx
    Edited by: Mario Slopar on Sep 6, 2011 10:58 AM

    I lost connection and I LOST DATA, because stored procedure made select and update and I don't have this data anymore. Is there any chance to restart this kind of process?
    Mario - Try the tcode - SXMB_MONI to check the message that was sent from SAP to PI, as you say you lost the connection in between while debugging the failed message will be listed after you run the above Tcode. You will be able to restart the message from the same screen.
    Also, i presume that the scenario is a synchronous one - SAP<->PI<->SQL, i would suggest you try and decouple the systems involved by making calls Asynchronous(depending on the business needs ofcourse)
    Regards,
    Chen

  • Make Sender ABAP proxy transport HTTPS

    Hi Experts,
    I have a sender ABAP proxy scenario without CC configuraiton. Now if i want to HTTPS for data transportation from R3 to PI. What could be the possible ways?

    Hey,
    >Now if i want to HTTPS for data transportation from R3 to PI. What could be the possible ways?
    Yes,
    Create the Port for HTTPS, Install the certificates , Change the parametr in Visual admin for HTTPS call.
    Cheers
    Agasthuri

  • PI to ECC via ABAP Proxy - Outbound Queue for HTTP

    Dear Experts,
    Is there any Outbound Queue for HTTP?
    I've a interface scenario where the receiver is SAP ECC and the receiver adapter XI ABAP proxy. As I see in the communication channel the transport protocol used is HTTP. So I think could there be an outbound queue to manage HTTP connection when PI send the data to SAP ECC?
    Just like when we are sending IDocs to ECC via tRFC, we could check if the IDoc has really been sent to ECC by checking in tcode SM58 (Outbound tRFC).
    In case for ABAP Proxy via HTTP, is there any similar connection to SM58 (IDoc via tRFC)?
    Thank you,
    Suwandi C.

    Hi Kandasami,
    Thank you for the reply. I will check for it.
    Hi Jens,
    Yes, I mean somewhere after the SXMB_MONI in PI and before SXMB_MONI in ECC, is there any queue in between those two?
    Thank you,
    Suwandi C.

  • HTTP GET using ABAP Proxy

    Hi,
    Has anyone tried invoking an HTTP GET using ABAP Proxy?
    It seems we can do it using the func module HTTP_GET....
    I have seen a blog using java proxy but I want to do it using ABAP proxy...
    regards,
    Piyush

    Hi All,
    With my research on SDN, I came to know that we can either do it using HTTP_GET or the calss CL_HTTP_CLIENT.
    But can I do it for a very long HTTP url????
    Please response frends... Dont let me down :/
    regards,
    Piyush

  • ABAP Proxy Sync scenario with error No Implementing class registered error

    I am working in a ABAP proxy to Proxy scenario. The connectivity is between SEM and PI systems(SEM->PI->SEM). Outbound synchronus interface is used to create proxy (Client Proxy) its a SAP standard interface. This scenario is configured as below,
    1) Sender and receiver business system is the same for SEM with same client.
    2) No Message and Interface mapping is used.
    Please let me know, if the configuration is correct. if then, how to solve this error?
    Regards,
    User PI.

    >>The connectivity is between SEM and PI systems(SEM->PI->SEM).
    SEM->PI->SEM makes no sense. Why do you need PI here?
    Any way, the error message implies the server proxy is not implemented (or activated) correctly.

Maybe you are looking for

  • Bex query: Java Web with neverending hourglass in Value Selection screen

    Hi, Situation: In BEX I use Unit Conversion for Time Keyfigures: This works as supposed in Analyzer. I instantly get the "Select Values" box: The problem: When I do the same in Java Web I get the "hourglass" which spins forever and I can only close t

  • CALLING a STORED SQL FUNCTION from  Java 1.1.8

    I am trying to execute a stored function in JAVA 1.1.8, from an Oracle 8i Database. My stored function is simple, it converts an Input Number to an output TIME string. I am unsure how to code the call from Java. Are SQL STORED PROCEDURES treated the

  • Weblogic 7.0 servlets deployment and clustering

              I am unable to deploy servlet application in WL 7.0 cluster configuration. I am           using Iplanet NES 4.0 as my web server. I have deployed the weblogic proxy successfully           in iplanet.           The servlet application has cl

  • Sortby not working for multiple levels

    Hi, I have a complex LD Query with 4 level schema. This query uses oracle db views as data source. When we don't use sortby - The order of the results returned is not the same as what the view returns. Somehow the ordering changes in the query. Using

  • Chande directory

    HI there! I'm developing an offline search engine(of course in Java)(I'm a litle bit beginner)and I've a big problem I need to change directory and to look over a specified files.And this is the problem, i don't know how to change directory. Please h