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.

Similar Messages

  • How to Trigger an IDOC from SAP R/3 to two systems at a time

    Hi experts,
    Can any one please tell me How to Trigger an IDOC from SAP R/3 to two XI systems at a time.
    My current production R/3 system sends a DELVRY03 IDOC to Production XI system ( Name : XIP) .
    I would like to route the same IDOC from production R/3 system to my Quality XI System ( Name XIQ) .
    Problem is production R/3 system triggers an IDOC once. We need to write a logic to route the same to two different systems
    Can any one tell me how can we do that ?
    Regards
    Ram.

    Hello Ram,
    Do you have connectivity between your production & XIQ?
    What does "connectivity" mean?
    1. RFC destination is maintained.
    2. Port defined for the RFC destination.
    If no, create these. (Search in SDN for details).
    If yes, proceed:
    1. Define the logical system for XIQ.(BD54)
    2. Define the same as your partner profile. (WE20). Add the message type SYNCH with the port for XIQ.(This is imp)
    3. Create a distribution model view with sender as "your production" & receiver as XIQ.
    3.1. Add the messages which you want to distribute.
    3.2 Generate Partner profiles.
    No coding is reqd. for this.
    BR,
    Suhas

  • How to Trigger an IDOC from SAP R/3 to two XI systems

    Hi experts,
       Can any one please tell me How to Trigger an IDOC from SAP R/3 to two XI systems at a time.
    My current production R/3 system sends a DELCERY01 IDOC to Production XI system ( Name : XIP) .
    I would like to route the same IDOC from production R/3 system to my Quality XI System ( Name XIQ) .
    Problem is production R/3 system triggers an IDOC once.
    Regards
    Ram.

    Hi Ravi,
      Thank you very much for your answer.
    As I am not completely aware of R/3 side,I am getting little problem in understanding your answer.
    Could you please explain the same in some what beter way.. Thank you ..

  • How to trigger IDOC'S from SAP

    Hi All,
    How to trigger IDOC's from SAP(ECC 6)..where can we check this in mii 11.5 weather it is fail/success
    Thanks,
    Abhi

    You can trigger LOIPRO, LOIPLO and a few others manually from POIT (SAP Txn).  Master Data related to orders can be triggered from POIM.  Depending on which IDocs you which to generate, there are other transactions to trigger different IDocs.
    You can also use Triggers from MII to generate IDocs in SAP using CLOI_DOWNLOAD_TRIGGER_MDAT (POIM equivalent) and CLOI_DOWNLOAD_TRIGGER_TRANS (POIT equivalent).
    There is also a rather nice post which detailed the process of using change pointers to automate the IDoc generation and download, but I am having trouble finding it.  Will continue to look and will post link when I find it.
    Regards,
    Mike
    I couldn't find the post I was looking for, but there is an informative note 390635 which may help.
    Edited by: Michael Appleby on May 5, 2009 1:29 PM

  • How to active ABAP Proxy in SAP system.

    Hi All,
         I want to work with ABAP proxies.How to active ABAP proxy in SAP system.What the configuration is needed.Is there any configuration is need in XI system to work with ABAP proxies.Please help me..
    Thanks,
    Kishan.

    Hi Kishan,
    You have to check whether ur r/3 system's(WAS 620 or above) excahnge profile has entries for integration builder.
    Pls check the Example configuration for accessing
    interfaces in the Integration Repository (exchange profile):
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/content.htm
    If the Parameters are not there u need to add in the respective section's as provided in the link.
    exchange profile URL is:
    http://r3servername:5<instance>00/exchangeProfile
    I hope this provides you a solution.
    Regards.
    Praveen

  • How to trigger crystal report from SAP ECC

    Hi All,
    I hope i m right forum to ask this question.
    we want to do label printing from Crystal reports. data will be present in SAP ECC .
    So I below issues
    1 ) how to connect SAP ECC database with Crystal Reports.
    2 ) how to trigger print output in Crystal reports from ECC , lets say I create a Delivery In ECC , the print output will be issued to Crystal report and I should get a print out Immediately ( for printing - printer will be connected to local system and SAP network printer ) .
    I have worked  with this type of scenario in smarforms , adobeforms. but not with Crystal Reports ...
    Regards
    Yashpal Gupta.

    Hi Yashpal,
    First thing you need to do is install the Connector on both your work station where you run Crystal Reports as well as the SAP Server where the data is.
    So I moved your post to the SAP Integration Kit forum.
    Need to know what version of Crystal Reports you are using?
    Search of browse here, lots of info on how to...
    Thanks
    Don

  • How to create a proxy in sap crm

    Hi All,
    To access an external webservice, i need to create a client proxy in sap crm.
    Can anyone suggest me the steps in creating a proxy and wht are the pre-requisites for creating a proxy.
    Whn am creating a proxy, getting an error as ERROR in HTTP frame work: cl_http_client->send() rc=1.
    suggest me some solution.
    Regards,
    Sanjani

    Please do check the thread mentioned below if it is of any help.
    Re: SOAP to PROXY (Synchronous)
    Rg,
    Harshit

  • How to trigger a refresh from SAP

    I have setup a web dynpro to display information from a function module in SAP. The function module executes abap programs in the backend SAP system and returns a result to a table in SAP. The information in this table is read by the function model that is bound to the web dynpro. I would like to know whether it is possible to trigger a refresh of the information displayed by the web dynpro once the abap in SAP has finished running. How do I go about implementing this in Developer Studio?
    Thanks
    Seb

    Hi Seb,
    the only solution is to use the TimedTriggerUI to get your browser doing a refresh. Even if you would have a thread running which polls yours backend, the server has no possibility to send this to your http client (browser).
    With the timed trigger your browser refreshes (connects) in intervals to the java app server. This events can be used to poll changes.
    Best regards,
    Christian

  • How To trigger last page in sap script of customer account statement

    Hello all,
    I am working on customer account statement.
    It has it's own standard script(F140_CUS_STAT_02). But my client's requirement was completly diffrent,so i copied that to z script and made some changes like delete some window and some another window.
    Now on first page , i have following windows,
    1) Header
    2) address
    3) main
    4) Account
    5) Footer.
    Next Page having following windows,
    1) Header
    2) Main
    3) account
    4) footer
    Now i want to print account window on lsat page, so i put the condition nextpage = 0.
    and it is working fine , but as account window is physically present after Main window , so that much blak sapge is getting creted after main window on every page.
    To remove that blank space i am thinking of creting one more page and everytime i want display account window on that page.
    I have creted the last page also. but in my output it not detecting that last page.
    For First page - next page is next.
    For Next page - next page is next.
    for Last page- next page is last.
    Also i have added following code at last in  main window.
    /: NEXT-PAGE LAST.
    But i think i am placing this code at incorrect position in main window.
    I am not able to find out the correct podition to put the above code,but main window of that script conataing so namy text element, and that text element are getting handled from driver program based on some conditions.
    I have added my code in main window but not changed the original code.
    Plz let me know where to write /: NEXT-PAGE LAST. in main window.
    Or provide me some another solution to trigger thet last page in sap script.
    Regards,
    Anuja Dhondge

    Hi ,
    actually in account window i have used tha box command to print account statement.
    Previously i was printing this account statement in main window itself but without using bottom and end bottom command.
    So , as i made some changes or add some code in main window then lines of this account statement  were getting dismental.
    So my question is using bottom and end-bottom command this will happen or not????

  • How to create Consumer Proxy in SAP ME SDK?

    Hi,
    i'm working with a ME 6.0 release and since i need to set some settings for a webservice and that is only possible via a consumer proxy, my question would be: How do i create a consumer proxy for an external webservice that i want to call in the SDK?
    I have no problems creating webservices in ME SDK but i don't know how to transform them so that they are consumer proxies. Can anyone point me in the right direction?
    Regards,
    David Strohmayer

    Please do check the thread mentioned below if it is of any help.
    Re: SOAP to PROXY (Synchronous)
    Rg,
    Harshit

  • 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

  • How to trigger standard task manually in Process controlled workflow?

    Hi All,
    I would like to trigger a task mannually in BRF, process controlled workflow. My requirement is to send an approval notification to the approvers at the current approval level, at any instance by the requestor of the shopping cart. In that case, will it be possible to trigger the standard task 40007953 (SRM Shopping Cart Approval (1)) with the workitem of Shopping cart under consideration?
    I have tried searching for the same in SDN and other forums but most of the information was regarding application controlled workflows. None of those function modules seems to be working in PCW.
    Any pointers on how to trigger a standard task (using FM or code) in BRF(process controlled workflow) environment is also highly appreciated.
    Thanks,
    S.H@ri

    Hi,
    Use this FM [SAP_WAPI_START_WORKFLOW|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bb9100f8-0c01-0010-ac8e-e017351f3fc1].
    Regards,
    Surjith

  • How to trigger a workflow using generic object services?

    Hi Experts,
    Let me know on how to trigger a workflow using generic object services.
    My requirement is to trigger the FI document reversal document using Object services.
    Any info or docs relevant to this, please share with me..
    Thanks,
    Dinesh.

    Dinesh,
    First of you need to check if the transaction has a BO (in released status) published to use the GOS.
    These are the pre-requisites for GOS
    http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm
    Once done.. check that you have valid workflow linkages active for this BO.
    Now when you click on the 'start workflow' the system will show all relevant workflows for the BO to choose from and to start.

  • How to trigger an existing background job in ABAP program?which fm?

    Hi experts,
        how to trigger an existing background job( defined in SM36 ) in ABAP program?which fm?
        seems that FM 'JOB_OPEN' / 'JOB_SUBMIT' / 'JOB_CLOSE' can only create a new job.

    Hi,
        now my requirement is that sap has generated one job automatically, and then i will have a job name
    'XXX'. and then i want to schedule the job in abap program,. which function module could i use ?
    my expected fm is that the system will trigger the job after i give the job name and start condition.
    i have tried job_open, but it seems just to create a new job. any advice ?

Maybe you are looking for

  • Can I use my iPhone as a web cam for my mac mini?

    Just purchased my mac mini and I need a good web cam. Seems I should be able to use my iphone

  • How do I create an image with a transparent shape?

    Hi This should be easy - The end result I want is this: a png which is mostly black (or any colour) but with a defined shape in it which is transparent. I have the shape. I select it. I seem to be able to make a mask from this (a selection which I ca

  • Missing network wizard for C410

    I want to setup wireless network on the C410 printer... Go to control panel on printer; I choose settings (spanner icon); Network then Advanced... Menu only shows 2 options - Link Speed & IP settings. Where is the option for running the wireless netw

  • Requirement around split deals

    Hi All, We have a requirement wherein we need to split a Master Opportunity to sub Opportunities with minimal user intervention. For example a Master Opportunity is created for USD 1000 with a validity period of 2 years. A sub opportunity is created

  • Mail no longer functions properly since the recent update to 10.4.9

    Mail will launch but I get the spinning beach ball of death while waiting for Mail to fetch mail......and it spins & spins & spins.......etc. To the point where I have to force Mail to quit. I then have to go to my ISP domain to fetch my own mail. Is