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

Similar Messages

  • 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

  • I want to test sender ABAP proxy in AAE by SOAP client

    To PI Specialists
    Now I plan to test sender ABAP proxy in AAE by SOAP client system.
    (we use aae so we set sender abap proxy by sender soap adapter.)
    ABAP creating team and PI creating team are in other site.We cant contact easily.
    I want to separate ABAP Unit test and PI Unit test, plan to use soap client for test driver.
    (we use SOAPUI. )
    the url is http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=party:service:channel
    I noticed that sender soap adapter is started, but the messeage protocol is invalid.
    we use messege of wsdl. it must be XI3.0 protocol.
    Please tell me XI3.0 protocol.
    Naoki

    This is possible to do in SOAPUI.  I am testing this scenario using AAE, but I am also using SOAP UI Pro.  The procedure is pretty basic.  Instead of sending your payload in as part of the body, you have to send it in as an attachment.  You will also need to set the header correctly.  Here is a sample message from my SOAP UI tests that may help. The only thing you need to do differently is load the attachment, name it, and make sure that the name of the attachment is reflected in the SAP:Payload attribute.  Also, I am using a Groovy script to create a GUID.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    <soapenv:Header>
      <SAP:Main versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92FFF13F5C59777FE1ABE00000A1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
                xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
       <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
       <SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
       <SAP:MessageId>${Create GUID#result}</SAP:MessageId>
       <SAP:TimeSent>${=new java.text.SimpleDateFormat("yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'").format(new Date())}</SAP:TimeSent>
       <SAP:Sender>
        <SAP:Service>SVCNM</SAP:Service>
       </SAP:Sender>
       <SAP:Interface namespace="Interface_Namehttp://namespace.com">Interface_Name</SAP:Interface>
      </SAP:Main>
      <SAP:ReliableMessaging SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SAP:QualityOfService>ExactlyOnce</SAP:QualityOfService>
      </SAP:ReliableMessaging>
      <SAP:System SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SAP:Record namespace="http://www.sap.com/webas/712/soap/features/runtime/metering/" name="CallingType">SA</SAP:Record>
      </SAP:System>
      <SAP:Diagnostic SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SAP:TraceLevel>Information</SAP:TraceLevel>
       <SAP:Logging>Off</SAP:Logging>
      </SAP:Diagnostic>
      <SAP:HopList SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SAP:Hop timeStamp="${=new java.text.SimpleDateFormat("yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'").format(new Date())}" wasRead="false">
        <SAP:Engine type="BS">SVCNM</SAP:Engine>
        <SAP:Adapter namespace="XIhttp://sap.com/xi/XI/System">XI</SAP:Adapter>
        <SAP:MessageId>${Create GUID#result}</SAP:MessageId>
        <SAP:Info>3.0</SAP:Info>
       </SAP:Hop>
      </SAP:HopList>
    </soapenv:Header>
    <soapenv:Body>
      <SAP:Manifest wsu:Id="wsuid-main-92FFF13F5C59777FE1ABE00000A1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink"
                    xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
       <SAP:Payload xlink:href="cid:TestPayload.xml">
        <SAP:Name>MainDocument</SAP:Name>
        <SAP:Description/>
        <SAP:Type>Application</SAP:Type>
       </SAP:Payload>
      </SAP:Manifest>
    </soapenv:Body>
    </soapenv:Envelope>
    Here is a picture of my SOAP UI project in case it help the understanding.

  • 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

  • Sender Abap Proxy no get in PI

    Hi expert,
    I have an sender abap proxy scenario which working fine in development server and even staging server but when transported to production server, the data seem can't go into PI server. I have check all the setting and sure the setting was set correctly. When i check on the system log in sm21 abap ERP, it show an error.
    Operating system call gethostbyname failed (error no. 0 )
    Any idea on how to solve this? Thanks.

    Hi,
    plz check transactions sldcheck and sldapicust. Everything ok?
    What about SXMB_ADM? System maintained as Application System? Destination given to PI Runtime?
    Can you ckeck that destination at SM59?
    Plz have a look to destinations SLD_NUC and SLD_UC. Do they work?
    Regards,
    Udo

  • Sender Abap Proxy -- Receiver JDBC , catch communication channel exceptions

    Hi All,
    I have a sender abap proxy and a receiver jdbc asynchronous interface.
    Now under some circumstances when I send some junk data for an update query(which satisfies metadata requirement but wrong primary key) it shows chequered flag in both XI and r/3.
    But in communication channel it shows error.
    Queries:
    1. How do I handle this.
    2. Since this is triggered from Abap wht will be subrc when method ends in this particular case.
    3. Is there any possibility of program goin into dump?
    Regards,
    Prem

    You can catch the exception in cx_ai_system_fault.
    http://help.sap.com/saphelp_nw70/helpdata/en/75/a55c3cff8ca92be10000000a114084/content.htm
    DATA:
    lo_mes TYPE REF TO
         [Client proxy class],
    l_sys_exc TYPE REF TO
            cx_ai_system_fault,
    l_app_exc TYPE REF TO
            cx_ai_application_fault.
    CREATE OBJECT lo_mes.
    TRY.
    CALL METHOD
      lo_mes->EXECUTE_SYNCHRONOUS
        EXPORTING
          OUTPUT    = ls_request
        IMPORTING
          INPUT     = ls_response.
    CATCH cx_ai_system_fault
                INTO l_sys_exc.
    * handle system error
        EXIT.
    CATCH cx_fault_1
                INTO l_app_exc.
    * handle application error 1
    CATCH cx_fault_n
                INTO l_app_exc.
    * handle application error n
    CATCH cx_ai_application_fault
                INTO l_app_exc.
    * handle other
    * application errors
    ENDTRY.
    Thanks,
    Beena.

  • Error while executing sender ABAP proxy program in ECC

    Hi,
    We have lot of proxy to file scenarios, most of them are working fine. I am having issue with 2 interfaces, when I execute sender ABAP proxy program, we are getting following errors in ECC:
    <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="PARSING">GENERAL</SAP:Code>
    <SAP:Stack>com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=ED1CLNT290;TS=;AN=CustTrPowersellS_Out;ANS=urn:maines-net:OTC_079E:PowersellCustomerTerms; at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:237) at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.getInboundBinding(CommonLookup.java:167) at com.sap.aii.af.service.cpa.InboundRuntimeLookup.<init>(InboundRuntimeLookup.java:88) at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:519) at com.sap.aii.adapter.soap.web.MessageServlet.getBinding(MessageServlet.java:875) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:439) at   etc etc
    Configuration should be fine because many scenarios are working. Can you please help me where could be the error?
    Let me know if you need more info.
    Regards,
    N@v!n

    Hi Naveen,
    We saw your solution about this issue. We are also facing same issue. I wanted to know where we have to update scenario as simple scenario or integrated scenario.
    And could you please tel me what is the main diff between in these two.
    As we are are using PI 7.31 java stack so for this version what we have to use.
    Thanks,
    Shivdeep Kumar

  • Problem with sender ABAP proxy

    Hi All,
       I have created sender ABAP proxy (Async). I am testing the proxy from SPROXY transaction it selft .. when i provide the data and execute the proxy it is showing <b>"Services Processed Without Error"</b> , but i am not getting any error , i am not able to see any message in SXMB_MONI or RWB .. how to check where the message is failing ??

    Hi,
    You said you are sending message from proxy....its very easy to debug in this case. You can set a breakpoint directly in your proxy caling program. Just check if you are calling commit work after calling proxy.
    Also you can do it using the abap system command '/H' or the code 'BREAK-POINT' for/in the report program triggering the iterface.
    Check out this thread...
    How to Debug proxies
    Hope this will help you.
    Ni;esh

  • Sender ABAP Proxy - EOIO

    Dear Experts,
    I have two requirements. Requesting experts' help.
    1. How to acheive Quality of Service EOIO for Sender ABAP Proxy. I know there is set_serialization_context method that we can use, but do not how to. Do we have a guide? Can  you please help?
    2. When I acheive EOIO as mentioned in point-1, when all the messages are sent to same queue, in case if previous message fails in PI mapping, I do not want the next message to stuck in the queue, it should continue processing. How can we do this?
    Thank you.
    Best Regards,
    Saravanan

    Hi sarvana,
    For your first question:
    Please see the thread:
    How to determine quality of service of communication between XI and R/3
    second question
    In Case EOIO any kind of error Message processing will be stopped.
    You cant specify that only for mapping error EOIO will not work and for other error it should work as EOIO

  • EOIO in sender ABAP proxy

    Hi
    I am referring to I am referring to /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies for EOIO in sender abap proxy
    My requirement was to send thedata and trigger messages in EOIO fashion in one Queue.
    This is working fine for one interface...
    but for the other interface it  is always creating 2 queueids...one for data messages and other for the trigger message..
    Queueid that I have given is supose "ABC"
    then it is always creating 1 Q like XBQOT___ABC
    and 2nd Q    like XBQOH1__ABC.
    ideally both the Qname should be the same...any ideas?
    PS: if i check the Q name in SXMB_MONI of SAP system it is same for both the data and trigger like "ABC"
    Edited by: Tarang Shah on Jun 4, 2010 5:12 PM

    Any ideas ?

  • How to handle exceptions in sender ABAP Proxy

    Hi Experts,
       I have a synchronous scenario.
       SAP R/3 System A -ABAP Proxy <-> PI <-----> SOAP< ---> Webservice
       In system 'A', a function module calls the ABAP Proxy method.
       My requirement is that if there is an exception in PI ( for example: timeout or ABAP engine error) then I want to get the exception details in the calling function module.
    For example:
    Exception in PI:
      <SAP:Error xmlns:SAP="XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:P1/><SAP:P2/>
    <SAP:P3/><SAP:P4/>
    <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out: connect</SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace=""/>
    <SAP:Stack/>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    In the calling function module:
    Try
    Call to proxy-> method
    Catch cx_ai_system_fault INTO v_o_fault.
           v_err_msg1 = v_o_fault->GET_TEXT( ).
           v_err_msg2 = v_o_fault->errortext.
           v_err_msg3 = v_o_fault->code.
    Endtry.
    Here I get value "MESSAGE.GENERAL" for  v_err_msg1 and v_err_msg3. v_err_msg2 is blank.
    I want to capture the info available under <SAP:AdditionalText>. How to get that?
    Please help!
    Thanks & Regards
    Gopal

    >
    gopalkrishna baliga wrote:
    > Hi Experts,
    >
    >    I have a synchronous scenario.
    >
    >    SAP R/3 System A -ABAP Proxy <-> PI <-----> SOAP< ---> Webservice
    >
    >    In system 'A', a function module calls the ABAP Proxy method.
    >
    >    My requirement is that if there is an exception in PI ( for example: timeout or ABAP engine error) then I want to get the exception details in the calling function module.
    >
    >  For example:
    >
    > Exception in PI:
    >
    >   <SAP:Error xmlns:SAP="XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    > <SAP:Category>XIAdapterFramework</SAP:Category>
    > <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    > <SAP:P1/><SAP:P2/>
    > <SAP:P3/><SAP:P4/>
    > <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection timed out: connect</SAP:AdditionalText>
    > <SAP:ApplicationFaultMessage namespace=""/>
    > <SAP:Stack/>
    > <SAP:Retry>M</SAP:Retry>
    > </SAP:Error>
    >
    > In the calling function module:
    > Try
    >  Call to proxy-> method
    >
    >  Catch cx_ai_system_fault INTO v_o_fault.
    >        v_err_msg1 = v_o_fault->GET_TEXT( ).
    >        v_err_msg2 = v_o_fault->errortext.
    >        v_err_msg3 = v_o_fault->code.
    > Endtry.
    >
    > Here I get value "MESSAGE.GENERAL" for  v_err_msg1 and v_err_msg3. v_err_msg2 is blank.
    >
    > I want to capture the info available under <SAP:AdditionalText>. How to get that?
    >
    > Please help!
    >
    > Thanks & Regards
    > Gopal
    Hi Gopal,
    Maybe the exception is CX_SY_APPLICATION_FAULT, or you can catch by BPM in PI and send back to proxy like a message response.

  • How to make an ABAP Proxy public as an asynchronous WebService

    Hello together,
    i have made an ABAP-Proxy public as an WebService by generating the WSDL from the directory for my asynchronous <b>outbound interface</b>. This outbound interface is mapped to the ABAP-inbound interface and so on. This works fine.
    But actually i don't need any mapping. So i'm thinking about to how to send the WebService <i>directly</i> and to the ABAP-Inbound-Interface <u>asynchron</u>.
    1. Is this possible at all (and how), and if so
    2. does it makes sense in order to improve the performace (there is a mass-processing in behind)?
    Gunnar

    Gunnar,
    I guess its simple...go for SOAP to Proxy scenario.
    If ur source and target structure is same ..u need not require mapping.u can execute the scenario without mapping also.
    I have done same scenario 2 months ago.....
    following things u need to do.
    1)create outbound message interface
    2)create inbound message interface
    3)No need of message mapping and interface mapping(if u dont require any transformation of source structure)
    4)create WSDL for outbound message interfce
    5)create proxy for inbound MI
    6)write the necessare code in ur proxy
    7)using any SOAP editor like XML spy send data to proxy...
    u have done the work!!!!
    All the best
    regards
    biplab

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

  • Doubt on  ABAP Proxy transport

    Hi Friends,
    I have moved an abap proxy request from dev to quality, but the request has some errors in quality.
    How the procedure like whether to transport XI repository objects first or ABAP Proxy.
    In Abap Proxy is it ok if i transport only the active objects?
    Thanks.

    Hi,
    Do the XI transport first and then do the ABAP transport.
    Regards,
    Sunil.

  • Bpm send abap proxy problem

    BPM send abstract interface sd025proxy (bapa proxy).
    in sproxy only message interface outbound and inbound can create proxy, abstract interface can't  create proxy.
    so how can I handle this in ID?

    Proxy communication needs direction....abstract interface does not have any direction.
    BPM send abstract interface sd025proxy (bapa proxy).
    BPM will send abstract interface...fine....however when you run config wizard for BPM --> SAP communication include the inbound message interface corresponding to your proxy wherever there is a reference for target(receiver) MI....create a new MI in IR accordingly.....this is the only option available.
    Regards,
    Abhishek.

Maybe you are looking for

  • How do I stop the cursor from having a mind of its own?

    I just received this computer T400.  A mac user wswitching over to pc - not famliar with the land.  I am using a notebook and the cursor clicks on its own when I let it rest and then transports me to whatever information/page that it happens to rest

  • Searching message

    I'm not having a problem with the proximity sensor nor any reception issues but I'm having an issue with the phone finding the network. Several times instead of showing AT&T in the top left it says "searching". It's often after going into and coming

  • Outlook 2013 VBA Event for recurring appointments

    Hello, I have VBA code that copies new Calendar entries to a secondary calendar. For recurring meetings it only copies the 1st meeting to the secondary calendar. Is there an Outlook VBA event that occurs whenever a Recurring appointment is created an

  • Some Virus Questions

    I have been trying to stay as safe as possible in my web life recently. I was getting a bit overconfident because of the Macs reputation. I have had only Macs going back to OS7. My questions are #1. When I finally get a Intel Mac and heaven only know

  • Error in RZ20-GL account

    Hello, I am getting this error "G/L account with currency HRK not possible in case  of valuated GR" when posting a PO from the SRM to the backend in production. I have checked in FS00 for the currency of the GL account and HRK is maintained for the s