<?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: Sending smartforms by email in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122933#M109401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hernan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go to "Search Forum" to search sending smartforms by email example codes. There are a lot of good program coding and additional helpful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2006 16:06:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-23T16:06:02Z</dc:date>
    <item>
      <title>Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122932#M109400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I send smartforms by email. &lt;/P&gt;&lt;P&gt;How can I view the generate function model once It has been activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hernán Rpo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 15:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122932#M109400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T15:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122933#M109401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hernan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go to "Search Forum" to search sending smartforms by email example codes. There are a lot of good program coding and additional helpful information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 16:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122933#M109401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T16:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122934#M109402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Hernan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     formname           = 'Z_REPORT'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     fm_name            = v_form_name&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     no_form            = 1&lt;/P&gt;&lt;P&gt;     no_function_module = 2&lt;/P&gt;&lt;P&gt;     OTHERS             = 3.&lt;/P&gt;&lt;P&gt;   IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;   w_ctrlop-getotf    = 'X'.&lt;/P&gt;&lt;P&gt; w_ctrlop-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt; w_compop-tdnoprev  = 'X'.&lt;/P&gt;&lt;P&gt; w_compop-tddest    = 'Locl'.&lt;/P&gt;&lt;P&gt;   w_ctrlop-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt; w_ctrlop-device = 'PRINTER'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   CALL FUNCTION v_form_name&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     control_parameters = w_ctrlop&lt;/P&gt;&lt;P&gt;     output_options     = w_compop&lt;/P&gt;&lt;P&gt;     user_settings      = ' '&lt;/P&gt;&lt;P&gt;     l_load             = p_load&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     job_output_info    = w_return&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     i_output           = i_output&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     formatting_error   = 1&lt;/P&gt;&lt;P&gt;     internal_error     = 2&lt;/P&gt;&lt;P&gt;     send_error         = 3&lt;/P&gt;&lt;P&gt;     user_canceled      = 4&lt;/P&gt;&lt;P&gt;     OTHERS             = 5.&lt;/P&gt;&lt;P&gt;   IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;   i_otf[] = w_return-otfdata[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     format                = 'PDF'&lt;/P&gt;&lt;P&gt;     max_linewidth         = 132&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     bin_filesize          = v_len_in&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     otf                   = i_otf&lt;/P&gt;&lt;P&gt;     lines                 = i_tline&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     err_max_linewidth     = 1&lt;/P&gt;&lt;P&gt;     err_format            = 2&lt;/P&gt;&lt;P&gt;     err_conv_not_possible = 3&lt;/P&gt;&lt;P&gt;     OTHERS                = 4.&lt;/P&gt;&lt;P&gt;   IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert PDF from 132 to 255.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; LOOP AT i_tline.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Replacing space by ~&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   TRANSLATE i_tline USING ' ~'.&lt;/P&gt;&lt;P&gt;   CONCATENATE w_buffer i_tline INTO w_buffer.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Replacing ~ by space&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; TRANSLATE w_buffer USING '~ '.&lt;/P&gt;&lt;P&gt;   DO.&lt;/P&gt;&lt;P&gt;   i_record = w_buffer.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Appending 255 characters as a record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   APPEND i_record.&lt;/P&gt;&lt;P&gt;   SHIFT w_buffer LEFT BY 255 PLACES.&lt;/P&gt;&lt;P&gt;   IF w_buffer IS INITIAL.&lt;/P&gt;&lt;P&gt;     EXIT.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt; ENDDO.&lt;/P&gt;&lt;P&gt;   REFRESH: i_reclist,&lt;/P&gt;&lt;P&gt;          i_objtxt,&lt;/P&gt;&lt;P&gt;          i_objbin,&lt;/P&gt;&lt;P&gt;          i_objpack.&lt;/P&gt;&lt;P&gt; CLEAR w_objhead.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Object with PDF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objbin[] = i_record[].&lt;/P&gt;&lt;P&gt; DESCRIBE TABLE i_objbin LINES v_lines_bin.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Object with main text of the mail.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objtxt = text-002.&lt;/P&gt;&lt;P&gt; APPEND i_objtxt.&lt;/P&gt;&lt;P&gt; CLEAR i_objtxt.&lt;/P&gt;&lt;P&gt; APPEND i_objtxt.&lt;/P&gt;&lt;P&gt; i_objtxt = 'Kind regards,'.&lt;/P&gt;&lt;P&gt; APPEND i_objtxt.&lt;/P&gt;&lt;P&gt; i_objtxt = 'Client facing team'.&lt;/P&gt;&lt;P&gt; APPEND i_objtxt.&lt;/P&gt;&lt;P&gt; DESCRIBE TABLE i_objtxt LINES v_lines_txt.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Document information.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; w_doc_chng-obj_name = 'Smartform'.&lt;/P&gt;&lt;P&gt; w_doc_chng-expiry_dat = sy-datum + 10.&lt;/P&gt;&lt;P&gt; w_doc_chng-obj_descr = 'Shipment Summary Report'.&lt;/P&gt;&lt;P&gt; w_doc_chng-sensitivty = 'O'. "Standard&lt;/P&gt;&lt;P&gt; w_doc_chng-doc_size = v_lines_txt * 255.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Pack to main body as RAW.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Obj. to be transported not in binary form&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; CLEAR i_objpack-transf_bin.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start line of object header in transport packet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objpack-head_start = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Number of lines of an object header in object packet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objpack-head_num = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start line of object contents in an object packet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objpack-body_start = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Number of lines of the object contents in an object packet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objpack-body_num = v_lines_txt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Code for document class&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objpack-doc_type = 'RAW'.&lt;/P&gt;&lt;P&gt; APPEND i_objpack.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Packing as PDF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; i_objpack-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt; i_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt; i_objpack-head_num = 1.&lt;/P&gt;&lt;P&gt; i_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt; i_objpack-body_num = v_lines_bin.&lt;/P&gt;&lt;P&gt; i_objpack-doc_type = 'PDF'.&lt;/P&gt;&lt;P&gt; i_objpack-obj_name = 'Smartform'.&lt;/P&gt;&lt;P&gt; CONCATENATE 'Hazard report-' p_load '.pdf' INTO i_objpack-obj_descr.&lt;/P&gt;&lt;P&gt; i_objpack-doc_size = v_lines_bin * 255.&lt;/P&gt;&lt;P&gt; APPEND i_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   LOOP AT i_misc INTO w_misc.&lt;/P&gt;&lt;P&gt;     i_reclist-receiver = w_misc-z_value_1.&lt;/P&gt;&lt;P&gt;     i_reclist-express = 'X'.&lt;/P&gt;&lt;P&gt;     i_reclist-rec_type = 'U'. "Internet address&lt;/P&gt;&lt;P&gt;     APPEND i_reclist.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sending mail.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       document_data              = w_doc_chng&lt;/P&gt;&lt;P&gt;       put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;       commit_work                = 'X'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       packing_list               = i_objpack&lt;/P&gt;&lt;P&gt;       object_header              = w_objhead&lt;/P&gt;&lt;P&gt;       contents_bin               = i_objbin&lt;/P&gt;&lt;P&gt;       contents_txt               = i_objtxt&lt;/P&gt;&lt;P&gt;       receivers                  = i_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 &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;     MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;         titel = 'Mail sent'(003)&lt;/P&gt;&lt;P&gt;         txt1  = 'The report is sent via e-mail.'(004)&lt;/P&gt;&lt;P&gt;         txt2  = '  '.&lt;/P&gt;&lt;P&gt;     LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       titel = 'No e-mail specified'(005)&lt;/P&gt;&lt;P&gt;       txt1  = 'You need to maintain the e-mail adress in table'(006)&lt;/P&gt;&lt;P&gt;       txt2  = text-007.&lt;/P&gt;&lt;P&gt;   LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 16:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122934#M109402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T16:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122935#M109403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harikishore &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done your instructions but the smartform that Iám trying to send by email is the standar IDWTCERT_CO_01. and I'm getting errors when I modify the parameters for v_form_name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION v_form_name
  EXPORTING
    control_parameters = w_ctrlop
    output_options     = w_compop
    user_settings      = 'X'
    WTINTERFACEALL     = w_wtintercace
    WTINTERFACEFORM    = w_IDWTINTFORM
  IMPORTING
    job_output_info    = w_return
  TABLES
    WTCOMPCD           = ti_TY_IDWTCOMPCD
  EXCEPTIONS
    formatting_error   = 1
    internal_error     = 2
    send_error         = 3
    user_canceled      = 4
    OTHERS             = 5.
IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cause the generated function module of that smartforms ( /1BCDWB/SF00000001 ) the definitions es:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION /1BCDWB/SF00000001.
*"--------------------------------------------------------------------
*"*"Global Interface:
*"  IMPORTING
*"     VALUE(ARCHIVE_INDEX) TYPE  TOA_DARA OPTIONAL
*"     VALUE(ARCHIVE_INDEX_TAB) TYPE  TSFDARA OPTIONAL
*"     VALUE(ARCHIVE_PARAMETERS) TYPE  ARC_PARAMS OPTIONAL
*"     VALUE(CONTROL_PARAMETERS) TYPE  SSFCTRLOP OPTIONAL
*"     VALUE(MAIL_APPL_OBJ) TYPE  SWOTOBJID OPTIONAL
*"     VALUE(MAIL_RECIPIENT) TYPE  SWOTOBJID OPTIONAL
*"     VALUE(MAIL_SENDER) TYPE  SWOTOBJID OPTIONAL
*"     VALUE(OUTPUT_OPTIONS) TYPE  SSFCOMPOP OPTIONAL
*"     VALUE(USER_SETTINGS) TYPE  TDBOOL DEFAULT 'X'
*"     REFERENCE(WTINTERFACEALL) TYPE  IDWTINTALL
*"     REFERENCE(WTINTERFACEFORM) TYPE  IDWTINTFORM
*"  EXPORTING
*"     VALUE(DOCUMENT_OUTPUT_INFO) TYPE  SSFCRESPD
*"     VALUE(JOB_OUTPUT_INFO) TYPE  SSFCRESCL
*"     VALUE(JOB_OUTPUT_OPTIONS) TYPE  SSFCRESOP
*"  TABLES
*"      WTCOMPCD TYPE  TY_IDWTCOMPCD
*"      WTPARTNER TYPE  TY_IDWTPARTNER
*"      WTFIDOC TYPE  TY_IDWTFIDOC
...
...


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how can I could create the internal table to send as parameter in the function 'v_form_name'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hernan Restrepo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:45:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122935#M109403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122936#M109404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you know your function module then you can directly call the functional module without using SSF_* functional&lt;/P&gt;&lt;P&gt;and dont forget to uncomment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*"     VALUE(JOB_OUTPUT_INFO) TYPE  SSFCRESCL&lt;/P&gt;&lt;P&gt; in the importing of the call fucntion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 17:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122936#M109404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122937#M109405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don´t know what is your idea with uncomment this sentence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*" VALUE(JOB_OUTPUT_INFO) TYPE SSFCRESCL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can´t modify it, cause is part of the definition of the function. Remember that the error is in the table´s parameters...&lt;/P&gt;&lt;P&gt;thanks ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best &amp;amp; redards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 19:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122937#M109405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T19:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122938#M109406</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;Please check this weblog :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="/people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp Smartform via E-mail&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2006 20:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122938#M109406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-23T20:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122939#M109407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed the instructions as is shown in that link, but I am having problems with the form_name parameters and if you can try calling the standar smartform &amp;lt;b&amp;gt;IDWTCERT_CO_01&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the right parameters, just the declaration, cause I am getting problems with the parameter table WTCOMPCD TYPE  TY_IDWTCOMPCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hernan Rpo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 16:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122939#M109407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T16:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122940#M109408</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;Is there any standard O/P associated with your smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 17:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122940#M109408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T17:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122941#M109409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really I don´t know what is an standar O/P, how I coud check it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 17:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122941#M109409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T17:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122942#M109410</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;Please let me know. &lt;/P&gt;&lt;P&gt;If you are using standard O/P type then create another O/P with medium as E-mail and assign print program and smartform. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have standard O/P type and provide me your e-mail ID . I will send you the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 17:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122942#M109410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T17:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122943#M109411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lanka ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Off course... my email is: hrestrepo@isa.com.co&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hernán Restrepo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 17:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122943#M109411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T17:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122944#M109412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lanka ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My email is : hrestrepo@isa.com.co ... do you have the example code you say me last week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hernán Restrepo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 15:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122944#M109412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T15:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122945#M109413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Hernán,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already send the code to ur e-mail id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 15:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122945#M109413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T15:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122946#M109414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Murthy ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can´t prove it.. Do you have the structure of that is in your code?:&lt;/P&gt;&lt;P&gt;ZEHS_DGTEXT,&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 16:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122946#M109414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T16:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122947#M109415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Herman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK. I will remove it and Send it to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lanka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 16:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122947#M109415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T16:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sending smartforms by email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122948#M109416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hernán Restrepo C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2006 16:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sending-smartforms-by-email/m-p/1122948#M109416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-06T16:00:53Z</dc:date>
    </item>
  </channel>
</rss>

