Entering content frameBackground documentation CONVERTER Element Locate the document in its SAP Library structure

Use

You use the CONVERTER element to download a MIME object from the R/3 System (or other external system) to an application.

You always define the CONVERTER element within a MODULE element.

Description

The RFC function module, BAPI, or other module defined in the MODULE element makes the data available for download.

The CONVERTER element requires a type attribute and a list of attribute/value pairs that provide additional information for the conversion.

Example

In this example, the function module my_mime_download makes the table data available. This table contains a column called rawdata , which contains data that is converted to GIF format.

<state name="myState">
      <module name="my_mime_download" type="RFC">
         <converter type = "load"
                    input = "data-rawdata"
                    format = "GIF">
         </converter>
      </module>
</state>

Attributes of the CONVERTER element:

Attribute

Description

Required

type

Specifies the conversion type.

Yes

input

Specifies a table of data to be retrieved from R/3 (or other external system).

This attribute value may include a suffix appended after a hyphen (for example, <table>-<suffix> ).

  • If there is a suffix, the CONVERTER element traverses the specified table column.
  • If there is no suffix, the CONVERTER element traverses all table columns.

Yes

format

Specifies the MIME type of the data.

At present, the formats .ppt , .gif and .jpeg are supported.

Yes

At present, LOAD is the only conversion type supported.

Note

In future releases, the formats .xls and .doc will also be supported.

Leaving content frame