<?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 maintenance generator Events in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218197#M1627963</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;&lt;/P&gt;&lt;P&gt;tables: KNVV .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single * from  KNVV
where KUNNR = kunnr
VKORG = vkorg
VTWEG = vtweg
SPART = spart.

if  sy-subrc  = 0 .

table entry is there  .

else .

No entry .

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which SAP  version you are using  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepak Dhamat on Oct 12, 2011 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 11:29:38 GMT</pubDate>
    <dc:creator>deepak_dhamat</dc:creator>
    <dc:date>2011-10-12T11:29:38Z</dc:date>
    <item>
      <title>Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218196#M1627962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the problem with table maintenance generator events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my requirement, I have to validate the data while saving based on KNVV table. Here for some fields there is no foreign key relation. so i had to write the code in the EVENT BEFORE SAVE. In this Event i have used the statement like "select * from KNNVV' and i am validating the data. But the system is giving the message saying that the select statement is not accessable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, How to validate the data based on the table? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;TMR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 11:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218196#M1627962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-12T11:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218197#M1627963</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;&lt;/P&gt;&lt;P&gt;tables: KNVV .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single * from  KNVV
where KUNNR = kunnr
VKORG = vkorg
VTWEG = vtweg
SPART = spart.

if  sy-subrc  = 0 .

table entry is there  .

else .

No entry .

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which SAP  version you are using  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Deepak Dhamat on Oct 12, 2011 1:30 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 11:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218197#M1627963</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-10-12T11:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218198#M1627964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned i have used the same code, even though the system is giving the same messages saying that "statement can not be accessable" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on ECC 6.0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;TMR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 11:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218198#M1627964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-12T11:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218199#M1627965</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;Have you re-activated your function group in SE80 after creating your event form?&lt;/P&gt;&lt;P&gt;If yes, can you paste your exact code over here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 13:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218199#M1627965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-12T13:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218200#M1627966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you entered FORM...ENDFORM statements manually at the include where you're making your select statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remember it right, they're not automatically entered by system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 13:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218200#M1627966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-12T13:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218201#M1627967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mauricio Robert is correct..... u have to use FORM.... ENDFORM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 14:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218201#M1627967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-12T14:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218202#M1627968</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;lol... indeed... I would not tought of such a mistake...;) good catch, mate! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, as Mauricio said, add the FORM/ENDFORM and don't forget to activate your FG afterwards...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 14:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218202#M1627968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-12T14:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table maintenance generator Events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218203#M1627969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx manu! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That FORM..ENDFORM thing in SM30 events already made me very nervous in the past!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 11:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-maintenance-generator-events/m-p/8218203#M1627969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-13T11:32:13Z</dc:date>
    </item>
  </channel>
</rss>

