<?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: Process a field type string with editor in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325916#M1991364</link>
    <description>&lt;P&gt;Yes you are right Sandra, here I found the above FM CONVERT_STRING_TO_TABLE. But unfortunately yesterday I read about other FMs that unfortunately convert big CHARs to a charlike ITAB. Maybe my mistake was that I was trying to find an answer to 'split a string into a charlike ITAB'.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 11:33:59 GMT</pubDate>
    <dc:creator>ekekakos</dc:creator>
    <dc:date>2021-02-17T11:33:59Z</dc:date>
    <item>
      <title>Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325909#M1991357</link>
      <description>&lt;P&gt;Hello, I have a field which is TYPE STRING and I ant the user to edit it through the small editor that SAP provides (by pressing a button that I have put in the Screen Painter).&lt;/P&gt;
  &lt;P&gt;Can someone tell me ho to do?&lt;/P&gt;
  &lt;P&gt;But keep in mind that the TYPE of the FIELD Comments is &lt;STRONG&gt;STRING&lt;/STRONG&gt;.&lt;/P&gt;
  &lt;P&gt;I tried to find to find sth for STRINGs and not for CHARs but I couldn't.&lt;/P&gt;
  &lt;P&gt;Thanks in advance&lt;/P&gt;
  &lt;P&gt;Elias&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:41:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325909#M1991357</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2021-02-17T09:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325910#M1991358</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;elkekakos&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Google: SAP ABAP edit string value in text editor: &lt;A href="https://www.google.com/search?q=sap+abap+edit+string+value+in+text+editor" target="test_blank"&gt;https://www.google.com/search?q=sap+abap+edit+string+value+in+text+editor&lt;/A&gt;&lt;/P&gt;&lt;P&gt;First result: &lt;A href="https://answers.sap.com/questions/6606796/how-to-create-text-editor.html" target="test_blank"&gt;https://answers.sap.com/questions/6606796/how-to-create-text-editor.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;One of the answers contains whole example (I have not tested it): &lt;A href="https://answers.sap.com/answers/6607286/view.html" target="test_blank"&gt;https://answers.sap.com/answers/6607286/view.html&lt;/A&gt;&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 17 Feb 2021 09:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325910#M1991358</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-02-17T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325911#M1991359</link>
      <description>&lt;P&gt;Thanks Mateusz, but there is a missing point in this. There is no method to pass the already existing text for editing. Here I couldn't find a way for strings type elements. I found a lot of FM but all are for CHARs data element and ends with ST22 error.&lt;/P&gt;&lt;P&gt;So my question is how to pass the existing TEXT to the editor.&lt;/P&gt;&lt;P&gt;I found the below but I cannot fill the ITAB it is asking because it must be charlike.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gt_outtab       TYPE STANDARD TABLE OF as4text
CALL METHOD text_editor-&amp;gt;set_text_as_stream
      EXPORTING
        text            = gt_outtab
      EXCEPTIONS
        error_dp        = 1
        error_dp_create = 2
        OTHERS          = 3.&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Again thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325911#M1991359</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2021-02-17T09:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325912#M1991360</link>
      <description>&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;Class CL_GUI_TEXTEDIT contains method SET_TEXTSTREAM which imports a text with STRING type. Have you tried it?&lt;/P&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 17 Feb 2021 10:46:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325912#M1991360</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-02-17T10:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325913#M1991361</link>
      <description>&lt;P&gt;Damn, damn, ... I saw also this metho yesterday but I choose the other one. And I was trying to find a way to convert the STRING to CHAR. I found this after your 1st answer (CONVERT_STRING_TO_TABLE) with hich I managed to overcome my problem (fill a charlike table from the string). I was preparing my answer and you came to tell me the correct method that must be used. Jesus, what a waste time.&lt;/P&gt;&lt;P&gt;Thnks a lot &lt;A href="https://answers.sap.com/users/233743/mateuszadamus.html"&gt;Mateusz Adamus&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 11:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325913#M1991361</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2021-02-17T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325914#M1991362</link>
      <description>&lt;P&gt;No worries. We've all been there - looking at the obvious and not seeing it.&lt;/P&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Mateusz</description>
      <pubDate>Wed, 17 Feb 2021 11:23:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325914#M1991362</guid>
      <dc:creator>MateuszAdamus</dc:creator>
      <dc:date>2021-02-17T11:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325915#M1991363</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/136589/elkekakos.html"&gt;Elias Kekakos&lt;/A&gt; Hopefully "fill the ITAB it is asking because it must be charlike", hopefully it must be charlike to store text... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If it's about how to transfer string to itab, it has already been asked in the forum.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 11:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325915#M1991363</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-02-17T11:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Process a field type string with editor</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325916#M1991364</link>
      <description>&lt;P&gt;Yes you are right Sandra, here I found the above FM CONVERT_STRING_TO_TABLE. But unfortunately yesterday I read about other FMs that unfortunately convert big CHARs to a charlike ITAB. Maybe my mistake was that I was trying to find an answer to 'split a string into a charlike ITAB'.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 11:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/process-a-field-type-string-with-editor/m-p/12325916#M1991364</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2021-02-17T11:33:59Z</dc:date>
    </item>
  </channel>
</rss>

