Check existence of a particular directory in Dev Server.

Hi,
   How do we check the existence of a particular directory (in Dev Server ) through  the  program??
Thanks.

Hi,
Use function module PFL_CHECK_DIRECTORY.
Regards,
Darren

Similar Messages

  • TO READ FILES IN A PARTICULAR DIRECTORY FROM APPLICATION SERVER

    Hi all,
    Is there any function module which gives the list of files in a specific directory ??
    for eg ;i want to fetch all files in a particular directory say */interf/sy-mandt/reports....*
    I need a function module which will give all filenames in an internal table ,if i give the directory name as input.
    Thanks in advance,
    Aakash.
    Edited by: Aakash Neelaperumal on Apr 25, 2008 11:06 PM

    Hi,
    You can use WS_FILENAME_GET but understand it is obsolete. Search for a FM in function group SFES. I saw quite a few and one of them should meet your requirement.
    Cheers !

  • Error at install NSP - FSL-01001  Unable to check existence of account

    Hi all, 
    I need very urgent help. 
    I installed the NSP system one time and uninstalled it again.
    Now I tried to reinstall it again and allways get the error FSL-01001  Unable to check existence of account localhostSAP_LocalAdmin. Any hints or ideas.
    It is a local installation, all admin rights are available. Same environment like at the first installation, which was OK. Also the change of the system name did not help.
    Any hints? 
    Here ist the logfile:
    Handling account  
    TRACE      syxxsyshlp.cpp:75
               syslib::traceOSError(const iastring &, int, DWORD, const iastring &)  
    System call failed. Error 2453 (Domänencontroller für diese Domäne konnte nicht gefunden werden. 
    ) in execution of system call 'NetGetDCName' with parameter (NULL, localhost), line (1075) in file (synxcaccmg.cpp). 
    TRACE      synxcaccmg.cpp:766
               CSyADsPath::fromString(localhostSAP_LocalAdmin)
    Account localhost/SAP_LocalAdmin has ADS path 'WinNT://localhost/SAP_LocalAdmin' 
    INFO[E]    2005-11-19 14:07:50 synxcgroup.cpp:684
               CSyGroupImpl::isExistingOnOS()
    Unable to check existence of account localhostSAP_LocalAdmin. Verbindung wurde nicht hergestellt, weil ein identischer Name bereits im Netzwerk vorhanden ist. Wählen Sie "System" in der Systemsteuerung, um den Computernamen zu ändern, und versuchen Sie es erneut. 
    TRACE      iaxxejsexp.cpp:208
               EJS_Installer::writeTraceToLogBook()
    AccountMgt.createGroup(localhostSAP_LocalAdmin, ) 
    TRACE      syxxsyshlp.cpp:75
               syslib::traceOSError(const iastring &, int, DWORD, const iastring &)  
    System call failed. Error 2453 (Domänencontroller für diese Domäne konnte nicht gefunden werden. 
    ) in execution of system call 'NetGetDCName' with parameter (NULL, localhost), line (1075) in file (synxcaccmg.cpp). 
    TRACE      synxcaccmg.cpp:766
               CSyADsPath::fromString(localhostSAP_LocalAdmin)
    Account localhost/SAP_LocalAdmin has ADS path 'WinNT://localhost/SAP_LocalAdmin' 
    ERROR      2005-11-19 14:07:55 synxcgroup.cpp:684
               CSyGroupImpl::isExistingOnOS()
    FSL-01001  Unable to check existence of account localhostSAP_LocalAdmin. Verbindung wurde nicht hergestellt, weil ein identischer Name bereits im Netzwerk vorhanden ist. Wählen Sie "System" in der Systemsteuerung, um den Computernamen zu ändern, und versuchen Sie es erneut. 
    TRACE      iaxxejsbas.hpp:270
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown std::ESyException: ESAPinstException: error text undefined 
    TRACE      iaxxcwalker.cpp:301
               CDomWalker::processStep()  
    An error occurred while processing service SAP NetWeaver '04 Support Release 1> ABAP System> MaxDB> Non-Unicode> Central Instance Installation. You may now
    press the 'View Log' button to get more information about the error.
    stop the task and continue with it later.
    reset your input for the current task. In this case, SAPinst will permanently remove all installation files from the installation directory. This gives you the opportunity to restart from scratch.
    Log files are written to C:Programmesapinst_instdirNW04SR1WEBAS_ABAP_ADA_NUCCI.
    TRACE      iaxxgenimp.cpp:845
               showDialog()
    waiting for an answer from gui 
    TRACE      iaxxcnclhd.cpp:92
               doHandleDoc()
    ACTION_STOP requested 
    WARNING    2005-11-19 14:07:57 sapinst.cpp:1302
               CSapInst::cancel()
    Installation canceled by user request.

    Hi,
    I got same problem. I tried all above replies, still I got same error.
    Error
    FSL-01001   unable to check existence of account saptranshost\SAP_localAdmin. Access is denied
    ERROR 2020-04-28 09:08:56
    MOS-01131  Unable to create account ACCOUNTNAME=saptranshost\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE . SOLUTION: Check whether you have permissions to create accounts.
    I logged in as local Administrator with Administration permissions. This user created by OS while installation.
    Urgent. Thanks in advance.
    Regards,
    Krishna

  • Urgent!doubt in upload the file to a particular directory.

    Hi
    Actually i'm developing a site using JSP.
    Main concept of the project is the user should be
    able to access his files or dabases from anywhere
    in the world thru internet via intranet.
    i've placed upload option in my site.
    each user should b given a separate directory.
    can anyone tell me how to make the user to store
    the file in a particular directory(the one alloted to him).
    And to view the file, if the user enters the file name
    it should open the file in the particular format.
    i need the coding since i'm new to jsp.
    can anyone help me or refer any site tht can solve
    my problem?
    thanx in advance.

    I'd just answered a similar case. I believe this is what you are looking for;
    <%@ page contentType="MIME-Type; Charset=Character-Set" %>
    Read up on MIME-Type and Character-Set for info.
    Here some exmaple;
    By default:
    <%@ page contentType="text.html; Charset=ISO-8859-1" %>
    Show an MS Excel file;
    <%@ page contentType="application/vnd.ms-excel" %>
    or
    <%
    String mimeType = "application/vnd.ms-excel"
    response.seContentType(mimeType);
    %>
    Cheers

  • Is there a way to list the contents of a particular directory?

    Hi,
    I'm creating the blue-print of a new iPad app and was wondering if there was a way to request the contents of a particular directory (eithre local to the device or a a particular directory on the web) and also get the "type" of each item.
    For example if inside a directory "Directory1" and inside that directory I have 4 files and another directory, (file1.gif, file2.txt, file3.mov, file4.mp3, Directory2)
    Is there a way to request the contents of Directory1 and the type of files they are?
    The ideal thing will be to get a recursive request and get an array of contents of all directories inside a particular directory.
    something like:
    Directory1[file1a.gif,file1b.txt,file1c.mov,file1d.mp3,[Directory2[file2b.mov,fi le2b.mp3]]]
    What I want is to create a navigation for the user based on the resultant strign.
    Am I re-inventing the wheel here?
    Any direction will be greatly appreciated. I rather adjust blue-print now based on what is possible.
    Thanks!

    We are users here. You might have better luck going to the developers forum.
    http://developer.apple.com/devforums/
    There are also links on that page that may help too.

  • How to check if a user has a particular role in sql server

    Is it possible to check to see if a user has a particular role in sql server? For instance, I need to check to see if the user logging in has wite ability to the database. Thanks in advance.

    To answer your question from a Java-perspective, since this is a Java-forum: No.
    The JDBC 3.0 specification does not state that the driver has to implement a user credential mechanism.
    However, the DriverManager will throw an SQLException if user credentials are not met at all and the Connection should throw you a SQLException when trying to create or execute a statement that you are not alowed to do.

  • How can I encrypt a particular directory and not Home?

    I have a work iBook that I use for travel and I'd like to encrypt a particular directory instead of my whole Home directory. Can this be done? If so, how?
    If I NEED to use File Vault on my home directory, does this slow down non-work things like making DVDs, working with Photoshop, playing games, etc?
    What if I made another user, like Work, and used File Vault on that? I guess that would work, but could I access a file while I'm logged in as Home?
    Thanks,
    Tom

    >Re: 1: So, basically what I'm doing is creating another partition...but an encrypted partition, right?
    Not a partition, per se. While a disk image looks and acts like a partition in some respects (you can mount it at the desktop, copy files to/from it, etc.), it's actually just a file on disk, which means you can copy the disk image to another machine, open it up and get it's contents (password-protection notwithstanding, of course). Partitions cannot be moved from machine to machine (or from disk to disk)
    Also, if you create the disk image as a sparse image, it only takes up the amount of space consumed by the files within it. This means that if you create a 1GB image but only copy 100MB of data into it, it'll take up 100MB of space on disk (plus a little overhead). Compare that to a partition that will take 1GB on disk, even when it's empty.

  • Tar extract file in particular directory excluding path stored in tar file

    In winzip you have chk box 'Use Foldername', if you uncheck it, all files will be extracted to path given in Extract to:
    Like winzip, do you have facility to extract files from tar file to a particular directory ignoring path stored in tar file.
    os - linux,unix
    regds

    Using -C <new_directory> options creates
    subdirectories under the new_directory as per path
    stored in tar file
    I just want to extract the files in the -C directory.
    e.g.
    # tar -tvf archive.tar
    -rw-r----- oracle/oinstall 4669440 2006-11-30
    13:23:02 /app/fmb/FORM1.fmb
    -rw-r----- oracle/oinstall 200704 2006-11-29
    10:18:25 /app/fmb/FORM2.fmb
    when i give following command
    tar -xvf archive.tar -C TargetDir
    creats subdirectory app/fmb in this TargetDir and
    then extract the files Forms1.fmb
    TargetDir/app/fmb/FORM1.fmb
    TargetDir/app/fmb/FORM2.fmb.
    where as i want FORM1.fmb and FORM2.fmb in TargetDir
    TargetDir/FORM1.fmb
    TargetDir/FORM2.fmb
    regdsit's include directory information when you run tar cvf.
    you can do the following action
    1. cd /app/fmb/
    2. tar cvf archive.tar *
    3. tar -xvf archive.tar -C TargetDir

  • How to check status of a particular port by using netstat command?

    How to check status of a particular port by using netstat command?
    I want to check  port 443 in my server is open or not, is there any other way to check port via commandline?

    Hi,
    You can run the below command in an administrator command prompt on the server:
    netstat -ano|findstr ":443"
    -TP

  • Polling a particular directory, retrieving only new files

    Hi,
    I have a requirement of polling a particular directory, and retrieving all new files posted. Say, i have a file called file1 in a particular directory, i keep polling the same directory every "n" minutes or even seconds, and will try to fetch file1 only when there is a semaphore file called file1.ready exists for file1.
    This is in Solaris.
    How can this be implemented?. Any help will be greatly appreciated.
    Thanks

    Take a look at java.io.File which represents an abstract path such as a directory or file. You'll probably be particularly interested in File.exists().

  • Polling a particular directory, retrieve only new file(s)?

    Hi,
    I have a requirement of polling a particular directory, and retrieving all new files posted. Say, i have a file called file1 in a particular directory, i keep polling the same directory every "n" minutes or even seconds, and will try to fetch file1 only when there is a semaphore file called file1.ready exists for file1.
    This is in Solaris.
    How can this be implemented?. Any help will be greatly appreciated.
    Thanks

    you can use the file modified dates to figure out whats new and whats old.
    May be you can compare them against the last time that you ran the process.

  • How to get dev server files in to SAP@webstudio

    Hi,
    I have installed SAP@webstudio in my PC for doing some enhancements for my project.How can i get all development files which are in existence into my toool Webstudio?
    I did as below.
    tools>Repository>Connect to R/3 System.
    Then it is displayed all files in the tool with read only access.How can i modify the files if i wish.
    In the tools-->repository,all the fields are disable,except connect to R/3 system.
    Plz can any body help me,how to get connected to my dev server with webstudio
    Thanks in advance
    Sridhar Raju

    First create a new project on the workspace project tab.  You can then switch the repository tab and find the service you want to modify.  Right click on the service and do a 'get'.  This will then place the files in your project.  From there you can do a 'check out' and then modify/publish the files.  Once you are completed be sure to 'check in'.

  • Update Knowledge base on Production with Dev Server

    Hi Friends,
    I have a knowledge base on my dev server and we imported same knowledge base to Prod server.
    So here my questions is, we have created some rules in the dev knowledge base so we need to replicate same rules to prod  knowledge base? how to overwrite prod knowledge base with Dev knowledge?
    Can anyone guide me how to do that please?
    Thanks,
    RK

    Hi Samir,
    Stopping the e-mails to be sent out shouldn't be a problem in this system I think. You can still test everything, without the business getting confused. If you want to see if an e-mail is correct you can still check it in transaction SOST without it being sent.
    Otherwise inform the business about e-mails sent form different systems and add the system name in the e-mail message so they know from which system the e-mail is comming and if they have to respond.
    Regards,
    Martin

  • In dev server my payment advice form f110_prenum_chc  is not working

    hi,
    friends i need urgent help.
    1) i have copied f110_avis_in frm 000 client to 200 client with form name
       z_prenum_dup.
    2) i have copied f110_prenum_chc frm 000 client to 200 client form name
      zf110_prenum_chc1.
    3) then i modified my both forms in 200 saved assigned TRs and
    transported frm DEV server to PRD server(client 700).
    4)in dev server 200 client my both forms are working
      but in prd server 700 client my form cheque z_prenum_dup is
      working but payment advice form zf110_prenum_chc1 is
    not working.
    5) but i can see my both forms r their in 700 prd server in se71 t.code.
    6) if i run f-58 tr.code and by switching on debug mode i can see my
       cheque form but not payment advice form.
    7) if i run in 200 client i can see my both forms.
    can any body plz help me out of this issue.

    Dear,
       I will be able to put some points, if you can give me some more idea about ur problem,
    1, Does system giving any error..?
    2, Can you see a preview..?
      As I understood, it must not have any problem in transportation.
      You can also check with Respective functional consultant whether he has done with required customization in NACE..?
      One more thing you can do is,
      open a program RSNAST00 and put break point at "  PERFORM (tnapr-ronam) IN PROGRAM (tnapr-pgnam) USING returncode", here you can check at runtime ( While in debugging mode) the value of field TNAPR-FONAM, this value must be your SmartForm.  If it is not the case then, there is problem with NACE settings and contact your functional counterpart.
    Hope it's helpful .......Enjoy.
    Regards,
    Chetan

  • Reconfigure Open Directory in Yosemite Server

    Is it possible to delete and reconfigure Open Directory in Yosemite server?
    The host name and configuration were modified after Open Directory was activated and I get the message "Unable to load replica list" in the Settings Tab of Open Directory on the Server App (Server 4.0.3 (Build 14S350)). I think the best way would be to start over the automatic configuration.

    Many Open Directory problems can be resolved by taking the following steps. Test after each one, and back up all data before making any changes.
    1. The OD master must have a static IP address on the local network, not a dynamic address. It must not be connected to the same network with more than one interface; e.g., Ethernet and Wi-Fi.
    2. You must have a working DNS service, and the server's hostname must match its fully-qualified domain name. To confirm, select the server by name in the sidebar of the Server application window, then select the Overview tab. Click the Edit button on the Host Name line. On the Accessing your Server sheet, Domain Name should be selected. Change the Host Name, if necessary. The server must have at least a three-level name (e.g. "server.yourdomain.com"), and the name must not be in the ".local" top-level domain, which is reserved for Bonjour.
    3. The primary DNS server used by the server must be itself, unless you're using another server for internal DNS. The only DNS server set on the clients should be the internal one, which they should get from DHCP if applicable.
    4. Only if you're still running Mavericks server, follow these instructions to rebuild the Kerberos configuration on the server.
    5. If you use authenticated binding, check the validity of the master's certificate. The common name must match the hostname and domain name. Deselecting and then reselecting the certificate in Server.app has been reported to have an effect in some cases. Otherwise delete all certificates and create new ones.
    6. Unbind and then rebind the clients in the Users & Groups preference pane. Use the fully-qualified domain name of the master.
    7. Reboot the master and the clients.
    8. Don't log in to the server with a network user's account.
    9. Disable any internal firewalls in use, including third-party "security" software.
    10. If you've created any replica servers, delete them.
    11. If OD has only recently stopped working when it was working before, you may be able to restore it from the automatic backup in /var/db/backups, or from a Time Machine snapshot of that backup.
    12. As a last resort, export all OD users. In the Open Directory pane of Server, delete the OD server. Then recreate it and import the users. Ensure that the UID's are in the 1001+ range.
    If you get this far without solving the problem, then you'll need to examine the logs in the Open Directory section of the log list in the Server app, and also the system log on the clients.

Maybe you are looking for