<?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: Using internal table data in smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698163#M2018145</link>
    <description>&lt;UL&gt;&lt;LI&gt;Look at the SAP provided samples (program name starting with SF_) or &lt;A href="https://community.sap.com/search/?ct=all&amp;amp;q=smartforms%20sap%20samples"&gt;community's ones&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Search &lt;A href="https://help.sap.com/docs/search?q=%22Smart%20Forms%22%20tutorial"&gt;online help&lt;/A&gt; and &lt;A href="https://community.sap.com/search/?ct=blog&amp;amp;q=smartforms%20tutorial"&gt;forum&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 16 Jan 2023 12:36:37 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2023-01-16T12:36:37Z</dc:date>
    <item>
      <title>Using internal table data in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698158#M2018140</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;I am extracting data from excel in internal table, now i wanted to use that internal table and display the data in smartform. If anyone can provide me with some document related to this or tell me how should I approach with this requirement. Some help would be fine.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Farhan&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698158#M2018140</guid>
      <dc:creator>far_sid210333</dc:creator>
      <dc:date>2023-01-16T11:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using internal table data in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698159#M2018141</link>
      <description>&lt;P&gt;You can use internal table data in a Smartform by creating a table node in the Smartform layout and then binding the internal table data to the table node. Here is an overview of the steps you need to follow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new Smartform and define the layout for the form.&lt;/LI&gt;&lt;LI&gt;In the layout, create a new table node and define the structure of the table, including the number of columns and the data types of each column.&lt;/LI&gt;&lt;LI&gt;In the ABAP program that calls the Smartform, fill the internal table with the data that you want to display in the Smartform.&lt;/LI&gt;&lt;LI&gt;Use the FILL_TABLE method of the Smartform to bind the internal table data to the table node in the Smartform.&lt;/LI&gt;&lt;LI&gt;Use the CALL_FORM method of the Smartform to call the Smartform and display the data in the table node.&lt;/LI&gt;&lt;LI&gt;Here is an example of how to use internal table data in a Smartform:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;&lt;CODE&gt;* Declare internal table&lt;BR /&gt;DATA: it_data TYPE TABLE OF ztable.
&lt;BR /&gt;* Fill internal table with data&lt;BR /&gt;SELECT * FROM ztable INTO TABLE it_data.
&lt;BR /&gt;* Bind internal table to Smartform table node&lt;BR /&gt;CALL FUNCTION 'FILL_TABLE'&lt;BR /&gt;    EXPORTING&lt;BR /&gt;        formname = 'MY_SMARTFORM'&lt;BR /&gt;        tablename = 'MY_TABLE'&lt;BR /&gt;        it_fields = it_data.
&lt;BR /&gt;* Call the Smartform&lt;BR /&gt;CALL FUNCTION 'CALL_FORM'&lt;BR /&gt;    EXPORTING&lt;BR /&gt;        formname = 'MY_SMARTFORM'&lt;BR /&gt;        output_options = 'X'&lt;BR /&gt;    EXCEPTIONS&lt;BR /&gt;        form_not_found = 1&lt;BR /&gt;        OTHERS = 2.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Jan 2023 11:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698159#M2018141</guid>
      <dc:creator>dominik_jacobs</dc:creator>
      <dc:date>2023-01-16T11:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using internal table data in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698160#M2018142</link>
      <description>&lt;P&gt;FILL_TABLE and CALL_FORM are not recommended and supported as far as I know. This is the classic way:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a structure in the DDIC which corresponds to the internal table&lt;/LI&gt;&lt;LI&gt;Define the internal table as parameter of the Smart Form (in the "Interface" block)&lt;/LI&gt;&lt;LI&gt;Define a LOOP or TABLE node in your Smart Form to output its contents&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This below code is taken from the demo program SF_EXAMPLE_01, see the BOOKINGS and CONNECTIONS internal tables defined as parameters:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
  EXPORTING
    formname           = p_form
  IMPORTING
    fm_name            = l_fm_name
  EXCEPTIONS
    no_form            = 1
    no_function_module = 2
    OTHERS             = 3.

ls_output_options-tdcopies = 0.
CALL FUNCTION l_fm_name
  EXPORTING
    control_parameters   = ls_control_parameters
    output_options       = ls_output_options
    user_settings        = space
    customer             = customer
    bookings             = bookings             "&amp;lt;========================= 
    connections          = connections          "&amp;lt;=========================&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Jan 2023 12:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698160#M2018142</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-01-16T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using internal table data in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698161#M2018143</link>
      <description>&lt;P&gt;I am not uploading that data into a standard table i have to use the data in internal table only.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 12:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698161#M2018143</guid>
      <dc:creator>far_sid210333</dc:creator>
      <dc:date>2023-01-16T12:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using internal table data in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698162#M2018144</link>
      <description>&lt;P&gt;ok thanks, I'll see the program once.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 12:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698162#M2018144</guid>
      <dc:creator>far_sid210333</dc:creator>
      <dc:date>2023-01-16T12:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using internal table data in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698163#M2018145</link>
      <description>&lt;UL&gt;&lt;LI&gt;Look at the SAP provided samples (program name starting with SF_) or &lt;A href="https://community.sap.com/search/?ct=all&amp;amp;q=smartforms%20sap%20samples"&gt;community's ones&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Search &lt;A href="https://help.sap.com/docs/search?q=%22Smart%20Forms%22%20tutorial"&gt;online help&lt;/A&gt; and &lt;A href="https://community.sap.com/search/?ct=blog&amp;amp;q=smartforms%20tutorial"&gt;forum&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 16 Jan 2023 12:36:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-internal-table-data-in-smartform/m-p/12698163#M2018145</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-01-16T12:36:37Z</dc:date>
    </item>
  </channel>
</rss>

