'mime-upload' Macro
You use the mime-upload
macro to transfer MIME data from the ITS to the SAP system during PAI.
The following ABAP code fragment shows how you can upload MIME data smaller than 100 KB from the ITS to the SAP system:
Syntax
data: mime_info like savwmpmime occurs 0 with header line.
data: datalen type i.
data: data_tab(500) occurs 0 with header line.
mime-info mimetab.
loop at mimetab.
if mime_info-mimeinfo_length < 10000.
mime-upload sy-tabix data_tab datalen.
endif.
endloop.