ABAP Client Proxy does'nt work

Hi,
I have an asynchronous outbound ABAP proxy.
The scenario is as follows
CRM/Proxy -> XI -> File
The client proxy is generated in CRM and I try to call the proxy from the following report.
REPORT  Z_TEST_ABAP_PROXY_NOVA                  .
DATA prxy TYPE REF TO ZPROXYNOVACO_MI_PROXY_OUT_ASYN.
CREATE OBJECT prxy.
DATA it TYPE  ZPROXYNOVAMT_REQUEST_NOVA.
TRY.
    it-MT_REQUEST_NOVA-STATUS = '3'.
    it-MT_REQUEST_NOVA-INVOICE = 'ABC123'.
    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've looked at the following weblogs:
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1457. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
I've registreed my queues and maintained the HTTP connection as described in
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3022. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
I've tested the connection in SPROXY and it works fine.
I get NO error when I call the proxy but nothing arrives to XI! Sxmb_moni is empty!
I've tried to stop the queues in smqr in CRM but the message doesn't show up there either.
I've tried to activate the trace in sicf, but no result.
The thing is that I succeded to create a scenario with an inbound interface (server proxy) and it worked fine.
I really don't know where to look? Havn't I done everything?
What's wrong?
Can somebody help me?
Thanks in advance.
Regards.
/Hélé

Hi!
Thank's a lot for your answers!
I didn't check sxmb_moni i CRM but now I have.
(One step forward!)
I got a red flag with the following error:
<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>
Where do I need to assign the right authorization?
Regarding the HTTP destination I've got the right path and the role of the system is application system.
By the way I think there is a misspelling in vijaya:s weblog. Maybee it doesn't matter but there is a extra slash in his path prefix.
regards
/Helé

Similar Messages

  • ABAP Client Proxy doesn't work

    Hi all,
    I have an asynchronous outbound ABAP proxy. When I call the proxy, the return message is correct (Services Processed Without Error), but the message doesn´t arrive to the Integration Server.
    Please help.
    Thanks in advance,
    Roberto

    Hi Roberto,
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1457. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    plz go through these web logs. It will help you about ABAP proxies.
    Regards,
    Divya
    Message was edited by: Divya Vidyanandan Prabhu
    Message was edited by: Divya Vidyanandan Prabhu

  • How does ABAP client proxy determine the sender business system

    When we use ABAP client proxy to send a message in XI-SOAP format to the integration engine, how does the client proxy determine what is the sender business system, i.e. how does it know what value it should insert in the sender service field in the SOAP envelop.
    For example, at first, the business system X8A_105 corresponds to the technical system X8A_105, so when the client proxy sends out a message, the sender service is X8A_105. Then I delete the business system X8A_105 in the SLD, and create a new business system that is associated with the technical system X8A_105.when the client proxy sends out a message, the sender_service is still X8A_105, why?

    Hi Annie,
    Execute the following function module in your business system and see what name it returns..
    LCR_GET_OWN_BUSINESS_SYSTEM.
    You can always debug the code inside the above FM to find out how it gets the business system name...
    I think the issue should be related to cache. I would also suggest you to logoff from your business system and then login again.
    Regards,
    Sumit
    Message was edited by:
            Sumit Khetawat

  • Facing problem with SOAMANAGER while working on ABAP Client Proxy

    Dear Community Friends & Experts,
                 I am facing a problem with the SOAMANAGER, I think so. Let me explain you a scenario what I am into:
    The scenario is like I need to Push data from BI table to SAP PI. We decided to go using ABAP client proxy as Sender and then will
    receive it using FTP adapter to FTP address.
    I have created Integration repository design object Data types, Message types, interfaces and mapping. Now I am into SAP BI and running SPROXY and generated proxy for my outbound interface. fine.
    Till now its okay.Now I wanna my generated proxy to be available within the SOAMANAGER T-code I am not able to find my proxy in the list.
    Can anybody send me detailed steps for outbound proxy to SOAMANAGER for creating local port for proxy. I wanna use proxy with WS adapter.
    Second Query:
    I need to using RSPC in SAP BI to trigger the proxy what code to write with SAP PI 7.0 version.
    Can anybody bring some light to this problem...
    <h5>Regards,
    Gaurav Patwari </h5>

    Dear Experts,
    Problem solved, cannot say solved but yes its not required now as I am having Client Proxy call so it will be a native call to XI and which does not need SOAMANAGER things.
    Thank you all for taking your time and writing answers.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]
    Edited by: GauravPa on Apr 17, 2010 11:32 AM

  • How ABAP Client Proxy works

    Hello,
    I have one scenario
    File Sender Adapter sends file to IDOC Adapter for posting of measurement documents. After posting I need to send back status (success/failure) of measurement documents back to SAP XI.
    How can it be done.
    Can it be done through ABAP Client Proxy (but how we can trigger report for Abap Proxy for this) . Is there any other solution for it.
    regards

    Hi Henry
    <b>client’ proxy</b> is used by an application to send messages outside of the system it resides in (normally to the IS in this context).
    Client Proxies talks about the implementation of Client Proxy (For the Outbound Interface created during Design time). It also discusses the sending out of Data using Proxies
    <b>For more details have  alook on these links</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    <b>To test a connection</b> - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    <b>Client Proxy</b> - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    <b>ABAP Proxy Runtime</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    <b>
    ABAP Proxies:</b>
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    <b>ON SDN TV</b>
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#
    <b>Check this document on how to do this (section 3.4):</b>
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
    <b>Check the blog by Stefan Grube for reference,</b>
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks !!

  • ABAP Client Proxy without Commit

    Hi everyone,
    we want to implement a web service call using an ABAP Client Proxy. The Problem is, that this call is in the middle of a transaction and we may not execute an implicit COMMIT WORK by using the proxy class.
    Does anyone know how to prevent such a COMMIT?
    Thank you for feedback

    Hi Julio
    I understand the situation.
    Ask basis if the PI system is configured as Integration server. even you can check this but basis can confirm on this. In that case you need to have another client which can work as R/3 for you. Then you can proceed with ABAP proxies on the client.
    Now coming back to what i can think of a work around. When a target system fails PI will retry and end up as System failure. This system failure can be retrieved from SXMB_MONI tables. Now if you create a ABAP report which pics all records with Status = "SYS_FAIL" and reprocess (which is a inbuilt functionality) then you can make RFC call to this report which can end up reprocessing and can give response for Success for Failure or any reprocess. This you can use in BPM.
    Make sense ..
    Thanks
    Gaurav

  • Abap client proxy to xi - no data found

    Hi experts
    I m working on abap client  proxy to file scenario where in I m sending data from R/3 system to legacy system via xi , but after doing all the configurations and running the abap program for triggering client proxy , i dont find any data on the receiver side ,
    I have activated client proxy as per Vijay Kumaris Blog
    I checked sxmb_moni on the R/3 system but shows no data selected , so no question of data being found on xi server ,
    i m really sutcked up ....dont know hwat to do , pl help
    rgds
    mojib

    Hi,
    Have u used commit work at the end of the code.
    Can you please tell me what all configuration u have done.
    U have referred the ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Refer the below log for Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Chirag

  • ABAP Client proxy message not reaching AAE

    Hi Experts,
    I am facing a strange issue in one of my proxy interfaces. ABAP client Proxy is used to post message to AAE in SAP PI 7.3. The messages are being generated and pushed out of ECC successfully. I can see them in the SXMB_MONI t-code with checkered flag. These messages are reaching the Integartion Engine instaed of the Adapter Engine.
    I have configured the following:
    1. Sender / Receiver ID  in SXMSIF:
    2. Configured the corresponding Runtime parameter in SXMB_ADM
    I have few other such ABAp client proxy i/f's which work fine and their message are being sent to the Adapter engine. Howveere, only this one interface is posing a problem. What can be the issue?
    Please advice.
    Thanks in advance.
    Elizabeth.

    Hi Elizabeth,
    It will be great if you could please let me know all the user profile configured in userID of Logon&Security tab of SM59 for connecting ECC system to post the message via AAE.
    I have used
    SAP_XI_APPL_SERV_USER
    SAP_XI_DEVELOPER_J2EE and
    SAP_XI_IS_SERV_USER
    profiles in my UserID for Basic authentication.
    Currently I am doing the same scenario what you have done with integrated configuration.The message is getting failed in ECC with 403 Forbidden error.
    Please help me.
    Thanks
    Ray...

  • ABAP client proxy to File scenario

    Hi,
    I am doing ABAP client proxy to File scenario.
    I have followed Ravikumar allampallam blog i.e https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    My abap proxy has successfully created 4 objects:
    1)ABAP Class ( ZCO_ MIOA_ABAP_PROXY).
    2. Structure for the message type in ABAP Data Dictionary (ZMT_PROXY).
    3. Structure for the data type in ABAP Data Dictionary (ZDT_PROXY_SRC).
    4) Table type (ZSTRING_TAB).
    can u tell me how can i fetch data from database table into structure?

    Hi,
    see first create the data type,msg type, msg interface and go to R3 instance of Xi and use SPROXY transaction , locate your SWCV,namespace, intreface ( outbound) and create the proxy , later give the name starts with z, later in ABAP program create the internal table of type of the Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG )
    so follow the code and explained about each ob, structure of Msg ..
    Regards
    Chilla

  • ABAP Client Proxy to SOAP

    Hi all,
    I am working on ABAP client proxy to SOAP Asynchronous scenario.  when iam sending the data from r/3 system data sent to webservice.
    but PI sending this same data  3 more to the third parth system.  when i checked in runtime workbench it is showing number of retrys 3
    how to resolve this issue.  please explain in detail
    Thanks
    Anil

    Anil,
    That's the default setting for Async SOAP communication...this can occur if the receiver is overloaded and cannot take any more feed and sometimes time out in the middle of the hand off...this would lead to re-try in PI...so you would see 3 entries of same data...refresh or clear the data from the receiver could solve the issue...
    Thanks,
    Srini
    Edited by: Srinivas Davuluri on Sep 9, 2010 1:51 PM

  • Problem in ABAP Client Proxy

    Hai All,
    I am working on ABAP Client Proxy to RFC.
    Here i generated the proxies and wen i execute it i am able to see in sxmb_moni but its showing in Green color which is still in process.but i was unable to find the the receiver business system and receiver interface.
    I hope some HTTP connection problem.
    Can anyone explain me in detail how to create the http connection as i confused here.
    Lets say XI(sender) to R3(Receievr)
    where proxy is been created in XI system itself and also generated in XI system only.
    Can anyone suggets me here as this interface is totally asynchronous.
    Thanks,
    Kalyan.

    Hai Seshagiri,
    Thanks a lot.
    Am giving you points buddy.Its working.
    Cud u plz give me ur Email id.
    This is fine but i want implement this interface to further there i am getting errors.So that i can send u the screenshots of those.
    Thanks,
    Kalyan.
    Please read the Forum's Rules of Engagement,
    i.e.,
    [/thread/117188 [original link is broken];
    and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
    SDN PI/XI Forum Moderator

  • Outbound ABAP Client Proxy

    Hi,
    Scenario - Client Proxy to JDBC.
    I am getting Purchase order details out of Client proxy which goes and updates multiple tables at JDBC. I am doing this via single service interface to update multiple tables ( multiple statement element in JDBC target structure ).
    Client Proxy
    PO HEADER
    PO DETAIL
    PO TEXT
    PO ITEM
    JDBC tables
    tbl_HEADER
    tbl_DETAIL
    tbl_TEXT
    tbl_ITEM
    Detail and ITEM tables from SAP has too many entries. When I tested in development for 14 PO header it had 1500 detaills, 500 text and 800 items.  So i am thinking of breaking down of these PO headers in abap client proxy to trigger the abap proxy for every 50 PO header. So that it would not end up with huge PO details and text.
    I am thinking of modifyin the abap code to send 50 PO header each time in client proxy.
    loop on PO headers.
    if lv_counter is 50.
    call method to send via client proxy.
    then next 50 records. so that we are sending in chunks. 
    PI would receive in multiple messages with consisting of 50 PO header and many item details. Does update/insert on JDBC table would affect. what precautions shd i take in PI considering update on JDBC
    Kindly suggest with any inputs. 
    Thanks in advance.

    Hi,
          You can use the update_insert option of the receiver jdbc canonical structure.
    This would ensure that rows already existing would be updated and only the delta would be inserted into the tables.
    Regards

  • ABAP client proxy With Receiver JDBC Adapter

    Hello Experts,
    I am working on a scenerio ABAP client proxy With Receiver JDBC Adapter.
    The client proxy program will fetch the master data related to equipment in plant maintenance module and  will update the sql database through Receiver JDBC Adapter .
    my requirement is if the equipement is created in sap then the  scheduled job has to trigger the client proxy program and send the message with status 'created'  to sql data base.
    if the equipment is modified in sap then the scheduled job has to trigger the client proxy program and send the message with status 'modify' to sql data base.
    please let me know how can i write the logic/code for this scenerio in client proxy program.
    Tables for equipment master i am using  is EQUI and fields are   ERDAT and AEDAT which is created date and modified date.
    fields for scheduling start date is tbtcp-sdldate.
    Thanks in advance.
    Ram.

    Hello Ram,
       Here you can check if updated date field is not empty then send status as created and if this field is not blank then send status as modified record.
    Monica

  • ABAP client proxy   401 error

    Hi i have generated a ABAP client proxy in my ECC system and sending an outbound message to XI.  i get the following error.
    HTTP response contains status code 401 with the description Unauthorized Error while sending by HTTP (error code: 401, error text: Unauthorized)
    I have tested the following.
    1) My sld and ECC system have the integration engine and pipeline  settings for the XI Server: http://server:8000/sap/xi/engine?type=entry
    2) logon to the URL http://server:8000/sap/xi/engine  with user XIAPPLUSER and pwd in the browser because of the error 'Der Aufruf der URL http://server:8000/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen'
    any sugestions ?  using a proxy as target works fine

    Hi ,
    You seem to have a problem with the XIAPPLUSER logon. Can you check that the user has the appropriate authorizations? Maybe the user is locked? Maybe the password has been incorrectly entered?
    XIAPPLUSER should have the role SAP_XI_APPL_SERV_USER.
    Also, check that the XI engine service has been activated.
    Transaction SICF. Default_host->sap->xi Activate the entire node with all subtrees.
    Cheers
    Manish

  • ABAP client Proxy authentication required

    Hallo, my problem is about ABAP client Proxy authentication.
    Scenario:
    Our Dev. BW MWDCLNT600 queries “forward” a (RetailPro) database (JDBC Receiver C.Channel), by Dev. XI , in order to "drive" data extraction (realized, backward, from RetailPro to BW).
    Forward communication from BW uses a call on ABAP Client Proxy technology (I mean, a BW class implements an XI outbound Message Interface).
    Problem:
    Something changed, we don't know what or where, and since last week everytime you execute the report (F8) you are prompted for an authentication popup.
    Official manual guide is: (ABAP Proxy Generation)
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    in which you have to manage the 2 properties for credential supplying:
    com.sap.aii.applicationsystem.serviceuser.name
    com.sap.aii.applicationsystem.serviceuser.pwd
    in order to "drive" authentication to Integration Engine.
    In our scenario, ABAP report ZRTP_FLOW_CONTROL drives data extraction query, by a call to execute method
    of class: ZCO_MI_FLOW_CONTROL_OB
    which implements Outbound MI: MI_Flow_Control_OB (...all in SPROXY).
    In SXMB_ADM, XI IEngine URL is correct...
    In Exchange Profile, the 2 properties (see above) are correctly maintained (user: XIAPPLUSER, and password is OK)
    Any suggestion?
    Thanks all in advance!
    Gianluca

    Hi
    I would like to suggest you to change the password in http destination (sm59) configured to comunicate with XI and put another one using UPPER case only. Another thing to check is tx SLDAPICUST. There is a problem in this transaction (I think it is a problem, maybe it's a feature , you need to use password with UPPER there to, and you need to double save the data there (change something, click save, change another thing, click save, and will work, otherwise not). Check tx SLDCHECK to see if connection with SLD and Integration Directory are ok.
    Regards.
    Roberti

Maybe you are looking for

  • How to Broadcast BI Reports in the latest version of MS Excel

    Dear Friends I am broadcasting BI reports to our field team, and many of them are using mobile phones. But they are not able to view these reports in their mobile. I am broadcasting it as Excel and it is going in the format .xls. We have other BI too

  • Print Current Page

    Post Author: Mushahid CA Forum: Exporting I am working on Crystal reports xi release 2. It is working fine. We are using .Net 2005 Dataset to bind with reports. But when we print or export the report all the pages are being exported. But the user wan

  • Facing while consuming the Echo WSDL file

    Hi, I have requirement to consume a WSDL file from the Echo web service. I have created an Enterprise service for consuming the WSDL file. Even created a logical Port in SOAMANAGER for the same. Finally I wrote a program as mentioned below: DATA  : i

  • This connection is untrusted error reportwhen trying to check e-mail

    Every time I try to get my Yahoo or Google e-mail, I get the following message "You have asked Firefox to connect securely to us-mg5.mail.yahoo.com, but we can't confirm that your connection is secure. Normally, when you try to connect securely, site

  • HT1391 Library on external hard drive

    I've downloaded iTunes to a new computer. My library is on an external hard drive. I've opened iTunes, clicked on "Advanced" and noted the location of my library; then I clicked on "keep files organized" and went back to the main menu and under "File