<?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: table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268806#M781316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi evonne..&lt;/P&gt;&lt;P&gt;i would try to give u an outline..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume ur screen has table name field- TABNAME&lt;/P&gt;&lt;P&gt;                                    and a table control- TC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let the internal table of TC be it_data with field FIELDNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the internal table would be as ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of it_data occurs 0,&lt;/P&gt;&lt;P&gt;  fieldname like dd03l-fieldname,&lt;/P&gt;&lt;P&gt;end of it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; the flow logic for the screen (say 1000) would be as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE STATUS_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop with control 1000_tc.&lt;/P&gt;&lt;P&gt;    MODULE SHOW_TABLINE_TC.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE EXIT at exit-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD TABNAME&lt;/P&gt;&lt;P&gt;  MODULE GET_FIELD on request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop with control TC.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the PBO modules would be as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_1000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000 OUTPUT.&lt;/P&gt;&lt;P&gt;set titlebar 'T1000'.   " your titlebar&lt;/P&gt;&lt;P&gt;set pf-status '1000_STAT'.   " your status&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_1000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  SHOW_TABLINE_TC  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SHOW_TABLINE_TC OUTPUT.&lt;/P&gt;&lt;P&gt;  read table it_data index tc-current_line.&lt;/P&gt;&lt;P&gt; ENDMODULE.                 "SHOW_TABLINE_TC  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and PAI modules would be like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  EXIT  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT INPUT.&lt;/P&gt;&lt;P&gt;  leave program.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " EXIT  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  GET_FIELD  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE GET_FIELD INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   refresh: it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select fieldname from dd03l&lt;/P&gt;&lt;P&gt;                          into table it_data&lt;/P&gt;&lt;P&gt;                          where tabname = tabname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " GET_FIELD INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this reply suffices ur requirement, if so pls do assign points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nivin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 09:03:14 GMT</pubDate>
    <dc:creator>nivin_varkey</dc:creator>
    <dc:date>2008-01-16T09:03:14Z</dc:date>
    <item>
      <title>table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268804#M781314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i now have an input field and a table control. when i enter the table name into the input field, the field names inside the table will be pulled out and display in the table control. how can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks. will reward handsomely if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 07:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268804#M781314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T07:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268805#M781315</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;wht u do is in the PAI of the screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write one quiery as the fields of the table will be there in the table DD03L and get the data into the internal table and display that table i think u got me if u have any further quiries contact me on mutyalasunilkumar@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plzz dont forget to reward if it is useful......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 07:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268805#M781315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T07:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268806#M781316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi evonne..&lt;/P&gt;&lt;P&gt;i would try to give u an outline..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume ur screen has table name field- TABNAME&lt;/P&gt;&lt;P&gt;                                    and a table control- TC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let the internal table of TC be it_data with field FIELDNAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so the internal table would be as ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of it_data occurs 0,&lt;/P&gt;&lt;P&gt;  fieldname like dd03l-fieldname,&lt;/P&gt;&lt;P&gt;end of it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; the flow logic for the screen (say 1000) would be as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE STATUS_1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop with control 1000_tc.&lt;/P&gt;&lt;P&gt;    MODULE SHOW_TABLINE_TC.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE EXIT at exit-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FIELD TABNAME&lt;/P&gt;&lt;P&gt;  MODULE GET_FIELD on request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop with control TC.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the PBO modules would be as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_1000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE STATUS_1000 OUTPUT.&lt;/P&gt;&lt;P&gt;set titlebar 'T1000'.   " your titlebar&lt;/P&gt;&lt;P&gt;set pf-status '1000_STAT'.   " your status&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_1000  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  SHOW_TABLINE_TC  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SHOW_TABLINE_TC OUTPUT.&lt;/P&gt;&lt;P&gt;  read table it_data index tc-current_line.&lt;/P&gt;&lt;P&gt; ENDMODULE.                 "SHOW_TABLINE_TC  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and PAI modules would be like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  EXIT  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT INPUT.&lt;/P&gt;&lt;P&gt;  leave program.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " EXIT  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  GET_FIELD  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE GET_FIELD INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   refresh: it_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select fieldname from dd03l&lt;/P&gt;&lt;P&gt;                          into table it_data&lt;/P&gt;&lt;P&gt;                          where tabname = tabname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " GET_FIELD INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this reply suffices ur requirement, if so pls do assign points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nivin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 09:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3268806#M781316</guid>
      <dc:creator>nivin_varkey</dc:creator>
      <dc:date>2008-01-16T09:03:14Z</dc:date>
    </item>
  </channel>
</rss>

