This example looks like a typical dadabase query. But rather than directly querying the DBMS, this example communicates with the data source within the R/3 over DCOM, MTS and SAP RFC. The following codes shows you how to:
To run this sample, first set the following R/3 logon properties:
| Destination: | |
| Client: | |
| User: | |
| Password: | |
| Language: |
Then enter the search term in this field:
After you clicking the button, the GetCustList method will be called and, as result, a table containing the customer data will be displayed. If the Abap Debug option is checked, the SAPGui will be started before excuting the method. In this way, you can use SAPGui to debug the ABAP programm running on the connected R/3 server.