<?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 smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539482#M576845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, friends i am working in smartforms   have a doubt  how to extract the data from more than two tables and how to pass these data to form .In this case i don't have any idea how to maitain the logic in the smartform itself can any one help me and if possible send me the code please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 09:39:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T09:39:37Z</dc:date>
    <item>
      <title>smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539482#M576845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, friends i am working in smartforms   have a doubt  how to extract the data from more than two tables and how to pass these data to form .In this case i don't have any idea how to maitain the logic in the smartform itself can any one help me and if possible send me the code please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539482#M576845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539483#M576846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Create one global stucture in SE11.&lt;/P&gt;&lt;P&gt;2. Create Driver program and fire select queries and collect data into itab of type your defined structure.&lt;/P&gt;&lt;P&gt;3. Create Smartform, define global table of type your structure, make one table type of this structure.&lt;/P&gt;&lt;P&gt;4. Take main window, defin one work area and then pass itab and wa to it.&lt;/P&gt;&lt;P&gt;5. Take one text window to print it.&lt;/P&gt;&lt;P&gt;6. Activate smartform, gererate FM, you can see it through Environment.&lt;/P&gt;&lt;P&gt;7. Come to Driver program, from pattern call this FM and pass itab collected data.&lt;/P&gt;&lt;P&gt;8. Run Driver Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539483#M576846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539484#M576847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See the doc&lt;/P&gt;&lt;P&gt;How to create a New smartfrom, it is having step by step procedure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id67.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id67.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step by step good ex link is....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html" target="test_blank"&gt;http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new smartforms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transaction code SMARTFORMS &lt;/P&gt;&lt;P&gt;Create new smartforms call ZSMART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Define looping process for internal table &lt;/P&gt;&lt;P&gt;Pages and windows &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Page -&amp;gt; Header Window (Cursor at First Page then click Edit -&amp;gt; Node -&amp;gt; Create) &lt;/P&gt;&lt;P&gt;Here, you can specify your title and page numbering &lt;/P&gt;&lt;P&gt;&amp;amp;SFSY-PAGE&amp;amp; (Page 1) of &amp;amp;SFSY-FORMPAGES(Z4.0)&amp;amp; (Total Page) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main windows -&amp;gt; TABLE -&amp;gt; DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Loop section, tick Internal table and fill in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Define table in smartforms &lt;/P&gt;&lt;P&gt;Global settings : &lt;/P&gt;&lt;P&gt;Form interface &lt;/P&gt;&lt;P&gt;Variable name Type assignment Reference type &lt;/P&gt;&lt;P&gt;ITAB1 TYPE Table Structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global definitions &lt;/P&gt;&lt;P&gt;Variable name Type assignment Reference type &lt;/P&gt;&lt;P&gt;ITAB2 TYPE Table Structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. To display the data in the form &lt;/P&gt;&lt;P&gt;Make used of the Table Painter and declare the Line Type in Tabstrips Table &lt;/P&gt;&lt;P&gt;e.g. HD_GEN for printing header details, &lt;/P&gt;&lt;P&gt;IT_GEN for printing data details. &lt;/P&gt;&lt;P&gt;You have to specify the Line Type in your Text elements in the Tabstrips Output options. &lt;/P&gt;&lt;P&gt;Tick the New Line and specify the Line Type for outputting the data. &lt;/P&gt;&lt;P&gt;Declare your output fields in Text elements &lt;/P&gt;&lt;P&gt;Tabstrips - Output Options &lt;/P&gt;&lt;P&gt;For different fonts use this Style : IDWTCERTSTYLE &lt;/P&gt;&lt;P&gt;For Quantity or Amout you can used this variable &amp;amp;GS_ITAB-AMOUNT(12.2)&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Calling SMARTFORMS from your ABAP program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSMARTFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Calling SMARTFORMS from your ABAP program. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Collecting all the table data in your program, and pass once to SMARTFORMS &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SMARTFORMS &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declare your table type in :- &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global Settings -&amp;gt; Form Interface &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Global Definintions -&amp;gt; Global Data &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Main Window -&amp;gt; Table -&amp;gt; DATA &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&lt;A href="http://sapr3.tripod.com" target="test_blank"&gt;http://sapr3.tripod.com&lt;/A&gt; &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: MKPF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: FM_NAME TYPE RS38L_FNAM. &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001. &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;&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;&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 = 'ZSMARTFORM' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VARIANT = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DIRECT_CALL = ' ' &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &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;call function FM_NAME &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_INDEX_TAB = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ARCHIVE_PARAMETERS = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CONTROL_PARAMETERS = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_APPL_OBJ = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_RECIPIENT = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MAIL_SENDER = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OUTPUT_OPTIONS = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USER_SETTINGS = 'X' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DOCUMENT_OUTPUT_INFO = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_INFO = &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JOB_OUTPUT_OPTIONS = &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&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;P&gt;for Smartforms material&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapsf001.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapsf001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-press.com/downloads/h955_preview.pdf" target="test_blank"&gt;http://www.sap-press.com/downloads/h955_preview.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ossincorp.com/Black_Box/Black_Box_2.htm" target="test_blank"&gt;http://www.ossincorp.com/Black_Box/Black_Box_2.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/sap-smart-forms.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/sap-smart-forms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartform-tutorial.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartform-tutorial.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/smartforms.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/smartforms.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to trace smartform&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF" target="test_blank"&gt;http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smart-006.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smart-006.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1234083"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check most imp link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html" target="test_blank"&gt;http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;step by step good ex link is....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&amp;lt;/b&amp;gt;" target="test_blank"&gt;http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html&amp;lt;/b&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subtotals - Check the link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2919744"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create PROGRAM LINES in the smartform and write your code and use it&lt;/P&gt;&lt;P&gt;by declaring the data fields in global declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539484#M576847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539485#M576848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; You can extract data in an internal table in the driver program or the print program and then pass it to the smartform &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539485#M576848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539486#M576849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you my friend anji ,you gave a lot of inforrmation  it is so useful to me once again thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards ,&lt;/P&gt;&lt;P&gt;sasi kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2007 10:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539486#M576849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-27T10:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539487#M576850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,friend thanks for yor kind information pleasse help in this situation i am sending you the tables and fields can you just go through it ,if possible give me the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables AND FIELDS:&lt;/P&gt;&lt;P&gt;THIS IS FOR INFO WINDOW:&lt;/P&gt;&lt;P&gt;VBRK-VBELN,&lt;/P&gt;&lt;P&gt;VBRK-STCEG,&lt;/P&gt;&lt;P&gt;VBRP-VGBEL,&lt;/P&gt;&lt;P&gt;VBPA-PARNR,&lt;/P&gt;&lt;P&gt;LIKP-VBELN,&lt;/P&gt;&lt;P&gt;KNKK-SBGRP,&lt;/P&gt;&lt;P&gt;KNA1-KUNNR,&lt;/P&gt;&lt;P&gt;KNA1-NAME1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS IS FOR MAIN WINDOW:&lt;/P&gt;&lt;P&gt;VBPA-POSNR,&lt;/P&gt;&lt;P&gt;MARA-MFRPN,&lt;/P&gt;&lt;P&gt;MAKT-MAKTX,&lt;/P&gt;&lt;P&gt;MARA-EANNR,&lt;/P&gt;&lt;P&gt;MARA-MATNR,&lt;/P&gt;&lt;P&gt;MARC-STWAN,&lt;/P&gt;&lt;P&gt;VBRP-FKIMG,&lt;/P&gt;&lt;P&gt;MARC-HERKL,&lt;/P&gt;&lt;P&gt;VBAP-NETPR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 05:06:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539487#M576850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T05:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539488#M576851</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;Internal Table in Smartform &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample program in which used two internal tables: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YPRINTPRG_SMARTFORM1 . &lt;/P&gt;&lt;P&gt;DATA : ITKNA1 LIKE KNA1, &lt;/P&gt;&lt;P&gt;             ITVBAK LIKE VBAK OCCURS 0 WITH HEADER LINE. &lt;/P&gt;&lt;P&gt;PARAMETERS : PKUNNR LIKE KNA1-KUNNR. &lt;/P&gt;&lt;P&gt;SELECT * FROM KNA1 INTO ITKNA1 &lt;/P&gt;&lt;P&gt;   WHERE KUNNR = PKUNNR. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;SELECT * FROM VBAK &lt;/P&gt;&lt;P&gt;    INTO TABLE ITVBAK &lt;/P&gt;&lt;P&gt;   WHERE KUNNR = PKUNNR. &lt;/P&gt;&lt;P&gt;CALL FUNCTION '/1BCDWB/SF00000011'&lt;/P&gt;&lt;P&gt;  EXPORTING &lt;/P&gt;&lt;P&gt;  ITKNA1                     = ITKNA1 &lt;/P&gt;&lt;P&gt;  TABLES &lt;/P&gt;&lt;P&gt;      ITVBAK                = ITVBAK. &lt;/P&gt;&lt;P&gt;IN SMART FORM  &lt;/P&gt;&lt;P&gt;FORM INERFACE----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;IMPORT (TAB)  &lt;/P&gt;&lt;P&gt;  Parameter name      Type assignment    Reference type      Default value  &lt;/P&gt;&lt;P&gt;  ITKNA1                     LIKE                      KNA1 &lt;/P&gt;&lt;P&gt;FORM INERFACE----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;TABLES (TAB) &lt;/P&gt;&lt;P&gt;  ITVBAK                     LIKE                       VBAK &lt;/P&gt;&lt;P&gt;PAGES &amp;amp; WINDOWS--&lt;DEL&gt;- MAIN WINDOW&lt;/DEL&gt;&lt;DEL&gt;-LOOP 1&lt;/DEL&gt;--DATA(TAB) &lt;/P&gt;&lt;P&gt;  ITVBAK         INTO               ITVBAK &lt;/P&gt;&lt;P&gt;PAGES &amp;amp; WINDOWS----&lt;DEL&gt;-MAIN WINDOW&lt;/DEL&gt;--&lt;DEL&gt;LOOP 1&lt;/DEL&gt;---TEXT 3(EDITOR)  &lt;/P&gt;&lt;P&gt;  &amp;amp;ITVBAK-VBELN&amp;amp;   &amp;amp;ITVBAK-ERDAT&amp;amp;  &amp;amp;ITVBAK-ERNAM&amp;amp;  &amp;amp;ITVBAK-NETWR&amp;amp; &lt;/P&gt;&lt;P&gt;PAGES &amp;amp; WINDOWS----&lt;DEL&gt;-HEADER WINDOW&lt;/DEL&gt;---TEXT 2(EDITOR) &lt;/P&gt;&lt;P&gt;  Customer No. &amp;amp;itkna1-kunnr&amp;amp;        CustomerName :&amp;amp;itkna1-name1&amp;amp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this may be useful &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r else u use the structure it is better than internal table.&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;Divya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 05:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539488#M576851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T05:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539489#M576852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasikumar,&lt;/P&gt;&lt;P&gt;when a smart from is created a function module is generated whose name appears at the end of creating a smart from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the following link should help you create a smart from&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/smartforms/smartform-tutorial.htm" target="test_blank"&gt;http://www.sap-img.com/smartforms/smartform-tutorial.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the driver program which is te abap program &lt;/P&gt;&lt;P&gt;u can call this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while creating the smartforms there are tabs where u define the importing and exporting parameters where u declare the tables that u want to to import into the smart forms.&lt;/P&gt;&lt;P&gt;so when calling the smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call 'zsmartform'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;i_tab = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this table can now be used globally in the smart form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Aparna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 05:34:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2539489#M576852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-31T05:34:58Z</dc:date>
    </item>
  </channel>
</rss>

