cancel
Showing results for 
Search instead for 
Did you mean: 

Error when Create a bank statement

Former Member
0 Kudos

Hi Experts,

Sorry me for my english

I try to create a bank statement in the future to import from excel, now is giving me this error:

"Bank Statement Processing is either not supported for this localization, or not enabled",

in the code line:

oBnkStSrv.AddBankStatement(oBankStatement)

This is my code:

  Dim row As Long

      

        Dim oBnkStSrv As SAPbobsCOM.BankStatementsService

        Dim oCmpSrv As SAPbobsCOM.CompanyService

        Dim oBankStatement As SAPbobsCOM.BankStatement

        Dim oBnkStRow As SAPbobsCOM.BankStatementRow

        Dim MultiPayment As SAPbobsCOM.MultiplePayment

        oCmpSrv = compania.GetCompanyService

        oBnkStSrv = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.BankStatementsService)

        oBankStatement = oBnkStSrv.GetDataInterface(SAPbobsCOM.BankStatementsServiceDataInterfaces.bssBankStatement)

        row = 2

        oBankStatement.BankAccountKey = 1

        oBnkStRow = oBankStatement.BankStatementRows.Add()

        oBnkStRow.DueDate = Today.Date

        oBnkStRow.DebitAmountLC = 1000

        'oBnkStRow.CreditAmountLC = 500

        oBnkStRow.Details = "Prueba"

        oBnkStSrv.AddBankStatement(oBankStatement)

        SBO_Application.MessageBox("Done!")

SAP B1 9 PL 05

Region: Mexico.

If someone can tell me what is wrong.

Best Regards.

Carlos Bonilla.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Carlos,

Did you activate the BSP in the administration of the company?

Regards,

Eric

Former Member
0 Kudos

Hi Eric,

The option you mentioned do not appear in Company Details.

My localization is Guatemala.

Need to develop a tool to import bank statements and wanted to use that service.

Thank you very much for your reply

Carlos.

Former Member
0 Kudos

Hi Carlos,

Great month for me: just because of the SCN, and besides all my travels, I was able to look directly at Italian and Guatemaltec personalization. In your case, to discover that, as you said, the option is unavailable.

So, from my cursus as SAP, long years ago: perhaps trying to find a personalization which does what you want (meaning, including the BSP) and from your language.

In all cases, open a bug (or feature request) to SAP.

What I would try, at least for the fun of testing is creating a different DB with a fully different personnalisation (French, Dutch, whatever, but which is using the BSP) and looking ta which value in the DB is changing and manually activating it in a Guat. DB.
For sure not supported, but for the knowledge and the fun of it will be interesting.
Will try after my diner.

From my point, if the option is unavailable it will not work with the SDK.

Regards,

Eric

Former Member
0 Kudos

After testing, my proposal is a no go, for different reasons.

So, only options left is to find a personalisation, the nearest possigle t Guatemala and which has the BSP processus and to raise a feature request to SAP.

Regards,

Eric