merge_one 

Use this method to import a data record into the mail merge template. The index parameter identifies the data record, which you must already have sent to the frontend using the set_data_source method.

CALL METHOD mail_merge->merge_one
       EXPORTING index      = index
                 no_flush   = no_flush
       IMPORTING retcode    = retcode
                 error      = error.

Description of parameters

Parameter

Optional

Description

index

 

Index of the data record.