Skip to Content
author's profile photo Former Member
Former Member

Questions "SAP .NET Connector"

I tired to make use BAPI in VS.net with SAP .NET Connector 2.0

but when I created table class ,how can I insert value to that table.

Dim proxy As New SAPProxy1(cs)

' create a sap table variable

Dim tblCust As New BAPICUSTOMER_ADDRESSDATATable

Dim tblcust1 As New BAPICUSTOMER_SPECIALDATATable

Dim return1 As New BAPIRETURN1

Dim irange As New BAPICUSTOMER_IDRANGETable

' call the RFM method on the proxy

' If I want to insert some values to tblCust,How can I do?

proxy.Bapi_Customer_Getlist("1", 10, return1, tblCust, irange, tblcust1)

If I want to do the same in C#,how can I do?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 05, 2005 at 07:47 AM

    E.g.:

    Dim entry as New BAPICUSTOMER_IDRANGE()

    ' Assign fields.

    entry.<Propery> = <Value>

    irange.Add(entry)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 05:03 AM

    Sorry(embarrassing...),could you give full sample code for "Bapi_Customer_Getlist",I still have some errors...

    boring..... in VB or C#

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.