Skip to Content

Integration Scenario - B1 DI-API Service call - InternalReconciliationsService - GetOpenTransactions

Hello,

in B1 - if you have an AR Invoice and an Incomming Payment - you can use Main Menu / Business Partners / Internal Reconciliations / Reconciliation to Reconcile the Invoice and Payment.

There is a B1 DI-API Service to get the open Transactions on the customer account.

The service is InternalReconciliationsService, Method getOpenTransactions.

I can use the Advanced Restful Client to test the method:

POST -- https://myhanaserver:50000/b1s/v1/InternalReconciliationsService_GetOpenTransactions

with this body:

{
"InternalReconciliationOpenTransParams": {
"CardOrAccount": "coaCard",
"InternalReconciliationBPs": [
{
"BPCode": "C20000"
}
],
"ReconDate": "2019-03-20"
}
}

It works fine - i get a list of open transactions on this customer.

But I cannot get the B1 DI-API Service Call in the scenario working !!!

I user these parameters:

Service Identifier: #InternalReconciliationsService
Service Method Type: #GetList method
Service Method Identifier: #getOpenTransactions
Request Method: #getOpenTransactions
Request Structure: #internalReconciliationOpenTransParams
Request Keys: #ReconDate, CardOrAccount, [BPCode]
Key Values: #2019-03-22, coaCard, [C20000]

In the test run i always get the error : com.sap.b1i.utilities.UtilException: UTE001 Nested exception: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The content of elements must consist of well-formed character data or markup.

Any ideas, what I´m doing wrong?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • May 06 at 08:53 AM

    Hello Michael,

    Seems that you mix DI API and service layer.

    The example you put is call service layer instead of DI API service.

    POST -- https://myhanaserver:50000/b1s/v1/InternalReconciliationsService_GetOpenTransactions
    with this body:
    {
    "InternalReconciliationOpenTransParams": {
    "CardOrAccount": "coaCard",
    "InternalReconciliationBPs": [
    {
    "BPCode": "C20000"
    }
    ],
    "ReconDate": "2019-03-20"
    }
    }
    

    If you want this, you may use B1if call Service Layer object.

    If you want use B1if call B1 DI service, you may check the DI help document to see if there is an InternalReconciliationsService and how to call it.

    Thanks

    Huan Yang

    Add comment
    10|10000 characters needed characters exceeded