<?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 conversions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532472#M849822</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;what is the difference between SAP_CONVERT_TO_CSV_FORMAT and SAP_CONVERT_TO_TEX_FORMAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 14:04:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-04T14:04:01Z</dc:date>
    <item>
      <title>conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532472#M849822</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;what is the difference between SAP_CONVERT_TO_CSV_FORMAT and SAP_CONVERT_TO_TEX_FORMAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 14:04:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532472#M849822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T14:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532473#M849823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The comma-separated values (or CSV; also known as a comma-separated list or comma-separated variables) file format is a file type that stores tabular data. The format dates back to the early days of business computing. For this reason, CSV files are common on all computer platforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSV is one implementation of a delimited text file, which uses a comma to separate values (where many implementations of CSV import/export tools allow an alternate separator to be used; as is shown in the MS Access screen shot, below). However CSV differs from other delimiter separated file formats in using a " (double quote) character around fields that contain reserved characters (such as commas or newlines). Most other delimiter formats either use an escape character such as a backslash, or have no support for reserved characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In computer science terms, this type of format is called a "flat file" because only one table can be stored in a CSV file. Most systems use a series of tables to store their information, which must be "flattened" into a single table, often with information repeated over several rows, to create a delimited text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CSV format as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1997,Ford,E350,"ac, abs, moon",3000.00&lt;/P&gt;&lt;P&gt;1999,Chevy,"Venture ""Extended Edition""",,4900.00&lt;/P&gt;&lt;P&gt;1996,Jeep,Grand Cherokee,"MUST SELL!&lt;/P&gt;&lt;P&gt;air, moon roof, loaded",4799.00&lt;/P&gt;&lt;P&gt;This CSV example illustrates that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fields that contain commas, double-quotes, or line-breaks must be quoted, &lt;/P&gt;&lt;P&gt;a quote within a field must be escaped with an additional quote immediately preceding the literal quote, &lt;/P&gt;&lt;P&gt;space before and after delimiter commas may be trimmed, and &lt;/P&gt;&lt;P&gt;a line break within an element must be preserved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Rich Text Format (often abbreviated to RTF) is a proprietary document file format developed by Microsoft in 1987 for cross-platform document interchange. Most word processors are able to read and write RTF documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Microsoft is known for arbitrarily modifying this format specification between different versions of Microsoft Word. As a popular joke says, "RTF is defined as whatever Microsoft Word exports when one asks it to export to RTF".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should not be confused with enriched text (mimetype "text/enriched" of RFC 1896) or its predecessor Rich Text (mimetype "text/richtext" of RFC 1341 and 1521) which are completely different specifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contents [hide]&lt;/P&gt;&lt;P&gt;1 History &lt;/P&gt;&lt;P&gt;2 Sample RTF document &lt;/P&gt;&lt;P&gt;3 Character encoding &lt;/P&gt;&lt;P&gt;4 Human readability &lt;/P&gt;&lt;P&gt;5 Common implementations &lt;/P&gt;&lt;P&gt;6 See also &lt;/P&gt;&lt;P&gt;7 External links &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit] History&lt;/P&gt;&lt;P&gt;  This short section requires expansion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Members of the Microsoft Word development team, Richard Brodie, Charles Simonyi, and David Luebbert developed the original RTF in the middle to late 1980s. The first RTF reader and writer shipped in 1987 as part of Microsoft Word 3.0 for Macintosh, which implemented the version 1.0 RTF specification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All subsequent releases of Microsoft Word for the Macintosh and all versions of Microsoft Word for Windows have included built-in RTF readers and writers which translate from RTF to Word's .doc format and from .doc to RTF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard is still owned by Microsoft to this date; as of January 2007 it is up to version 1.9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Credit should be given to Donald Knuth for introducing the brace convention in his TeX typesetting program.[citation needed] Started in 1977, and first published in 1979, TeX used {\b } for bolding text, {\i } for italic, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit] Sample RTF document&lt;/P&gt;&lt;P&gt;As an example, the following RTF code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard&lt;/P&gt;&lt;P&gt;This is some {\b bold} text.\par&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;would be rendered like this when read by an appropriate word processor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is some bold text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A backslash (\) starts an RTF control code. The \par control code indicates the end of a paragraph, and \b switches to a bold typeface. Braces (&lt;SPAN __jive_macro_name="and"&gt;&lt;/SPAN&gt;) define a group; the example uses a group to limit the scope of the \b control code. Everything else will be treated as clear text, or the text to be formatted. A valid RTF document is a group starting with the \rtf control code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit] Character encoding&lt;/P&gt;&lt;P&gt;RTF is an 8-bit format. That would limit it to ASCII, but RTF can encode characters beyond ASCII by escape sequences. The character escapes are of two types: code page escapes and Unicode escapes. In a code page escape, two hexadecimal digits following an apostrophe are used for denoting a character taken from a Windows code page. For example, if control codes specifying Windows-1256 are present, the sequence \'c8 will encode the Arabic letter beh (&amp;amp;#1576;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a Unicode escape is required, the control word \u is used, followed by a 16-bit signed decimal integer giving the Unicode codepoint number. For the benefit of programs without Unicode support, this must be followed by the nearest representation of this character in the specified code page. For example, \u1576? would give the Arabic letter beh, specifying that older programs which do not have Unicode support should render it as a question mark instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The control word \uc0 can be used to indicate that subsequent Unicode escape sequences within the current group do not specify a substitution character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit] Human readability&lt;/P&gt;&lt;P&gt;Unlike most word processing formats, good RTF code can be made human-readable. That is to say that when an RTF file is opened in a text editor, the text is legible and the markup is not too distracting or counter-intuitive. The RTF files produced by most programs, such as MS Word, will contain such a large number of control codes for compatibility with older programs that most files will easily be an order of magnitude larger than the raw text and very difficult to read. Formats such as MS Word's .doc are, in contrast, binary formats with only a few scraps of legible text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nowadays, human-readable XML-based formats are becoming more common, but RTF's readability was a rare thing when it came out. Note that the XML-based OpenDocument and Office Open XML formats are often not immediately human-readable due to there being a bundle of several different files within a ZIP archive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit] Common implementations&lt;/P&gt;&lt;P&gt;Most word processing software implementations support RTF format import and export, often making it a "common" format between otherwise incompatible word processing software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WordPad editor in Microsoft Windows creates RTF files by default. It once defaulted to the Microsoft Word 6.0 file format, but write support for Word documents was dropped in a security update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The free and open-source word processors AbiWord, OpenOffice.org, and KWord can view and edit RTF files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default editor for Mac OS X, TextEdit, can also view and edit RTF files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 14:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532473#M849823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T14:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532474#M849824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Rajee&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference between SAP_CONVERT_TO_CSV_FORMAT and SAP_CONVERT_TO_TEX_FORMAT is, you can only convert text into a CSV file (comma separated valeu) using SAP_CONVERT_TO_CSV_FORMAT, whereas you can convert a text into a file having values that are sperated by your own delimiter like asterisk ( * ) or backslash ( \ ) or double qoutes ( " ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 15:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532474#M849824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532475#M849825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for your answer.&lt;/P&gt;&lt;P&gt;but problem is iam getting data in excel sheet instead of comma  separation .why iam getting like that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 09:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532475#M849825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T09:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532476#M849826</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;chk this prog,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: xht(1) TYPE x VALUE '09', &lt;/P&gt;&lt;P&gt;Filename TYPE dxfile-filename c lower case, &lt;/P&gt;&lt;P&gt;Delimiter TYPE char01 value ';', &lt;/P&gt;&lt;P&gt;Ouput_String TYPE truxs_t_text_data with header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Use FM SAP_CONVERT_TO_CSV_FORMAT and pass a Delimiter and ITAB. This &lt;/P&gt;&lt;P&gt;returns an Ouput_String &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert Internal Table to ; delimited format &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;There is a filename parameter on this FM but I don't think it's used &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'SAP_CONVERT_TO_CSV_FORMAT' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;i_field_seperator = Delimiter "default ';' &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;i_filename = Filename &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;tables &lt;/P&gt;&lt;P&gt;i_tab_sap_data = ITAB &lt;/P&gt;&lt;P&gt;changing &lt;/P&gt;&lt;P&gt;i_tab_converted_data = Ouput_String &lt;/P&gt;&lt;P&gt;exceptions &lt;/P&gt;&lt;P&gt;conversion_failed = 1 &lt;/P&gt;&lt;P&gt;others = 2. &lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset Filename for output in text mode encoding default. ( not sure &lt;/P&gt;&lt;P&gt;maybe binary mode) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at output_string. &lt;/P&gt;&lt;P&gt;replace all occurrences of Delimiter in Ouput_String with xht. &lt;/P&gt;&lt;P&gt;transfer Ouput_String to Filename. &lt;/P&gt;&lt;P&gt;Endloop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close dataset Filename. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this link..&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="130119"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 10:18:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversions/m-p/3532476#M849826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T10:18:04Z</dc:date>
    </item>
  </channel>
</rss>

