cancel
Showing results for 
Search instead for 
Did you mean: 

CCO Receipt sync error bydesign

chrisfrei
Explorer
0 Kudos
353

Hi folks

We have SAP CCO connected with bydesign.

99% of receipts are going through to BYD without any issues.

But few receipts can't be booked. In CCO error message is a timeout.

In the error log we get following error.

Any ideas?

Thanks in Advance

Chris

2022-09-30 20:54:14,923 [ForkJoinPool.commonPool-worker-1] ERROR com.sap.scco.ap.pos.dao.ReceiptManager - Could not post receipt to external system

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

at java.util.Vector.get(Unknown Source) ~[?:?]

at com.sap.scco.ap.pos.i14y.util.collector.impl.ByDDataCollector$ReceiptDTOCollector.setPaymentCardsIdsToPaymentItems(ByDDataCollector.java:132) ~[env.jar:?]

at com.sap.scco.ap.pos.i14y.util.collector.impl.ByDDataCollector$ReceiptDTOCollector.collectNecessaryData(ByDDataCollector.java:122) ~[env.jar:?]

at com.sap.scco.ap.pos.i14y.util.collector.impl.ByDDataCollector$ReceiptDTOCollector.collectNecessaryData(ByDDataCollector.java:1) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.sendToExternalSystem_aroundBody432(ReceiptManager.java:5738) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.sendToExternalSystem_aroundBody433$advice(ReceiptManager.java:31) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.sendToExternalSystem(ReceiptManager.java:1) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.lambda$1_aroundBody610(ReceiptManager.java:5134) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.lambda$1_aroundBody611$advice(ReceiptManager.java:31) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.lambda$1(ReceiptManager.java:1) ~[env.jar:?]

at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:?]

at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinPool.scan(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:?]

2022-09-30 20:54:57,319 [ForkJoinPool.commonPool-worker-1] ERROR com.sap.scco.ap.pos.dao.ReceiptManager - Could not post receipt to external system

java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0

at java.util.Vector.get(Unknown Source) ~[?:?]

at com.sap.scco.ap.pos.i14y.util.collector.impl.ByDDataCollector$ReceiptDTOCollector.setPaymentCardsIdsToPaymentItems(ByDDataCollector.java:132) ~[env.jar:?]

at com.sap.scco.ap.pos.i14y.util.collector.impl.ByDDataCollector$ReceiptDTOCollector.collectNecessaryData(ByDDataCollector.java:122) ~[env.jar:?]

at com.sap.scco.ap.pos.i14y.util.collector.impl.ByDDataCollector$ReceiptDTOCollector.collectNecessaryData(ByDDataCollector.java:1) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.sendToExternalSystem_aroundBody432(ReceiptManager.java:5738) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.sendToExternalSystem_aroundBody433$advice(ReceiptManager.java:31) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.sendToExternalSystem(ReceiptManager.java:1) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.lambda$1_aroundBody610(ReceiptManager.java:5134) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.lambda$1_aroundBody611$advice(ReceiptManager.java:31) ~[env.jar:?]

at com.sap.scco.ap.pos.dao.ReceiptManager.lambda$1(ReceiptManager.java:1) ~[env.jar:?]

at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) [?:?]

at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinPool.scan(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:?]

at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:?]

Accepted Solutions (0)

Answers (6)

Answers (6)

anderson_schmitt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

As we analyzed in the incident you created, in the pepper configuration, there are some credit cards maintained under the credit card mapping, but not all credit card types are maintained under Configuration > Accounting > Credit Card

In your case, the credit card type "4" is not maintained under Configuration > Accounting > Credit Card. Please, enter the credit type "4" and run the receipt synchronization again.

Regards,
Anderson

anderson_schmitt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

Thanks.

Kindly open a support incident. We can then have a deeper analyze.

Thank you.

Regards,
Anderson

chrisfrei
Explorer
0 Kudos

Certainly Anderson

Attached few screenshots from various receipts.

Couldn't find anomylies. Also tried to resend to byd through admin access, but same issue.

Appreciate your support and hope this can be solved. We are rolling out 10+ new CCO with BYD next month.

anderson_schmitt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian,

Could you please provide some screenshots of the receipts that were not posted to the SAP ByD?

Thanks.

Regards,
Anderson

chrisfrei
Explorer
0 Kudos

Thanks Anderson

Yes, seems all are CreditCards. But most Credit Cards are going through without any issues.

Just some aren't. It's FP12 PL02

Full Error log is attached.

Thanks

Christian

cco-error.txt

anderson_schmitt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Chris,

Is there any difference between the receipts that are posted and the receipts that are not posted to the ByD?

I suppose this receipt was paid with credit card, is it correct?

What is the version (FP and PL) of the SAP Customer Checkout?

Attach the complete log files, please.

Regards,
Anderson