<?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: Execute a z-program on insert event on a table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333806#M1920034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;if it is standard table, so I don't recomand you to do this, just could you tell us what you want excelty, &lt;/P&gt;&lt;P&gt;When some has inserted or updated the table should be registerd the event what he has done, so the SAP provides this to protocol alle changes in tables, and save them in &lt;SPAN style="font-size: 10pt;"&gt;CDHDR and CDPOS, it is called &lt;SPAN style="font-size: 13.3333px;"&gt;change documnent. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ebrahim&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Sep 2015 13:23:19 GMT</pubDate>
    <dc:creator>former_member184158</dc:creator>
    <dc:date>2015-09-19T13:23:19Z</dc:date>
    <item>
      <title>Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333801#M1920029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone&amp;nbsp; help me on&amp;nbsp; the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to execute a z program as and when a record is created in SAP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 09:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333801#M1920029</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2015-09-19T09:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333802#M1920030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use event in TMG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 10:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333802#M1920030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-09-19T10:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333803#M1920031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think we can trigger table maintenance events on using the SQL statement insert .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we want to trigger table maintenance generator events we need to use the TMG Function modules like VIEW_MAINTENANCE_SINGLE_ENTRY. and call the z program in the event code.&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 10:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333803#M1920031</guid>
      <dc:creator>pavanm592</dc:creator>
      <dc:date>2015-09-19T10:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333804#M1920032</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;Kindly Find the attached screen for Event use of Table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 10:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333804#M1920032</guid>
      <dc:creator>former_member756887</dc:creator>
      <dc:date>2015-09-19T10:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333805#M1920033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anurudh, Bagaban and Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have this event from PTREQ_HEADER - a sap Standard Table.&lt;/P&gt;&lt;P&gt;At this moment, it has no TMG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I create a TMG on this standard table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will there be any impact?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 12:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333805#M1920033</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2015-09-19T12:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333806#M1920034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;if it is standard table, so I don't recomand you to do this, just could you tell us what you want excelty, &lt;/P&gt;&lt;P&gt;When some has inserted or updated the table should be registerd the event what he has done, so the SAP provides this to protocol alle changes in tables, and save them in &lt;SPAN style="font-size: 10pt;"&gt;CDHDR and CDPOS, it is called &lt;SPAN style="font-size: 13.3333px;"&gt;change documnent. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ebrahim&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 13:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333806#M1920034</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2015-09-19T13:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333807#M1920035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ebrahim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to change a value of one column in this table upon inserting a record,&lt;/P&gt;&lt;P&gt;I want to change the value of NEXT_PROCESSOR_I col based on our custom logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 16:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333807#M1920035</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2015-09-19T16:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333808#M1920036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 10.8px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="20588" data-externalid="" data-presence="null" data-userid="289758" data-username="venkateswaran.k" href="https://answers.sap.com/people/venkateswaran.k" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; background: transparent;"&gt;Venkateswaran &lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to help you but the problem is SAP table , so if we are tallking about Z-Table, then we can try with a dialog, or MT ( SE30 ) with some events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, this called Database Triggers, so it means any change&amp;nbsp; DML ( Update, Delete,Insert ) on a table,then an event will be triggered, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer to this link for more informations, &lt;A href="http://help.sap.com/saphelp_erp60_sp/helpdata/en/08/db4940f0030272e10000000a155106/content.htm" title="http://help.sap.com/saphelp_erp60_sp/helpdata/en/08/db4940f0030272e10000000a155106/content.htm"&gt;Database Triggers - Tutorials - SAP Library &lt;/A&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;Ebrahim&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 16:45:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333808#M1920036</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2015-09-19T16:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a z-program on insert event on a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333809#M1920037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkateswaran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like this table is part of a standard workflow (WS12300111). The NEXT_PROCESSOR_I field sounds like it is part of the standard approval logic.&amp;nbsp; Rather than custom development you may want to work with the standard SAP customization, or a BAdI. Have you tried configuring in transaction &lt;SPAN style="color: #333333; font-size: 12px;"&gt;PTARQ? (you can get to the BAdI from here also)&amp;nbsp; You may want to check the thread &lt;A __default_attr="712016" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="How to execute WS12300111 ?" href="https://community.sap.com/" modifiedtitle="true" title="How to execute WS12300111 ?"&gt;&lt;/A&gt;&amp;nbsp; or search more in the space for &lt;A _jive_internal="true" href="https://answers.sap.com/community/bpm/business-workflow"&gt;SAP Business Workflow&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful to you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Margaret&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 21:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-z-program-on-insert-event-on-a-table/m-p/11333809#M1920037</guid>
      <dc:creator>mh97</dc:creator>
      <dc:date>2015-09-19T21:05:02Z</dc:date>
    </item>
  </channel>
</rss>

