<?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 basic ex of smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858642#M1136088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt; please tell me i want to create smartform which can fetch data from its print program,please provide me examples. I have taken 1 ex from saptechnical.com for invoice printing in smartforms.&lt;/P&gt;&lt;P&gt;But there is one problem in form interface. in that in import parameter they hv defined IM_T_VBRK     asy_ty_vbrk.this is table type. i have to define my table type. how to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2008 12:32:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-26T12:32:26Z</dc:date>
    <item>
      <title>basic ex of smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858642#M1136088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt; please tell me i want to create smartform which can fetch data from its print program,please provide me examples. I have taken 1 ex from saptechnical.com for invoice printing in smartforms.&lt;/P&gt;&lt;P&gt;But there is one problem in form interface. in that in import parameter they hv defined IM_T_VBRK     asy_ty_vbrk.this is table type. i have to define my table type. how to do that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858642#M1136088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T12:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: basic ex of smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858643#M1136089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SF_XSF_DEMO1&lt;/P&gt;&lt;P&gt;SPPFDEMO_BOOK&lt;/P&gt;&lt;P&gt;SPPFDEMO_BOOK_END&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 12:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858643#M1136089</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2008-11-26T12:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: basic ex of smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858644#M1136090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this code will help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ls_delivery_key TYPE  leshp_delivery_key,&lt;/P&gt;&lt;P&gt;        is_print_data_to_read TYPE ledlv_print_data_to_read.&lt;/P&gt;&lt;P&gt;  DATA: ls_control_param      TYPE ssfctrlop.&lt;/P&gt;&lt;P&gt;  DATA: ls_composer_param     TYPE ssfcompop.&lt;/P&gt;&lt;P&gt;  DATA: ls_recipient          TYPE swotobjid.&lt;/P&gt;&lt;P&gt;  DATA: lf_formname           TYPE tdsfname.&lt;/P&gt;&lt;P&gt;  DATA: ls_sender             TYPE swotobjid.&lt;/P&gt;&lt;P&gt;  DATA: ls_addr_key           LIKE addr_key.&lt;/P&gt;&lt;P&gt;  DATA: document_output_info TYPE  ssfcrespd,&lt;/P&gt;&lt;P&gt;        job_output_info TYPE ssfcrescl,&lt;/P&gt;&lt;P&gt;        job_output_options TYPE ssfcresop.&lt;/P&gt;&lt;P&gt;  CONSTANTS: lc_5 TYPE char1 VALUE '5',&lt;/P&gt;&lt;P&gt;             lc_2 TYPE char1 VALUE '2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM set_print_param     USING      addr_key&lt;/P&gt;&lt;P&gt;                              CHANGING ls_control_param&lt;/P&gt;&lt;P&gt;                                       ls_composer_param&lt;/P&gt;&lt;P&gt;                                       ls_recipient&lt;/P&gt;&lt;P&gt;                                       ls_sender&lt;/P&gt;&lt;P&gt;                                       retcode.&lt;/P&gt;&lt;P&gt;  IF nast-nacha = lc_5 OR nast-nacha = lc_2.&lt;/P&gt;&lt;P&gt;    IF ls_control_param-getotf IS INITIAL.&lt;/P&gt;&lt;P&gt;      ls_control_param-getotf = gc_x.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*Get the Smart Form name.&lt;/P&gt;&lt;P&gt;  IF NOT tnapr-sform IS INITIAL.&lt;/P&gt;&lt;P&gt;    lf_formname = tnapr-sform.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE e000(zsd) WITH text-001.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CLEAR nast.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      formname           = lf_formname&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      fm_name            = gv_form&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 = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION gv_form&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        archive_index        = toa_dara&lt;/P&gt;&lt;P&gt;        archive_parameters   = arc_params&lt;/P&gt;&lt;P&gt;        control_parameters   = ls_control_param&lt;/P&gt;&lt;P&gt;        mail_recipient       = ls_recipient&lt;/P&gt;&lt;P&gt;        mail_sender          = ls_sender&lt;/P&gt;&lt;P&gt;        output_options       = ls_composer_param&lt;/P&gt;&lt;P&gt;        user_settings        = ' '&lt;/P&gt;&lt;P&gt;        is_nast              = nast&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        document_output_info = document_output_info&lt;/P&gt;&lt;P&gt;        job_output_info      = job_output_info&lt;/P&gt;&lt;P&gt;        job_output_options   = job_output_options&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        gi_mseg              = gi_mseg&lt;/P&gt;&lt;P&gt;        gi_makt              = gi_makt&lt;/P&gt;&lt;P&gt;        gi_t001w             = gi_t001w&lt;/P&gt;&lt;P&gt;        gi_rkwa              = gi_rkwa&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 13:00:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-ex-of-smartforms/m-p/4858644#M1136090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T13:00:01Z</dc:date>
    </item>
  </channel>
</rss>

