<?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: Create Long Text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617947#M1863334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I think you doesn't need to call &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;CREATE_TEXT, &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;EDIT_TEXT should save the text too&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 07:50:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-18T07:50:20Z</dc:date>
    <item>
      <title>Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617941#M1863328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I need to call CREATE_TEXT if the Long Text does not exist or does EDIT_TEXT implicitly creates the Long Text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I first Read and if sy-subrc NE 0, then call CREATE_TEXT or what?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 17:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617941#M1863328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-17T17:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617942#M1863329</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;It depends on what you need to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;EDIT_TEXT opens a dialog with the editor in order to write and save the text&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;- &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;CREATE_TEXT or SAVE_TEXT save the text in db, so the text should be created programatically&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 17:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617942#M1863329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-17T17:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617943#M1863330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an editable ALV. Each record will have a blank page icon if it doesn't have long text and a icon with glasses if the long text exists for that record. When I hit that long text icon, it should show up the editor to edit long text (regardless if the icon is the blank page or the page with glasses).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 17:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617943#M1863330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-17T17:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617944#M1863331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you need to call &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;EDIT_TEXT (this fm should save the text by itself) in both situation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;- If the text exist you should read it by FM READ_TEXT and then call EDIT_TEXT (with data from READ_TEXT) and DISPLAY equal to X&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;- if the text doesn't exit you need to call EDIT_TEXT only, but you need to fill header data (HEADER) by your self&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;Max&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 17:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617944#M1863331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-17T17:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617945#M1863332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my test, the text does not exist and I am doing exactly as your second point. I am filling the header, the editor pops out, but it is not saving the text. I look on table stxh and there is no text there with the Text Object that I am using. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 17:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617945#M1863332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-17T17:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617946#M1863333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I resolved it by doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_TEXT&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;EDIT_TEXT.&lt;/P&gt;&lt;P&gt;ELSEIF sy-subrc = 4.&lt;/P&gt;&lt;P&gt;EDIT_TEXT&lt;/P&gt;&lt;P&gt;CREATE_TEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617946#M1863333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-17T18:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Long Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617947#M1863334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I think you doesn't need to call &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;CREATE_TEXT, &lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;EDIT_TEXT should save the text too&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 07:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-long-text/m-p/10617947#M1863334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-18T07:50:20Z</dc:date>
    </item>
  </channel>
</rss>

