<?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: How to stop HTML Viewer from refreshing? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657613#M4824082</link>
    <description>sdfsdf</description>
    <pubDate>Wed, 03 Apr 2024 14:28:07 GMT</pubDate>
    <dc:creator>pascalrode</dc:creator>
    <dc:date>2024-04-03T14:28:07Z</dc:date>
    <item>
      <title>How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaq-p/12791908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have added an HTML Viewer using SAP Personas to trasnaction PFCG. The HTML Viewer has a link to transaction KSH3 and the purpose of this is to allow users to easily view cost centre data when choosing roles:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2188722-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;The problem is that whenever the user performs an action on the PFCG screen, the HTML Viewer always refreshes, causing the user to lose any information they had entered. For example, if the user is searching for roles, the HTML Viewer starts to refresh, and the entered data is lost:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2188723-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Is there any way to prevent the refreshing, when the user performs an action in PFCG, and so retain the user-entered data in the HTML Viewer?&lt;/P&gt;
  &lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 16:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaq-p/12791908</guid>
      <dc:creator>former_member195355</dc:creator>
      <dc:date>2023-07-24T16:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/12791909#M4802710</link>
      <description>&lt;P&gt;Hi Robert, could you please provide more details on this. From what we can observe in screenshots, it looks like it is working as designed and there are technical reasons for that. Maybe you can describe what are you trying to achieve and we can propose better solution for you.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Artemijs, Screen Personas development team&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 07:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/12791909#M4802710</guid>
      <dc:creator>artemijs</dc:creator>
      <dc:date>2023-07-26T07:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/12791910#M4802711</link>
      <description>&lt;P&gt;Hello Artemjis,&lt;/P&gt;&lt;P&gt;Thank you for getting in touch. I appreciate your help.&lt;/P&gt;&lt;P&gt;Let me explain the scenario we have developed:&lt;/P&gt;&lt;P&gt;-Users frequently need to assign roles using the PFCG transaction.&lt;/P&gt;&lt;P&gt;-Sometimes, before they can determine the correct role, they have to look up cost center hierarchies in transaction KSH3. In KSH3, they have to navigate through multiple screens to reach the cost center entry screen.&lt;/P&gt;&lt;P&gt;-To streamline this process, we have created a custom flavor for KSH3 that automates all the steps required to reach the cost center entry screen. This flavor is then called via an HTML viewer embedded within the PFCG transaction. The purpose of this integration is to allow users to access KSH3 and determine the cost center hierarchy without leaving the PFCG transaction.&lt;/P&gt;&lt;P&gt;-However, the issue we are facing is that after users determine the cost center hierarchy using the HTML viewer, any attempt to use PFCG functionality (such as looking up a relevant role) causes the HTML viewer to refresh, resulting in the loss of the information they found.&lt;/P&gt;&lt;P&gt;We are looking for a solution to prevent this continuous refreshing of the HTML viewer and retain the information found by the users.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/12791910#M4802711</guid>
      <dc:creator>former_member195355</dc:creator>
      <dc:date>2023-07-26T15:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657052#M4824020</link>
      <description>&lt;P&gt;Unfortunately, this question has remained unanswered so far, which is regrettable. Does SAP not have a solution? My impression, however, is that it is fundamentally not possible to use dynamic web pages within SAP Personas. This is because the transaction displayed in the browser, which might have an embedded WebView, is reloaded upon executing a script. SAP Personas would need to somehow cache this view or keep it available elsewhere, which is probably not feasible in this architecture. However, I am open to being corrected and am very interested in a solution.&lt;/P&gt;&lt;P&gt;My use case is as follows: I had the idea to integrate additional components, for example, a React application, within SAP Personas. Or other dynamic pages as well. But if a reload occurs as soon as an SAP Personas script is invoked, this seems fundamentally impossible, which would be very unfortunate.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 09:45:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657052#M4824020</guid>
      <dc:creator>pascalrode</dc:creator>
      <dc:date>2024-04-03T09:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657496#M4824071</link>
      <description>&lt;P&gt;Are you owning the code where the HTML viewer is used? If so, you shouldn't create a new instance of the HTML control in GUI each roundtrip. Instead the instance of the Cl_GUI_HTML_VIEWER should be a global variable in the program and only be instantiated at the very beginning.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 13:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657496#M4824071</guid>
      <dc:creator>thomas_mller13</dc:creator>
      <dc:date>2024-04-03T13:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657610#M4824080</link>
      <description>&lt;P&gt;how I can I delete a post??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657610#M4824080</guid>
      <dc:creator>pascalrode</dc:creator>
      <dc:date>2024-04-03T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657611#M4824081</link>
      <description>Maybe this is a misunderstanding: I am not working with an ABAP program but using the fancy drag&amp;amp;drop</description>
      <pubDate>Wed, 03 Apr 2024 14:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657611#M4824081</guid>
      <dc:creator>pascalrode</dc:creator>
      <dc:date>2024-04-03T14:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop HTML Viewer from refreshing?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657613#M4824082</link>
      <description>sdfsdf</description>
      <pubDate>Wed, 03 Apr 2024 14:28:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-stop-html-viewer-from-refreshing/qaa-p/13657613#M4824082</guid>
      <dc:creator>pascalrode</dc:creator>
      <dc:date>2024-04-03T14:28:07Z</dc:date>
    </item>
  </channel>
</rss>

