<?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: Dialog programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467315#M220010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you save the text for any perticular line, save the primary key of that line as well. So, first search this table (primary key + text), if you find any entry show that into the editor based on the primary key (selected line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2006 14:23:31 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2006-07-25T14:23:31Z</dc:date>
    <item>
      <title>Dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467313#M220008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in Dialog programming i have a text editor control, my requirement is: i am storing the longtext which is entered in that text editor control.I want to display different texts in it based upon the records which i have selected in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic Flow:&lt;/P&gt;&lt;P&gt; Selection screen --&amp;gt; based on the selection screen, i will be getting the records in the alv format. If i select one record and click on a button on its gui status , it calls the texteditor control screen, in that i will enter some text and press save. it comes back to the previous screen which has the records again i select another record and press a button on the gui status,i will go to the screen again where i have the text editor control, in which i have to get the longtext which is been saved for that record. How is this possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am trying to do, its showing the same text for different records also.previous record text is not clearing.&lt;/P&gt;&lt;P&gt;can any one suggest and give a solution on this.it is working fine when i am coming out of the whole transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 14:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467313#M220008</guid>
      <dc:creator>ravi_sirigiri</dc:creator>
      <dc:date>2006-07-25T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467314#M220009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO of the screen where you are displaying the saved text check if text exists - if yes then display the same, if no then it is fresh entry hence display empty box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in PBO whether you are clearing the text editor based on condition above so that it wont show the same text again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 14:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467314#M220009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-25T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467315#M220010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you save the text for any perticular line, save the primary key of that line as well. So, first search this table (primary key + text), if you find any entry show that into the editor based on the primary key (selected line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 14:23:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467315#M220010</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-07-25T14:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467316#M220011</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;check below code , use delete_text after get_text_as_r3table method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL METHOD editor-&amp;gt;get_text_as_r3table&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          table                  = li_text_table&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          error_dp               = 1&lt;/P&gt;&lt;P&gt;          error_cntl_call_method = 2&lt;/P&gt;&lt;P&gt;          error_dp_create        = 3&lt;/P&gt;&lt;P&gt;          potential_data_loss    = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL METHOD editor-&amp;gt;delete_text&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          error_cntl_call_method = 1&lt;/P&gt;&lt;P&gt;          OTHERS                 = 2.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD editor-&amp;gt;set_text_as_r3table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      table           = li_text_table&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      error_dp        = 1&lt;/P&gt;&lt;P&gt;      error_dp_create = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the coding using above methods which is exactly like your requirement , it is working fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Appana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: L Appana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 14:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467316#M220011</guid>
      <dc:creator>Laxmana_Appana_</dc:creator>
      <dc:date>2006-07-25T14:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467317#M220012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am clearing it, after i save and come out of that text editor screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, &lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 14:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467317#M220012</guid>
      <dc:creator>ravi_sirigiri</dc:creator>
      <dc:date>2006-07-25T14:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467318#M220013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Appana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have not used the method get_text_as_r3table instead i have used GET_TEXT_AS_STREAM and i am deleteing the text with the same method : delete_text. what happens is for the new record the text of the text editor is not displaying. it is showing blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2006 14:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming/m-p/1467318#M220013</guid>
      <dc:creator>ravi_sirigiri</dc:creator>
      <dc:date>2006-07-25T14:33:49Z</dc:date>
    </item>
  </channel>
</rss>

