<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: smart forms - Urgent in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572315#M587451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;refer this threads:&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="789362"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="573413"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 18:19:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T18:19:42Z</dc:date>
    <item>
      <title>smart forms - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572312#M587448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;How to send email in SMARTFORMS?&lt;/P&gt;&lt;P&gt;can any one tell as it is urgent requrement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;revanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 18:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572312#M587448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T18:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572313#M587449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Summury: Converting the smartfrom to PDF is process of 3 simple steps.

Calling the Smart form, then it returns the OTF data in Return. 
Converting the OTF data into required format using the Function Module CONVERT_OTF_2_PDF. 
Download the File 
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZTEST_NREDDY_PDF
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZTEST_NREDDY_PDF.

DATA: it_otf   TYPE STANDARD TABLE OF itcoo,
      it_docs  TYPE STANDARD TABLE OF docs,
      it_lines TYPE STANDARD TABLE OF tline,
      st_job_output_info      TYPE ssfcrescl,
      st_document_output_info TYPE ssfcrespd,
      st_job_output_options   TYPE ssfcresop,
      st_output_options       TYPE ssfcompop,
      st_control_parameters   TYPE ssfctrlop,
      v_len_in                TYPE so_obj_len,
      v_language              TYPE sflangu VALUE 'E',
      v_e_devtype             TYPE rspoptype,
      v_bin_filesize          TYPE i,
      v_name                  TYPE string,
      v_path                  TYPE string,
      v_fullpath              TYPE string,
      v_filter                TYPE string,
      v_uact                  TYPE i,
      v_guiobj                TYPE REF TO cl_gui_frontend_services,
      v_filename              TYPE string,
      v_fm_name               TYPE rs38l_fnam.

CONSTANTS c_formname          TYPE tdsfname VALUE 'ZTEST'.

CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
  EXPORTING
    i_language    = v_language
    i_application = 'SAPDEFAULT'
  IMPORTING
    e_devtype     = v_e_devtype.

st_output_options-tdprinter = v_e_devtype.
*st_output_options-tdprinter = 'locl'.

st_control_parameters-no_dialog = 'X'.
st_control_parameters-getotf = 'X'.

*.................GET SMARTFORM FUNCTION MODULE NAME.................*

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname           = c_formname
  IMPORTING
    fm_name            = v_fm_name
  EXCEPTIONS
    no_form            = 1
    no_function_module = 2
    OTHERS             = 3.
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

*...........................CALL SMARTFORM............................*

CALL FUNCTION v_fm_name
  EXPORTING
    control_parameters   = st_control_parameters
    output_options       = st_output_options
  IMPORTING
    document_output_info = st_document_output_info
    job_output_info      = st_job_output_info
    job_output_options   = st_job_output_options
  EXCEPTIONS
    formatting_error     = 1
    internal_error       = 2
    send_error           = 3
    user_canceled        = 4
    OTHERS               = 5.
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.

*.........................CONVERT TO OTF TO PDF.......................*

  CALL FUNCTION 'CONVERT_OTF_2_PDF'
    IMPORTING
      bin_filesize           = v_bin_filesize
    TABLES
      otf                    = st_job_output_info-otfdata
      doctab_archive         = it_docs
      lines                  = it_lines
    EXCEPTIONS
      err_conv_not_possible  = 1
      err_otf_mc_noendmarker = 2
      OTHERS                 = 3.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.

*........................GET THE FILE NAME TO STORE....................*

  CONCATENATE 'smrt' '.pdf' INTO v_name.

  CREATE OBJECT v_guiobj.
  CALL METHOD v_guiobj-&amp;gt;file_save_dialog
    EXPORTING
      default_extension = 'pdf'
      default_file_name = v_name
      file_filter       = v_filter
    CHANGING
      filename          = v_name
      path              = v_path
      fullpath          = v_fullpath
      user_action       = v_uact.

  IF v_uact = v_guiobj-&amp;gt;action_cancel.
    EXIT.
  ENDIF.

*..................................DOWNLOAD AS FILE....................*
  MOVE v_fullpath TO v_filename.

  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      bin_filesize            = v_bin_filesize
      filename                = v_filename
      filetype                = 'BIN'
    TABLES
      data_tab                = it_lines
    EXCEPTIONS
      file_write_error        = 1
      no_batch                = 2
      gui_refuse_filetransfer = 3
      invalid_type            = 4
      no_authority            = 5
      unknown_error           = 6
      header_not_allowed      = 7
      separator_not_allowed   = 8
      filesize_not_allowed    = 9
      header_too_long         = 10
      dp_error_create         = 11
      dp_error_send           = 12
      dp_error_write          = 13
      unknown_dp_error        = 14
      access_denied           = 15
      dp_out_of_memory        = 16
      disk_full               = 17
      dp_timeout              = 18
      file_not_found          = 19
      dataprovider_exception  = 20
      control_flush_error     = 21
      OTHERS                  = 22.
  IF sy-subrc &amp;lt;&amp;gt; 0.
*     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check the link below.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="467070"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 18:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572313#M587449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T18:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572314#M587450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use 'SO_NEW_DOCUMENT_SEND_API1 F.M &lt;/P&gt;&lt;P&gt;Please go through the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data declaration&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;c_u(1) VALUE 'U', "Value U&lt;/P&gt;&lt;P&gt;c_int(3) VALUE 'INT', "Value Int&lt;/P&gt;&lt;P&gt;c_saprpt(6) VALUE 'SAPRPT', "Heading&lt;/P&gt;&lt;P&gt;c_f(1) VALUE 'F', "Value F&lt;/P&gt;&lt;P&gt;c_raw(3) VALUE 'RAW'. "Doc Type&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;getting the data from TVARV&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;CONCATENATE 'CBSI_FILE_NAME' '0227' INTO l_var_name SEPARATED BY '_'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'Z_GET_TVARV_ENTRIES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_name = l_var_name&lt;/P&gt;&lt;P&gt;i_type = 'P'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_MSGTY =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;e_parameter = l_file.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;t_tvarv =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_file = l_file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sending email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------" /&gt;&lt;P&gt;PERFORM send_file_as_email_attachment&lt;/P&gt;&lt;P&gt;USING v_email&lt;/P&gt;&lt;P&gt;'SM0003 Control Total Data'&lt;/P&gt;&lt;P&gt;'SM0003 Control Total Data'&lt;/P&gt;&lt;P&gt;' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send email&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt;P_GV_EMAIL Email id&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt;P_TEXT_003 Subject&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt;P_TEXT_003 Subject&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;--&amp;gt;P_6200 text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM send_file_as_email_attachment&lt;/P&gt;&lt;P&gt;USING p_email TYPE somlreci1-receiver&lt;/P&gt;&lt;P&gt;p_mtitle TYPE sodocchgi1-obj_descr&lt;/P&gt;&lt;P&gt;p_filename TYPE so_obj_des&lt;/P&gt;&lt;P&gt;p_attdescription TYPE so_obj_nam.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*Local varibales&lt;/P&gt;&lt;P&gt;DATA: lv_mtitle TYPE sodocchgi1-obj_descr,&lt;/P&gt;&lt;P&gt;lv_email TYPE somlreci1-receiver,&lt;/P&gt;&lt;P&gt;lv_attdescription TYPE so_obj_nam ,&lt;/P&gt;&lt;P&gt;lv_attfilename TYPE so_obj_des ,&lt;/P&gt;&lt;P&gt;lv_sent_all TYPE sonv-flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*move values&lt;/P&gt;&lt;P&gt;it_attach[] = it_output[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_sent_all = c_x.&lt;/P&gt;&lt;P&gt;lv_email = p_email.&lt;/P&gt;&lt;P&gt;lv_mtitle = p_mtitle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_attdescription = p_attdescription.&lt;/P&gt;&lt;P&gt;lv_attfilename = p_filename.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it_docchange-doc_size = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate the subject/generic message attributes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it_docchange-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;it_docchange-obj_name = c_saprpt.&lt;/P&gt;&lt;P&gt;it_docchange-obj_descr = lv_mtitle .&lt;/P&gt;&lt;P&gt;it_docchange-sensitivty = c_f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data and get size of attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_attach&lt;/P&gt;&lt;P&gt;INDEX v_chr_entries&lt;/P&gt;&lt;P&gt;TRANSPORTING NO FIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_docchange-doc_size =&lt;/P&gt;&lt;P&gt;( v_chr_entries - 1 ) * 255 + STRLEN( it_attach ).&lt;/P&gt;&lt;P&gt;it_docchange-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;it_docchange-obj_name = c_saprpt.&lt;/P&gt;&lt;P&gt;it_docchange-obj_descr = lv_mtitle.&lt;/P&gt;&lt;P&gt;it_docchange-sensitivty = c_f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Describe the body of the message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CLEAR wa_objpack.&lt;/P&gt;&lt;P&gt;REFRESH it_objpack.&lt;/P&gt;&lt;P&gt;wa_objpack-transf_bin = space.&lt;/P&gt;&lt;P&gt;wa_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;wa_objpack-head_num = 0.&lt;/P&gt;&lt;P&gt;wa_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_message LINES v_objpackbody.&lt;/P&gt;&lt;P&gt;wa_objpack-doc_type = c_raw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND wa_objpack&lt;/P&gt;&lt;P&gt;TO it_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create attachment notification&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;wa_objpack-transf_bin = c_x.&lt;/P&gt;&lt;P&gt;wa_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;wa_objpack-head_num = 1.&lt;/P&gt;&lt;P&gt;wa_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_attach LINES v_objpackbody.&lt;/P&gt;&lt;P&gt;wa_objpack-obj_descr = lv_attdescription.&lt;/P&gt;&lt;P&gt;wa_objpack-obj_name = lv_attfilename.&lt;/P&gt;&lt;P&gt;wa_objpack-doc_size = wa_objpack-body_num * 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND wa_objpack&lt;/P&gt;&lt;P&gt;TO it_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Add the recipients email address&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;REFRESH it_reclist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_mailid .&lt;/P&gt;&lt;P&gt;wa_reclist-receiver = it_mailid-low.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;wa_reclist-receiver = 'kishor.thakur@ge.com'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;wa_reclist-rec_type = c_u.&lt;/P&gt;&lt;P&gt;wa_reclist-com_type = c_int.&lt;/P&gt;&lt;P&gt;wa_reclist-notif_del = c_x.&lt;/P&gt;&lt;P&gt;wa_reclist-notif_ndel = c_x.&lt;/P&gt;&lt;P&gt;APPEND wa_reclist&lt;/P&gt;&lt;P&gt;TO it_reclist.&lt;/P&gt;&lt;P&gt;CLEAR wa_reclist.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;IF 1 = 2.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;document_data = it_docchange&lt;/P&gt;&lt;P&gt;document_type = c_raw&lt;/P&gt;&lt;P&gt;put_in_outbox = c_x&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;commit_work = c_x&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;sent_to_all = lv_sent_all&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;object_content = it_attach&lt;/P&gt;&lt;P&gt;receivers = it_reclist&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;too_many_receivers = 1&lt;/P&gt;&lt;P&gt;document_not_sent = 2&lt;/P&gt;&lt;P&gt;document_type_not_exist = 3&lt;/P&gt;&lt;P&gt;operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;parameter_error = 5&lt;/P&gt;&lt;P&gt;x_error = 6&lt;/P&gt;&lt;P&gt;enqueue_error = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE e114 ."Unable to send An Email with Session Log.&lt;/P&gt;&lt;P&gt;ENDIF. "IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "send_file_as_email_attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 18:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572314#M587450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms - Urgent</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572315#M587451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;refer this threads:&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="789362"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="573413"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 18:19:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms-urgent/m-p/2572315#M587451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T18:19:42Z</dc:date>
    </item>
  </channel>
</rss>

