Hello Experts,
I have created a fiori application, from where i am uploading attachments. Uploaded attachments are transferred to ECC system and attaching it to GOS.
When i am uploading .pdf, .txt, .csv, it is working correctly and i am able to see when i open from GOS.
But when i upload .jpg, .png or any image file, i am not able to open from GOS and error message is showing "Windows photo viewer cant open this picture because either photo viewer does not support this file format, or you dont have latest update to photo viewer."
I am using below FMs in the create stream of the service.
SCMS_XSTRING_TO_BINARY
SO_FOLDER_ROOT_ID_GET
SO_OBJECT_INSERT
BINARY_RELATION_CREATE_COMMIT
BAPI_TRANSACTION_COMMIT
Pls. let me know how can i solve this issue. Is there any parameters we need to pass differently for image files in the above FMs.
Regards,
Imran.