04-09-2018 6:59 AM
Hi All,
I have requirement to upload attachment using "base64" content of attachment ( JPG, PNG, PDF etc).
I used some standard BAPI and it is successfully uploading the attachment but base64 content is somehow getting changed during upload and it is not allowing to open in notification (IW33).
Can someone advise what is the best approach to upload attachment (base64) in notification using code.
BAPI ,I am using below BAPI and class.
1. 'SO_FOLDER_ROOT_ID_GET'
2. SO_DOCUMENT_INSERT_API1
3. CALL METHOD cl_binary_relation=>create_link
code
uploadattachmentin-notification.txt
Thanks in advance
Regards
Vivek
04-12-2018 1:51 PM