<?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: Interface related in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544513#M247786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt; you can use the function module&lt;/P&gt;&lt;P&gt; I couldnt able to remember the name of function Module&lt;/P&gt;&lt;P&gt;so &lt;STRONG&gt;call_system&lt;/STRONG&gt; and try F4  on SE37 . I think it is SPXG_CALL_SYSTEM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used for transfering files to FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;krishnakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2006 09:28:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-28T09:28:42Z</dc:date>
    <item>
      <title>Interface related</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544511#M247784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create a report to Extract a data from SAP in to a flat file and send it to a third party system.This report will be run on a weekly basis and the data needs to be FTP'd through the business &lt;/P&gt;&lt;P&gt;connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also advice me on what type of file will the&lt;/P&gt;&lt;P&gt;business connector accept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This report will be related to the transaction&lt;/P&gt;&lt;P&gt;MD04 where the total requirements by month&lt;/P&gt;&lt;P&gt;for each part number in the part master needs &lt;/P&gt;&lt;P&gt;to be obtained.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz provide your valuable advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 09:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544511#M247784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T09:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Interface related</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544512#M247785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reccomnnded way is doing it by sending IDOC's to BC.&lt;/P&gt;&lt;P&gt;In BC use service pub.sap.idoc:encode to create XML file which can be transpoted then to FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Jacek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jacek Slowikowski&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 09:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544512#M247785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T09:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interface related</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544513#M247786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt; you can use the function module&lt;/P&gt;&lt;P&gt; I couldnt able to remember the name of function Module&lt;/P&gt;&lt;P&gt;so &lt;STRONG&gt;call_system&lt;/STRONG&gt; and try F4  on SE37 . I think it is SPXG_CALL_SYSTEM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used for transfering files to FTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;krishnakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 09:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544513#M247786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T09:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Interface related</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544514#M247787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   Below is a sample code for extracting and writing data to flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_werks like marc-werks obligatory.&lt;/P&gt;&lt;P&gt;select-options: s_lgort for mard-lgort,&lt;/P&gt;&lt;P&gt;                s_matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;parameters: p_file like rlgrap-filename obligatory.&lt;/P&gt;&lt;P&gt;data: begin of it_out occurs 0 with header line,&lt;/P&gt;&lt;P&gt;        matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;        werks like marc-werks,&lt;/P&gt;&lt;P&gt;        lgort like mard-lgort,&lt;/P&gt;&lt;P&gt;        labst like mard-labst,&lt;/P&gt;&lt;P&gt;        insme like mard-insme,&lt;/P&gt;&lt;P&gt;        speme like mard-speme,&lt;/P&gt;&lt;P&gt;      end of it_out.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   select a&lt;SUB&gt;matnr b&lt;/SUB&gt;werks c&lt;SUB&gt;lgort c&lt;/SUB&gt;labst c&lt;SUB&gt;insme c&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;          into table it_out&lt;/P&gt;&lt;P&gt;          from mara a &lt;/P&gt;&lt;P&gt;          inner join&lt;/P&gt;&lt;P&gt;          marc as b&lt;/P&gt;&lt;P&gt;          on b&lt;SUB&gt;matnr = a&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;          inner join&lt;/P&gt;&lt;P&gt;          mard as c&lt;/P&gt;&lt;P&gt;          on c&lt;SUB&gt;matnr = b&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;          and c&lt;SUB&gt;werks = b&lt;/SUB&gt;werks&lt;/P&gt;&lt;P&gt;          where b~werks = p_werks&lt;/P&gt;&lt;P&gt;          and   a~matnr in s_matnr&lt;/P&gt;&lt;P&gt;          and   c~lgort in s_lgort.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;  open dataset p_file for output in text mode.&lt;/P&gt;&lt;P&gt;  if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;     message e000(00) with 'Unable to Open file.'.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;     loop at it_out.&lt;/P&gt;&lt;P&gt;          transfer it_out to p_file.&lt;/P&gt;&lt;P&gt;     endloop.&lt;/P&gt;&lt;P&gt;     close dataset p_file.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once if you the flat file ready use FM's FTP_CONNECT, FTP_COMMAND &amp;amp; FTP CLOSE to first connect the destination server, move the file and close the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the info is useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Reward for useful info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 09:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544514#M247787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Interface related</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544515#M247788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP context , interfaces are only of two types.&lt;/P&gt;&lt;P&gt;1) INBOUND interfaces&lt;/P&gt;&lt;P&gt;2)OUTBOUND Interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INBOUND:(from external system data is fetched as flat files which is moved to SAP database tables).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this process we get data in the form of flat files(.txt or .xlx). we will read this data from the files using FM like UPLOAD/WS_UPLOAD/GUI_UPLOAD into internal&lt;/P&gt;&lt;P&gt;tables. And using BDC methods or LSMW tool, we will update the database tables with this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OUTBOUND:(Data from SAP dtabase is retrieved adn stored as flatfiles on presentaion server or application server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this process we retrieve data using select statements from the database tables and will populate the internal tables. based on the requirement, we will use FM like DOWNLOAD/WS_DOWNLAOD/GUI_DOWNLOAD to write data from internal tables to flat files on th presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*the above mentioned Fm will work for files on presentaion server(local file system) . IF u want to handle files on the application server, use DATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other technologies that u mentioned like RFC, BAPI, EDI,ALE, IDOCS etc might be used as apart of interface code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2006 11:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interface-related/m-p/1544515#M247788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-28T11:39:06Z</dc:date>
    </item>
  </channel>
</rss>

