on ‎2021 Apr 20 4:39 PM
Hello,
We've inserted many barcode using API. now we need to delete some of them cuz they're wrong or no longer for use. I don't see the chances to do it. Documentation said it is a read only tab, but what about my issue.
Can I do it one way the other?
Thank you.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello baigalmaa,
The tabs in articles app, Barcodes and Discounts are read only from UI.
The only way to delete these data is using the API. Just like the only way to create this data is via API. Also this is the recommended way.
In future we will support deletion updates etc via the UI, but its not in short term roadmap. You can always create a request in SAP Customer Influence.
While you can delete them by going to database as well, but then you need to be careful. Take back-ups etc. A re-start of tomcat is also needed otherwise buffers are not updated etc.
Hope this helps.
If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.
Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When we suffered these issues (in older FPs) we deleted the whole barcode table via sql and reimported the correct data via the API. Unfortunately the most convenvient way at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Baigalmaa,
at the moment we are not using FP11 in a productive enviromnent where we are importing Barcodes, we are only using FP09 and FP10. So yes, the problem still exists in FP11 that you can't maintain the barcode data via the ccom frontend.
Hello arti3000
Funny, I don't have any problems in updating, deleting or adding barcodes via API. I programmed automatic and complete syncs from SBO to CCOm via API. Beside article master data also article groups, payment terms, manufacturers, customer groups and others. This with over 30K articles in the productive environment and FP10. Nevertheless I tested once again and everything works as it should be - also barcodes. Also all Tests with FP11 are working fine.
Best Regards
Klaus
Hi Klaus, glad to hear that it is working for you. Sorry if I did answer unprecisely here, To clarify: We faced some issues with the barcodes tables in the past and to correct these mistakes we deleted the whole content of the barcode table and prepared a fresh import via API. The main reason to proceed like that was that the used JSON for this was the root cause of the wrong barcodes. I guess I shouldn't have answered to this question like that 😉
Just out of curiosity: Why are you syncing this data from SBO to CCOM? Are you not using the B1iF scenarios anymore?
Hello baigalmaa
If your question in answered correctly, kindly select the answer as "Right Answer". This helps others to follow and easily locate answers.
Regards,
Bikash Bansal
Product Owner - SAP Customer Checkout
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello baigalmaa
You can change the barcodes the same way as adding them. Just use PUT on /internal/sync/materials/bulk and change the List of Barcodes.
Best Regards
Klaus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.