<?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: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591838#M2010254</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; It's not working in one scenario and we have an open OSS incident with SAP for the same, they came back and said, the Receiver Type should be populated without giving any other info as to what the value should be for the Receiver Type, here is the scenario:&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;In the Service Cloud, a move out is triggered by adding a new address, flow comes to ISU-ECC, the new address for the BP gets updated in the ISU side but the delta replication doesn't get triggered to send the updated address back to Service Cloud to be replicated in BP.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;As a workaround, we have written a custom code(basically calling the standard delta replication report from the BADI) to make it work until we find the root cause as to why this program doesn't get triggered from the Change Event config in SWE2.&lt;/P&gt;&lt;P&gt;We have responded to SAP with the same and awaiting their response. In the meantime, I wanted to ask this question to understand the purpose of the Receiver Type field when using class/method to handle the events.&lt;/P&gt;&lt;P&gt;I have gone through the code in a debugger and didn't find any reference to the Receiver Type.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Aug 2022 17:11:49 GMT</pubDate>
    <dc:creator>shahbhat</dc:creator>
    <dc:date>2022-08-20T17:11:49Z</dc:date>
    <item>
      <title>Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591836#M2010252</link>
      <description>&lt;P&gt;See the below SWE2 config for ISUPARTNER BO, we are handling the event in a method within a custom class and it's triggering without any issues even with &lt;STRONG&gt;Receiver Type&lt;/STRONG&gt; left as blank except for the following scenario:&lt;/P&gt;
  &lt;P&gt;"&lt;EM&gt;In the Service Cloud, a move out is triggered by adding a new address, flow comes to ISU-ECC, the new address for the BP gets updated in the ISU side but the delta replication doesn't get triggered to send the updated address back to Service Cloud to be replicated in BP.&lt;/EM&gt;"&lt;/P&gt;
  &lt;P&gt;I am not even sure what should we put in the Receiver Type field for this if we have to.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2084703-swe2.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 15:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591836#M2010252</guid>
      <dc:creator>shahbhat</dc:creator>
      <dc:date>2022-08-18T15:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591837#M2010253</link>
      <description>&lt;P&gt;If it works as desired, may I know why you are asking?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 08:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591837#M2010253</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-08-19T08:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591838#M2010254</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; It's not working in one scenario and we have an open OSS incident with SAP for the same, they came back and said, the Receiver Type should be populated without giving any other info as to what the value should be for the Receiver Type, here is the scenario:&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;In the Service Cloud, a move out is triggered by adding a new address, flow comes to ISU-ECC, the new address for the BP gets updated in the ISU side but the delta replication doesn't get triggered to send the updated address back to Service Cloud to be replicated in BP.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;As a workaround, we have written a custom code(basically calling the standard delta replication report from the BADI) to make it work until we find the root cause as to why this program doesn't get triggered from the Change Event config in SWE2.&lt;/P&gt;&lt;P&gt;We have responded to SAP with the same and awaiting their response. In the meantime, I wanted to ask this question to understand the purpose of the Receiver Type field when using class/method to handle the events.&lt;/P&gt;&lt;P&gt;I have gone through the code in a debugger and didn't find any reference to the Receiver Type.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 17:11:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591838#M2010254</guid>
      <dc:creator>shahbhat</dc:creator>
      <dc:date>2022-08-20T17:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591839#M2010255</link>
      <description>&lt;P&gt;Then your question is not that clear, quoting you: "it's triggering without any issues even with &lt;STRONG&gt;Receiver Type&lt;/STRONG&gt; left as blank".&lt;/P&gt;&lt;P&gt;So, SAP said it's mandatory. If you indicate DUMMY (or whatever), does it work now?&lt;/P&gt;&lt;P&gt;If not, as you are talking about "standard delta replication report from the BADI [...] Change Event config", please add all the details to your question (or ask a new one if you prefer).&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 07:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591839#M2010255</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-08-21T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591840#M2010256</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; I have edited my question to include the one scenario where it's not working, thanks for pointing that out. However, I am not asking here to resolve or find the root cause of this scenario, the question I am asking is whether it's mandatory to have this field populated when using class methods as event handlers, if someone has any documentation or experience with the same and can share, that would be much appreciated.&lt;/P&gt;&lt;P&gt;If I find something on the same or from SAP, I would update here as well.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 01:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591840#M2010256</guid>
      <dc:creator>shahbhat</dc:creator>
      <dc:date>2022-08-22T01:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591841#M2010257</link>
      <description>&lt;P&gt;Generally speaking, the receiver type is like a configurable argument which is passed to the receiver function module or method e.g. it can be the workflow ID if the receiver is the workflow function module SWW_WI_CREATE_VIA_EVENT.&lt;/P&gt;&lt;P&gt;The receiver type can be empty if you indicate a receiver function module or method which doesn't use this field.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 08:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591841#M2010257</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-08-22T08:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is Receiver Type field in SWE2 mandatory when using Class-Method based event handlers?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591842#M2010258</link>
      <description>&lt;P&gt;Many event hanldler can be defined for some event, for instantce ISUPARTNER - CHANGE. The receiver type is set by BI_EVENT_HANDLER_STATIC=&amp;gt;ON_EVENT( ) call. It is some arbitrary constant, known to an event handler, to distiguish different events. For instance, there is one handler for name changes and one for address changes.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2022 20:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-receiver-type-field-in-swe2-mandatory-when-using-class-method-based/m-p/12591842#M2010258</guid>
      <dc:creator>touzik_itc</dc:creator>
      <dc:date>2022-12-29T20:26:06Z</dc:date>
    </item>
  </channel>
</rss>

