<?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, Edit and Display Longtexts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582588#M262784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the function group documentation for the group that contains READ_TEXT.  It's actually quite helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2006 13:37:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-12T13:37:47Z</dc:date>
    <item>
      <title>Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582586#M262782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about creating, editing, displaying and deleting longtexts (like sapscript longtexts). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a custom transaction (Module pool program) for BUDGET DISTRIBUTION REQUEST where in i need to give the user a provision to enter longtexts for PROJECT OBJECTIVE and JUSTIFICATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i know is we can save and read the texts using SAVE_TEXT AND READ_TEXT FM's but it needs object id/object name. As we are storing all the data for this transaction in custom tables i dont know how to have this OBJECT NAME/ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 13:17:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582586#M262782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T13:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582587#M262783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create your own custom ID.  If you're retrieving an existing text, go to the text itself in the SapScript editor (like you're going to add or modify an entry), then choose the menu option Goto Header.  It will give you the object name and ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 13:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582587#M262783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T13:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582588#M262784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the function group documentation for the group that contains READ_TEXT.  It's actually quite helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 13:37:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582588#M262784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582589#M262785</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;look in tables TTXOB for object&lt;/P&gt;&lt;P&gt;and TTXID for ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set a break-point in FORM  check_key in fm read_text and &lt;/P&gt;&lt;P&gt;create a text per standard dialog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 13:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582589#M262785</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-10-12T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582590#M262786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;    use below code&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEST102.&lt;/P&gt;&lt;P&gt;DATA IT_LINES LIKE  TLINE OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;IT_LINES-TDFORMAT = '*'.&lt;/P&gt;&lt;P&gt;IT_LINES-TDLINE = 'text'.&lt;/P&gt;&lt;P&gt;APPEND IT_LINES.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CREATE_TEXT'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          FID         = 'ST'&lt;/P&gt;&lt;P&gt;          FLANGUAGE   = SY-LANGU&lt;/P&gt;&lt;P&gt;          FNAME       = '09999'&lt;/P&gt;&lt;P&gt;          FOBJECT     = 'TEXT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        SAVE_DIRECT = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FFORMAT     = '*'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          FLINES      = IT_LINES&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          NO_INIT     = 1&lt;/P&gt;&lt;P&gt;          NO_SAVE     = 2&lt;/P&gt;&lt;P&gt;          OTHERS      = 3.&lt;/P&gt;&lt;P&gt;FREE IT_LINES.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        CLIENT                  = SY-MANDT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          ID                      = 'ST'&lt;/P&gt;&lt;P&gt;          LANGUAGE                = SY-LANGU&lt;/P&gt;&lt;P&gt;          NAME                    = '09999'&lt;/P&gt;&lt;P&gt;          OBJECT                  = 'TEXT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_HANDLE          = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        HEADER                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          LINES                   = IT_LINES&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ID                      = 1&lt;/P&gt;&lt;P&gt;          LANGUAGE                = 2&lt;/P&gt;&lt;P&gt;          NAME                    = 3&lt;/P&gt;&lt;P&gt;          NOT_FOUND               = 4&lt;/P&gt;&lt;P&gt;          OBJECT                  = 5&lt;/P&gt;&lt;P&gt;          REFERENCE_CHECK         = 6&lt;/P&gt;&lt;P&gt;          WRONG_ACCESS_TO_ARCHIVE = 7&lt;/P&gt;&lt;P&gt;          OTHERS                  = 8.&lt;/P&gt;&lt;P&gt;LOOP AT IT_LINES.&lt;/P&gt;&lt;P&gt;WRITE:/ IT_LINES.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;text will be stored in table stxh,stxl.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582590#M262786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582591#M262787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the TEXT OBJECT and TEXT ID using SE75, but i dont know how to attach the TD NAME(key) to it so that i can read/save the text into the SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read any longtexts we need to pass TEXTOBJECT, TEXT ID &amp;amp; TDNAME along with language for READ_TEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: PURCHASE ORDER NO will be the TDNAME for getting the longtexts related to RFQ related to PO (Text object = EKKO, TDID = XXX)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me how do we link that the TDNAME will be this for this TEXT OBJECT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2006 14:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582591#M262787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-12T14:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create, Edit and Display Longtexts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582592#M262788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to use transaction SO10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 11:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-edit-and-display-longtexts/m-p/1582592#M262788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T11:51:49Z</dc:date>
    </item>
  </channel>
</rss>

