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

Similar Messages

  • 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

  • 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

  • ABAP Proxy authorization issue when sending message.

    Hi
    We have an interface which uses ABAP proxies. This is used to send a message with attachment, but when i send the message I am getting a 401 error message which says unauthorized.
    I checked all the configs on the sending side and i cant fine anythin wrong. I tried SLDCHECK and all looks fine there as well. I have done the configuration in the Integration engine on the sending side as mentioned in the BLOG - Activating ABAP Proxies.
    We have 3 XI systems Dev, QA and Prod sharing the same SLD. The configs that we have on the sending system (App Sys.) is given below.
    SM59
    HTTP connection : SAPISU_XID
    Host : XI Dev hostname Service Number 8080 (80 <sys number>)
    Path Prefix : /sap/xi/engine?type=entry
    USER  : XIAPPLUSER
    The TCP/IP connections LCRSAPRFC and SAPSLDAPI are also setup on the system which connects to our SLD.
    The TCP/IP connections works fine and i am able to test it succesfully, but the HTTP connection fails with an authorization error (401) when i test it. Now the wierd thing is if I use XIAFUSER instead of appuser it works fine, but if i make a copy of XIAFUSER and try that... It fails again.. I know it sounds strange. So i was wondering if there is any setting on XI which restricts HTTP connections to a particular user??
    I would really aprpeaciate if you could please give me your thought on this issue...
    Cheers
    Prav

    Hi Manish
    Thanks for the input again.
    I checked SICF on the XI system and its not set to any user.
    The HTTP connection on out prod environment is working fine without any issues and its uses a user which is a copy of XIAPPLUSER. SICF in prod also does not have any user configured for service SAP\XI\Engine.
    Thanks for the link, had a look at it, but It looks like these users mentioned are only available with XI7. Our server was upgraded from 3 to 7 and I am not able to find these users on the system.
    I tried testing the HTTP connection in prod using a diffrent user and found its the same story there. If i use any use other than the cutom one.. it fails.. could there be any setting in the exchage profile that can affect this??
    Thanks for your time and help.
    Prav

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

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

  • 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

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

  • 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

  • Error while generating ABAP proxy

    Hi,
    We created a WSDL using lotus notes (Domino) tools. While creating a proxy object using ABAP (transaction SE80), we get the error message "Cannot generate proxy (object  missing in WSDL, see long text)"  Message no. SPRX084.
    We looked at OSS notes and applied 1046046 - Proxy generation problem with external definitions and all dependent notes as we are on a lower support pack. (WAS 6.40. SAPKB64019).
    We are wondering if it is anything to do with the format/defintions in the WSDL. Can anyone send me a sample WSDL file that has been used to create an ABAP proxy object successfully. We would like compare the domino generated file.  Please note that XI is not involved, we are using ABAP to call a webservice in the internal network application.
    Thanks,
    Girish

    Hi,
    I've implemented this proxy without problem and it's working fine in my case (I didn't have to store WSDL file localy and do any changes in it - Netweaver 7.2). If it's not SAP issue as Brad proposed then maybe network admins have set filters that are blocking communication with this service
    Best regards
    Marcin Cholewczuk

Maybe you are looking for

  • How to use a resource bundle in viewcontroller project

    How can I create a resource bundle for a viewcontroller project ? Is there any way to add entries to it other than adding manually editing the property file ? so that all the key generated will be unique? How to access a message in the resource bundl

  • Dynamically set the page size of a pagenated table

    What is the function to change the page size (i.e. number of rows in a page) of a pagenated table? Thanks in advance

  • Do we require Java stack for ADS?

    Hello Experts i am planning to work on Adobe forms on ECC6. Since it is our ECC system we don't have ABAP stack to that. i went through some ADS documentation which says to add java hostnames and port numbers to the ADS Comm channel. also it seems fr

  • 11.3 upgrade and printer policy deleting default setting

    Noticed something strange since since the upgrade to 11.3 on as far as I can tell all of our Win7x64 machines. I have our printer policies assigned to the machines using Network (SMB / HTTP) printers. No printer is set to default in any of the police

  • How to set httponly cookies in J2EE 5

    Hi folks, I ma using Tomcat 6 which implements Servlet API 2.5 (part of the J2EE 5). I know I could set the usehttponly="true" in the context.xml to turn on all cookies to httponly. However, if I only need to set certain cookies to be httponly, how t