Professional Documents
Culture Documents
ODG108
ODG108
Create a structure to hold fields like Email, MIME Type, File name and Content.
Create SEGW project importing above DDIC structure
Register the Service using /IWFND/MAINT_SERVICE.
Test the metadata using /IWFND/GW_CLIENT and it should be successful with status code 200.
Redefine CREATE_STREAM method of the service to Upload the Image file from the SAP system
Redefine GET_STREAM method of the service to Download the Image file to the SAP system
Test the service using transaction /IWFND/GW_CLIENT.
Input to Upload file should be Email address, file path and MIME type whereas output should be
image displaying in request body
Input to download file should be file path and MIME type and expected output should be a
downloaded image in response body