<?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 converting spool file into a text file. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799268#M1586923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that we are already using FM CONVERT_OTF already as part of RSPO_RETURN_SPOOLJOB. It picks up spool data in layout form, converts it to OTF with spacing as required etc, and then converted data is passed to CONVERT_OTF. But the text file that gets generated is NOT an exact replica of the spool file and that's where the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 12:58:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-13T12:58:52Z</dc:date>
    <item>
      <title>Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799264#M1586919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a requirement to send out spool files generated out of invoices to a 3rd party printing house (who prefer to get the file in a CSV,TXT,XLS format, not PDF). The bespoke ABAP program writes invoice data from individual spools into a text file and adds a Header line for each invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This passes through the SAP standard module RSPO_RETURN_SPOOLJOB, where the RAW format is converted. There are OSS notes on this FM as some formats like EXT and BCS give a dump - none of the notes can help with the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I am not able to get the correct formatting of the invoice data when the spool is saved as a text file - the alignment of columns is lost, and it looks more 'compressed' than what you see via SP01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use SAP Script to format data, and tried to tweak it to work, but it does not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help to resolve this gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: pgokhale on Apr 13, 2011 11:39 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 09:32:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799264#M1586919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-13T09:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799265#M1586920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which program/transaction are you using to generate the output ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 12:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799265#M1586920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-13T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799266#M1586921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using a bespoke print program (with SAP script) and output type to generate the output. The spool request gets generated automatically once the invoice is saved to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 12:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799266#M1586921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-13T12:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799267#M1586922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I encountered a similar situation while creating the output from F.27 / Program RFKORD11. The solution that was found was &lt;/P&gt;&lt;P&gt;that the standard report was copied as a custom and output  ( Which was  T_PDF_TAB ) &lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERT_OTF'
           EXPORTING
             FORMAT                      = 'ASCII'
            TABLES
              OTF                         = I_OTF
              LINES                       = T_PDF_TAB&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was formatted  as per the requirement and FM 'GUI DOWNLOAD ' was called to download  the formatted output  in text format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 12:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799267#M1586922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-13T12:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799268#M1586923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anup,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for the prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that we are already using FM CONVERT_OTF already as part of RSPO_RETURN_SPOOLJOB. It picks up spool data in layout form, converts it to OTF with spacing as required etc, and then converted data is passed to CONVERT_OTF. But the text file that gets generated is NOT an exact replica of the spool file and that's where the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 12:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799268#M1586923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-13T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799269#M1586924</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;Try to have a look at report: RSPO0047 . You can use this report to save spool data to a local file. &lt;/P&gt;&lt;P&gt;You can check the code and see how it is done which might be helpfull for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Roelof&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 16:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799269#M1586924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-13T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799270#M1586925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is what exactly i am trying to say. If your spool output doesn't match your text field output in terms of spacing and all&lt;/P&gt;&lt;P&gt;then you have to format the text output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 12:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799270#M1586925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-14T12:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799271#M1586926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rudolf and Anuj, the developers are currently investigating...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 09:18:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799271#M1586926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-15T09:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with converting spool file into a text file.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799272#M1586927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pgokhale!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searching information in SDN forums I've found exactly the problem I have in your thread, please, can you help me if you solve the issue with the formatting text when you transfer a spool order into txt file? I'm having the same problem, the file I get and sent by attachment is not equal to the one that is in the spool order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, help me, I'm getting crazy with this issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, have nice day and happy new year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 09:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-converting-spool-file-into-a-text-file/m-p/7799272#M1586927</guid>
      <dc:creator>former_member384574</dc:creator>
      <dc:date>2012-01-10T09:41:44Z</dc:date>
    </item>
  </channel>
</rss>

