<?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: Function module output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-output/m-p/3764998#M905844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may need to re-state the question a bit as it is not clear - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I am displaying output in function module using 8 tables.&lt;/EM&gt;  -&amp;gt; Are you displaying the data onto a screen or a list or just returning the results in the FM parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But here i am writing code using for all entries.&lt;/EM&gt;  -&amp;gt; Why does this have an impact on the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But the problem is what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields.&lt;/EM&gt;  The fields you include in your select do not have to appear in any output e.g. you could select all and display one&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from t001.
  write: / t001-bukrs. "output one field from many...
endselect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here is there any possibility to write WRITE statement?&lt;/EM&gt; You can have "write" statements in a function module but you need a screen "canvas" to display them on, so how / whether you see them will depend on where the code is invoked from and what's in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2008 02:05:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-05T02:05:29Z</dc:date>
    <item>
      <title>Function module output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-output/m-p/3764997#M905843</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;  I am displaying output in function module using 8 tables. But here i am writing code using for all entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  But the problem is  what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields.&lt;/P&gt;&lt;P&gt;  Here is there any possibility to write WRITE statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-output/m-p/3764997#M905843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function module output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-output/m-p/3764998#M905844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may need to re-state the question a bit as it is not clear - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I am displaying output in function module using 8 tables.&lt;/EM&gt;  -&amp;gt; Are you displaying the data onto a screen or a list or just returning the results in the FM parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But here i am writing code using for all entries.&lt;/EM&gt;  -&amp;gt; Why does this have an impact on the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;But the problem is what are the fields specify in the select query those fields are displaying in the output. But i want only particular fields.&lt;/EM&gt;  The fields you include in your select do not have to appear in any output e.g. you could select all and display one&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from t001.
  write: / t001-bukrs. "output one field from many...
endselect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here is there any possibility to write WRITE statement?&lt;/EM&gt; You can have "write" statements in a function module but you need a screen "canvas" to display them on, so how / whether you see them will depend on where the code is invoked from and what's in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 02:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-output/m-p/3764998#M905844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-05T02:05:29Z</dc:date>
    </item>
  </channel>
</rss>

