<?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 Webdynpro in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro/m-p/12484191#M2002014</link>
    <description>&lt;P&gt;Hi Everyone ,&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038623-s6qwiildlr.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038624-fhleu9nyu2.png" /&gt;&lt;/P&gt;
  &lt;P&gt;As you can see in the first photo, I have two tables and buttons(1-2) under these tables.&lt;/P&gt;
  &lt;P&gt;- When I press the first button, the screen in the second picture opens. no problem here .&lt;/P&gt;
  &lt;P&gt;- But when I click the back button and click on the second button after the first picture is displayed, it still shows the same result.&lt;/P&gt;
  &lt;P&gt;- When I examined the codes with break point, I saw that after pressing the back button, pressing the second button did not enter the following if condition.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  DATA: lo_tc     TYPE REF TO cl_wd_transparent_container.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  IF first_time EQ abap_true.&lt;BR /&gt;&lt;BR /&gt;*     Ekrandaki default TC bulunur:&lt;BR /&gt;    lo_tc ?= view-&amp;gt;get_element( id = 'ROOTUIELEMENTCONTAINER' ).&lt;BR /&gt;&lt;BR /&gt;      " İlk Asıl Belge Ekrana Eklenir&lt;BR /&gt;    DATA(lo_parent_tc) = wd_this-&amp;gt;add_doc_to_ui( EXPORTING io_parent_tc = lo_tc&lt;BR /&gt;                                                           iv_doc_guid = wd_this-&amp;gt;mv_doc_guid ).&lt;BR /&gt;&lt;BR /&gt;  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I think I need an else condition, but how should I do it?&lt;/P&gt;
  &lt;P&gt;Thanks regards.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 11:31:28 GMT</pubDate>
    <dc:creator>Neithan</dc:creator>
    <dc:date>2022-04-12T11:31:28Z</dc:date>
    <item>
      <title>Webdynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro/m-p/12484191#M2002014</link>
      <description>&lt;P&gt;Hi Everyone ,&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038623-s6qwiildlr.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2038624-fhleu9nyu2.png" /&gt;&lt;/P&gt;
  &lt;P&gt;As you can see in the first photo, I have two tables and buttons(1-2) under these tables.&lt;/P&gt;
  &lt;P&gt;- When I press the first button, the screen in the second picture opens. no problem here .&lt;/P&gt;
  &lt;P&gt;- But when I click the back button and click on the second button after the first picture is displayed, it still shows the same result.&lt;/P&gt;
  &lt;P&gt;- When I examined the codes with break point, I saw that after pressing the back button, pressing the second button did not enter the following if condition.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;  DATA: lo_tc     TYPE REF TO cl_wd_transparent_container.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  IF first_time EQ abap_true.&lt;BR /&gt;&lt;BR /&gt;*     Ekrandaki default TC bulunur:&lt;BR /&gt;    lo_tc ?= view-&amp;gt;get_element( id = 'ROOTUIELEMENTCONTAINER' ).&lt;BR /&gt;&lt;BR /&gt;      " İlk Asıl Belge Ekrana Eklenir&lt;BR /&gt;    DATA(lo_parent_tc) = wd_this-&amp;gt;add_doc_to_ui( EXPORTING io_parent_tc = lo_tc&lt;BR /&gt;                                                           iv_doc_guid = wd_this-&amp;gt;mv_doc_guid ).&lt;BR /&gt;&lt;BR /&gt;  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;I think I need an else condition, but how should I do it?&lt;/P&gt;
  &lt;P&gt;Thanks regards.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 11:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro/m-p/12484191#M2002014</guid>
      <dc:creator>Neithan</dc:creator>
      <dc:date>2022-04-12T11:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Webdynpro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro/m-p/12484192#M2002015</link>
      <description>&lt;P&gt;So you say that "first_time" is always false, so tell us more about what is "first_time"...&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webdynpro/m-p/12484192#M2002015</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-04-12T13:19:01Z</dc:date>
    </item>
  </channel>
</rss>

