<?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: FF_5 User-Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581788#M590393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code doesn't download the file, the standard program is doing that. &lt;/P&gt;&lt;P&gt;My code is on a exit immediately after the download from the standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the standard program code to upload the file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*---------------------------------------------------------------*
*  FORM UPLOAD_FROM_UNIX.                                       *
*---------------------------------------------------------------*
*  Dateien vom UNIX-Datei-System lesen und in internen Tabellen *
*  UMSATZ und AUSZUG speichern.                                 *
*---------------------------------------------------------------*
FORM UPLOAD_FROM_UNIX.

  data: l_upload_codepage type ABAP_ENCODING.                   "n928965

  GET PARAMETER ID 'UCP' FIELD l_upload_codepage.               "n928965

*        Auszug-Datei öffnen / lesen
IF l_upload_codepage IS INITIAL.                                "n928965
  OPEN DATASET AUSZUG-FILE IN TEXT MODE encoding default FOR INPUT.  "UC
ELSE.                                                           "n928965
  OPEN DATASET AUSZUG-FILE IN LEGACY TEXT MODE CODE PAGE        "n928965
    l_upload_codepage FOR INPUT.                                "n928965
ENDIF.                                                          "n928965
  IF SY-SUBRC NE 0.
    MESSAGE E002 WITH AUSZUG-FILE.
  ENDIF.

*------- Auszüge in interner Tabelle speichern -----------------
  DO.
    CLEAR SWIFT-ZEILE.
    READ DATASET AUSZUG-FILE INTO SWIFT-ZEILE.
    IF SY-SUBRC NE 0.
      EXIT.
    ENDIF.
    APPEND SWIFT.
  ENDDO.
  CLOSE DATASET AUSZUG-FILE.

ENDFORM.                    "UPLOAD_FROM_UNIX
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks a conversion "problem" to me...&lt;/P&gt;&lt;P&gt;Anyone with a past experience on this in order to help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pedro Gaspar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Aug 2007 13:46:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-06T13:46:07Z</dc:date>
    <item>
      <title>FF_5 User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581786#M590391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the exit &amp;lt;b&amp;gt;EXIT_RFEKA400_001&amp;lt;/b&amp;gt; (Include &amp;lt;b&amp;gt;ZXF01U06&amp;lt;/b&amp;gt;) to validate Electronic Bank statements files before posting them.&lt;/P&gt;&lt;P&gt;When i use the frontend to download the file (Windows -&amp;gt; Windows), there's no problem, but when i'm downloading the file directly from my application server (UNIX -&amp;gt; Windows) the data file to validate contains special characters that are seen as &amp;lt;b&amp;gt;#&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;How can i strip the special characters from these files in order to work with them as i do when downloading from the frontend?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Pedro Gaspar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 12:18:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581786#M590391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T12:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: FF_5 User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581787#M590392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How you are downloading the file from Application server?&lt;/P&gt;&lt;P&gt;Use the Transaction code &amp;lt;b&amp;gt;CG3Y&amp;lt;/b&amp;gt; and download and see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 12:33:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581787#M590392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: FF_5 User-Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581788#M590393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code doesn't download the file, the standard program is doing that. &lt;/P&gt;&lt;P&gt;My code is on a exit immediately after the download from the standard program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the standard program code to upload the file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*---------------------------------------------------------------*
*  FORM UPLOAD_FROM_UNIX.                                       *
*---------------------------------------------------------------*
*  Dateien vom UNIX-Datei-System lesen und in internen Tabellen *
*  UMSATZ und AUSZUG speichern.                                 *
*---------------------------------------------------------------*
FORM UPLOAD_FROM_UNIX.

  data: l_upload_codepage type ABAP_ENCODING.                   "n928965

  GET PARAMETER ID 'UCP' FIELD l_upload_codepage.               "n928965

*        Auszug-Datei öffnen / lesen
IF l_upload_codepage IS INITIAL.                                "n928965
  OPEN DATASET AUSZUG-FILE IN TEXT MODE encoding default FOR INPUT.  "UC
ELSE.                                                           "n928965
  OPEN DATASET AUSZUG-FILE IN LEGACY TEXT MODE CODE PAGE        "n928965
    l_upload_codepage FOR INPUT.                                "n928965
ENDIF.                                                          "n928965
  IF SY-SUBRC NE 0.
    MESSAGE E002 WITH AUSZUG-FILE.
  ENDIF.

*------- Auszüge in interner Tabelle speichern -----------------
  DO.
    CLEAR SWIFT-ZEILE.
    READ DATASET AUSZUG-FILE INTO SWIFT-ZEILE.
    IF SY-SUBRC NE 0.
      EXIT.
    ENDIF.
    APPEND SWIFT.
  ENDDO.
  CLOSE DATASET AUSZUG-FILE.

ENDFORM.                    "UPLOAD_FROM_UNIX
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks a conversion "problem" to me...&lt;/P&gt;&lt;P&gt;Anyone with a past experience on this in order to help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pedro Gaspar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 13:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ff-5-user-exit/m-p/2581788#M590393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-06T13:46:07Z</dc:date>
    </item>
  </channel>
</rss>

