<?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: Issue - Redefined method not triggering. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487789#M1062318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have delegated my business object with the standard business object "BUS1001006".&lt;/P&gt;&lt;P&gt;2. I redefined the method "delete" and added my own code or functionality to it.&lt;/P&gt;&lt;P&gt;3. Implemented and released my object components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am not wrong, according to the concept of delegation and redefination, the object which has the redefined method will trigger and the workflow will be completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to check whether the Method of our "Z" object (Redefined) has triggered or the standard method has triggered, we use the "EVENT TRACE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I switched on the trace (SWELS) and executed my workflow. After completion, I swithced of the trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked in the (SWEL) event trace log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it shows the following result,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EVENT TRACE     ON&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;BUS1001006        CREATED&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;EVENT TRACE     OFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, as per expectations it should have been "ZDAVE_OBJ" instead of "BUS1001006".&lt;/P&gt;&lt;P&gt;Which means only the standard one is triggering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly, suggest on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2008 10:08:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-17T10:08:08Z</dc:date>
    <item>
      <title>Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487785#M1062314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello There.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a subtype of &lt;STRONG&gt;"BUS1001006"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have &lt;STRONG&gt;delegated&lt;/STRONG&gt; my business object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also &lt;STRONG&gt;redefined&lt;/STRONG&gt; my method in the business object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run any standard transaction, the redefined method must trigger my object as per in the "&lt;STRONG&gt;EVENT TRACE&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in the trace it shows that the &lt;STRONG&gt;standard&lt;/STRONG&gt; business object has triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know the best way to troubleshoot my object as to why my business object is not triggering and the standard one is triggering. How to rectify that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I respect your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 05:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487785#M1062314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T05:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487786#M1062315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To trigger your z object, you should be writing code in exits or somewhere like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Farzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 05:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487786#M1062315</guid>
      <dc:creator>former_member137336</dc:creator>
      <dc:date>2008-09-17T05:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487787#M1062316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Farzan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used my own &lt;STRONG&gt;"ZBAPI"&lt;/STRONG&gt; to call in my method as well as implemented the necessary code and used a &lt;STRONG&gt;BDC&lt;/STRONG&gt; in the BAPI itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also done the necessary "Task" to "Method" binding and hence with the "Workflow" itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The status of the workflow shows "Complete". But in the event trace it is not showing positive results about my object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can do then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 07:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487787#M1062316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T07:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487788#M1062317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event trace is not at all showing the event triggered or what is the exact problem??&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;Farzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 08:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487788#M1062317</guid>
      <dc:creator>former_member137336</dc:creator>
      <dc:date>2008-09-17T08:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487789#M1062318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have delegated my business object with the standard business object "BUS1001006".&lt;/P&gt;&lt;P&gt;2. I redefined the method "delete" and added my own code or functionality to it.&lt;/P&gt;&lt;P&gt;3. Implemented and released my object components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am not wrong, according to the concept of delegation and redefination, the object which has the redefined method will trigger and the workflow will be completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to check whether the Method of our "Z" object (Redefined) has triggered or the standard method has triggered, we use the "EVENT TRACE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I switched on the trace (SWELS) and executed my workflow. After completion, I swithced of the trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked in the (SWEL) event trace log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it shows the following result,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EVENT TRACE     ON&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;BUS1001006        CREATED&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;EVENT TRACE     OFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, as per expectations it should have been "ZDAVE_OBJ" instead of "BUS1001006".&lt;/P&gt;&lt;P&gt;Which means only the standard one is triggering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly, suggest on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 10:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487789#M1062318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T10:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487790#M1062319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if you delegate and create a z business object, you need to trigger it manually only the standard once are triggered automatically. So you need to find out a user exit to trigger the Z business object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Farzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 10:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487790#M1062319</guid>
      <dc:creator>former_member137336</dc:creator>
      <dc:date>2008-09-17T10:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue - Redefined method not triggering.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487791#M1062320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Farzan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree to your explanation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was not able to bind the parameters in the "Task" to "method" and vice versa and in turn the "Task" to "workflow" elements were not working well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I tried using the standard business object "BUS1001" in my task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will call my redefined methods and I need to automatically bind the elements as I had delegated my business object correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could understand much better when I tried to double-click the business object in my task.&lt;/P&gt;&lt;P&gt;Instead of taking to the standard object method it took me to the customized / redefined method of my custom object.&lt;/P&gt;&lt;P&gt;Also, it gave a success message that BUS1001 is delegated to "ZDAVE_OBJ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Altogether I am doing fine with my workflow and getting the desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in addition my "Z" business object is triggering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2008 17:07:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-redefined-method-not-triggering/m-p/4487791#M1062320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-18T17:07:07Z</dc:date>
    </item>
  </channel>
</rss>

