<?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: problem in text editor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960498#M1156465</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;To add data to the screen container we need to set the text editor as active&lt;/P&gt;&lt;P&gt;initially we read data from text using READ_TEXT passing the required parameters&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; call method editor-&amp;gt;set_text_as_stream&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      text = text_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you enter the values we can fetch it from the screen text editor back to th internal table&lt;/P&gt;&lt;P&gt;  call method editor1-&amp;gt;get_text_as_r3table&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      table                  = int_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;      others                 = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_editor,&lt;/P&gt;&lt;P&gt;        edit(254) type c,&lt;/P&gt;&lt;P&gt;       end of ty_editor.&lt;/P&gt;&lt;P&gt;data: int_table type standard table of ty_editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything completed means ...on user action of save....&lt;/P&gt;&lt;P&gt;use function module SAVE_TEXT..For this(READ_TEXT/SAVE_TEXT usage) we must have created an text name and other parameters in SO10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2008 10:20:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-29T10:20:22Z</dc:date>
    <item>
      <title>problem in text editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960494#M1156461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I hav created a text editor in my module pool program. now i m fetching data from internal table to text editor , now i want to add some more data in it n save it back to ztable ,how to do this?????&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960494#M1156461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem in text editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960495#M1156462</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;refer to this demo program..SAPSCRIPT_DEMO_NOTE_EDITOR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960495#M1156462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: problem in text editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960496#M1156463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In PAI ( Suppose If a button is pressed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Insert Command to Insert the text in the Table field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960496#M1156463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem in text editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960497#M1156464</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;If u r going to insert new records into the databse table then go for INSERT statement ,&lt;/P&gt;&lt;P&gt;if updating the existing record then go for UPDATE statemnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the above shud be under PAI events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a push button on the selection screen with function code 'SAVE' /or any thing it can be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case sy-ucomm.&lt;/P&gt;&lt;P&gt;When 'SAVE'&lt;/P&gt;&lt;P&gt;Insert...&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;Update....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revrt back if any issues.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 09:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960497#M1156464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T09:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: problem in text editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960498#M1156465</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;To add data to the screen container we need to set the text editor as active&lt;/P&gt;&lt;P&gt;initially we read data from text using READ_TEXT passing the required parameters&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; call method editor-&amp;gt;set_text_as_stream&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      text = text_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you enter the values we can fetch it from the screen text editor back to th internal table&lt;/P&gt;&lt;P&gt;  call method editor1-&amp;gt;get_text_as_r3table&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      table                  = int_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;      others                 = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_editor,&lt;/P&gt;&lt;P&gt;        edit(254) type c,&lt;/P&gt;&lt;P&gt;       end of ty_editor.&lt;/P&gt;&lt;P&gt;data: int_table type standard table of ty_editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything completed means ...on user action of save....&lt;/P&gt;&lt;P&gt;use function module SAVE_TEXT..For this(READ_TEXT/SAVE_TEXT usage) we must have created an text name and other parameters in SO10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2008 10:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-text-editor/m-p/4960498#M1156465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-29T10:20:22Z</dc:date>
    </item>
  </channel>
</rss>

