Proxy trigger

Hi
when i trigger proxy from ECC system.  i am getting error
<SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
  <SAP:P1>401</SAP:P1>
  <SAP:P2>Unauthorized</SAP:P2>
how to resolve that

hi venkatesh,
you RFC of type H is not working as when XI system is trying to call proxy in R3 via RFC it not able to establish connection with R3 ( it is not getting success response message while trying to establish RFC connection)
go to sm59 and check and test your RFC..
it will definately solve the problem...

Similar Messages

  • Synchronous server proxy trigger

    Hi All,
    i have a interface  like webservice <--> SAP XI <--
    > SAP (Synchronous).
    we decided to go SOAP ---Proxy interface is it correct way?
    if it is correct then how we trigger the SAP report when we got the input from the webservice it should online.
    when ever user enter the input it should come to SAP and based on that input SAP will provides the inforamation related to that input.
    please let me know about do we need to do any ABAP coding for trigger?
    thanks In advance

    >> i have a interface like webservice <--> SAP XI <--
    > SAP (Synchronous).
    >> we decided to go SOAP ---Proxy interface is it correct way?
    Yes
    >> if it is correct then how we trigger the SAP report when we got the input from the webservice it should online.
    You don't need to trigger anything( XI will take care of it at runtime )
    >> when ever user enter the input it should come to SAP and based on that input SAP will provides the inforamation related to that input.
    User will provide input which will be pushed to XI via SOAP adapter. XI will push the input to SAP via proxy
    >> please let me know about do we need to do any ABAP coding for trigger?
    You need to do ABAP coding for the server proxy i.e you need to do coding for the business logic( converting input to output as per requirement); no coding for trigger etc
    You could proceed as follows:
    1. Built two service interfaces in XI - one outbound( for SOAP) and another inbound( for Proxy)
    2. For the inbound interface, generate the proxy in the SAP system
    3. Within this proxy, embed ABAP code for business logic
    4. Do configuration for adapters
    5. Generate the WSDL from outbound interface and provide it to the user
    rgds

  • ABAP proxy to HTTP sycnchronous scenario.

    Hi All,
    I have an ABAP proxy to HTTP syncronous scenario in which the proxy through PI makes an HTTP request to a third party to download a PDF.Once the PDF is sucessfully downloaded we need to send an acknowledgement to ECC system that the download was sucessful and also place the PFD file in an FTP server as well.
    Looking forward for any possible ways that the above scenario could be achived in once interface.We are open to use ccBPM to achive this.
    Thanks in advance.
    Best Regards,
    Bhanu.

    Hi Bhanu,
    if this is a sync request to a HTTP receiver (to initiate with the request a PDF upload) you will expect to get a response back to the Proxy sender.
    So following the described implementation the response will provide the information about un/successfull PDF load
    from the http receiver (so this partner has to provide a response in a sync connect!!!).
    If you need the PDF to be moved back to a location near to the proxy sender additionally to the response message the receiver of the proxy trigger has to return both in the sync response but the proxy is not able to receive an attachment.
    And... as I know HTTP adapter does not allow to handle attachment. This is only possible with SOAP !
    So in such a case the PDF needs to be provided with another adapter (which would allow to use a sync connect Proxy-> HTTP and another one async from the PDF loader via file adapter (file -> file). So this will not require a BPM too!
    a) Proxy-> PI -> HTTP (sync)
    b) FTP -> PI  -> FTP (async)
    Result: No BPM required!
    Regards
    Dirk

  • SAP BI 7.0 to SAP PI to FTP and with Open Hub Destination ...Help!!!!

    Dear SCN Experts,
    I am currently working on scenario where I have a requirement to push data from SAP BI 7.0 to SAP PI 7.
    And I am using Client proxy for SAP BI to send the data from BI tables to SAP PI and then to write to FTP address.
    Now the challenge I am facing is the ABAP Proxy how to use it with Process Chain and also I am having Open hub destination created for the same.(Specifically with the new version i.e. 7.0)
    Can you atleast make me understand what are the steps involved in this for Client Proxy, Process Chaing, How will proxy trigger and other regarding the same.
    I have searched SDN but got the document having older versions in it. Which doesn't serve the purpose.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

    Hi Michal,
    Thanks for the reply buddy.
    I know that we can run the scheduled report for the proxy to fetch the report. But the client requirement is to use process chain, Open hub destination which fetches data from the ODS to Ztable created.
    We need to fetch that data from the table via our proxy. I am familiar with that report related method.
    I have one document using the same method but is using Infospoke(which is now obsolete) so have to OHD and also some of the proxy of XI's older version. So is not helping me out.
    Please do the needful. Or can you send me some sample scenario like this with screen shots. It will be a great help.
    Regards,
    [Gaurav Patwari|http://gauravpatwari.wordpress.com]

  • WLS 7.0 : How to call a webservice from a webservice, both running on a same server?

    Server settings :
    Two webservices running on a server.
    WEB-INF\lib contains the respective XXX_client.jar files.
    One webservice calls another one using service Port and gets the Exception NoClassDef...
    How to resolve?

    It seems that there is no answer to my problem stated below
    "Archana Padhye" <[email protected]> wrote:
    >
    Before putting the stack trace I should supply more information.
    There are two webservices viz. Trigger and Proxy
    Trigger needs the Proxy_client.jar in its classpath at the time of building
    the
    Trigger webservice.
    The server classpath doesn't have this particular jar.
    So the Exception is about not finding the class for the service.
    If that jar is added in the classpath, there is error at server startup
    since
    the method signatures mismatch.
    Having client jar in the classpath is not the way, I assume.
    "manoj cheenath" <[email protected]> wrote:
    Sure, you should be able to do this.
    Can you post the full stack trace?
    "Archana Padhye" <[email protected]> wrote in message =
    news:[email protected]..
    Server settings :=20
    Two webservices running on a server.
    WEB-INF\lib contains the respective XXX_client.jar files.
    One webservice calls another one using service Port and gets the =
    Exception NoClassDef...
    How to resolve?
    So I am trying for dynamic client using WSDL. My webservice is returning a complex
    data type. But the test client, which is a Java class, is giving exception which
    I am unable to dig.
    I attach the client java class and here is the stack trace of the exception
    Exception in thread "main" javax.xml.rpc.JAXRPCException: failed to read wsdl
    fi
    le:weblogic.webservice.tools.wsdlp.WSDLParseException: ERROR[WSDL Parser]:The
    ja
    va Class of an xml name cannot be null:['java:eVisharad.BEMEE.Client.Data']:CLIC
    oncept
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:33)
    at WebServiceClient_DII.main(WebServiceClient_DII.java:57)
    [WebServiceClient_DII.java]

  • Trigger proxy when Process Order is released

    Dear ABAP Experts,
    I have a requirement where in I am supposed to send out a proxy with the details of the Process Order that is being released when the PO is released using COR2 or COHVPI transaction. The same can be achieved by coding in specific User Exits. However, I would like to explore the feasibility of achieving the same using Work flows as I am new to WF's and this is my first attempt at it. Please do share your views if this is something which is do-able using Workflows and also do share the steps to meet my requirement. Hope this marks the beginning of my work in Workflows..
    Thank you in advance.
    Looking forward to your responses. Thanks again.
    Best Regards,
    Ram

    First of all there is a workflow forum SAP Business Workflow
    Secondly, you can use a workflow event to call a function module using transaction SWE2 or trigger a workflow and in it used a task to call an object or class method to call the proxy. in both cases calling the proxy in a user exit and not by workflow is more efficient because:
    Catching the event is done by an RFC which adds a possibility for errors
    Workflow logs every action which will adds unnecessary date to the DB in this case.
    You use workflows for this kind of process when you have no user exit or BADI after the save to the DB. if this is the case you need to check if you have a standard event raised by the release of the production order (turn the event trace on in transaction SWELS, release an order and look at the log in transaction SWEL) if you do not have an event you can raise one by change documents/status changes/user exit etc.

  • Is it possible to use the message control in R/3 to trigger a Proxy?

    Is it possible to use the message control in R/3 to trigger a Proxy? The message control mechanism has some advantages that I want to use E.g. repeat messages with RSNAST00, configuration instead of coding etc.. Does anyone uses SD Invoice message control mechanisms together with XI Proxies?
    Best regards,
    Matthias

    Hi,
    >>>configuration instead of coding etc
    currenly it is not possible to achive it without any coding
    >>>repeat messages with RSNAST00
    RSNAST00 is not used to repeat messages (idocs) but to send them
    try using standard IDOC in your sd invoice scenario
    if you don't want to do any coding
    Regards,
    michal

  • Trigger BPM without Abap Proxy

    Hi there,
    my scenario:
    BPM (XI)-> JDBC -> IDOC
    is it possible to fire an event on the intergration server for starting the xi bpm ?
    abap proxy is not the solution because my webas is only configured as an integration server.
    thanks
    sebastian

    Hi,
    is it possible to trigger the bpm with a async message ?
    rfc is a sync call. because some async steps (idoc, aleaud) in the bpm a rfc call
    as trigger would block a dialog process at the appl server for a several time.
    sebastian

  • How to trigger ABAP proxy

    hai all,
    i am trying to do a scenario using abap proxy,
    i created two proxies in the different clients of the XI box itself.
    when iam giving test data iam able to check it out.
    when iam trying to pass the dat from the proxy it is not hitting the XI even.
    can any one explain me
    what is the procedure to send the data from that proxy.
    regards,
    madhav

    Hi Madhav,
    yes u have to write a report.the report will trigger ur client proxy.in ur report u will have to call the method "execute asynchronous/execute asynchronous" of proxy.the main code will be under the method execute asynchronous/execute asynchronous(there u may call a FM to push data from proxy to XI or u can directly write code to push data).
    So first write ur code inside proxy.then trigger it thro' a report.
    check these blogs.There u will get sample report programs.
    ABAP Proxies in XI(Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy (Receiver Proxy)-
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Debug your server proxy
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    ABAP Proxy to file
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    regards
    BILL
    Use a Good Subject Line, One Question Per Posting - Award Points

  • Trigger ABAP proxy

    Hello folks
    Have a sender abap proxy to jdbc scenario.
    Have a question: how do we trigger abap proxy from SAP ? can we do by scheduling a job or some other better ways exist ?
    Thank you.

    >
    > Ok req is : ABAP - > JDBC scenario : each xml payload is small... just 5 -6 fields coming over from SAP but it is very frequently triggered on SAP ... every 1 minute.. this will be triggeed.
    >
    > if its job / batch based: aggregate records come over for every 5 -10 minutes... which is good for PI but for SAP overhead is more since job is scheduled very frequently.
    >
    > if it is event based trigger of abap proxy from SAP then multiple small messages flood PI since data uis not aggregated.
    >
    > Dont know what is generally preferred?
    >
    Completely depends on how you want and depends on requirement,if you are able to generate multiple records at a time then it it would be really good , because resource utilization in ECC and PI also will be reduced.
    else go with individual record.
    Regards,
    Raj

  • Trigger inbound proxy from ABAP

    Hi Experts,
    We have a requirement to trigger inbound proxy from within an ABAP program. Is it possible to trigger an inbound proxy from ABAP if so please guide me on how to achieve this?
    Thanks
    Sanu

    This requirement cant be achieved.

  • How to trigger Outbound ABAP proxy from PI

    Hi Guru's,
    We have one scenario in which we want interface to be run at 5 minute interval in PI but it has to get data from R/3 via RFC or ABAP Proxy (No file interface). Is there any way to trigger PI interface to get data from R/3 and after mapping send it via AS2.
    Thanks in Advance.

    Hi Gyaneshwar,
    What Phani said is correct. Better you go with ABAP proxy, where you can validate the data with the condition, if fails you can raise an alert mail.
    The code something looks like:
    CALL FUNCTION 'Z_UTL_SENDMAIL'
            EXPORTING
              i_email       = gv_sender
              i_toemail     = ''
              i_subject     = gv_subject
            IMPORTING
              e_return_code = gv_subrc
            TABLES
              it_text       = git_text
              it_emails     = git_emails.
        ENDIF.
      ENDIF.
    There is no option to do it from PI.
    Thanks,
    Edited by: Hareenkumar on Feb 24, 2011 10:08 AM

  • How to use a file transport proxy service as trigger for a webservice

    Hi,
    I've implemented a alsb file transport proxy service. This proxy is watching a common directory and detects new files. After detection, the proxy move them in an archive folder.
    After that I want call an external webservice with the filename as input parameter.
    How can I comfigure that with the alsb console.
    best regards
    Oliver
    with the to extract the filename after it was renamed by the proxy service.

    How do you invoke/ instantiate the file based proxy service. Does it just run on activation in sb console? Does it continue to detect files or does it stop after detecting one file?
    Also what is the format of the URL that points to the file folder.
    For Ex: I have a folder named "TestFiles" on the C:\drive of the server.
    Edited by premkumr at 10/31/2007 3:26 PM

  • How to trigger a proxy in SAP PI 7.1

    Dear friends
      How are you? I am not able to calla proxy in my system,  it throws the dump error like
    The reason for the exception is:
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component.
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    I have one function module in that I am calling method to execute proxy.
    this is the way.
    data: proxy_create_acc type ref to ZCL_SI_ACCOUNT_CRT,
          lv_param_t type standard table of ZMT_ACCOUNT_CR_T,
          lv_param_l type ZMT_ACCOUNT_CR_T,
          im_account type ZDT_ACCOUNT_CRT.
          im_account-account_name = 'BABINS'.
          im_account-value = im_param.
          lv_param_l-MT_ACCOUNT_CR_T = im_account. ,
          APPEND lv_param_l to lv_param_t . <- this has the data
    TRY.
    CALL METHOD proxy_create_acc->ZII_SI_ACCOUNT_CRT~si_account_crt  <-- error is here
      EXPORTING
        input  = lv_param_l. <-this has the data
    commit work.
    CATCH zcx_ft_fault_acr .
        DATA fault TYPE REF TO ZCX_FT_FAULT_ACR .
        data textid type SOTR_CONC.
        data message type STRING.
        CREATE OBJECT fault.
        return-id  = '001'.
        textid = fault->TEXTID.
    ENDTRY.
    Am I writing wrong. please  help me to currect this error, your any help will be appreciated. thank you so much.

    Seems you have not created object of the class before using its method.
    Use CREATE OBJECT proxy_create_acc before calling method of the class.

  • Re-trigger failed proxy message after certain time automatically in CRM

    Hi experts,
    Can anyone tell me if we can automate the process of re-triggering failed proxy messages in SAP CRM sxmb_moni, say after a certain period of time.
    Thanks
    Swapna .

    Hi Gigi,
    As stated in one of the blog (/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically):
    For automatic qRfc failure recovery, Schedule the report RSQIWKEX to run periodically. This report enables automatically resets the queues.
    Also, refer the following threads for more information on this topic:
    Re-Process failed XI Messages Automatically
    /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm

Maybe you are looking for

  • Office Web App error

    I have setup my Office Web App Environment following the following article.  http://technet.microsoft.com/en-us/library/ff431687.aspx#oauth This is a production environment with HTTPS.  I can go to https://URL/hosting/discovery  and it pulls up the X

  • Imessage down on my iPhone: "the person cannot be reached by imessage at this time"

    My internet connection works and I can send emails from my phone. Additionally I can send imessages from my macbook. But I can't send imessages from my iphone. It either doesn't recognize certain phones as having imsg (when i know that they do) and t

  • PriceSlider content item always having a fixed value for 'sliderMax' and 'sliderMax'

    Hi, I am using ATG-10.2 I am trying to create the navigation with invoke assembler call (to contentCollection '/content/Shared/Guided Navigation') Everything goes well, except the price slider. sliderMin and sliderMax values are always having fixed v

  • Anybody having problems saving as TIFF??

    Has anybody else had issues saving as TIFF (from Photoshop CS5 or Photomatix) since adding Lion? At first I thought it was a Photoshop issue but Photomatix won't save TIFFs without crashing (colour wheel...) either so I am thinking this may be an OSX

  • Adobe Illustrator CS6 Splash Screen Bug

    Hello, everyone! Sorry to bother with such a seemingly insignificant issue, but I have been Googling this for literally over a year, and it's finally come to a head, and I just need to know what the trouble is. I've never been able to find someone el