You are on page 1of 1

Assignment number # ODG108

Attachment handling in SAP Gateway


Scenario –

 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

Transaction Involved - /IWFND/MAINT_SERVICE, /IWFND/GW_CLIENT

You might also like