<?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 Capturing User Action and populating Standard table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-user-action-and-populating-standard-table/m-p/5456245#M1250321</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 a requirement , its a classical report and in that based on the user action ( if the user checks a check box that is available in the output screen of the report and saves it) the value should be updated in a standard table as 'X'. I have appended the field in the standard table and now i need to write a logic at user command to populate the zfield that i have added in the table based on the user's input. &lt;/P&gt;&lt;P&gt;I need to capture the user's action into an internal table and then pass this value into a function module to update the standard table, Can someone suggest me how to proceed further on this issue ? Kindly let me know if you have any sample piece of code related to this scenario...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2009 13:31:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-24T13:31:49Z</dc:date>
    <item>
      <title>Capturing User Action and populating Standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-user-action-and-populating-standard-table/m-p/5456245#M1250321</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 a requirement , its a classical report and in that based on the user action ( if the user checks a check box that is available in the output screen of the report and saves it) the value should be updated in a standard table as 'X'. I have appended the field in the standard table and now i need to write a logic at user command to populate the zfield that i have added in the table based on the user's input. &lt;/P&gt;&lt;P&gt;I need to capture the user's action into an internal table and then pass this value into a function module to update the standard table, Can someone suggest me how to proceed further on this issue ? Kindly let me know if you have any sample piece of code related to this scenario...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 13:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-user-action-and-populating-standard-table/m-p/5456245#M1250321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T13:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing User Action and populating Standard table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-user-action-and-populating-standard-table/m-p/5456246#M1250322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: date TYPE d, 
      flag TYPE c LENGTH 1, 
      wa   TYPE c LENGTH 10. 

START-OF-SELECTION. 
  date = sy-datum. 
  DO 10 TIMES. 
    date = date + sy-index. 
    WRITE: / flag AS CHECKBOX, (10) date. 
  ENDDO. 

AT LINE-SELECTION. 
  DO. 
    READ LINE sy-index FIELD VALUE flag 
                                   date INTO wa. 
    IF sy-subrc &amp;lt;&amp;gt; 0. 
      EXIT. 
    ELSEIF flag = 'X'. 
      WRITE / wa. 
    ENDIF. 
  ENDDO. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 13:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-user-action-and-populating-standard-table/m-p/5456246#M1250322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T13:52:17Z</dc:date>
    </item>
  </channel>
</rss>

