<?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 Longtext Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062737#M426545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;gurus getting one problem in text upload and viewing the text in report&lt;/P&gt;&lt;P&gt;the tcode for which iam working is qp02&lt;/P&gt;&lt;P&gt;in which the text is in the following format &lt;/P&gt;&lt;P&gt;descrption.&lt;/P&gt;&lt;P&gt;text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well know i created a text porgram and was getting problem as it was adding " commas in my text i reomved it by using replace a;; occurances..now i get fine text which gets uploaded fine...problem is my user using using a another report in which they get the data in following way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-col-1                text-col-2&lt;/P&gt;&lt;P&gt;description            text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but iam getting it in this way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-col-1                text-col-2&lt;/P&gt;&lt;P&gt;                              text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam unable to c the text description..  if in tcode manuallay i give a space before the text then i get all the text properly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-col-1                text-col-2&lt;/P&gt;&lt;P&gt;description            text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did debug it but iam sure there is nothing wrong in my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards pls help .&lt;/P&gt;&lt;P&gt;answers will be rewarded point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 11:14:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T11:14:04Z</dc:date>
    <item>
      <title>Longtext Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062737#M426545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;gurus getting one problem in text upload and viewing the text in report&lt;/P&gt;&lt;P&gt;the tcode for which iam working is qp02&lt;/P&gt;&lt;P&gt;in which the text is in the following format &lt;/P&gt;&lt;P&gt;descrption.&lt;/P&gt;&lt;P&gt;text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well know i created a text porgram and was getting problem as it was adding " commas in my text i reomved it by using replace a;; occurances..now i get fine text which gets uploaded fine...problem is my user using using a another report in which they get the data in following way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-col-1                text-col-2&lt;/P&gt;&lt;P&gt;description            text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but iam getting it in this way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-col-1                text-col-2&lt;/P&gt;&lt;P&gt;                              text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam unable to c the text description..  if in tcode manuallay i give a space before the text then i get all the text properly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text-col-1                text-col-2&lt;/P&gt;&lt;P&gt;description            text abcdefghijklmno,.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i did debug it but iam sure there is nothing wrong in my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards pls help .&lt;/P&gt;&lt;P&gt;answers will be rewarded point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 11:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062737#M426545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T11:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Longtext Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062738#M426546</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 save_text FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF TXTLINES[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;CLEAR : TNAME, TNAME[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TBLNO = SYTABIX.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CONCATENATE SY-MANDT 'Q' INT_QP01-PLNNR OPERNO INTO TNAME-TDNAME. " ' ' TBLNO RECNO INTO TNAME.&lt;/P&gt;&lt;P&gt;MOVE TBLNO TO TNAME-TDNAME+21(4).&lt;/P&gt;&lt;P&gt;MOVE RECNO TO TNAME-TDNAME+25(8).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'QSS' TO TNAME-TDOBJECT.&lt;/P&gt;&lt;P&gt;MOVE 'QM' TO TNAME-TDID.&lt;/P&gt;&lt;P&gt;MOVE SY-LANGU TO TNAME-TDSPRAS.&lt;/P&gt;&lt;P&gt;APPEND TNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;HEADER = TNAME&lt;/P&gt;&lt;P&gt;INSERT = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SAVEMODE_DIRECT = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;NEWHEADER = TNAME&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;LINES = TXTLINES&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;OBJECT = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's a combination of values that we give which matches the text name field (which you get once you get into the long text editor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg. if the text name is 999Q5010094900000003 001000000022, then&lt;/P&gt;&lt;P&gt;first 3 digits indicates the client, 4th digit is 'Q', 50100949 is PLNNR, and 00000003 is OPERNO, 0010 is tblno, and 00000022 is recno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;this logic is worked out in this code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;CONCATENATE SY-MANDT 'Q' INT_QP01-PLNNR OPERNO INTO TNAME- TDNAME. &lt;/P&gt;&lt;P&gt;MOVE TBLNO TO TNAME-TDNAME+21(4).&lt;/P&gt;&lt;P&gt;MOVE RECNO TO TNAME-TDNAME+25(8).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare like this: TBLNO(4) TYPE N, RECNO(8) TYPE N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialise TBLNO = '0010'. and after that increment by 10 tblno = tblno + 10 and at the end, reset tblno to 0010 itself..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialise RECNO = '00000000' and after that increment it by 1 at the start of the loop...don't reset it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 11:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062738#M426546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T11:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Longtext Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062739#M426547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, that will help, but make sure when calling FM "SAVE_TEXT", to call FM "COMMIT_TEXT" right after, since without your text will probably saved some later or rolled back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 11:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062739#M426547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T11:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Longtext Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062740#M426548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnks ..that was very knowledgebale answer ..but my problem is not with text uploading ..its uploading fine ..but when iam retiving the text its first line is not getting printed ..when manuallay  give space after the first line in tcode qp02 then its properly displayed.&lt;/P&gt;&lt;P&gt;help me in this &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 11:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062740#M426548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Longtext Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062741#M426549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;th&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:55:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/longtext-problem/m-p/2062741#M426549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T06:55:53Z</dc:date>
    </item>
  </channel>
</rss>

