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

Similar Messages

  • 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 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 insert ABAP PROXY in customized ABAP program

    Hello experts,
    I am a ABAP developer and I am developing a program to send XML strings to a legacy system using an ABAP PROXY but I have run into a roadblock as follows:
    My PI colleagues who know PI but not ABAP have created a ABAP PROXY data type with the structure that I need to be populated from my program but cannot tell me how to get the data into this structure. They have directed me to SERVICE INTERFACES where there is a class and method EXECUTE_ASYNCHRONOUS but this is where we all have a road block. I am not sure whether I have to just use this class and method in my program to populate the data type proxy previously created or whether a completely new proxy has to be created under service interfaces.
    Any help would be appreciated.
    regards

    Hi David,
    I thought you are using 7.0 ... sorry for the confusion.
    Here are the steps that you can follow for proxy generation for SAP PI 7.1:-
    TCode - SPROXY
    1. The interface objects are ordered according to software component version, namespace and object type.
    If no connection to the Integration Repository exists, the system only displays interface objects in the tree structure for which a proxy exists in the system.
    2. Choose an interface object for which no proxy already exists. To create a proxy for this interface object, double click the context menu Create Proxy.
    3. In the dialog box, specify the name of the package where you want to create the proxy objects. You can also specify a prefix for the names of all objects to be created to avoid naming conflicts with names that already exist in the system.
    Result
    To generate proxies, the WSDL description of the message interface is read using HTTP.
    If no naming conflicts occur during the conversion, you can call the hierarchy of the generated objects from the tab page "Structure". The objects are only then saved in the system once you choose Activate.
    If the description is changed in the Integration Repository, you must regenerate the proxy objects
    Hope this is helpful.
    Regards,
    Neetesh

  • How to create ABAP Proxy for SSL secured ABAP Service

    Hi guys,
    I try to set up transport security for my ABAP web service. The service should be called via a ABAP Proxy.
    These are my steps to create the ABAP web service:
    1. Create function module (se80)
    2. Create web service (web service definition) (service wizard)
    2.1 Authentication = STRONG
    2.2 Transport Guarantee = BOTH
    3. Activate service (wsconfig)
    4. Control service (wsadmin)
    Afterwards I tried to create the proxy but when I add the WSDL URI I always get an
    HTTP error (return code 407, message "ICM_HTTP_SSL_ERROR")
    I tried to find a "How to" but I was not successfull. Also the saphelp http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm was not helpful for me.
    Hopfully you can help me! Every comment is appreciated!
    Regards

    I advise to have a look into the ICM trace file (dev_icm) - either by using ABAP transaction ST11 or SMICM.
    There you should find error details. Most likely it's about the "chain verifier" complaining that he's unable to verify the certificate of the communication peer.
    In that case [SAP Note 1094342|https://service.sap.com/sap/support/notes/1094342] might be helpful.

  • How to connect ABAP proxy to two different XIs

    Hi, everyone. 
    I want to know there is a way to connect ECC to two different XIs using ABAP proxy.
    As I know, it is much easier to make scenario with RFC or IDoc sender
    but in our case we have to use ABAP proxy and must send to two XIs
    So, according to the plant type in the record, data should be splitted to each XIs.  
    And I wonder I should use logical port for each XI.
    Does anyone have a experience to implement this kind of scenario?
    Then Pls show me the guide how to implement.
    Very Urgent.
    Thanks.

    Hi,
    You cannot connect one ABAP proxy to two different XI systems at the same time.
    The configuration held in transaction SLDAPICUST holds the XI system that is connected (as well as the SM59 details held will only point to one XI system at any one time)
    Why would you want to send a message dependant on content to different XI systems ? Surely you would use conditional receiver determination in XI to route the message correctly.
    Cheers
    Colin.

  • How to call abap proxy at run time?

    hello frnds,
    i m working on a scenario in which whenever Invoice is saved in SAP R/3 at that time same data should go to Oracle DB. i m using ABAP proxy on SAP R/3 side and JDBC receicver adapter on oracle side of XI.
    so to post data i need to call ABAP Proxy whenever invoice is saved.. i have tried to find out save event for invoice but not able to get... can anybody tell me the solution that how i can call proxy at run time?
    thanx in advance.
    Regards,
    Hetal.....

    Hi Audumbar,
    Check these ...
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • How to trigger abap report from module pool

    hi,
    continuing with this link
    table control this is done (Module pool )
    there were two buttons (accept and delete )in the module pool..so when the user  clik 'accepts '  the records (from table control ) then it shud call abap report which will run in background..
    so how do we pass the values selected from table control to the abap report in one go.....as only one background job has to run..say if there are  10 entries then it shud take all the 10 entries and trigger the abap report where it will do the processing with the selected 10 records in the abap report.
    Thanks
    Mohan..

    Declare the parameters of the report as select options and call it using submit statement.
    link:[http://help.sap.com/abapdocu_70/en/ABAPSUBMIT_VIA_JOB.htm]

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

  • Debugging ABAP proxy

    Hi all,
    Can anyone please tell me how to debug abap proxy.
    In my scenario i chnaged the code in proxy.(file to r/3)
    I want to debug the code which i have changed..According to me it should be debugged in sm50 (testing client), which i couldnt do?
    Any Ideas greatly appreciated..
    Regards,
    smith

    Hi Paul,
    Checkout these links..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3b/6f5c3c3806af06e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/81/845f3c31727d59e10000000a114084/frameset.htm
    Transaction Code SPROXY
    Hope they help you!
    cheers,
    Prashanth
    P.S : Please mark all helpful answers

  • Need to create ABAP proxy in ECC 6.0

    Hi All,
              I need to create Abap proxy in ECC 6.0 .Tha actual senerio is iam getting data from XI in XML format and i need to validate and update the date in the ZEE table fields respectively.i need to Modularize the class and keep the validation part separate. we should do validation framework for custom Master Data objects which can be turned On and Off. This can be used as a common framework for all master data validations.can any one guide me how to create abap proxy from staring till end ...Thanks in advance ...
    Regards,
    SRIram

    Hi,
    I got these below steps from SDNforumonly ..i do not have the link however i have the steps:
    1.check Delivered Languages service.sap.com/languages.
    2.check note 42305
    3.In transaction SMLT , Choose Classify Language (Language symbol or F5 )
    4.Supplement this language with English or German (Recommended)
    5.The language must be defined in the instance profiles so that you can log on in these languages. The relevant parameter is
    zcsa/installed_languages.
    6.Go to the language for which you want to install extra packages and choose or choose Language --> Import Package
    7.in the next screen , enter the path for language packages.
    8.start immediately or schedule it .Optionally you can use the target server to exceute this ( to avoid performance issues
    ,if you are importing in production timings, and you cna exculde this server from logon group )
    9.if any problems in importing then analyze the log and restart the import .
    10.After importing the languages, you must also import the language data in the Support Packages.Choose Language --->
    Special Actions ---> Import Support Packages
    11.Go to the language that you want to supplement and choose or Language ---> Supplement Language(this is client specific ,
    so execute for each client in your system)
    And also to the above if your system is running on non unicode you need to install the code pages (example AIX locale command) .
    Thanks.

  • Testing a abap proxy

    Hi,
    can anyone let me know how to test abap proxy?
    regards,
    somu

    HI
    DEBUGGING ABAP PROXIES
    https://weblogs.sdn.sap.com/pub/wlg/4098--Debugging [original link is broken] [original link is broken] [original link is broken]
    TESTING ABAP PROXY
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    ABAP Proxies:
    https://weblogs.sdn.sap.com/pub/wlg/2828--Integration [original link is broken] [original link is broken] [original link is broken] Builders through proxy server
    https://weblogs.sdn.sap.com/pub/wlg/4224---EOIO [original link is broken] [original link is broken] [original link is broken] in ABAP Proxies
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachmentsRFC or ABAP Proxy ?ABAP Proxies with attachments
    https://weblogs.sdn.sap.com/pub/wlg/5447--How [original link is broken] [original link is broken] [original link is broken] to raise alerts from ABAP Proxy
    https://weblogs.sdn.sap.com/pub/wlg/4100--Smarter [original link is broken] [original link is broken] [original link is broken] Approach for coding ABAP Proxies
    regards
    Kishore

  • 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

  • Client ABAP Proxy : how to know which program is calling that service interface proxy

    Hi All,
    I have prepared some client proxy in ECC to communicate with PI.
    But, if I am not wrong, unlike server proxy which is written directly in the class Provider class in SPROXT transaction, in client proxy we write abap code to trigger proxy in SE38 .
    My question is : If I am in SPROXY and looking at any outbound SI, of which proxy is already generated, then how can in SE38  can I find which program is triggering that interface or proxy?

    Hi,
    check below thread for calling client proxy
    ECC outbound abap proxy (client) - Get ECC messageID from Protocol
    Regards,

  • Abap Proxy to Send RFC  data  -- xi - File    ,   how to do - pls help  ?

    Hi Friends ,
                           Our scenario is once in day an  RFC is to be triggered and create flat file .That RFC will return data .
       Using  below likns i have configured the RFC Sender adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    First Activate the ABAP Proxy?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    How to implement a Client Proxy?
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    My question is
    <b>     1.    Is it possible to use ABAP Client proxy   to achive this ?
          2.   Then do we need to write RFC Call in side this proxy call ?
          3.      If we go for proxy do we need RFC Sender Adpater ?</b>
            I am little confused can you please explain , as how it works ?
    <b>       Is there is any other way to trigger RFC to send data ?</b>
    Regards.,
    Shyam

    Hi sabrish ,
                          Tahnks for ur reply. I was waiting for ur response . i have doubt
    the foloowing code i got from ur blog .
    REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP        = '12222' TOZIP          = '22222' IMPORTING  DISTANCE       = lv_distance.write : 'Distance is : ' , lv_distance.
      <b>           1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?
                  2. Can u please tell what is the Destination in that report.  What is z_webservice ?</b>
                  3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?
    Regards.,
    Shyam
    null

Maybe you are looking for

  • ITunes 11 No Longer Able to Sync Contacts with Google?

    Hello, I sincerely apologize if I am posting a redundant topic here; however, I was unable to find any other posted solutions. After upgrading to iTunes 11, I noticed that there is no longer an option to sync the contacts on my iPhone to my Google Co

  • Queries for setups in Financial modules

    Hi All, I want to get the data related to setups in all modules from backend. could anyone let me know how can i get it or from where can i start the query from. Thanks & Regards, KalpanaVenkat

  • Error connecting to stored procedure in crystal report

    Hello I'm using crystal reports 2008 with the latest service pack. i'm trying to access stored procedure using the mysql jdbc driver 5.17. The crystal report has been designed which works fine with a login that created the stored procedure but when i

  • I have a 32 bit windows 7 computer - itunes not installing

    recently i had to get a new hard drive, so when i got it i had to re instal itunes to my 32-bit windows 7 PC. As it had worked previously with my old and same type hard drive i was confused when it didnt work.  when i  would open itunes a message wou

  • IPad vs MacBook

    I am a professional photographer. My MacBook Pro died and I am considering an iPad to take in the field with me. I will be uploading anywhere from 100 to 300 photos and then do light editing and then sending them off via a web site, email, etc. I wil