Abap Proxy Issues

Hi there, Iu2019ve been struggling with abap proxies the last couple of daysu2026 I want to create a program that executes the proxy and send thru some data via an internal table. (To another proxy on the same system but a different client.) Iu2019ve checked out the client/server proxy blog but it only shows some of the configuration. Is there may-be a complete step by step? How do I check if the RFC destinations are setup correctly? I have created scenarios for this but every time I check it in the sxmb_moni it shows a green flag and cannot find a receiver service..
Thanx,
Jan

have u refer the below links.
ABAP Proxy configuration:
How do you activate ABAP Proxies?
Client Proxy -
ABAP Proxies in XI(Client Proxy)
Server Proxy -
ABAP Server Proxies
File to Inbound Proxy:
File to R/3 via ABAP Proxy
Debugging Inbound Proxy:
XI: Debug your inbound ABAP Proxy implementation
chirag

Similar Messages

  • Consume WSDL in ABAP proxy : Issue with name space

    Hi,
    I was trying to consume a WSDL in ABAP and I have created ABAP proxy using wizard in SE80 and also did the LPCONFIG.
    While calling the proxy methods it is throughing the "authrization failed" error because of the following issue.I have successfully executed same WSDL from some third party tools with out error.only difference I have observed in SOAP request is, Third party tools passing all name spaces at envelope level but in ABAP proxy it is not passing all name spaces at envelope level.
    1. SOAP genarated from WSDL in  third party tool.
    <<b>soap:Envelope</b> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="<b>http://schemas.xxxxx.com</b> ">
      <soap:Body>
        <tns:<b>GetKMContent</b>>
          <tns:request>
            <tns:clientID>1</tns:clientID>
            <tns:employeeID>307478</tns:employeeID>   
            <tns:languageCountryCode>en-US</tns:languageCountryCode>
            <tns:wscVariables>
              <tns:empcountry>US</tns:empcountry>         
            </tns:wscVariables>
          </tns:request>
        </tns:GetKMContent>
      </soap:Body>
    </soap:Envelope>
    SOAP genarated from WSDL in  ABAP proxy.
    <<b>soap-env:Envelope</b> xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header>
    <n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/">
    <TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Full</TraceLevel>
    </n0:Trace></soap-env:Header>
    <soap-env:Body>
        <nr1:<b>GetKMContent</b> xmlns:nr1="<b>http://schemas.xxxxx.com</b> ">
             <nr1:request>
               <nr1:clientID>1</nr1:clientID>
               <nr1:employeeID>307478</nr1:employeeID>
               <nr1:languageCountryCode>en-US</nr1:languageCountryCode>
               <nr1:wscVariables>
               <nr1:empcountry>US</nr1:empcountry>
               </nr1:wscVariables>
            </nr1:request>
         </nr1:GetKMContent>
      </soap-env:Body>
    </soap-env:Envelope>
    I was trying to use the SOAP genarated in ABAP proxy in thrid party tool and end up with same "authrization failed " error. If I move the name space  <b>nr1</b> from <<u>nr1:GetKMContent xmlns:nr1="http://schemas.xxxxx.com "></u>  <b>GetKMContent</b> node to <b>soap-env:Envelope</b> <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nr1="http://schemas.xxxxx.com "> then it is working fine.
    Question :Is there any way in ABAP proxy to pass name space at soap-env:Envelope level or is there any way to change the SOAP request once it is genarated from ABAP Proxy?. Is there any API to change SOAP information?
    Thanks,

    Hi Kavitha,
    I am also facing the same issue.
    Could you please share the solution if you have solved this.
    Thanks,
    Arun

  • ABAP Proxy issue on R3 side

    Hi all,
    I have an issue on QA server. I send an interface from PI to R3 via RFC, then the RFC execute some idoc proccess and at the end it sends a message back to PI via proxy. The issue is that i see the RFC executed succesfully on R3 (Idocs processed) but i cannot see the proxy message on transacction SXI_MONITOR on R3 side, so no proxy message is sent to PI. I already check the configuration for proxy but it seems it is ok. Obviously the issue is not on PI side.
    Do you have any idea why R3 doesn't generate the proxy message?

    The scenario is assycronous, because the proxy is executed by the RFC.
    This scenario is working perfectly on DEV and Production environment. Basis team made a copy of R3 production  on QA, so there is a missing configuration on R3 side, I check the SPROXY transaction and I get an error when i execute the proxy in test mode.
    Error on Sproxy:
    GET_BUSINESS_SYSTEM_ERROR  An error occurred when determining the bussines system (NO_BUSINESS_SYSTEM)
    But, when i check the SLD i see the bussiness sistem for PI and R3 correctly.
    Any idea?

  • External Web Services as simple ABAP Proxy issue

    Hi,
    I'm a bit confused upon the subject. I'm testing a scenario where I want to call directly an external webservice from ABAP ( No XI in between for the moment : I'm using a client on the XI box that is set as 'Application system' . This is the only 6.4 client that has outbound HTTP access to the domains required )
    I have for 2 test web services a WDSL file . Via SE80, I've created ABAP proxies for them :
    For 1 of both ( requiring no authentication on the server side ),  this works ok ( and doesn't require any further related setup such as SLD etc...). This seems completely transparant for the Xi box : No messages in SXMB_MONI , as I was expecting
    For the other one ( requiring authentication on the server side but I don't know if related ), I'm getting a logon box to log on to integration server + subsequently 'Receiver could not be determined' error.
    I also have messages in the monitor.
    What could trigger this, unwanted,  XI flow ? How can it be different for the 2 webservices.
    I do have a 'half-working' integration scenario pending for the second service, with XI in between as this is my final goal , but I don't see how I can influence it :
    It uses other interfaces names etc..Only the target webservice URL also occurs somewhere on a communication channel  from this scenario,
    Any ideas ?

    OK, I found it : I forgot to create a logical port for the second webserivce !

  • Issue in Iodc- abap proxy scenario

    Hi all
    I have a idoc to abap proxy scenario. The issue is ,
    when we send the idoc to client A of target system, it works ifne.
    But when we send the saem mesage to Client B, we find a error message in sxmb_moni of Target system. the mesage is Application_fault.
    Is it because of any error in XI configuration or somethin else.

    hi all
    thanks for all your responses.
    I forgot to mention that based on a particualr field value in the idoc , it will be routed to eihter Client 100 or 200 .
    I gave the conditions in Receiver Determination.
    Same Server Proxy  is used in both the target business sytems.
    I have done all the Configuration Steps ,( Created two separate business systems also )
    Also I have checked wiht all the system settings to be made in the target system B.
    When i trigger the idoc to Client 100, it goes to XI and then reaches  Client 100 of System B
    without any problem. I get the desired result from proxy code.
    When i send the saem idoc to Client 200, it reaches the target system and routed to client 200. But getting this error message in
    the Call Inbound PRoxy step. (from sxmb_moni)
    <SAP:Category>Application</SAP:Category>
      <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
    Since it reaches the target system correctly, i guess there is nothing wrong in the XI configuration side.
    But if its Application fault, how come the same data is processed successfully in one client whereas it thorws error in another.

  • ABAP Proxy timeout issue

    Hi,
    I have a scenario in where I provide a web service. I get called by this web service and then call a abap proxy (synch). The abap side takes time to gather the data. after 600 secs, the connection gets a timeout.
    It says, "500 Connection timed out"
    "Detail: Connection to partner timed out after 600s"
    In smicm I increased the HTTP value to 9000. So, how do I get this error?
    Parameters are like below in PI:
    icm/server_port_0     = PROT=HTTP,PORT=50000,TIMEOUT=90,PROCTIMEOUT=9000
    icm/keep_alive_timeout (sec.)  = 50
    icm/conn_timeout (msec.)       = 5000
    xiadapter.inbound.timeout.default = 5400000

    Hi,
    Check if you are getting some short dumps in ABAP side due to this timeout in ST22.
    Probably the issue is the work process time out  in the ABAP side as you mentioned it takes more time to gather data. the profile parameter is rdisp/max_wprun_time  and it has default value of 600 seconds. if thats the case then you can increas it.
    regards,
    francis

  • Issue with inbound abap proxy

    I have an Inbound ABAP proxy scenario , the ABAP code inserts data into a ZTable.
    I am having an issue in the runtime where
    1. I see transaction data in SXI_MONITOR of both XI & application system.
    2. if tried to debug with the report SPRX_TEST_INBOUND (as the application system WebAS is 6.20) the proxy code works just fine, and records are inserted in the ZTable.
    records are not getting inserted into the table when run end to end..anybody faced this situation ?
    <b>Appreciate genuine replies....</b>

    Hi,
    but this just <b>has to</b> work
    if this doesn't work then "something realy strange is going around here"
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • ABAP Proxy Authetication issue

    Hi there,
    we're currently integrating a rail order portal via ABAP Proxy technology. We've installed the corresponding interfaces witch package EA-HR602.
    During test in SPROXY as well as testing from application the user is promted to enter login credentials for the PI system.
    Has anybody any idea, how to configure this application? We did all the setup for proxy runtime, all test reports are running well.
    Please help, this issue prevents our go-live. Help is highly aprreciated and will be rewarded.
    Cheers,
    Matthias

    Hi Kral
    Check the link given by Sarvesh
    Check your configurations with the blog. Moreover did you tried giving PISUPER as the user for RFC destination and test it again.
    IF change of user works then you need to revisit the roles of the user you have.
    Thanks
    Gaurav

  • Issues with ABAP Proxy in XI 3.0

    Hi,
    We are on XI 3.0.  We are doing a scenario of file >XI> R/3 (ABAP Proxy).
    The XML message is going to R/3 with no errors as indicated in the monitors on both XI and R/3.  The XML messages has the status of 'Message Processed'.  But, the proxy never gets executed.  Is there a step I must perform to execute the Proxy?  My understanding is that if the Receiver Communication Channel is of XI type, it will automatically execute the Proxy on the R/3 (receiving) system.
    We tested the proxy using the report SPRX_TEST_INBOUND, and it works as expected.
    Please advise.
    Thanks in advance.
    Best Regards,
    Doo

    Hi Doo,
    how do you know, that the proxy was not called?
    If you are missing database updates, check if you have a commit work in the code.
    Regards
    Stefan

  • ABAP Proxy and commit issue

    Hi,
    I want to send data using an ABAP proxy from SAP ECC to PI.
    The location where I call the method is in MV50AFZ1 Form uxerexit_delete_document
    In my opinion it is not wise to execute a commit work statement in this location. The proxy however needs a commit work to send the data.
    I also tried using a CALL FUNCTION ... IN UPDATE TASK. This also doesn't trigger the proxy to send the data.
    (and it is not allowed te execute a commit in update task .. .because it's already a "commit".
    Is there a way to get this thing working in this way? Or do you always have to program a separate program for sending the data with a proxy??
    Thanks
    Ron

    Hi Ron,
    Try submitting a report as a background job from the user exit...and inside this report you can write the code to call the proxy + commit.
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
    ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
    host like msxxlist-host.
    data: begin of starttime.
    include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
    call function 'JOB_OPEN'
    exporting
    delanfrep = ' '
    jobgroup = ' '
    jobname = jobname
    sdlstrtdt = sy-datum
    sdlstrttm = sy-uzeit
    importing
    jobcount = jobcount
    exceptions
    cant_create_job = 01
    invalid_job_data = 02
    jobname_missing = 03.
    if sy-subrc ne 0.
    "error processing
    endif.
    Insert process into job
    SUBMIT zreport and return
    with p_param1 = 'value'
    with p_param2 = 'value'
    user sy-uname
    via job jobname
    number jobcount.
    if sy-subrc > 0.
    "error processing
    endif.
    Close job
    starttime-sdlstrtdt = sy-datum + 1.
    starttime-sdlstrttm = '220000'.
    call function 'JOB_CLOSE'
    exporting
    event_id = starttime-eventid
    event_param = starttime-eventparm
    event_periodic = starttime-periodic
    jobcount = jobcount
    jobname = jobname
    laststrtdt = starttime-laststrtdt
    laststrttm = starttime-laststrttm
    prddays = 1
    prdhours = 0
    prdmins = 0
    prdmonths = 0
    prdweeks = 0
    sdlstrtdt = starttime-sdlstrtdt
    sdlstrttm = starttime-sdlstrttm
    strtimmed = starttimeimmediate
    targetsystem = host
    exceptions
    cant_start_immediate = 01
    invalid_startdate = 02
    jobname_missing = 03
    job_close_failed = 04
    job_nosteps = 05
    job_notex = 06
    lock_failed = 07
    others = 99.
    if sy-subrc eq 0.
    "error processing
    endif.

  • Issue with ABAP Proxy

    Hi,
        My scenario is SAP(ABAP Proxy) - XI - Web service. I can not see any messages in XI when I run the Proxy program, when I check for the outbound messages from SXMB_MONI in SAP system the message status is "Scheduled" and Q.Status shows "Message waiting in Queue" .   What could be the message status if the outbound proxy is successful?
           Can someone let me know what could be the problem and where I can check for entire scenario for these problesm?
    Thanks
    Suresh

    Hi,
    If this is not a Production System means,
    goto SMQ2 and delete all the Strucked Messages in all the Queues.
    And now goto SMQR say De-Register Queueus and
    goto SXMB_ADM--Manage Queues--Just say Register Queues
    Now Trigger your Report Program to send the data to XI.
    Check in R/3 side as well as in Xi side also in the T-code SXMB_MONI for Successfully processed messages.
    REgards
    Seshagiri

  • ABAP proxy related issue

    Hi All,
    Good morning,
    i working with ABAP proxy to file scenario. the requirement for this scenario is we are fetching data from data base to internal table then using that table we have to write code and send data to xi.  can give me past response that how to write code using internal table. i want only code related internal table not total code.
    thanks for fast response.
    regards
    sai

    Hi Sai komala,
          After genrating the Proxy, you can view the calss & structures genrated by proxy.You need to create an object with refrence of Class and to be create workareas for your Message type and Data type strucutres. Create an Internal table with your desired structure and do the validations as per your mapping rules.After completion of your all validations you need to populate your final internal table data to the structure of message type and call the execute asynchronous method.
    Have a look into following weblogs
    /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
    TO debug u r proxy code, just like your normal R3 report program. put a breakpoint and execute the program , you can view the debugging of your proxy.
    Hope it will helps to solve u r probolem
    Cheers
    Veera

  • Issue with FM 'STATUS_CHANGE_EXTERN'  using ABAP Proxy

    Hi Experts,
    I am using the FM 'STATUS_CHANGE_EXTERN'   & 'STATUS_CHANGE_INTERN'  to change the user status & system status using ABAP Proxy.
    But SAP is updating the system status using ABAP Proxy through ''STATUS_CHANGE_INTERN'' but not updating the User stauts 'STATUS_CHANGE_EXTERN' using ABAP Proxy but when run the same in foreground then it's working fine..
    I have already used the External Commit for the same.
    Please help me in this case.
    Thanks in Advance
    Sachin

    After call of CRM_STATUS_CHANGE_EXTERN you need to call BAPI_TRANSACTION_COMMIT.
    call function 'CRM_STATUS_CHANGE_EXTERN'
        exporting
            objnr               = iv_guid
            user_status         = iv_status
        exceptions
            OBJECT_NOT_FOUND    = 1
            STATUS_INCONSISTENT = 2
            STATUS_NOT_ALLOWED  = 3
            OTHERS              = 4
    if ( sy-subrc = 0 ).
        call function 'BAPI_TRANSACTION_COMMIT'
            exporting
                wait  = ABAP_TRUE
    else.
        "!+ Handle error
    endif.
    Best regards,
    Tomas.

  • Activate abap proxy withou java stack on ECC side

    Hi gurus,
    Can we activate abap proxy on ECC side if the ECC don't hava java stack? As you know , we need to create two jco RFC provider in Visual Administrator, but without installing java stack, we can't do that.  Any ideas? Thanks in advance.

    Thanks all.
    Solved by using program id of XI system in the RFC of application system.
    But we still face the issue in SPROXY. It gave the error "No connection to Integration Builder ".
    Then I runned connection test, and found SPROX_CHECK_IFR_ADDRESS and SPROX_CHECK_HTTP_COMMUNICATION
    are  right, but SPROX_CHECK_IFR_RESPONSE and SPROX_CHECK_IFR_CONNECTION are giving the error "Integration Builder data not understood". Any ideas?
    Edited by: xinjiang li on Sep 10, 2010 6:40 PM

  • OBJECTS_OBJREF_NOT_ASSIGNED  error while executing ABAP proxy

    Hi ,
    I am getting the following error when i try to execute an abap proxy .
    Unit ID in Background RFC     001EC9D184F702ECAA8DBC7401DC13E0
    Name of First Function Module     SRT_SEQ_SCD_DLV_TRM_QRFC_NEW_C
    Inbound Destination Name     WS_SERVICE_02DCA4961A0B_IN
    Transaction Code                     SE38
    Name of qRFC Queue                     SRTQC_001EC9D184F702ECAA8DBC6FE29753DB
    Created On                     28.01.2009
    No. of Predecessors                   1
    Created At                                    12:44:10
    Executed At                     12:44:13
    Created At (Time Stamp)     20.090.128.114.410,9989340
    User name                                     DEVELOPER
    Tcode/program                      CL_SOAP_SCHEDULER_QRFC_NEW====CP
    ID of Lock in Background RFC     001EC9D184F702DCAA8DBCA25EC41F5E
    Lock Reason                     System error; not executed
    Background RFC Scheduler ID              1
    Message number                       341
    Language Key                            EN
    Status Text                               Unit has execution errors
    Execution State                             Access using a 'ZERO' object reference is not possible.
    Number of Called Function Modules     1
    Number of Locks                                    1
    Commit Check Disabled               X
    Message Class                                  0
    Message Variable                             OBJECTS_OBJREF_NOT_ASSIGNED
    Executed On                             28.01.2009
    and in ST22 transaction i am getting the following dump
    Runtime Errors  : OBJECTS_OBJREF_NOT_ASSIGNED
    Exception         :CX_SY_RF_IS_INITIAL
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught in
        procedure "WSRM_CLONE_FOR_SPECIFIC_OPS" "(METHOD)", nor was it propagated by a
         RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An attempt was made to access a component (variable: "ME->M_CTX") with a 'ZERO'
        object reference (points to 'nothing').
        An object reference must point to an object (an instance of a class)
        before it can be used to access a component.
        Either the reference has not yet been set or it was set to 'ZERO' using
        a CLEAR statement.
    Please help in solving this issue.
    Thanks&Regards,
    Hamsa Shree

    Hi
    Runtime Errors : OBJECTS_OBJREF_NOT_ASSIGNED
    Check with the SAP Notes Note
    557770 - SAP BP: Short dump OBJECTS_OBJREF_NOT_ASSIGNED
    may be you get the exact help
    Regards
    Abhishek

Maybe you are looking for