<?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: Adding Events to table Maintenance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-events-to-table-maintenance/m-p/1717818#M313598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it.  When I created my new subroutine for some reason SAP just took me stright into the F01 include but didn;t create the start and end form parameters.  Don't know how I missed it - doh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2006 10:08:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-30T10:08:14Z</dc:date>
    <item>
      <title>Adding Events to table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-events-to-table-maintenance/m-p/1717817#M313597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a check when a user tries to save changes to a custom table (event 01).  I have added the below code but the matter what I do I always get a 'statement is not accessable' syntax error at either my loop or where i try to move data from the extract or total tables.  It just does not seem to like the extract and total tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAn anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_users,&lt;/P&gt;&lt;P&gt;         MANDT         TYPE MANDT,&lt;/P&gt;&lt;P&gt;         USERNAME      TYPE ZUSERNAME,&lt;/P&gt;&lt;P&gt;         COMPANY_CODES TYPE ZCOMPANY_CODES,&lt;/P&gt;&lt;P&gt;         ENTRY         TYPE CHAR9,&lt;/P&gt;&lt;P&gt;       END OF t_users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : itab_users   TYPE TABLE OF t_users INITIAL SIZE 0,&lt;/P&gt;&lt;P&gt;       wa_users     TYPE t_users,&lt;/P&gt;&lt;P&gt;       wa_bukrs     TYPE bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; BREAK-POINT.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; itab_users[] = extract_s[].&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;Loop around the Modifed entries only.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT total_l.&lt;/P&gt;&lt;P&gt;  wa_user = total_l.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Ensure entry is left aligned&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONDENSE wa_users-ENTRY.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Only interested in checking co.code roles not role 'ALL'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF wa_users-ENTRY = 'M' AND&lt;/P&gt;&lt;P&gt;     wa_users-company_codes(1) = 'ALL'.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE bukrs&lt;/P&gt;&lt;P&gt;           INTO wa_bukrs&lt;/P&gt;&lt;P&gt;           FROM t001&lt;/P&gt;&lt;P&gt;           WHERE bukrs = wa_users-company_codes.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Co.Code doesn't exist&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      MESSAGE e026(ZAR) with wa_users-company_codes.&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;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 09:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-events-to-table-maintenance/m-p/1717817#M313597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T09:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Events to table Maintenance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-events-to-table-maintenance/m-p/1717818#M313598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it.  When I created my new subroutine for some reason SAP just took me stright into the F01 include but didn;t create the start and end form parameters.  Don't know how I missed it - doh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2006 10:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-events-to-table-maintenance/m-p/1717818#M313598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-30T10:08:14Z</dc:date>
    </item>
  </channel>
</rss>

