Sap delete file server
I am using SAS 9. Does anyone have an idea how to solve the problem? Kind regards Frederik. Accepted Solutions. Hi Kurt Thanks for the answer. How would you formulate the delete statement using the X statement syntax? This depends on the SFTP client software you are using.
Thanks in advance Kind regards Frederik. Recommended by SAS. For personalized recommendations, sign in with your SAS profile. Discussion stats. Figure : A - Accessing the Site manager dropdown for directly connecting to the profile.
Before you can proceed with the upcoming real world sample programs for FTP programming that follow,make sure that you have correctly setup the FTP Server based on the topics mentioned below:. DATA : path Once you have uploaded the text file to the FTP server,you will also need to provide a mechanism to read that text file back into SAP. This is useful for applications that create log files or data files and they need to be read back in SAP for reporting purposes.
CLEAR fieldcatalog. You can also delete files uploaded to an FTP Server. You will need to concatenate the name of the file with the delete command separated by a space and pass it to the command parameter.
Thanks a lot for the appreciation. Do stay tuned to this wiki,as i will be updating it with more FTP functionality,as soon as i get some time. I have quite the same setup, but UTF-8 commands don't work.
Can you check if you can create and navigate through folders with chinese symbols? Nice job. It's really worth posting it in your blog. The wiki is more useful for being enriched by the community. ABAP Development. Browse pages.
A t tachments 43 Page History. Jira links. Created by Fahad Javed , last modified on Nov 19, Former Member. Hello Fahad Javed, Thanks! I was looking for this functionality for our implementation, it was indeed very helpful Regards, Prasad. Permalink Jul 26, Fahad Javed. Many times while performing the unit testing we create the n number of test files on the UNIX server.
Once we complete the unit testing its difficult to find out the latest file in those N numbers of test files. This article elaborates you, how the unwanted test files will be deleted from the Application server. In my example I have created below files on the application server. Now I wanted to delete these files in one click.
Execute the function module and enter the file path which you want to delete the files. In this way we can delete the test files from the Application server without writing a single line of code.
Skip to Content.
0コメント