<?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>Question Re: BSP-- %_ONLAYOUT method not available... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaa-p/12093669#M4518172</link>
    <description>&lt;P&gt;As Matthew said, don't let an ABAP code analyzer check the code of %_ONLAYOUT because its ABAP code is generated by SAP (or do you say it checks the ABAP code inside the HTML?)&lt;/P&gt;&lt;P&gt;Each BSP page has a generated class prefixed CL_O2 (for instance CL_O2491ZL7SCR2TLAJ05RJNPFUQWC) which inherits from CL_BSP_PAGE. Each class redefines %_ONLAYOUT with ABAP code corresponding to the &lt;STRONG&gt;HTML layout&lt;/STRONG&gt; that you or your fellow developers have defined for the BSP page (this ABAP code is generated of course).&lt;/P&gt;&lt;P&gt;For information, I don't think there's an option to display the generated ABAP code from the BSP page, but you can know the name of the CL_O2 class by looking at the table O2PAGDIR, in column IMPLCLASS, and you can display it only indirectly by using a program like RS_ABAP_SOURCE_SCAN, by searching "." in the class (because the standard display of CL_O2 classes redirects to the editor of the BSP page).&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 12:27:02 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-11-25T12:27:02Z</dc:date>
    <item>
      <title>BSP-- %_ONLAYOUT method not available...</title>
      <link>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaq-p/12093667</link>
      <description>&lt;P&gt;Hello Expert,&lt;/P&gt;
  &lt;P&gt;I am new to BSP applications.&lt;/P&gt;
  &lt;P&gt;we are working code optimization technique with different t-code called /VFORGE/CP it is like code inspector.&lt;/P&gt;
  &lt;P&gt;in this we are able to see some alerts like hard coded and authorization missing etc..,&lt;/P&gt;
  &lt;P&gt;These alerts are showing BSP application also on %_ONLAYOUT method for very BSP applications.&lt;/P&gt;
  &lt;P&gt;But when i open BSP application in SE80 i am unable to find %_ONLAYOUT method these issue occurs for all BSP applications.&lt;/P&gt;
  &lt;P&gt;ONLAYOUT method is available in class CL_BSP_PAGE,but there is no implementation for this method.&lt;/P&gt;
  &lt;P&gt;I am really struggling lot for this issue and requesting please help me.&lt;/P&gt;
  &lt;P&gt;Thanks for the support in advance.&lt;/P&gt;
  &lt;P&gt;Thanks &amp;amp; Regadrs&lt;/P&gt;
  &lt;P&gt;Venkateswarlu K&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 11:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaq-p/12093667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-11-25T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: BSP-- %_ONLAYOUT method not available...</title>
      <link>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaa-p/12093668#M4518171</link>
      <description>&lt;P&gt;With code profilers you can usually switch off checks or ensure that they don't apply to specific objects or name ranges.&lt;/P&gt;&lt;P&gt;Rather than try to make your BSP conform to the code profiler, get the code profiler configuration fixed. (One of my client's systems, CP isn't configured for interfaces, so makes OO programming a bit difficult...).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaa-p/12093668#M4518171</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2019-11-25T12:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: BSP-- %_ONLAYOUT method not available...</title>
      <link>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaa-p/12093669#M4518172</link>
      <description>&lt;P&gt;As Matthew said, don't let an ABAP code analyzer check the code of %_ONLAYOUT because its ABAP code is generated by SAP (or do you say it checks the ABAP code inside the HTML?)&lt;/P&gt;&lt;P&gt;Each BSP page has a generated class prefixed CL_O2 (for instance CL_O2491ZL7SCR2TLAJ05RJNPFUQWC) which inherits from CL_BSP_PAGE. Each class redefines %_ONLAYOUT with ABAP code corresponding to the &lt;STRONG&gt;HTML layout&lt;/STRONG&gt; that you or your fellow developers have defined for the BSP page (this ABAP code is generated of course).&lt;/P&gt;&lt;P&gt;For information, I don't think there's an option to display the generated ABAP code from the BSP page, but you can know the name of the CL_O2 class by looking at the table O2PAGDIR, in column IMPLCLASS, and you can display it only indirectly by using a program like RS_ABAP_SOURCE_SCAN, by searching "." in the class (because the standard display of CL_O2 classes redirects to the editor of the BSP page).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 12:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bsp-onlayout-method-not-available/qaa-p/12093669#M4518172</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-11-25T12:27:02Z</dc:date>
    </item>
  </channel>
</rss>

