<?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: How enhancement implementations will be called in the Program??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-enhancement-implementations-will-be-called-in-the-program/m-p/7417786#M1548886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found some info here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw2004s/helpdata/en/86/b83142680d5c33e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw2004s/helpdata/en/86/b83142680d5c33e10000000a155106/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not enough though!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Oct 2010 08:46:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-24T08:46:51Z</dc:date>
    <item>
      <title>How enhancement implementations will be called in the Program???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-enhancement-implementations-will-be-called-in-the-program/m-p/7417785#M1548885</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;i have enhanced a method by implementing &lt;STRONG&gt;post exit&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what it does is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. it created a include (  ZERENH_EMAILPROP==============EIMP ), where ZERENH_EMAILPROP is my enhancement implementation name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. it created a local class definition and implementation as well along with constructor and interface and its method ( one which i am enhancing ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------------------------------------------------*
*       CLASS LCL_ZERENH_EMAILPROP DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
CLASS lcl_zerenh_emailprop DEFINITION.
  PUBLIC SECTION.
    CLASS-DATA obj TYPE REF TO lcl_zerenh_emailprop.
    DATA core_object TYPE REF TO cl_hrrcf_candidate .
 INTERFACES IPO_ZERENH_EMAILPROP.
    METHODS:
     constructor IMPORTING core_object
       TYPE REF TO cl_hrrcf_candidate OPTIONAL.
ENDCLASS.                    "LCL_ZERENH_EMAILPROP DEFINITION
*----------------------------------------------------------------------*
*       CLASS LCL_ZERENH_EMAILPROP IMPLEMENTATION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
CLASS lcl_zerenh_emailprop IMPLEMENTATION.
  METHOD constructor.
    me-&amp;gt;core_object = core_object.
  ENDMETHOD.                    "CONSTRUCTOR

  METHOD ipo_zerenh_emailprop~assign_application.
*"------------------------------------------------------------------------*
*" Declaration of POST-method, do not insert any comments here please!
*"
*"methods ASSIGN_APPLICATION
*"  importing
*"    !APPLICATION type ref to CL_HRRCF_CANDIDATE_APPLICATION
*"  raising
*"    CX_HRRCF_INFOTYPE_OPERATION .
*"------------------------------------------------------------------------*

    core_object-&amp;gt;get_applications( ).
  ENDMETHOD.                    "IPO_ZERENH_EMAILPROP~ASSIGN_APPLICATION
ENDCLASS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. in enhancement implementation if i see tab called "Enhancement include" the following code is added&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ENHANCEMENT 1 .
  data %_ZERENH_EMAILPROP type ref to OBJECT .
ENDENHANCEMENT.

ENHANCEMENT 2  .
INTERFACE IPO_ZERENH_EMAILPROP .

  methods ASSIGN_APPLICATION
    importing
      !APPLICATION type ref to CL_HRRCF_CANDIDATE_APPLICATION
    raising
      CX_HRRCF_INFOTYPE_OPERATION .
ENDINTERFACE.
INCLUDE ZERENH_EMAILPROP==============EIMP .
ENDENHANCEMENT.

ENHANCEMENT 3 .
IF ME-&amp;gt;%_ZERENH_EMAILPROP IS INITIAL.
   CREATE OBJECT LCL_ZERENH_EMAILPROP=&amp;gt;OBJ
     EXPORTING CORE_OBJECT = ME.
ME-&amp;gt;%_ZERENH_EMAILPROP ?= LCL_ZERENH_EMAILPROP=&amp;gt;OBJ .
ELSE.
LCL_ZERENH_EMAILPROP=&amp;gt;OBJ ?= ME-&amp;gt;%_ZERENH_EMAILPROP .
ENDIF.
LCL_ZERENH_EMAILPROP=&amp;gt;OBJ-&amp;gt;IPO_ZERENH_EMAILPROP~ASSIGN_APPLICATION( APPLICATION = APPLICATION   ).
ENDENHANCEMENT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question now is how SAP will call this enhancement implemenation runtime, how these statements are integrated to class so that it gets called???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 13:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-enhancement-implementations-will-be-called-in-the-program/m-p/7417785#M1548885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-21T13:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: How enhancement implementations will be called in the Program???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-enhancement-implementations-will-be-called-in-the-program/m-p/7417786#M1548886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found some info here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw2004s/helpdata/en/86/b83142680d5c33e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw2004s/helpdata/en/86/b83142680d5c33e10000000a155106/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not enough though!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Oct 2010 08:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-enhancement-implementations-will-be-called-in-the-program/m-p/7417786#M1548886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-24T08:46:51Z</dc:date>
    </item>
  </channel>
</rss>

