on 12-16-2017 6:41 AM
I have developed an ODATA service for uploading documents to BDS ( standard approach) for CRM application using update stream method ( PUT Method ).
Upload / Download service is working good when tested with GATEWAY Test tool in SAP ECC, TCODE : /IWFND/MAINT_SERVICE.
I am passing the file using Add file button in gateway tool, and i am able to view and download file correctly from CRM WEB GUI.
BUT when consuming the service from SAP HYBRIS, they can upload the file , but when opening / downloading the file it does not open correctly.
When debugged found that the encoded format recieved recieved when uploaded from Gateway tool ( add file button) and one recived from sap hybris ( front end application)
is totaly different, need urgent help to resolve the issue.
any help will be appreciated
Are you correctly setting the content disposition header which confirms to browser the file name and format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arjav Gandhi,
Debug the DPC_EXT class method which you redefined for uploading the documents, there is some change in format happening while uploading the data. I too faced the same problem some time ago for a different requirement. My program was working after I started storing the type in another field in my OData. You, could try the same.
Regards,
Arjun Biswas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
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.