How can I use this RFC function

I just wanna create a monitor as same as TCODE ST06
so
I Added a TextBox, a Button and a DataGrid. and then everything has finished.as same as following step for "RFC_CUSTOMER_GET" from SAP connector 2.0 help
but how can I use the function? (VB.net 2003) I debugged the function in SE37 the function only need 1 parameters
so,I scratched some statments... but it is still not correct
        Dim num1 As Integer
        Dim dst As CPUSAPUSAGE.CPU_SINGLETable
        Me.SapProxy11.Get_Cpu_Single("local", "", num1, num1, num1, num1, "", num1, num1, num1, num1, dst)
please tell me details steps
Thank in advance.
Yi
Create a “Windows Forms” application.
Add an empty SAP Connection class with the ABAP functions
RFC_CUSTOMER_GET and RFC_CUSTOMER_UPDATE.
Leave the proxy designer open. Go to the SAP Proxy toolbox and drag the “Proxy field” icon to the designer.
Rename the new “Field1” to “Tab”. Change the “Type” property to BRFCKNA1Table. To do this, use the drop down icon.
Note that the ReadOnly property automatically changes to ”true” and the default value changes to “new BRFCKNA1Table()”.
Add a second Proxy Field with the name “Filter”, the type “String” and the default value “A*”.
Select the “Rfc_Customer_Get” function and click on the “…” button of the “Parameters” property.
Set the default values of the three parameters with the drop-down icon as follows:
Name1: Filter
Kunnr: “” Customer_T: _Tab
Save the proxy designer and switch to your Windows form. Add a TextBox, a Button and a DataGrid.
Add an instance of your SAP proxy to your Windows form, add a “Destination” and set the “Connection” property as described in “A4”.
Set the DataSource property of the datagrid to “sapProxy11”. Set the DataMember property of the datagrid to “Tab”. Alternatively you can set the DataSource to “sapProxy11.Tab” and leave the DataMember empty.
For “textBox1” use the DataBinding feature to bind the “Text property” of the textbox to “sapProxy11.Filter”.
Double-click the button to create an event handler and add a single line:
“this.sapProxy11.Rfc_Customer_Get_();”
You are using “sapProxy11” as a smart DataSet that contains the necessary state. You bind the state to the corresponding controls. The overload method Rfc_Customer_Get_() does not have any parameters, as the required state is already in the bound Proxy Fields.

Dim dst As New CPUSAPUSAGE.CPU_SINGLETable

Similar Messages

Maybe you are looking for

  • How to flush the loaded bytes of a Sound object

    Hi all, I've now been looking for a solution to my problem for quite a while now, but so far without any success, so I thought I'll give this forum a try.. maybe someone in here can help ;-) Ok here's the deal: I'm trying to create a simple audio pla

  • Sync contacts from macbook pro to ipad

    lost my contacts, how to transfer from macbook pro to ipad

  • Creating another web page

    When I open I-web it opens my website (www.taffyproductions.com). I have been asked to create another web site. How do I create another website and be able to access either one down the road. I-web doesn't act like normal applications, in that it see

  • In Home Agent won't launch but indicates it's already running

    From the time I downloaded a new release of InHomeAgent it won't work. It had worked properly previous to that.   I have uninstalled and re-installed it from the web site repeatedly.  When I click on the icon, I am prompted to allow IHAstarter.exe to

  • Concurrency, Executors

    Hi Guys I have written this class to send mails off and it works perfecly except that it puts java.exe at 50% cpu usage permanently. Can anybody see a design flaw and point it out too me? I do not understand why this is clogging up the cpu? import ja