<?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 of Module Pool Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025349#M82268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you are doing SUM try to append SPACE to the remaining fields.&lt;/P&gt;&lt;P&gt;And then populate to Table control.&lt;/P&gt;&lt;P&gt;This you can do while looping your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;If this helps award points and close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2005 07:14:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-30T07:14:43Z</dc:date>
    <item>
      <title>Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025348#M82267</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 need a help in the table control of Module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I am using 40 columns in the table control. Out of 40, 30 columns are numeric type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the client need only 5 columns total in the last row. I made it as per requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is giving 5 columns total and the remaining 25 columns are filled zero value of total row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the client doesn&amp;#146;t want to display the zero for these 25 columns in the Total row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It&amp;#146;s very urgent. Please help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points will be providing for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advance Thanks 4 all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KBS REDDY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 06:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025348#M82267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T06:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025349#M82268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When you are doing SUM try to append SPACE to the remaining fields.&lt;/P&gt;&lt;P&gt;And then populate to Table control.&lt;/P&gt;&lt;P&gt;This you can do while looping your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;If this helps award points and close the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025349#M82268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T07:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025350#M82269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While Populating the Totals use write tot to tot-field no-zero.&lt;/P&gt;&lt;P&gt;and then move it to table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't know how you are totalling. please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025350#M82269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T07:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025351#M82270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try referencing a character type fields for those coloumns.&lt;/P&gt;&lt;P&gt;There wont be any problem in referencing character type field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025351#M82270</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2005-11-30T07:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025352#M82271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KBS Reddy ,&lt;/P&gt;&lt;P&gt;If you are displaying the totals in last row (as last row of the internal table ) of the table control and the five colums were consecutive side then u can apply this code after endloop as:&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;(rough code)&lt;/P&gt;&lt;P&gt;**position the control at the last row.&lt;/P&gt;&lt;P&gt;read table itab sy-tabix.&lt;/P&gt;&lt;P&gt;check sy-subrc.&lt;/P&gt;&lt;P&gt;itab-cols into cols .&lt;/P&gt;&lt;P&gt;cols-screen-INVISIBLE  = '0'.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or) check the program  "&amp;lt;b&amp;gt;demo_dynpro_tabcont_loop_at&amp;lt;/b&amp;gt;"&lt;/P&gt;&lt;P&gt;Hope this may helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghavendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025352#M82271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T07:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025353#M82272</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;thanks for all your replies. but i didn't get the correct answer from any one. please help on this ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here using internal table i have populated the values in the table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have calculated the totals for required columns(5) and i have disable the total row in the table as last row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay, using the internal table, now i know the total no. of rows after that i increased one value and i have moved the 'TOTAL' keyword in the first column for final row and displayed the calculated values for remaining columns. in my work first column is MATNR, so i can move the keyword 'TOTAL' in that column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is input enable then it won't display any value means.. it will display space;&lt;/P&gt;&lt;P&gt;but, if it is output only then it displaying zeros for all numeric columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you get any idea or any solution please let me know immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points will be rewarding after getting the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;KBS REDDY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 11:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025353#M82272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T11:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025354#M82273</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;In your PBO, inside LOOP ENDLOOP, have a module for screen modifications and for the last row that has totals, you set screen-invisible = 1 inside LOOP AT SCREEN. ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your screen has following PBO Logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE ...&lt;/P&gt;&lt;P&gt;  MODULE ...&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  LOOP ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****New module here for screen modification if does not ****exist already.&lt;/P&gt;&lt;P&gt;    MODULE modify_screen.&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;and then in MODULE modify_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE modify_screen.&lt;/P&gt;&lt;P&gt;****Basically check MATNR EQ 'TOTAL' or some thing like ****that&lt;/P&gt;&lt;P&gt;    IF &amp;lt;your condition for totals line&amp;gt;.&lt;/P&gt;&lt;P&gt;      LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;****Note instead of screen-name, you can assign a screen ****group to all columns w/o totals and then use &lt;/P&gt;&lt;P&gt;****SCREEN-GROUP1 EQ &amp;lt;your grp&amp;gt; logic&lt;/P&gt;&lt;P&gt;        IF screen-name EQ &amp;lt;your column name w/o totals&amp;gt;.&lt;/P&gt;&lt;P&gt;          screen-invisible = 1.&lt;/P&gt;&lt;P&gt;          MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On another note, since you are already disabling this fields in the last row, you have all the screen modification logic already I guess, so just add SCREEN-INVISIBLE = 1 for all fields w/o totals..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srikanth Pinnamaneni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 11:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025354#M82273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T11:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table control of Module Pool Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025355#M82274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got the answer from Srikanth. he has given good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any way thanks 4 all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KBS Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 12:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-of-module-pool-program/m-p/1025355#M82274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T12:18:48Z</dc:date>
    </item>
  </channel>
</rss>

