Show TOC

Background documentation'mime-upload' Macro

 

You use the mime-upload macro to transfer MIME data from the ITS to the SAP system during PAI.

Example

The following ABAP code fragment shows how you can upload MIME data smaller than 100 KB from the ITS to the SAP system:

Syntax Syntax

  1. 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.
End of the code.