on 12-24-2014 6:15 AM
I have created an OData service to create service notification in SAP system.
In the SAP t-code for create service notification (IW51), there is an option to attach files using generic object services.
I would like to know whether I can add this attachment functionality into the Odata service and consume this service from front-end.
(I have already created an OData service to attach files to a custom table. It works fine.)
Now, I want to attach this to the service notification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ashwin for the response.
I am fine uploading and downloading the file via OData service.
My problem is to add this uploaded file as an attachment while creating the service notification in SAP (IW51). The current OData service is doing the create part, and I want to know the attachment part.
How to add a file as attachment in IW51 transaction via OData service.
Hello Tech,
can you let us know if you have SAP DMS in your landscape or content server ,based on your inputs i can provide you the flow and what BAPI's to be used
i understand that your requirement is when you upload an image against a service notification you should be able to see the document number or any reference in the transaction also ?
Thanks
Sri
Thanks Sri. We have SAP DMS.
I want to upload a file without using the generic object services in the toolbar of IW51 tcode.
Instead I want to upload a file during notification creation from outside SAP via OData service. Is there any BAPI for that?
Can you please explain the steps to be followed and the BAPI's to be used.
Hi Tech,
Below are the steps which you need to follow if you want to create a document from O-data service using SAP DMS
i.e a Image/video/document against a Service Notification .
Please let me know in case of any more queries
Thanks
Sri
Hello Sri..
Thank you so much for your detailed reply.
I have a few questions.
Currently I have stored the uploaded file in a Z table as shown below
1. Can use this data from the Ztable to upload the file using BAPI_DOCUMENT_CREATE2 fn module?
2. Where do i specify that I want to attach the files to the tcode: IW51? Is that in the table parameter of the fn module - OBJECTLINKS? If yes, then what should I give for Object Type and Object Key for this create service notification transaction?
Thank you so much for your answers..
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.