<?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: Lines in Table Control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392426#M190568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 line_disp 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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;PRE&gt;&lt;CODE&gt;MODULE LINE_DISP OUTPUT.
"is G_ZTDT_LINES_ITAB is blank....
 IF G_ZTDR_LINES_ITAB[] IS INITIAL.
 DO 5 TIMES.
 APPEND G_ZTDR_LINES_ITAB.
 ENDDO.
describe table G_ZTDR_LINES_ITAB lines ZTDR_LINES-lines.
&amp;lt;b&amp;gt;else.
describe table G_ZTDR_LINES_ITAB lines ZTDR_LINES-lines.
 ENDIF.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " line_disp OUTPUT&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>Mon, 10 Jul 2006 06:46:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-10T06:46:48Z</dc:date>
    <item>
      <title>Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392423#M190565</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 have created a form using Table Control with five lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though the form is having 5 lines, I am able to enter the data only in the first line and the balance four lines are in grey color, where I am not able to enter anything. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you pls guide me how to correct this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 06:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392423#M190565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T06:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392424#M190566</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;&lt;/P&gt;&lt;P&gt;Use DESCRIBE to append initial lines to table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first append empty lines to a internal table and then &lt;/P&gt;&lt;P&gt;use 'describe' to append them to table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here itab is the internal table used in table control and 'zbpsgtable' is a table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a PBO module do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if itab[] is initial.&lt;/P&gt;&lt;P&gt;      do 5 times.&lt;/P&gt;&lt;P&gt;      append itab.&lt;/P&gt;&lt;P&gt;    enddo.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  describe table itab lines zbpsgtable-lines.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Wasim Ahmed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 06:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392424#M190566</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-07-10T06:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392425#M190567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wasim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your code but not working. The code I have written is given below.  Kindly check the same and guide me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO :&lt;/P&gt;&lt;P&gt; module line_disp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is module pool.&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  line_disp  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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 LINE_DISP OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF G_ZTDR_LINES_ITAB[] IS INITIAL.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DO 5 TIMES.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     APPEND G_ZTDR_LINES_ITAB.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ENDDO.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     describe table G_ZTDR_LINES_ITAB lines ZTDR_LINES-lines.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*ENDMODULE.                 " line_disp  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 06:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392425#M190567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T06:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392426#M190568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 line_disp 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;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;PRE&gt;&lt;CODE&gt;MODULE LINE_DISP OUTPUT.
"is G_ZTDT_LINES_ITAB is blank....
 IF G_ZTDR_LINES_ITAB[] IS INITIAL.
 DO 5 TIMES.
 APPEND G_ZTDR_LINES_ITAB.
 ENDDO.
describe table G_ZTDR_LINES_ITAB lines ZTDR_LINES-lines.
&amp;lt;b&amp;gt;else.
describe table G_ZTDR_LINES_ITAB lines ZTDR_LINES-lines.
 ENDIF.&amp;lt;/b&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. " line_disp OUTPUT&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>Mon, 10 Jul 2006 06:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392426#M190568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T06:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392427#M190569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;    If you want to add a new record then increment the table control property line to 1. (EX : tbctrl-lines = current no of lines + 1 ). &lt;/P&gt;&lt;P&gt;Then enter your new record and append that record to the internal table.&lt;/P&gt;&lt;P&gt;    You can also use Append initial line to 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;Umasankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 06:52:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392427#M190569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T06:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392428#M190570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wasim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not working.  Could u pls look into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 07:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392428#M190570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T07:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392429#M190571</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;Debug in the appending internal table and check if the lines are appending to the internal table or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields of the table control should be build from the internal table we are appending. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also loop on the internal table in PBO and PAI in flow logic.&lt;/P&gt;&lt;P&gt;like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN PBO FLOW LOGIC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at itab&lt;/P&gt;&lt;P&gt;       with control zbpsgtable&lt;/P&gt;&lt;P&gt;       cursor zbpsgtable-current_line.&lt;/P&gt;&lt;P&gt;    module zbpsgtable_get_lines.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*this is called module &lt;/P&gt;&lt;P&gt;module zbpsgtable_get_lines output.&lt;/P&gt;&lt;P&gt;  g_zbpsgtable_lines = sy-loopc.&lt;/P&gt;&lt;P&gt;endmodule.&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;&lt;/P&gt;&lt;P&gt;Wasim Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 07:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392429#M190571</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-07-10T07:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lines in Table Control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392430#M190572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wasim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.  It is working now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 10:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lines-in-table-control/m-p/1392430#M190572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T10:04:31Z</dc:date>
    </item>
  </channel>
</rss>

