Skip to Content
0
Former Member
Aug 04, 2005 at 06:37 AM

How do I get BAPI_AP_ACC_GETSTATEMENT Result?

84 Views

Hi,

I calling BAPI BAPI_AP_ACC_GETSTATEMENT from my .Net application using NCO 2.0.

When I run this BAPI from SAP Frontend I gets 53 RESULT.

But unable to get this in .NET, Can anybody tell me how do I get this BAPI RESULT?

Dim conn As String = ConfigurationSettings.AppSettings("SAPConnectionString")

ApAccount1.ConnectionString = conn

Dim vBAPIRETURN As New SAP.Connector.BAPIRETURN

Dim vBAPI3008_2Table As New sapnet.BAPI3008_2Table

ApAccount1.GetStatement("0100", "01.01.2004", "01.01.2005", "", "B00100", vBAPIRETURN, vBAPI3008_2Table)

DataGrid2.DataSource = vBAPI3008_2Table.ToADODataTable

DataGrid2.DataBind()

Thanks in Advance.

Regards,

Nitin