on 2024 Oct 27 3:50 PM
I’m developing a SAP Fiori application in Business Application Studio, using two services: CV_ATTACHMENT_SRV to attach files to an object (e.g., an invoice) and MM_SUPPLIER_INVOICE_LIST_ENH_SRV to list all invoices for selection. Currently, the upload process works, but it relies on a static example ObjectKey for a specific invoice. I now need to modify the code so that the ObjectKey dynamically adapts based on the selected invoice.
The issue is that none of the invoice attributes include an ObjectKey. The primary key available is InvoiceUUID, and I know this UUID must be mapped or transformed to create the ObjectKey, but I don' really know HOW.. I tried using btoa(uuid), which produces a result similar to the static ObjectKey, but it’s not exact, and the upload doesn’t succeed.
Any insights on how to correctly generate the ObjectKey from the UUID would be greatly appreciated.
Request clarification before answering.
User | Count |
---|---|
31 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.