Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Form by email

MariaJoãoRocha
Contributor
0 Kudos

Hi SDN,

According to the help:

http://help.sap.com/saphelp_crm40sr1/helpdata/en/2b/468ca63fa611d5b6a1006094192fe3/frameset.htm

"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 "

My problem is how can i make the conection to the BCI? On the generated function appears the folowing:

*----

-


is_mail_appl_obj -

-


  • fill this parameter if your application object is a BOR object

  • the output will be connected with the BOR object via SAP Office

  • this is done for mail and fax but not for print outputs

  • ------>

  • is_mail_appl_obj-LOGSYS =

  • is_mail_appl_obj-OBJTYPE =

  • is_mail_appl_obj-OBJKEY =

  • is_mail_appl_obj-DESCRIBE =

  • ------>

How do i create the container?

Can you help me?

Thanks in advance

Maria João Rocha

1 ACCEPTED SOLUTION

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Chk. this.

4 REPLIES 4

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Chk. this.

MariaJoãoRocha
Contributor
0 Kudos

Hi,

Thanks, I saw this example, but I don't know how can i create the container:

swc_clear_container container.

swc_call_method message 'EditRecipientList' container.

using the is_mail_appl_obj !!!

Can you help me on this?

Maria João Rocha

MariaJoãoRocha
Contributor
0 Kudos

Hi,

I found the solution myself.

I've changed the paramter get OTF of the smart form function, then I call the FM CONVERT_OTF, change the format from 132 to 244 characters.

Then call a ZFM that uses the macro instructions for BOR

(message) and it works fine.

Maria João Rocha

0 Kudos

Hi,

Try this following link.

This is also very useful.I tried and got the solution.

Regards,

J.Jayanthi