<?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 with TXT attach in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692716#M623020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhakar&lt;/P&gt;&lt;P&gt;  In the ITAB you are passing try to cancatenate the Line feed character at the end of the work area. Like for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;CONCATENATE wa_itab CL_GUI_ABAP_UTILITIES=&amp;gt;CR_LF INTO wa_itab.&lt;/P&gt;&lt;P&gt;MODIFY itab FROM wa_itab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you are clear with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2007 07:06:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-18T07:06:53Z</dc:date>
    <item>
      <title>Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692715#M623019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. i am using one internal table "it_reptab" with SOLI structure to store records.&lt;/P&gt;&lt;P&gt;2. writing these records to Application server (Unix Type)&lt;/P&gt;&lt;P&gt;3. used function module&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     DOCUMENT_DATA                    = st_doc_head&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;     PACKING_LIST                         =     it_packlist&lt;/P&gt;&lt;P&gt;     OBJECT_HEADER                    =     it_objhdr&lt;/P&gt;&lt;P&gt;     CONTENTS_TXT                       =     it_attachment&lt;/P&gt;&lt;P&gt;     RECEIVERS                           =      it_receivers&lt;/P&gt;&lt;P&gt;in it_packlist, i am having two records one for mail body and one for attachment, the attachment record is having document type TXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now problem is i am not getting output like this in text file, the second line coming at 255 column or 512 column, Can anybody please help is how we can solve this problem.&lt;/P&gt;&lt;P&gt;Please let me know you need any other info. What delimiter we have to used when appending the records to "it_reptab". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orders without, or with partial confirm qty&lt;/P&gt;&lt;P&gt;O----&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;  System ID      :   SID&lt;/P&gt;&lt;P&gt;  Report Date    :   15.08.2006&lt;/P&gt;&lt;P&gt;  Report Time    :   06:15:29&lt;/P&gt;&lt;P&gt;  Plant Code     :   X000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 06:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692715#M623019</guid>
      <dc:creator>sudhakar196</dc:creator>
      <dc:date>2007-08-18T06:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692716#M623020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudhakar&lt;/P&gt;&lt;P&gt;  In the ITAB you are passing try to cancatenate the Line feed character at the end of the work area. Like for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;CONCATENATE wa_itab CL_GUI_ABAP_UTILITIES=&amp;gt;CR_LF INTO wa_itab.&lt;/P&gt;&lt;P&gt;MODIFY itab FROM wa_itab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you are clear with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 07:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692716#M623020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T07:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692717#M623021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i am using 4.6, this calss is not availbe, thank you for your reply, Can you please think hexadecimal point. &lt;/P&gt;&lt;P&gt;constant c_carret type x value '0D'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 07:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/2692717#M623021</guid>
      <dc:creator>sudhakar196</dc:creator>
      <dc:date>2007-08-18T07:16:38Z</dc:date>
    </item>
  </channel>
</rss>

