<?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 reagarding table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498389#M564384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table control how to add new empty lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen i have a push button clled new entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i press this  empty lines should be maintained in table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to validate the entries which i entered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 13:42:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T13:42:27Z</dc:date>
    <item>
      <title>reagarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498389#M564384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table control how to add new empty lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen i have a push button clled new entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i press this  empty lines should be maintained in table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how to validate the entries which i entered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498389#M564384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: reagarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498390#M564385</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; Validation should be done in PAI. inside the loop for each field that requires validation.&lt;/P&gt;&lt;P&gt;  While inserting new line just append a empty line in the internal table. It will create a blank line in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498390#M564385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: reagarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498391#M564386</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;Just add the number of lines as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab_cont-lines = tab_cont-lines + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively append an empty row to the internal table in PAI module that you execute in LOOP AT WITH table control. ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498391#M564386</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-17T13:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: reagarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498392#M564387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your pai section, create a module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module create_entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module  create_entries.&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'MORE'. "Assuming MORE is the function code for that button&lt;/P&gt;&lt;P&gt;append initial line to itab.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly you can have a validation module in the Pai section&lt;/P&gt;&lt;P&gt;flow logic:&lt;/P&gt;&lt;P&gt;loop at itab.....&lt;/P&gt;&lt;P&gt;module validate.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program&lt;/P&gt;&lt;P&gt;module validate.&lt;/P&gt;&lt;P&gt;select single * from mara where matnr =  itab-matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message e000 with "Invalid material in table control'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498392#M564387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: reagarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498393#M564388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See the following link :&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1446918"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Srikanta Gope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498393#M564388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: reagarding table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498394#M564389</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;firstly whatever you are doing on the screen thats comes under user command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now ur problem is to append a blank line then it will solved by writing code in the PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for validation you can use a perform_validations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whatever entries u are inputing u can check it frm the database table whether it exist or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like following: -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM validation  USING    p_so_cust STRUCTURE so_cust&lt;/P&gt;&lt;P&gt;                          p_so_vend STRUCTURE so_vend&lt;/P&gt;&lt;P&gt;                          p_p_cfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_so_cust-low IS NOT INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Message- Please enter Customer Number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE e001(zmmuk).&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT SINGLE * FROM lfa1 WHERE lifnr = p_so_cust-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Value not found, Please enter correct value for Customer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MESSAGE e004(zmmuk).&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_so_vend-low IS NOT INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Message- Please enter Vendor Number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE e002(zmmuk).&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT SINGLE * FROM lfa1 WHERE lifnr = p_so_vend-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Value not found, Please enter correct value for Vendor&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      MESSAGE e005(zmmuk).&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  IF pa_disad = ' '.&lt;/P&gt;&lt;P&gt;    IF p_cfile = space.&lt;/P&gt;&lt;P&gt;*Message- Please give File Name&lt;/P&gt;&lt;P&gt;      MESSAGE e003(zmmuk).&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;divya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:51:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reagarding-table-control/m-p/2498394#M564389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:51:01Z</dc:date>
    </item>
  </channel>
</rss>

