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.

Similar Messages

  • Push data from BW 3.5 to XI 3.0 via ABAP proxy

    Hi,
      I have the following scenario: I´m in BW 3.5 trying to send data to XI 3.0 via ABAP proxy. I´ve already found a "How-to" to do build this scenario, but something does not work. I think that problem is when a try do the logon from BW to XI because I got the message "logon data not provided" on http service in XI. I´ve already configure an RFC Destination(SM59) as R/3 connection(type 3) and another as HTTP connection to R/3(type H) and both are correct. Someone knows where I configure the user/pass to logon from BW Intergration Server to XI Integration Server?
    Regards,
    Rafael Soares

    Hello fellows!
       I discovered that my problem was configuration on SXMB_ADM transaction.
       Thank you very much for your help!
    Best regards.
    Rafael

  • Problem sending xls file in an attachment via ABAP proxy

    Hello,
    I have in tmp directory a xls file, I tranfer such file to a table, and afterwards I send in an attachment via ABAP proxy, here is the code:
         l_attachment        TYPE REF TO if_ai_attachment,
            lt_attach           TYPE prx_attach,
            l_name              TYPE string,
            lx_string           TYPE xstring,
            l_string            TYPE string,
            l_type              TYPE string,
            des                 TYPE string.
      CLASS cl_ai_factory DEFINITION LOAD.
      DATA:    BEGIN OF itab OCCURS 0,
               raw(255) TYPE x,
             END OF itab.
      DATA: l_controller TYPE REF TO if_ai_posting_controller.
      DATA: it TYPE zhcm_mt_segur_out.
      CREATE OBJECT prxy.
      OPEN DATASET orig FOR INPUT IN binary MODE.
      READ DATASET orig INTO itab-raw.
      WHILE sy-subrc = 0.
        APPEND itab.
        READ DATASET orig INTO itab-raw.
      ENDWHILE.
      CLOSE DATASET orig.
      LOOP AT itab.
        CONCATENATE lx_string itab-raw INTO lx_string in byte mode.
      ENDLOOP.
      L_NAME = 'Segur.xls'.
      L_TYPE = CL_AI_ATTACHMENT=>IF_AI_ATTACHMENT~C_MIMETYPE_EXCEL.
      TRY.
          L_ATTACHMENT =
            CL_AI_FACTORY=>CREATE_ATTACHMENT_FROM_binary(
                      P_DATA = LX_STRING
                      P_TYPE = L_TYPE
                      P_NAME = L_NAME ).
          APPEND L_ATTACHMENT TO LT_ATTACH.
          L_CONTROLLER = CL_AI_FACTORY=>CREATE_CONTROLLER( ).
          L_CONTROLLER->SET_ATTACHMENTS( LT_ATTACH ).
          CALL METHOD PRXY->EXECUTE_ASYNCHRONOUS
            EXPORTING
              CONTROLLER = L_CONTROLLER
              OUTPUT     = IT.
          COMMIT WORK.
        CATCH CX_AI_SYSTEM_FAULT .
          DATA FAULT TYPE REF TO CX_AI_SYSTEM_FAULT .
          CREATE OBJECT FAULT.
          WRITE :/ FAULT->ERRORTEXT.
      ENDTRY.
    I am using a Mail receiver channel, I receive a mail, with to attachments, one .xml and the other one .bin, I save it to my computer and I change the extension to .xls and when I try to open it, the file is not valid and can be opened after being repaired. What Im doing wrong? I would like to receive a valid xls file, what i should change?
    Thanks a lot,
    Luis

    Hi,
    yes I know, I have used the MessageTransformBean module, and the PayloadSwapBean module. But which parameter I should use for leaving only one attachement in the e-mail. I did this configuration:
    1
    localejbs/AF_Modules/MessageTransformBean
    Local Enterprise Bean
    <b>trans</b>
    2
    localejbs/AF_Modules/PayloadSwapBean
    Local Enterprise Bean
    <b>swap</b>
    3
    localejbs/AF_Modules/MessageTransformBean
    Local Enterprise Bean
    <b>trans1</b>
    4
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    Local Enterprise Bean
    mail
    <i><b>Module configuration</b></i>
    trans
    Transform.ContentDisposition
    inline
    swap
    swap.keyName
    payload-name
    swap
    swap.keyValue
    Segur
    trans1
    Transform.ContentDescription
    Segur
    trans1
    Transform.ContentDisposition
    attachment;filename="Segur.xls"
    trans1
    Transform.ContentType
    application/vnd.ms-excel;name="Segur.xls"
    In the e-mail I get one attachement without name .xml and another one Segur.xsl, and I want only one attachment, the last one. What I should change in my configuration??
    Best regards,
    Luis

  • Attachments via ABAP Proxy

    I have come across one client requirment where he needs to send the txt/pdf file as an attachment from R/3, currently that interface is using the ABAP Proxy, is there any idea about How to send the attachments via ABAP Proxy?

    Hi,
    Refer
    XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    Problem sending xls file in an attachment via ABAP proxy
    Receive mail with PDF attachment into XI and send to ABAP proxy
    http://help.sap.com/saphelp_nw70/helpdata/en/51/d5cd16235e4643ae8ec92395c4ad97/frameset.htm
    Thanks
    Swarup

  • File to R/3 via Abap proxy -- need help

    Hello,
    I have made a scenario File to R/3 via Abap Proxy
    My Inbound Async Message Interface has Message Type -Emp_Rac_Detail_MT.
    Message Type has structure
    EmpID
    EmpName
    Age
    I have table in R/3 ZRACTABLE where I need to post data
    Fields in ZRACTABLE are
    EMPID
    EMPNAME
    AGE1
    Pls send me the code that I need to write in Async Method of Proxy
    that will put data
    Regards

    Hi Herry,
    First of all u have to write a Function module in R/3 ....for that i given u the code above.
    Now in ur inbount proxy in the implementation class u have to write code right???
    Here is the code...
    **** INSERT IMPLEMENTATION HERE **** ***
    DATA:
    lv_EMPID type EMPID,
    lv_EMPNAME type EMPNAME,
    lv_AGE type AGE.
    Convert Input Parameters
    lv_EMPID        =  input-Emp_Rac_Detail_MT-EMPID.
    lv_EMPNAME      =  input-Emp_Rac_Detail_MT-EMPNAME.
    lv_AGE          =  input-Emp_Rac_Detail_MT-AGE.
    call function 'ZEMP_RAC_FM'             /** thats ur function module name **/
        EXPORTING
        EMPID       =  lv_EMPID .
        EMPNAME     =  lv_EMPNAME.
        AGE         =  lv_AGE.
    endmethod.
    Regards
    biplab
    <i>*** give points if it hepls you!!!</i>

  • Proxy authontication popup for Https is not getting displayed

    Hi,
    We have proxy server in java, and it should ask for the authentication, while using old versions of IE (IE6), opera we get proper proxy authentication prompt for Https as well as Http request.
    But with the new version of browser IE8, Firefox 2, ... 3 we are not getting the Proxy authentication prompt for the Https request only (for http its working fine)
    Actually the proxy server ask for authentication for the every first request only, but if the first request is Https then it fails with 407 error, as per the logic whenever we set response.setStatus("407"); response.setMessage("Proxy authentication required"); it should prompt for the proxy authentication and its working fine for old browsers and for Http request but its not working for new browser with Https request
    Could you please provide some information on how to achieve proxy authentications for Https and new versions browsers.
    Following are the code used for it
    /*ResponseProcessor.java*/
         public static Response createResponse(ScriptableConnection connection, String message) {
              Response response = new Response();
              Request request = connection.getRequest();
              response.setRequest(request);
              if (message.equals(SPConstants.TECHNICAL_ISSUES)) {
                   response.setContent(message.getBytes());
              if (message.equals(SPAuthorizationConstants.INVALID_CREDENTIALS)) {
                   //response.setVersion(request.getVersion());
                   response.setHeader("Proxy-Authenticate", "Basic");
                   response.setStatus("407");
                   response.setMessage("Proxy authentication required");
                   if (request.getHeader("Proxy-Authorization") != null) {
                        response.setContent(message.getBytes());
                   return response;
              return response;
    /*ConnectionHandler.java */
    public void run() {
    String authorizationStatus = RequestProcessor.checkUserPreRequiste(request,user,ticket,statusVisitor); //SP CODE
                        if(authorizationStatus.equals(SPAuthorizationConstants.USER_IS_AUHTORIZED)) { //SP CODE
                                 try {
                                      response = hc.fetchResponse(request);
                                      if (response.getRequest() != null)
                                           request = response.getRequest();
                                                 }catch........
                       } finally {
                   try {
                        if (_clientIn != null)
                             _clientIn.close();
                        if (_clientOut != null)
                             _clientOut.close();
                        if (_sock != null && !_sock.isClosed()) {
                             _sock.close();
                   } catch (IOException ioe) {
                        _logger.warning("Error closing client socket : " + ioe);
    .......Thanks in advance,
    Sachin

    Hi
    Follow the steps
    In your current view where you create your Popupwindow; create a model attribute name "popWin" of type IWDWindow;
    In code;after creating the popup window assign window object to the context element
    IWDWIndow window = WDComponentAPI.getWindowManager().createWindow( WindowInfo, true);
    wdContext.currentContextElement.setpopWin( window);
    At the Popup window view; create a model attribute name popWin of type IWDWindow and map it with the one that created before.
    set the code on btnaction
    IWDWindow popwin = (IWDWindow)wdContext.currentContextElement().getPopWin();
    popwin.destroyInstance();
    This will work
    Regards
      - Vinod
    Edited by: Vinod V on Mar 3, 2008 7:21 PM

  • ABAP Proxy outbound not showing in sxmb_moni

    Hi All,
    All my ABAP proxy scenarios are inbound, however I need to do a outbound ABAP Proxy scenario.
    So, I created a Assyn interface in Integration Builder and created a proxy on outbound message interface in SPROXY. (ZCO_ITF_FILE_***).
    R/3 --> SQL server
    In my simple example I created a program in se38 as shown below
    DATA prxy TYPE REF TO ZCO_ITF_FILE_***.
    CREATE OBJECT prxy.
    DATA it TYPE ZMTP_FILE_***.
    TRY.
        it-MTP_FILE_***-id = '12'.
        CALL METHOD prxy->execute_asynchronous
          EXPORTING
            output = it.
    commit work.
    CATCH cx_ai_system_fault .
        DATA fault TYPE REF TO cx_ai_system_fault .
        CREATE OBJECT fault.
        WRITE :/ fault->errortext.
    ENDTRY.
    I want to send just one field called ID.
    The program works fine, the "commit work" is called but It doesn´t reach the XI. It doesn´t appear in SXMB_MONI.
    As I said before I have Inbound Abap Proxies interfaces, so, I got the sxmb_admin configured.
    What am I missing ?
    Thanks
    Diego

    Hi
    Thare are no error in SMQ2. The message shwon is
    Cl     | User      | Func. Module             |  Queue       |  Date          | Time      | Status Text 
    310    ABAP01  SXMS_ASYNC_EXEC   XBTS0005     26.05.2009  11:23:59  Transaction recorded
    When I press F6 the message goes to XI. the message reach the sxmb_moni in XI.
    But in XI I am facing with another error (the receiver could not be determined).
    Thanks
    Diego

  • ABAP Proxy outbound doesn't work

    Hi All,
    I want to develop an  ABAP Proxy to SQL server scenario.
    So, I created a  interface in Integration Builder and created a proxy on outbound message interface in SPROXY.
    When i execute sender program in R3 , it works fine, but It doesn´t reach the PI system.
    Outbound message t doesn´t appear in SXMB_MONI in R3 nor Pi system.
    What  is wrong?
    Thanks, in advance
    Carme

    Our basis team has changed the hostname of our  R3 QAs system , but no changes are made in SLD of Pi system.
    I think this could be the cause of this issue.
    ¿can anyone confirm this point?
    If yes, ¿what must i do to recover this functionality?
    Thanks,
    Carme

  • ABAP Proxy Outbound Error

    hello everybody,
    i have the next scenario ABAP Proxy->XI->RFC, the problem is that in the sender system I'm getting the next error in SXMB_MONI of sender system:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server
      -->
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="401" p2="Unauthorized" p3="" p4="">HTTP.HTTP_STATUS_CODE_NEQ_OK</SAP:Code>
      <SAP:Text language="EN">HTTP status code 401 : Unauthorized</SAP:Text>
      </SAP:ErrorHeader>
    the status is system error, can anyone help me with this error, cause messages are not aariving to Integration Server, thanks in advance.
    Regards,
    Julio Cesar

    Hi Julio
    Check Following Steps:
    1:Have you insterted the correct URL of your Integration Server?
    XMB.TargetURL=http://<host>:<ICM_Port>/sap/xi/engine?type=entry
    2: Is the user and password correct?
    XMB.User=XIAPPLUSER
    XMB.Password=*****
    3: Are the read permissions in the source directory correct?
    file.sourceDir=/usr/sap/...
    4: Be sure you use the ICM Port in my case 8000, e.g.
    XMB.TargetURL=http://server:8000/sap/xi/engine?type=entry
    If you use SLD information also include
    XMD.SLDConfiguration=SLDaccessor in the file.
    Check also that the XI user has the right profiles in the XI ABAP instance.
    Thanks
    Abhishek Mahajan
    ***Reward points if helpful*********

  • Consuming stateful web service via ABAP proxy

    Hi all,
    I´ve got the following scenario. I´ve a ABAP proxy generated based on a WSDL file. The provider is a WebService provided by a tomcat server. (no PI etc. as middleware). The problem i´ve now is that the webservice is stateful so I need a stateful communication between my ABAP report (client) and the Web Service.
    I´ve already found the possibiliy to switch on the feature "Session-Oriented Communication" on "Preconfiguration Tab" of the ABAP Proxy Screen. But unfortunately it´s not working.
    Anybody knows whether general system settings has to be changed for this. Or anybody has other tips.
    I´m currentliy working on the SAP Discovery System v3 which is a Netweaver 7.0.
    Many thanks in advance for your answers,
    Andy

    Marcelo  Almeida wrote:
    > You can use Logial port for it in LPCONFIG ( Transaction). See this examplo Below:
    >
    > TRY.
    >
    > CREATE OBJECT my_proxy
    > EXPORTING
    > logical_port_name = 'LP01'.
    > CATCH cx_ai_system_fault.
    > ENDTRY.
    >
    > TRY.
    > input-airline_id = p_carrid.
    > input-connection_id = p_connid.
    > input-flight_date = p_fldate.
    >
    > CALL METHOD my_proxy->flight_get_detail
    > EXPORTING
    > input = input
    > IMPORTING
    > output = output.
    > CATCH cx_ai_system_fault.
    > CATCH cx_ai_application_fault.
    > ENTRY.
    >
    > Its necessary create a connection in SM59 (type H) and setting in the call parameters logical port (LPCONFIG).
    Hi,
    thanks for your answer. It´s working!
    Cheers,
    Andy

  • No Change Document in outbound queue for customer status in table VBUP

    Hello all,
    we face the following issue. A customer status (UVP04), changed by a customer program, is not written in the outbound queue (lbwq) to transfer it in the business warehouse.
    I checked several Function modules (VERKBELG_WRITE_DOCUMENT, MCEX_UPDATE_CALL_11.....) without success.
    Any help would be appreciated.
    jg

    Solution found: Dummy change with VA02, that generates a new record in the outbound queue.

  • XI to R/3 via ABAP Proxy

    Hi,
       The Scenario is File to R/3 . The complete connection has established between XI and R/3 . The file is not transferred to the R/3 system . The SXMB_MONI shows the error as follows
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="PARSER">ITEM_MISSING</SAP:Code>
      <SAP:P1>/MessageHeader/MessageId</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>XML element /MessageHeader/MessageId missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    If any one has come across or worked on it before please let me know what can be done to rectify the same.
    with regards
    Vasagam R K
    Wipro Technologies.

    Hi,
    i understand your scenario as XI--> CRM system.
    and if you get the error as below how will your message reach CRM system...?
    In general if you want to test whether the message has successully been processed by CRM system u need to use the exception handling.
    The general convention is, create an ABAP Server proxy, test its functionality and then send data from XI to insert into teh CRM system. B'cos it becomes difficult for you to debug the aplication this way( b'cos u do not know where the error has occured).
    XI Receiver Adapter Configuration should be :
    TargetHost : <hostname>
    Service : 8000
    Path : /sap/xi/engine/entry?type=entry
    U also need to provide the login credentials for CRM system.
    U can refer to my blog on Creation of Server Proxies for more info:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Hope this helps you.
    Cheers,
    Siva Maranani.
    Message was edited by: siva  maranani

  • Send an attachment as part of an XML msg via ABAP Proxy (R3 6.40)

    For 6.20 proxies check this:
    http://help.sap.com/saphelp_xi20sr1/helpdata/en/18/dd5f3ce7ca3d3ee10000000a11402f/frameset.htm
    Be aware, that you have to change the code after upgrade to 6.40/7.0
    Regards
    Stefan

    Thanks that worked like a charm.

  • Acknowledgement for AsynThird-party-- SOAP-- PI-- ABAP proxy-- ECC scenario

    Can someone please provide me a step-by-step for Third-party>SOAP>PI>ABAP proxy>ECC scenario.
    Third-part system is sending an Asynchronous HTTPS message to PI which is then routed to the ECC system to do some processing. I have read many blong and all SAP Docu available on this subject, but i am still confused.
    I understand that ABAP Proxies supports acknowledgement, but what needs to be done in the third-party system to be able to receive acknowledgements. Is there any special config. that needs to be done in Sender SOAP adapter?
    What diff. needs to be done in ABAP proxy to be able to send acknowledgement messages, any config. in XI receiver adapter?
    I will appreciate any guidance.
    Thanks,
    Saurabh

    HI
    Third party application need to have the synchronus communication enabled. If not then you need to get a wrapper develop for this kind of communication
    For proxy development
    Just go through these links:
    How to create proxy.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies (Inbound Proxy)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    OutBound Proxy (Client Proxy)
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    Outbound Proxy (Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    How to Activate Proxy.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    File to R/3 via ABAP Proxy with good example
    /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
    Synchronous Proxies:
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Inbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation

  • ABAP client (outbound) proxy - issue

    Scenario - ECC to R3 4.6C system
    RFC is developed on R3 system and is imported onto XI. The imported RFC is exported as XSD and imported as External definition for the messaage type on the ECC system.
    There is an outbound sync interface on ECC system. We have developed and configured.
    Idea is to send message from ECC via client proxy. I have generated the proxy in SPROXY of ECC.
    I am trying to understand the different sections of generated proxy.
    I am looking at sproxy screen of ECC 6.0 system
    reg

    Hi,
    Please see below link
    http://www.****************/Tutorials/XI/ABAPClientProxy/page1.htm
    You will get required things.
    Thanks,
    Vijay Kumar T.

Maybe you are looking for

  • Change Reconciliation account - URGENT !!!

    Hi, Request you to please let me know what is the detailed process of maintaining the balance sheet adjustment account in OBBW and then running the SAPF101 report to allocate the balances in old recon account to new recon account. This is very urgent

  • Address Book Importing.

    How do I get all the addresses I have in my IMail program( you know when you type in an 'a" and all the a's come up, b's.c's etc.) in the mail programn, into Address?

  • IPhoto Calendars, how to change white days to black

    I'm not new to iPhoto or calendar making.  In fact, I've created calendars each year with iPhoto since 2010.  But this year I've chosen a calendar that has a light gray background, showing most days as Black and special days as White.  When I created

  • Drag and drop in ALV tree

    Hi All, I have a small requirement, I have to implement drag and drop functionality in ALV ( simple trees ) in such a way that the entire contents ( Folders and its sub folders ) have to be copied. As of now i am able to drag and drop one at a time,

  • Upload a video in a page

    Hi    I want to upload a video in one of my page so that who ever visits my page should be able to run and see the video. There is component for uploading images. But how can i upload a video. If it is possible can you please guide me how to achieve