cancel
Showing results for 
Search instead for 
Did you mean: 

Due Clearing can not be linked to Customer Invoice.

former_member436336
Discoverer
0 Kudos

Hello,

I'm having an issue trying to link Due Clearing to its Customer Invoice.

Im trying to get the ID of a Customer Invoice from the ID of a Due Clearing through repository explorer.

As you can see at the attached images, I can see from the front-end the ID of that customer invoice, however, the repository explorer doesn't show that ID, so I cant reach it via the SDK.

Does anyone know how to do it or anyone had ever faced this issue?

Thanks for attention,

Aleix

sap-consulta-1.pngsap-consulta-2.png

geronimo31011
Participant
0 Kudos

Hi Aleix,

I have exactly the same problem right now. Have you found a solution?

Kind regards,
Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

geronimo31011
Participant
0 Kudos

The questioner seems to be no longer active, but in case anyone else came across this problem, this is the solution: In the `DueClearing` business object you will find the node `ExplanationItem` within this node you will find the field `TradeReceivablesPayablesRegisterItemUUID`. (The same field you can also find in the `Duning` business object on `Item` level.) This UUID is the key of the business object `TradeReceivablesPayablesRegister`. If you now query this BO with the help of the UUID, you can find the field `OriginInvoiceBusinessTransactionDocumentReferenc` and this field provides the customer invoice id.

In this answer https://answers.sap.com/answers/12922440/view.html you can find a detailed instructions how to select the BO `TradeReceivablesPayablesRegister`.

I hope this will help someone else in the future and save the search for the solution.

Kind regards,
Michael Hieronymus