<?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 controls for adding new records in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308122#M792289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;use this &lt;/P&gt;&lt;P&gt; WHEN 'NEW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TEMP1 = TABLECONTROL-LINES.&lt;/P&gt;&lt;P&gt;      TABLECONTROL-LINES = TEMP1 + 1.&lt;/P&gt;&lt;P&gt;      TEMP1 = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where new is the Fcode for pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell me if you still feel some problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;kushagra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 07:43:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-05T07:43:33Z</dc:date>
    <item>
      <title>table controls for adding new records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308121#M792288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want procedure for creating a table control for adding records in module pool programming.&lt;/P&gt;&lt;P&gt;            first we want to enter records in four lines or rows. if i click add push button one more row must disply to the existing four rows.&lt;/P&gt;&lt;P&gt;          for this purpose,we want coding.&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;I.RAMESH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 07:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308121#M792288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T07:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: table controls for adding new records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308122#M792289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;use this &lt;/P&gt;&lt;P&gt; WHEN 'NEW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      TEMP1 = TABLECONTROL-LINES.&lt;/P&gt;&lt;P&gt;      TABLECONTROL-LINES = TEMP1 + 1.&lt;/P&gt;&lt;P&gt;      TEMP1 = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where new is the Fcode for pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell me if you still feel some problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful&lt;/P&gt;&lt;P&gt;kushagra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 07:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308122#M792289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: table controls for adding new records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308123#M792290</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;check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this screen is having table control onit with button to add new row .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.................................................................................&lt;/P&gt;&lt;P&gt;process before output.&lt;/P&gt;&lt;P&gt;  module status_1011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at it_line_items with control line_items.&lt;/P&gt;&lt;P&gt;&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;  loop at it_line_items.&lt;/P&gt;&lt;P&gt;    module modify_it_line_items.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  module event_enter.&lt;/P&gt;&lt;P&gt;  module poulate_it_lines_tab.&lt;/P&gt;&lt;P&gt;  module selec_in_bet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  module user_command_1011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.................................................................................................................&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;inside module user_command_1011  the code for add button is written.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.................................................................................................................&lt;/P&gt;&lt;P&gt;module user_command_1011 input.&lt;/P&gt;&lt;P&gt;*assigning the value of sy-comm to ok_code&lt;/P&gt;&lt;P&gt;  clear ok_code_1011 .&lt;/P&gt;&lt;P&gt;  ok_code_1011 = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*clearing the sy-ucomm&lt;/P&gt;&lt;P&gt;  clear sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case ok_code_1011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'PB_ADD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      clear it_line_items.&lt;/P&gt;&lt;P&gt;      perform calc_autogen.&lt;/P&gt;&lt;P&gt;      clear it_line_items.&lt;/P&gt;&lt;P&gt;      it_line_items-ebelp = g_autogen.&lt;/P&gt;&lt;P&gt;      it_line_items-waers1 = wa_porder-waers.&lt;/P&gt;&lt;P&gt;      append it_line_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'PB_SELECT'.&lt;/P&gt;&lt;P&gt;      loop at it_line_items.&lt;/P&gt;&lt;P&gt;        it_line_items-sel_col = 'X'.&lt;/P&gt;&lt;P&gt;        modify it_line_items.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'PB_DESELECT'.&lt;/P&gt;&lt;P&gt;      loop at it_line_items.&lt;/P&gt;&lt;P&gt;        it_line_items-sel_col = ''.&lt;/P&gt;&lt;P&gt;        modify it_line_items.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 'PB_DELETE'.&lt;/P&gt;&lt;P&gt;      isydatar = sy-datar.&lt;/P&gt;&lt;P&gt;      isydatar = 'X'.&lt;/P&gt;&lt;P&gt;      clear it_line_items_deleted[].&lt;/P&gt;&lt;P&gt;      loop at it_line_items .&lt;/P&gt;&lt;P&gt;        if it_line_items-sel_col = 'X'.&lt;/P&gt;&lt;P&gt;          if g_ok_code = 'PB_CHANGE'.&lt;/P&gt;&lt;P&gt;            perform delete_line_items.&lt;/P&gt;&lt;P&gt;          endif.&lt;/P&gt;&lt;P&gt;          delete it_line_items.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endcase.&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;&lt;P&gt;endmodule.                 " USER_COMMAND_1011  INPUT&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;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward points if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 07:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-controls-for-adding-new-records/m-p/3308123#M792290</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2008-02-05T07:46:13Z</dc:date>
    </item>
  </channel>
</rss>

