cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get BAPI_AP_ACC_GETSTATEMENT Result?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The date parameters should be in the form of "YYYYMMDD".

Regards,

Guangwei Li

Former Member
0 Kudos

Thanks a lot, I have not much knowledge of SAP, this hint helped me a lot.