<?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 how to write print program and send data to smart form? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971919#M948735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please provide example for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2008 15:33:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-23T15:33:59Z</dc:date>
    <item>
      <title>how to write print program and send data to smart form?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971919#M948735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please provide example for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 15:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971919#M948735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T15:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to write print program and send data to smart form?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971920#M948736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calling SMARTFORMS from your ABAP program. Collecting all the table data in your program, and pass once to SMARTFORMS &lt;/P&gt;&lt;P&gt;Declare your table type in :- &lt;/P&gt;&lt;P&gt;u2022	Global Settings -&amp;gt; Form Interface &lt;/P&gt;&lt;P&gt;u2022	Global Definintions -&amp;gt; Global Data &lt;/P&gt;&lt;P&gt;u2022	Main Window -&amp;gt; Table -&amp;gt; DATA&lt;/P&gt;&lt;P&gt;REPORT ZSMARTFORM. &lt;/P&gt;&lt;P&gt;TABLES: MKPF. &lt;/P&gt;&lt;P&gt;DATA: FM_NAME TYPE RS38L_FNAM. &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF INT_MKPF OCCURS 0. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE MKPF. &lt;/P&gt;&lt;P&gt;DATA: END OF INT_MKPF. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001. &lt;/P&gt;&lt;P&gt;SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR. &lt;/P&gt;&lt;P&gt;   MOVE-CORRESPONDING MKPF TO INT_MKPF. &lt;/P&gt;&lt;P&gt;   APPEND INT_MKPF. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;At the end of your program. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Passing data to SMARTFORMS &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                 = 'ZSMARTFORM' &lt;/P&gt;&lt;P&gt;  IMPORTING &lt;/P&gt;&lt;P&gt;    FM_NAME                  = FM_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;   WRITE: / 'ERROR 1'. &lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;call function FM_NAME &lt;/P&gt;&lt;P&gt;  TABLES &lt;/P&gt;&lt;P&gt;    GS_MKPF                    = INT_MKPF &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 15:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971920#M948736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to write print program and send data to smart form?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971921#M948737</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;go through this link :&lt;/P&gt;&lt;P&gt;you will find step-by-step procedure to create smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/Smartforms/SFMain.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/Smartforms/SFMain.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 15:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971921#M948737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T15:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to write print program and send data to smart form?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971922#M948738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below function module to know the name of the function module generated by Smart form.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Determine smartform function module for purchase document&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            = lf_fm_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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; error handling&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now call the obtained function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION lf_fm_name&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      = ' '  "Disable User Printer&lt;/P&gt;&lt;P&gt;*interface designed in your smartform&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Interface designed in smartform&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the include /SMB40/FM06PE02 and sunroutine PROCESSING_PO. The above include is part of the print program of Purchase order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******Reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bobbala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 15:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971922#M948738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T15:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to write print program and send data to smart form?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971923#M948739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have a look on the following link, this contains screen shots of each and every step&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/Smartforms/SFMain.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/Smartforms/SFMain.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2008 15:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-print-program-and-send-data-to-smart-form/m-p/3971923#M948739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-23T15:51:50Z</dc:date>
    </item>
  </channel>
</rss>

