<?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: BAPI Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166647#M458901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey gabriel and ameya,&lt;/P&gt;&lt;P&gt;    I have checked the permissions. they are 777 for that folder(read write and execute for everyone). I am not sure how can we ftp to a unix server without username and password. the standard bapi has no input parameter for username password.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also tried &lt;BR /&gt;servername\ex\out\ it does not work&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2007 15:06:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-09T15:06:33Z</dc:date>
    <item>
      <title>BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166644#M458898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a setup wherin an external system( C++ Program running on UNIX) makes a remote call to BAPI_DOCUMENT_CHECKOUTVIEW2 on a dev server(Windows) to get the file originals from DMS vault to a target path. We are able to copy the file to a windows target filepath like //servername/ex/out/ , but it does not work if the target path is unix. Any input is highly appreciated. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 21:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166644#M458898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T21:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166645#M458899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For unix system file path should be like &lt;BR /&gt;servername\ex\out\ &lt;/P&gt;&lt;P&gt;rather than //servername/ex/out/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 23:02:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166645#M458899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T23:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166646#M458900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have yoy checked permissions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ask your basis if the folder has permissions for reading and writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 23:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166646#M458900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-08T23:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166647#M458901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey gabriel and ameya,&lt;/P&gt;&lt;P&gt;    I have checked the permissions. they are 777 for that folder(read write and execute for everyone). I am not sure how can we ftp to a unix server without username and password. the standard bapi has no input parameter for username password.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also tried &lt;BR /&gt;servername\ex\out\ it does not work&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166647#M458901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T15:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166648#M458902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a FM for uploading data using the ftp server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this fm: FTP_SERVER_TO_R3 or To FTP using ABAP, you can have a look at the standard program 'RSEPSFTP'. &lt;/P&gt;&lt;P&gt;Check this code I found on the sdn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SAP FTP functions&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This sample program will logged into your Unix Server.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Issue a Unix dir command&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Store the dir information in the Internal table and display it.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Make sure you can telnet in to your SAP-UNIX FTP server first.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Written by : SAP Basis, ABAP Programming and Other IMG Stuff&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com" target="test_blank"&gt;http://www.sap-img.com&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;REPORT ZFTPSAP LINE-SIZE 132.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF MTAB_DATA OCCURS 0,&lt;/P&gt;&lt;P&gt;LINE(132) TYPE C,&lt;/P&gt;&lt;P&gt;END OF MTAB_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: MC_PASSWORD(20) TYPE C,&lt;/P&gt;&lt;P&gt;MI_KEY TYPE I VALUE 26101957,&lt;/P&gt;&lt;P&gt;MI_PWD_LEN TYPE I,&lt;/P&gt;&lt;P&gt;MI_HANDLE TYPE I.&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;*-- Your SAP-UNIX FTP password (case sensitive)&lt;/P&gt;&lt;P&gt;MC_PASSWORD = 'password'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- FTP_CONNECT requires an encrypted password to work&lt;/P&gt;&lt;P&gt;CALL 'AB_RFC_X_SCRAMBLE_STRING'&lt;/P&gt;&lt;P&gt;ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY&lt;/P&gt;&lt;P&gt;ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD&lt;/P&gt;&lt;P&gt;ID 'DSTLEN' FIELD MI_PWD_LEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FTP_CONNECT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;*-- Your SAP-UNIX FTP user name (case sensitive)&lt;/P&gt;&lt;P&gt;USER = 'userid'&lt;/P&gt;&lt;P&gt;PASSWORD = MC_PASSWORD&lt;/P&gt;&lt;P&gt;*-- Your SAP-UNIX server host name (case sensitive)&lt;/P&gt;&lt;P&gt;HOST = 'unix-host'&lt;/P&gt;&lt;P&gt;RFC_DESTINATION = 'SAPFTP'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;HANDLE = MI_HANDLE&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;NOT_CONNECTED = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FTP_COMMAND'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;HANDLE = MI_HANDLE&lt;/P&gt;&lt;P&gt;COMMAND = 'dir'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;DATA = MTAB_DATA&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;TCPIP_ERROR = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMAND_ERROR = 2&lt;/P&gt;&lt;P&gt;DATA_ERROR = 3&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;LOOP AT MTAB_DATA.&lt;/P&gt;&lt;P&gt;WRITE: / MTAB_DATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do some error checking.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;WRITE: / 'Error in FTP Command'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FTP_DISCONNECT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;HANDLE = MI_HANDLE&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166648#M458902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T15:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166649#M458903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks more a file access issue than a BAPI issue.&lt;/P&gt;&lt;P&gt;You should consider two factors:&lt;/P&gt;&lt;P&gt;1) unix paths usually looks something like //servername/ex/out/ , while windows paths looks like &lt;BR /&gt;servername\ex\out\&lt;/P&gt;&lt;P&gt;2) unless you have a very strange setup, windows uses the SMB protocol to access remote files, while unix usually use NFS ( or perhaps CODA &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; to access the same file from both you usually have to either install ad SMB client on the unix machine, or an NFS client on the windows machine, or two different file servicing protocols on the remote host.Anyway it's not trivial, also because of the user authentication issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You definitely need a skilled unix/windows system administrator to get this sorted out. It has very little to do with SAP.&lt;/P&gt;&lt;P&gt;[edit]ftp could be an easier workaround, I didn't think about it before[/edit]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Marcello Urbani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 15:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166649#M458903</guid>
      <dc:creator>MarcelloUrbani</dc:creator>
      <dc:date>2007-05-09T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166650#M458904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help again.&lt;/P&gt;&lt;P&gt;I am aware of the function modules to FTP to the unix server, but my first priority is to use the standard bapi and not make a custom one. the standard bapi ftp's the files to the windows fileshare, so i thought SAP might have made included the code in the standard bapi to ftp to an unix server as well. I feel that the bapi(BAPI_DOCUMENT_CHECKOUTVIEW2) might be able to do that, and only that i am not able to achieve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166650#M458904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166651#M458905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey marcello,&lt;/P&gt;&lt;P&gt;    we are trying to use FTP. And the setup is not that complicated: A C++ application running on UNIX server remotely calls the BAPI on an windows SAP system. We are just missing something somewhere. &lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 16:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166651#M458905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T16:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166652#M458906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I'm missing something: are you trying to have a windows FTP server writing on a remote unix machine?&lt;/P&gt;&lt;P&gt;If so, I think the paths should be in windows form, but you need the networking services sorted right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Marcello Urbani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2007 10:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-issue/m-p/2166652#M458906</guid>
      <dc:creator>MarcelloUrbani</dc:creator>
      <dc:date>2007-05-10T10:12:54Z</dc:date>
    </item>
  </channel>
</rss>

