Check whether directory exist on both PC and AS
来源:互联网 发布:国家对网络币有规定不? 编辑:程序博客网 时间:2024/06/01 18:27
http://scn.sap.com/thread/280091
You can use the DIRECTORY_EXIST method for both, PC frontend and application server, you will need to know the fully qualified name of the appilication server on your network in order for it to work.
For example, we run on an AS400 and this path gets me to the application server and this works in the following program.
\<ip_address>qfilesvr400<host_Name>usrsapTST
report zrich_0001.
type-pools: abap.
data: rc type abap_bool.
data: dir type string.
parameters: p_file type localfile default 'C:'.
start-of-selection.
dir = p_file.
call method cl_gui_frontend_services=>directory_exist
exporting
directory = dir
receiving
result = rc
exceptions
cntl_error = 1
error_no_gui = 2
wrong_parameter = 3
not_supported_by_gui = 4
others = 5.
if rc = 'X'.
write:/ 'The directory does exist'.
else.
write:/ 'The directory does not exist'.
endif.
- Check whether directory exist on both PC and AS
- ARD and VNC on both Mac and Windows
- Check whether userfaultfd is available
- How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC
- Check Access Rights to File/Directory on NTFS Volume
- Building environment of Apache( Include PHP) base on both PC&Mac.
- How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC [ID 28478
- How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC (文档 ID 28
- How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC (文档 ID 28
- How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC (文档 ID 28
- check whether two binary trees are identical
- Check whether a string is a palindrome
- check whether edge in face indices.
- Using JBossIDE + XDoclet with both JBoss4.0.0 and WebSphere AS 6.0
- check android activity exist
- magento check email exist
- System-generated find() and exist() methods on tables
- Zynq AMP - Running Linux and Bare-Metal System on Both Zynq SoC Processors
- 黑马程序员_WinForm知识总结
- servlet的执行原理与生命周期
- Java数据报Datagram通讯
- java线程同步原理及wait,notify的用法及与sleep的区别
- php分页
- Check whether directory exist on both PC and AS
- 自己的感悟
- C++中的指针用法汇集
- PHP分页显示类
- SGU 552 - Database optimization
- string::npos
- ajax封装
- 如何使用vector的reserve和resize方法
- 近期学习总结