<?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: Take input from table control using wizard in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130833#M1189346</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;Try inserting the values from the table control as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; MODULE GET_TABLEDATA INPUT.


  wa_shop-num = return_no. "wa_shop is work area
  wa_shop-zuser_id = id.
  
  insert into zshop_info values wa_shop. "zshop_info is table name

PROCESS AFTER INPUT.

 loop at itab_mat.
    MODULE GET_TABLEDATA .
 endloop.

 MODULE USER_COMMAND_0500.&lt;/CODE&gt;&lt;/PRE&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepthi S on Feb 9, 2009 2:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2009 08:35:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-09T08:35:37Z</dc:date>
    <item>
      <title>Take input from table control using wizard</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130831#M1189344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to take data from table control into internal table using wizard.&lt;/P&gt;&lt;P&gt;In main report program i defined the internal table and used wizard after  that.&lt;/P&gt;&lt;P&gt;I could see internal table there and i picked the fields i wanted.&lt;/P&gt;&lt;P&gt;Also i defined a workarea of same time.Further i made a push button.&lt;/P&gt;&lt;P&gt;In PAI user command module i specified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab. (one used for table control data)&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i put break point and find that no data is coming from grid.&lt;/P&gt;&lt;P&gt;With wizard what additional i have to do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Feb 2009 05:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130831#M1189344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-07T05:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Take input from table control using wizard</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130832#M1189345</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;PRE&gt;&lt;CODE&gt;PROCESS AFTER INPUT.

 MODULE USER_COMMAND_2209.  "do processing
loop at itab.
   module UPDATE.                           "read from tbl ctl into db table using wa.
 endloop.

DATA:   itab TYPE TABLE OF YSTUDENT WITH HEADER LINE,
            WA LIKE LINE OF ITAB.

MODULE UPDATE INPUT.

WA-ID = YSTUDENT-ID.
WA-NAME = YSTUDENT-NAME.

 INSERT YSTUDENT FROM WA.   

ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of Insert into table, you can write: APPEND WA TO ITAB.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also YSTUDENT-ID is the name of the column in your tbl ctrl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure your PBO also loops thro the itab:&lt;/P&gt;&lt;P&gt;loop at itab with control tab1.&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;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 06:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130832#M1189345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T06:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Take input from table control using wizard</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130833#M1189346</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;Try inserting the values from the table control as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; MODULE GET_TABLEDATA INPUT.


  wa_shop-num = return_no. "wa_shop is work area
  wa_shop-zuser_id = id.
  
  insert into zshop_info values wa_shop. "zshop_info is table name

PROCESS AFTER INPUT.

 loop at itab_mat.
    MODULE GET_TABLEDATA .
 endloop.

 MODULE USER_COMMAND_0500.&lt;/CODE&gt;&lt;/PRE&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepthi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepthi S on Feb 9, 2009 2:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 08:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/take-input-from-table-control-using-wizard/m-p/5130833#M1189346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T08:35:37Z</dc:date>
    </item>
  </channel>
</rss>

