<?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 Outbound file interface  in CSV format ( ABAP OO ) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-file-interface-in-csv-format-abap-oo/m-p/6916938#M1483703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks, &lt;/P&gt;&lt;P&gt;          I am new to the OO ABAP and trying to write outbound interface for couple of HCM tables. It is the piece of cake for me if I do it in regular ABAP but I choose the to it hard way because I want to do it in OO ABAP. I have read several post from Narish . They were great. &lt;/P&gt;&lt;P&gt;Letu2019s get the point , how I will go off writing an outbound interface .. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have looked the class CL_RSAN_UT_APPSERV_FILE_WRITER and its methods &lt;/P&gt;&lt;P&gt;APPSERVER_FILE_WRITE&lt;/P&gt;&lt;P&gt;CONSTRUCTOR&lt;/P&gt;&lt;P&gt;FREE&lt;/P&gt;&lt;P&gt;OPEN&lt;/P&gt;&lt;P&gt;CLOSE&lt;/P&gt;&lt;P&gt;WRITE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;But it seems like I canu2019t use my internal table because  u201CI_DATA_TABu201D type in method APPSERVER_FILE_WRITE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any help will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;UA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 18:03:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-13T18:03:42Z</dc:date>
    <item>
      <title>Outbound file interface  in CSV format ( ABAP OO )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-file-interface-in-csv-format-abap-oo/m-p/6916938#M1483703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks, &lt;/P&gt;&lt;P&gt;          I am new to the OO ABAP and trying to write outbound interface for couple of HCM tables. It is the piece of cake for me if I do it in regular ABAP but I choose the to it hard way because I want to do it in OO ABAP. I have read several post from Narish . They were great. &lt;/P&gt;&lt;P&gt;Letu2019s get the point , how I will go off writing an outbound interface .. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have looked the class CL_RSAN_UT_APPSERV_FILE_WRITER and its methods &lt;/P&gt;&lt;P&gt;APPSERVER_FILE_WRITE&lt;/P&gt;&lt;P&gt;CONSTRUCTOR&lt;/P&gt;&lt;P&gt;FREE&lt;/P&gt;&lt;P&gt;OPEN&lt;/P&gt;&lt;P&gt;CLOSE&lt;/P&gt;&lt;P&gt;WRITE&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;But it seems like I canu2019t use my internal table because  u201CI_DATA_TABu201D type in method APPSERVER_FILE_WRITE.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Any help will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;UA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 18:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-file-interface-in-csv-format-abap-oo/m-p/6916938#M1483703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T18:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Outbound file interface  in CSV format ( ABAP OO )</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-file-interface-in-csv-format-abap-oo/m-p/6916939#M1483704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to use the method WRITE or APPSERVER_FILE_WRITE, you need to fill the table TYPE RSANM_FILE_TABLE by concatenating your fields of internal table using the separator (e.g. Horizontal tab, pipe sign, comma) which would be understood by the reader of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data:  li_data_tab TYPE STANDARD TABLE OF string.
LOOP at itab into wa_tab.
       CONCATENATE wa_tab-field1
                    wa_tab-field2 
       into lwa_file separated by cl_abap_char_utilities=&amp;gt;horizontal_tab.
        APPEND lwa_data_tab TO li_data_tab.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 22:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/outbound-file-interface-in-csv-format-abap-oo/m-p/6916939#M1483704</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-05-13T22:02:06Z</dc:date>
    </item>
  </channel>
</rss>

