<?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: Project Builder CJ20N: Read previous value from buffer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/project-builder-cj20n-read-previous-value-from-buffer/m-p/2310144#M505934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use enhancement CNEX0002 and function module EXIT_SAPLCNAU_002 (PS customer exit for the authorization check of WBS elements) to see whether project type has been changed or not:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE prps.
DATA lv_project_type_has_been_changed LIKE sy-subrc.

*
* Check whether Project Type has been changed or not
*
ASSIGN ('(SAPLCJWB)prps_alt') TO &amp;lt;fs&amp;gt;.
IF sy-subrc EQ 0.
  IF NOT &amp;lt;fs&amp;gt;-prart IS INITIAL.
    IF &amp;lt;fs&amp;gt;-prart NE sap_prps-prart.
      lv_project_type_has_been_changed = 1.
    ENDIF.
  ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 May 2007 08:04:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-27T08:04:56Z</dc:date>
    <item>
      <title>Project Builder CJ20N: Read previous value from buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/project-builder-cj20n-read-previous-value-from-buffer/m-p/2310143#M505933</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 investigated the enhancements of Project Builder CJ20N. It seems it is not possible to read the previous, i.e. the original, value of a field at all. Is this really so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if user changes the value of project type on WBS element level, I am not able to get the original value at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot read the original value from database (table PRPS), because user may keep on changing the value several times in the Project Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged the whole code, but I couldn't find a suitable user exit or any other way where I could save the original value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any enhancement, BADi or user exit where I could save the original value? I am sure there is a solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, should I use enhancement CNEX0002 and function module EXIT_SAPLCNAU_002 (PS customer exit for the authorization check of WBS elements) for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jarmo Tuominen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 06:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/project-builder-cj20n-read-previous-value-from-buffer/m-p/2310143#M505933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-19T06:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Project Builder CJ20N: Read previous value from buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/project-builder-cj20n-read-previous-value-from-buffer/m-p/2310144#M505934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use enhancement CNEX0002 and function module EXIT_SAPLCNAU_002 (PS customer exit for the authorization check of WBS elements) to see whether project type has been changed or not:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE prps.
DATA lv_project_type_has_been_changed LIKE sy-subrc.

*
* Check whether Project Type has been changed or not
*
ASSIGN ('(SAPLCJWB)prps_alt') TO &amp;lt;fs&amp;gt;.
IF sy-subrc EQ 0.
  IF NOT &amp;lt;fs&amp;gt;-prart IS INITIAL.
    IF &amp;lt;fs&amp;gt;-prart NE sap_prps-prart.
      lv_project_type_has_been_changed = 1.
    ENDIF.
  ENDIF.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2007 08:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/project-builder-cj20n-read-previous-value-from-buffer/m-p/2310144#M505934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-27T08:04:56Z</dc:date>
    </item>
  </channel>
</rss>

