Entering content frameSyntax documentationget_fields Locate the document in its SAP Library structure

This method returns a list of all of the fields that you can address using the mail merge interface.

CALL METHOD mail_merge->get_fields
       EXPORTING no_flush   = no_flush
       IMPORTING descr_list = descr_list
                 retcode    = retcode
                 error      = error.

Description of parameters

Parameter

Optional

Description

descr_list

 

Table, containing the fields from the mail merge document.

Create the table with reference to the type SOI_FIELDS_NAME_TABLE .

 

Leaving content frame