how to send the form to mail?

Answer Posted / anu

To send forms as e-mails using SAP Smart Forms, you have to fill the e-mail parameters of the generated function module.
The parameters
MAIL_SENDER and MAIL_RECIPIENT to pass the sender and the recipient of the document. To fill these parameters, you have to create the respective BOR objects of object type RECIPIENT and fill their attributes.
The parameter
MAIL_APPL_OBJ, which you use to link the application object with the sent document. You have to create a BOR object for this parameter too.
To ensure that SAP Smart Forms evaluates the e-mail parameters, you have to set the
DEVICE parameter of the control structure to 'MAIL'.

Additional Features with DEVICE='MAIL'
Even though the parameters
MAIL_SENDER, MAIL_RECIPIENT, and MAIL_APPL_OBJ are primarily designed for sending e-mails, they also provide a general connection to the BCI. This means that you can use these parameters to address all the communication methods that the BCI supports.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the events in screen programming?

624


Control Break statements- At new...endat.

902


What is the use of the raising exception? : abap modularization

517


Hat are the different types of mode (run code) in call transaction method?

573


Does every abap/4 have a modular structure?

559






What are the data types of the external layer? : abap data dictionary

798


where are the passwords for ITS stores?

1620


Work most on which module: name a few tables?

598


When you prefer lsmw?

590


What is the use of 'table index'?

632


What is the function of the correction system?

574


How can you display frames (horizontal and vertical lines) in lists?

618


The max number of calling modes stacked at one time is?

591


What are the function of the transport system and workbench organiser? : abap data dictionary

560


Name the abap/4 modularization techniques?

650