Sample Client proxy abap program

Hi,
Need a sample abap program to select multiple records.
Any help appreciated. There is one for single record, but not for multiple records.
Thanks
felix.

Hi Felix,
Is your requirement that you want to selects multiple records from the same table? Kindly elaborate on it. In the meanwhile you can have a look these links:
http://www.sap-basis-abap.com/abap/difference-between-select-single-and-up-to-1-row.htm
http://www.geocities.com/SiliconValley/Grid/4858/sap/index.htm
http://www.geocities.com/SiliconValley/Grid/4858/sap/ABAPCode/index.htm
These contain some code snippets see if it would satisfy your requirements.
Cheers,
Chandra

Similar Messages

  • ABAP client proxy create error

    Hi,
    When I try to create a client proxy web service (se80), I get the error "Error when creating HTTP client: URL: Error:Connection Parameters (Host or Service) Not Availa Message no. SPRX137"
    I want to consume a web service (by reading a wsdl from an url) from my own network. the ICM seems to work fine.
    Any ideas?
    thanks,
    Raymond Does

    Hi Praveen,
    Actualy I am not using XI. I would like to connect to the web service by creating a client proxy and then calling the web service with an ABAP program.
    I that case, do I have to do the SPROXY settings as well?
    While debugging the creation of the client proxy I saw that the urls to the wsdl and xsd files (my wsdl is refering to them) did not have the complete http://..etc.. text but only the last part (like 'SystemGetInfo.wsdl'). It seems that the client proxy generation program cannot handle this url data.
    Please let me know what to do.
    Regards,
    Raymond

  • Client Proxy generation on a SAP NW 7.0 system using PI 7.1

    Hello
    Can anyone please guide me with Client Proxy generation on a SAP NW 7.0 system using PI 7.1 services with multiple operations. How does client proxy generation in SAP NW 7.00 support services with multiple operations ?
    Thanks.
    Kiran

    Hi,
    This could help you.
    How to Activate Proxy.
    How do you activate ABAP Proxies?
    OutBound Proxy (Client Proxy)
    Smarter Approach for coding ABAP Proxies
    Outbound Proxy (Client Proxy)
    ABAP Proxies in XI(Client Proxy)
    Regards,
    Sarvesh

  • Sample Client ABAP Proxy Program - PI 7.1

    I created Proxy. I need to call in a Report Program. I am using PI 7.1
    Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1

    Hi,
    >>>Can anyone send me a sample Client ABAP Proxy program to use with PI 7.1
    it's exactly the same as for 7.0 and there are blogs that show such sample reports on SDN
    just do a little search and I'm sure you can find it
    Regards,
    Michal Krawczyk

  • Problem Developing Abap program to use  Enterprise Service Client Proxy

    Hi I am new to using Webservices but I have successfully created a Client Proxy to consume a web service.  In the Abap Development Workbench and have created a Logical Port for it.  The proxy works fine when I test it using F8.
    However I do not seem to be calling it correctly from my program.  When I run the program in debug no exception is generated but the return structure is empty.
    The method call does not require any data in the input structure.
    The code is as follows :
    REPORT  zweb_test_wsclient.
    DATA: object_ref TYPE REF TO zwebco_bcepsoap,
          input TYPE   zwebget_bceplist_soap_in,
          output TYPE   zwebget_bceplist_soap_out,
          exception TYPE REF TO cx_ai_system_fault.
    START-OF-SELECTION.
      TRY.
          CREATE OBJECT object_ref.
              EXPORTING LOGICAL_PORT_NAME = 'LP1'.
        CATCH cx_ai_system_fault INTO exception.
      ENDTRY.
      TRY.
          CALL METHOD object_ref->get_bceplist
            EXPORTING
              input  = input
            IMPORTING
              output = output.
        CATCH cx_ai_system_fault INTO exception.
      ENDTRY.
    END-OF-SELECTION.
    Can tell me what I am missing or what steps I can take to identify the problem ?
    thanks

    Hello Peter,
    I have the same problem as You. Do you remember the solution?
    A lot of thanks,
    jordi

  • ABAP Client Proxy from ECC 6.0 to XI message irregular recieving

    Hi Gurus
    Any one has come across issue whereby the ECC 6 system trigger ABAP Client proxy to SAP PI 7.0. The first time the PI is able to recieve it in the SXI_MONITOR. But subsequent trigger from the ECC 6.0 system the SAP ABAP program to trigger the Client Proxy, the PI seem to lost connectivity and did not recieve any message. This is pretty strange and hopefully someone in SDN and enlighten me.
    Thanks
    Regards
    On behalf of malcolm

    Hi Santosh
    I went to SMQR and register the queue, but it still did not reflect the locked queue when i trigger the ECC 6 to SAP PI 7.0. The green flag - schedule still appear in the SXMB_MONI queue. But i am quite puzzle as why the ABAP client proxy after sending message the first time and second time, the third time it stuck? And also it is not practical to everytime go to the SMQ1 or SMQ2 to unlock the queue. I don't think it a good solution for solving my problem, it is just a temporary solution.

  • What to write in ABAP program at R/3  to call proxy classes.

    Hi
    I am working on R/3 to File scenario and using ABAP Proxy for outbound.
    I have generated proxy in XI server and have coded the program in R/3 but can one tell me wht code needs to be written in ABAP program at R/3 end to connect to ABAP proxy. How those objects will be available in R/3 side.
    Please help as it's urgent.
    thanks
    Ria

    Hi Rekha,
    Thanks for the link, I did write this code already as follows.
    data prxy type ref to zxico_zproxy_interface_po .     
    create object prxy.                                   
    data it type  zxipurch_order_info_snd.                
    try.                                                  
         it-purchorderinfo_snd-ebeln = '000010'.           
         it-purchorderinfo_snd-werks = '2320'.             
         it-purchorderinfo_snd-bedat = '10/11/2005'.       
         it-purchorderinfo_snd-potype = '0'.               
         call method prxy->execute_asynchronous            
           exporting                                       
             output = it.                                  
          commit work                                      
       catch cx_ai_system_fault .                          
         data fault type ref to cx_ai_system_fault .       
         create object fault.                              
         write :/ fault->errortext.                        
    endtry.          
    When I do syntex check it give me error message:
    The type "ZXICO_ZPROXY_INTERFACE_PO" is unknown.  SInce this object was created in XI client so is not available in the R/3 just wondering do i need to create this in R/3 side.
    Regards
    Ria

  • ABAP client proxy to File scenario

    Hi,
    I am doing ABAP client proxy to File scenario.
    I have followed Ravikumar allampallam blog i.e https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    My abap proxy has successfully created 4 objects:
    1)ABAP Class ( ZCO_ MIOA_ABAP_PROXY).
    2. Structure for the message type in ABAP Data Dictionary (ZMT_PROXY).
    3. Structure for the data type in ABAP Data Dictionary (ZDT_PROXY_SRC).
    4) Table type (ZSTRING_TAB).
    can u tell me how can i fetch data from database table into structure?

    Hi,
    see first create the data type,msg type, msg interface and go to R3 instance of Xi and use SPROXY transaction , locate your SWCV,namespace, intreface ( outbound) and create the proxy , later give the name starts with z, later in ABAP program create the internal table of type of the Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG )
    so follow the code and explained about each ob, structure of Msg ..
    Regards
    Chilla

  • ABAP client proxy With Receiver JDBC Adapter

    Hello Experts,
    I am working on a scenerio ABAP client proxy With Receiver JDBC Adapter.
    The client proxy program will fetch the master data related to equipment in plant maintenance module and  will update the sql database through Receiver JDBC Adapter .
    my requirement is if the equipement is created in sap then the  scheduled job has to trigger the client proxy program and send the message with status 'created'  to sql data base.
    if the equipment is modified in sap then the scheduled job has to trigger the client proxy program and send the message with status 'modify' to sql data base.
    please let me know how can i write the logic/code for this scenerio in client proxy program.
    Tables for equipment master i am using  is EQUI and fields are   ERDAT and AEDAT which is created date and modified date.
    fields for scheduling start date is tbtcp-sdldate.
    Thanks in advance.
    Ram.

    Hello Ram,
       Here you can check if updated date field is not empty then send status as created and if this field is not blank then send status as modified record.
    Monica

  • Abap client proxy to xi - no data found

    Hi experts
    I m working on abap client  proxy to file scenario where in I m sending data from R/3 system to legacy system via xi , but after doing all the configurations and running the abap program for triggering client proxy , i dont find any data on the receiver side ,
    I have activated client proxy as per Vijay Kumaris Blog
    I checked sxmb_moni on the R/3 system but shows no data selected , so no question of data being found on xi server ,
    i m really sutcked up ....dont know hwat to do , pl help
    rgds
    mojib

    Hi,
    Have u used commit work at the end of the code.
    Can you please tell me what all configuration u have done.
    U have referred the ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Refer the below log for Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Chirag

  • How to call ABAP client proxy?

    Hello,
    I am getting confused with ABAP client proxy now.
    I've defined a outbound service interface (Message Interface) in PI, based on the service interface I generated the ABAP client proxy in the abap backend system. There are two possible ways to configuration the integration scenario for this interface:
    1) use the proxy as web service consumer for scenario like:  ws consumer --> PI
    2) No web service, just proxy like:  Proxy --> PI
    Now I've configured a logical port (as default logical port) for scenario 1.
    I wrote a ABAP program to call the proxy to send out message to PI. To call the proxy we instantiate the proxy like:
    CREATE OBJECT proxy  EXPORTING    logical_port_name = p_port.
    proxy->myOperation( ...  ).
    Now if I specify the logical_port_name, I think the local IE in the abap system knows to send out the message using web service (scenario 1). However if I do NOT specify logical_port_name, how the local IE knows which way to send out the message? Using web service with the default logica port, or directly  post the message to the centrl IE pipeline using the second scenario ?
    Anybody can clarify my doubts?
    Thanks
    Eric

    Eric
    The answer to your question lies in the method CREATE_FRAMEWORK of class CL_PROXY_FRAMEWORK_OUTBOUND. In this method, you will see method GET_SOAP_APPLICATION of class CL_SRT_LP_MAINTANENCE is checked to see which adapter to use (i.e WS runtime or XI runtime).
    Anyway, to give a straight answer to your question, if you maintained an endpoint for your interface in tcode SOAManager, the WS runtime/adapter is used to send the message to Integration server. If there is no endpoint maintained, then it uses the XI runtime (or the traditional proxy adapter).
    Now, as far as logical port goes, if you didn't give a value when calling the proxy client class and you didn't maintain an endpoint in SOAManager, then XI runtime is used.
    If you didn't pass a value to logical port but you maintained an endpoint which the default logical port, then the same is used and communication happens through WS adapter.
    If you didn't pass a value to logical port but you maintained an endpoint and didn't mark the port as default, then a WS runtime exception is raised.
    Hope this answers your question. For more information, try to take a look in the classes mentioned above.
    KK

  • ABAP proxy (Client proxy)

    Hi all,
    Could you provide an insight onto how the ABAP proxy on the client side works?
    What i want to know is,
    1. How do we trigger the proxy. (in case of file -> abap proxy , when ever we pick the file and once the message is inside the XI and sent out the proxy gets triggered, what happens in the vice versa)
    2. Do we actually need a external program to trigger it?
    3. the basic differences between an outbound proxy and an inbound one.
    Regards,
    ShabZ

    Hi Shabz
    >><i>1.How do we trigger the proxy</i>
    Complete all the Design issues in XI.
    Then go to SAP system use <b>sproxy</b> transaction and select the Outbound interface for which the Client proxy needs to be generated.It will generate a Interface,Message Type and DataType for the ABAP client Proxy.
    We need to create a Program (in se38) which sends the data out to the class that has been generated. The class that is generated will send data to the Integration server.
    >><i>2.Do we actually need a external program to trigger it?</i>
    Yes u hav to.
    >><i>3. the basic differences between an outbound proxy and an inbound one</i>
    <b>Client Proxies</b> talks about the implementation of Client Proxy (For the Outbound Interface created during Design time). It also discusses the sending out of Data using Proxies
    <b>Server Proxies</b> talk about the implementation of Server Proxy (For the Inbound Interface created during Design Time). It discusses on how to handle the data that is coming into SAP System.
    Hope it helps
    Regards
    Arpit Seth

  • Abap client proxy

    All,
    I have created a client proxy in CRM system and i have tested in from SE80 and everything works i retrieve data and works fine.
    But now i have created a test program where i use a client proxy and i send the request with the same parameters, but i do not receive any response.
    I have created the proxy object with the logical port and no exception is being throwed, any idea?
    Regards
    Jon

    Hi Jon,
    Whenever something unexpected happens, I think it's best to find out if a request has been sent out correctly from the client proxy and received by the web service.
    If the web service is an SAP web service, you can use the following
    1. SRT_UTIL transaction. You can find out more from the link below
    http://wiki.scn.sap.com/wiki/display/ABAPConn/ABAP+Web+Service+Monitors
    2. You may want to enable logging and tracing as well.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/2f/9eddbb74b84775931ca9f2297c77be/content.htm
    Hope this helps.
    Regards,
    Stevanic

  • About ABAP Client proxy

    Hi Experts,
    Through ABAP client proxy I am sending data to PI system, when i execute the calling program then it executes fine, but data is not going to PI system.
    I couldn't find any message sent from R/3 in the SXMB_MONI (R/3 system).
    R/3 to PI connection is fine.
    Regards
    Ramesh

    I couldn't find any message sent from R/3 in the SXMB_MONI (R/3 system).  -
    > hope u r not checking in the R3 system for message !!!
    Few of our shadow resources, they had similar kind of issue...they configured sender as business service....
    so when they run the report program... it was not displayed in MONI..... the reason is agreements as sender business service.... as it cant find the proper receiver, and the proxy comes with Business system details...message wont be processed and cant see in MONI...
    so just have look...have u configured like this?

  • ABAP Client Proxy without XI

    Hello
    I am stuggling with writing a client proxy in ABAP to call a Web Service without any use of XI.  The help says it is possible, as per the URL below.
    On the expanded tree structure on the left pane of the help, navigate to the heading "Programming with Client and Server Proxies" and then "Sending a message".
    I have been able to generate a proxy class by consuming a WSDL file and I have also defined a Logical Port.
    I have also copied the ABAP code shown on the same Help page, but have been stumped by the definition of ls_request and ls_response.  The next line of help goes on to explain that ls_request should be a structure for the Request Message.  In the scenario where XI is used, I can understand the concept of defining a structure that is the same as the Request message.
    In the scenario of only using ABAP and no XI, I don't understand what I should define the structures for ls_request and ls_response.
    Can anyone shed some light on my confusion?  Any suggestions gratefully received.
    Thanks in advance
    tony<a href="http://help.sap.com/saphelp_nw04/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm">SAP Help on ABAP Client Proxies</a>

    Welcome to SDN.
    check out this weblog.
    <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap">Consuming WebServices with ABAP</a>
    input and output structure are automatically generated when creating the client proxy.
    click on the structure tab (se80 client proxy definition) and expand the webservice method againt input in the type column you should see a structure name use this for ls_request
    ls_request         TYPE zxxx_soap_in,
    against exporting in types column you can see the type for ls_response.
    Hope this is clear.
    Regards
    Raja

Maybe you are looking for

  • How to make the new deploed appl to run?

    Hi all, I have developed an WD application, and deployed the appl and ran it. <b>When I make any changes to the application abd build,deployed successfully and when i run...the old one is coming ...the changes made was not coming.</b> What caonfigura

  • Skype App says 'Waiting' and does not Install

    Tried to install Skype App on iPhone4. After more than 2 hours, the App icon still says "Waiting". I tried going back to the Apps icon but under Skype App, I am unable to deselect/reselect to install. How do I delete installation and try again?

  • CS6 doesn't play nice.

    Creative Cloud installed on test machine (Mac 10.7.3 with CS5 installed). Photoshop CS6 worked fine, but no other CS6 program would launch, period. 45 minutes on support and I'm told to uninstall all of CS6 (I'd already done that and reinstalled), cr

  • Keeps coming up an unknown error has occurred have tried changing the password numerous times

    cant get the system to accept new password

  • Error to use NIVISv32.dll

    Hi I recently change USB GPIB to USB GPIB+ After I changed to USB GPIB+ , I realized that GPIB+ required to use NI-488.2 14.0 After I started use new driver and USB GPIB+, my software started Crash and "Application stop working". it was realized with