on 2021 Jun 15 9:56 AM
Hi Experts,
I have created RAP managed Fiori elements app(draft enabled with GUID as key field) with reuse components of attachment service. I can see attachment tab in Fiori app, when I upload attachments in Fiori, it is only saving as draft, not saving attachments to GOS when I click on 'Save'. I can see post call for attachment service in console, still not saving.
I have followed maheshkumar.palavalli blog which mentioned below. Below blogs talks about BOPF approach, is there any way how we can handle it in ABAP Restful programming. Do I need to save attachments manually like mentioned below blog ?
Regards,
Vishnu Kothuru
Request clarification before answering.
Vishnu have u got any solution for this i have a same kind of requirement can u pls update if u find any solution for this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu,
Have you tried using API 'api_cv_attachment_srv' entity 'CreateUrlAsAttachment' by any chance?
We are using it to create attachment in S/4 from external application... this creates a new doc info record..
call would be something like this '/ sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/CreateUrlAsAttachment?SemanticObject='ZABC'&LinkedSAPObjectKey='1000039'&BusinessObjectTypeName='MARA'&Url='google.com'&UrlDescription='weblink'&MIMEType='Text/URL'&sap-client='XXX'
or Have you tried using BAPI 'BAPI_DOCUMENT_CREATE2' in RAP maybe?
Also please see https://sap.github.io/cloud-sdk/docs/java/features/bapi-and-rfc/bapi-and-rfc-overview/
hope any of these help...
Also, Please share whatever outcome you may have...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.