Get Example source ABAP code based on a different SAP table
VX_EXA_ONLY
ABAP_ICF - Accessing the MIME Repository from a HTTP Service This example demonstrates how the MIME repository is accessed using an HTTP service in ICF>.
ABAP_SOURCE_CODE DEMO CL_DEMO_HTTP_MIME
ABAP_DESCRIPTION The HTTP service /sap/bc/abap/demo_mime> can be called with different content of the form field mime_access> of the URL:
If the form field has the value icf>, the handler class CL_HTTP_EXT_MIME_DEMO>> creates an HTML file. This file points to an image in the MIME> repository (as described in a different executable example>).
If the form field has the value api>, the handler class CL_HTTP_EXT_MIME_DEMO>> creates the HTML file and also the image that is referenced in the HTML file. The image is loaded and forwarded using MIME API.