on 2022 Sep 30 8:26 PM
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) [?:?]
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Thanks.
Kindly open a support incident. We can then have a deeper analyze.
Thank you.
Regards,
Anderson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Could you please provide some screenshots of the receipts that were not posted to the SAP ByD?
Thanks.
Regards,
Anderson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
6 | |
6 | |
6 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.