<?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 Clear memory or buffer or...? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515572#M1853564</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 create program, but I need clear "something" - memory, buffer or...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program have a selection screen and modificate output screen (using ALV buttons). When I modify data (using new framework and next part of code old infotype framework) program give&amp;nbsp; "RAISE EXCEPTION TYPE &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;cx_hrpa_violated_precondition&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I don't know have change a&lt;/P&gt;&lt;P&gt;CL_HRPA_MASTERDATA_FACTORY&lt;SPAN class="L0S70"&gt;=&amp;gt;LEGACY_MODE&lt;SPAN class="L0S55"&gt;( abap_true &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) and next abap_false&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I run program e.g. at first modify new infotype framework, then use F3 (back button). I get selection screen then again use F8 (run button) and then old infotype framework. Everything is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Between using both infotype framework I must use F3 (back button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can do for working without F3 button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2014 12:32:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-26T12:32:07Z</dc:date>
    <item>
      <title>Clear memory or buffer or...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515572#M1853564</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 create program, but I need clear "something" - memory, buffer or...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My program have a selection screen and modificate output screen (using ALV buttons). When I modify data (using new framework and next part of code old infotype framework) program give&amp;nbsp; "RAISE EXCEPTION TYPE &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;cx_hrpa_violated_precondition&lt;/STRONG&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;I don't know have change a&lt;/P&gt;&lt;P&gt;CL_HRPA_MASTERDATA_FACTORY&lt;SPAN class="L0S70"&gt;=&amp;gt;LEGACY_MODE&lt;SPAN class="L0S55"&gt;( abap_true &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;) and next abap_false&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S70"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When I run program e.g. at first modify new infotype framework, then use F3 (back button). I get selection screen then again use F8 (run button) and then old infotype framework. Everything is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Between using both infotype framework I must use F3 (back button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can do for working without F3 button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 12:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515572#M1853564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-26T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Clear memory or buffer or...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515573#M1853565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The quick and dirty fix for this is to use ldb PNP instead of PNPCE. Do you have the option to try this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 12:44:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515573#M1853565</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-08-26T12:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Clear memory or buffer or...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515574#M1853566</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;Add this below perform in INITIALIZATION and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;* an event to avoid a short dump due to CE framework&lt;BR /&gt;&lt;SPAN class="L0S31"&gt;* refer to SAP NOTES: 0000611782 / 0000716914&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;do_nothing(sapfp50p).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S31"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 13:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515574#M1853566</guid>
      <dc:creator>former_member241226</dc:creator>
      <dc:date>2014-08-26T13:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clear memory or buffer or...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515575#M1853567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in SAP NOTES &lt;STRONG&gt;493984&lt;/STRONG&gt; is advice for SET_FRAMEWORK CX_HRPA_VIOLATED_PRECONDITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"In general, this is done by inserting a "PERFORM do_nothing(sapfp50p)" statement for event LOAD-OF-PROGRAM."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but doesn't work too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 13:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515575#M1853567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-26T13:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clear memory or buffer or...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515576#M1853568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you help me explain how?&lt;/P&gt;&lt;P&gt;I don't have any experience with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For "old" framework I use&lt;/P&gt;&lt;P&gt;HR_PSBUFFER_INITIALIZE&lt;/P&gt;&lt;P&gt;HR_INFOTYPE_OPERATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For "new" framework I use&lt;/P&gt;&lt;P&gt;cl_hrpa_masterdata_factory=&amp;gt;get_business_logic&lt;/P&gt;&lt;P&gt;g_masterdata_bl-&amp;gt;initialize&lt;/P&gt;&lt;P&gt;according guide&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment" title="http://scn.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment"&gt;http://scn.sap.com/people/aditya.palekar/blog/2010/01/19/uploading-a-pa-infotype-record-with-cost-assignment&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 14:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515576#M1853568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-26T14:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Clear memory or buffer or...?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515577#M1853569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you go the Attributes of your program are you using PNPCE or PNP? Try your program rather with PNP as this might bypass the error you are getting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 14:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-memory-or-buffer-or/m-p/10515577#M1853569</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-08-26T14:36:21Z</dc:date>
    </item>
  </channel>
</rss>

