Select the Gui_download path Editable

Hi experts,
As i had an doubt that from gui download the report and logic can be downloaded to pc. but, path location which i mentioned in gui download should be downloaded. As per path makes editable, am using the parameter as some file name and still it does make anything to select as per my system path.
please kindly let me know any thing....
Thank you,
Regards,
Raviram.

Hi,
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.
Please check this sample code.
report ztest.
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.
Also you can check this FM as well.
RZL_READ_DIR_LOCAL
CONV_UTIL_CHECK_FILE_EXISTENCE
CV120_DOC_FILE_EXISTENCE_CHECK
CV122_DOC_FILE_EXISTENCE_CHECK
DX_FILE_EXISTENCE_CHECK
PFL_CHECK_OS_FILE_EXISTENCE
Regards,
Ferry Lianto

Similar Messages

  • I have set up iPhoto 11 so that pictures will be edited in Photoshop elements 11.  I selected the option to edit in another application.  But when I select edit in iPhoto, elements opens but the photo does not open in elements.    What is the problem?

    I have set up iPhoto 11 so that pictures will be edited in Photoshop elements 11.  I selected the option to edit in another application.  But when I select edit in iPhoto, elements opens but the photo does not open in elements.  I'm using a Macbook pro 15 inch with retina display with OS 10.8.4  What is the problem?

    http://barbarabrundage.com/2011/10/05/adobe-hide-and-seek-setting-pse-10-as-exte rnal-editor/
    It relates to Elements 10, but it's the same for 11.

  • FM to select the file path for download into application server

    Hello,
    I need a FM to select the file path for download into application server. It is a F4 help .
    Its functionality should be simmilar to the one used for presentation server i.e. as fol
    CALL METHOD cl_gui_frontend_services=>file_save_dialog

    Hello,
    What about F4_DXFILENAME_TOPRECURSION? You can check other FMs of the group DX_FILE.
    BR,
    Suhas
    PS: I think these FMs are not released by SAP, so need to be cautious while using these

  • Select the Motion Path of a PageItem

    Does anyone know a way to select (or access) the Motion Path of a PageItem with animation applied using ExtendScript?
    I know it appears as a graphic line in the document, but I'm wondering if there's any connection between the animated item and the graphic line that represents the motion path.
    item.animationSettings.motionPath (and motionPathPoints) give the relative numbers, but I'd like to get my hands on the actual InDesign object. Any ideas?

    I'm not sure if you can do this from a script. From C++, you have. IAnimationFacade.h
      /** Given an interface for an item with a motion path, create a new page item from the motion path points and select it.
      @param pageItemRef is the UIDRef of the page item to created a motion path item from.
      @return the UIDRef of the created item.
      @see SetPageItemAnimationMotionPath
      virtual UIDRef CreateAnimationMotionPathPageItem(const UIDRef& pageItemRef) = 0;
    P.

  • Photoshop won't select the internal path

    having outlined an image i then try and select the path to remove the background...however photoshop only recognises that there is an outside path - it doesn't select the complete internal path that has been created.
    and when placing in InDesign - again the program only recognises the clipping path as being the outside line and not the same path in the middle of the picture?

    Paths? Why? ID can work with native PS transparencies and layer masks. That aside, make sure you are defining the path modes correctly in the top toolbar or while creating them (Alt to subtract, Shift to Add, Alt+Shift to intersect).
    Mylenium

  • MPxIO, traffic manager, select the active path

    I have one lun with 2 paths, and I use MPxIO without loadBallance,.
    NOTE: I have v240 server with solaris 10 the latest that connected to the SAN.
    Two Question :
    1. How I can see which of the paths is the active path?
    2. Is the MPxIO can understand which path(from 2 paths to the lun) is the path througth the default controller, and make this path to e the active path?
    thanks

    For that array, Hitachi needs to provide a specific string to enter into the scsi_vhci.conf file, telling MPXIO how to deal with that array.
    It should be in the array Release Notes or Install Guide, along with any particular levels of microcode and array port settings needed. The scsi_vhci.conf entry will provide the string that a host scsi inquiry will return, along with the specific scsi options that the OS will need to talk to the array using multi pathing. Once those changes are done usually a boot -r will be required.
    Until that is done, Solaris will see both paths to the array as seperate and distinct arrays, so no multi pathing will be done.
    HTH
    Dom

  • Direct selection tool - how not to move the form/path?

    This thing keeps me working my stress ball: when I touch a path with the white arrow I am always first in a mode where the path can be moved. But I want to move a nod or handle - is there a place where I can set this tool to never move or or to never select the whole path? I have the normal selection tool for that! I think I oversee something. Thank you!

    orangestuff,
    Whichever way it works in each version should be consistent. If not, it may be time for a preference corruption removal, see the hint Move the folder here: http://www.bugge.com/Family-and-friends/Illy/illy.html
    This may be a reversible test to see whether you are forced to use older ways in newer versions.

  • How do you select the ical calendar which an event is added to?

    Since switching from iPhone 3GS to iPhone 4, I cannot choose which ical calendar to add an event to. It used to be an option when you created a new event, but now it creates all events in a new calendar, called 'calendar', which I neither want, nor seem to be able to delete. There appears to be no way to select the calendar or edit which calendar the event appears in. This is important to me as my 'work' calendar is shared with multiple colleagues.
    Can anybody help?
    Al.

    Perfect, thank you!

  • To select a file path?

    Hi all!
    Currently I want to allow user to select the file path using those file dialog like JFileChooser/FileDialog... So that there's an input field that accepts a file name... Then another text field which will display the path that the user chose... I need to do that separately to write a .wav file... How do I do it?
    I tried using JFileChooser and set this... (.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);) It only shows the directories, yes... But if I open a directory... without anymore directories in it... When I click on the "OK" button... It does not allow me to go on...
    Cozel

    How about this???
    import java.io.*;
    public class MyFileChooser extends javax.swing.JDialog {
             private javax.swing.JPanel cntrPnl;
             private javax.swing.JFileChooser chsr;
             private javax.swing.JButton cancelButton;
             private javax.swing.JButton svButton;
             private javax.swing.JTextField dirField;
             private java.io.File selFile = null;
        public MyFileChooser(java.awt.Frame parent, boolean modal) {
            super(parent, modal);
            initComponents();
        private void initComponents() {
            chsr = new javax.swing.JFileChooser();
            cntrPnl = new javax.swing.JPanel();
            dirField = new javax.swing.JTextField();
            svButton = new javax.swing.JButton();
            cancelButton = new javax.swing.JButton();
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    closeDialog(evt);
            chsr.setControlButtonsAreShown(false);
            chsr.setDialogType(javax.swing.JFileChooser.CUSTOM_DIALOG);
            chsr.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    chsrActionPerformed(evt);
            chsr.addPropertyChangeListener(new java.beans.PropertyChangeListener() {
                public void propertyChange(java.beans.PropertyChangeEvent evt) {
                    chsrPropertyChange(evt);
            getContentPane().add(chsr, java.awt.BorderLayout.CENTER);
            dirField.setEditable(false);
            dirField.setMargin(new java.awt.Insets(0, 5, 0, 5));
            dirField.setPreferredSize(new java.awt.Dimension(200, 30));
            cntrPnl.add(dirField);
            svButton.setText("SAVE");
            svButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    svButtonActionPerformed(evt);
            cntrPnl.add(svButton);
            cancelButton.setText("Cancel");
            cancelButton.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    cancelButtonActionPerformed(evt);
            cntrPnl.add(cancelButton);
            getContentPane().add(cntrPnl, java.awt.BorderLayout.SOUTH);
            pack();
        private void chsrPropertyChange(java.beans.PropertyChangeEvent evt) {
            dirField.setText(chsr.getCurrentDirectory().getAbsolutePath());
        private void svButtonActionPerformed(java.awt.event.ActionEvent evt) {
            selFile=chsr.getSelectedFile();
            this.hide();
        private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {
            selFile = null;
            this.hide();
        private void chsrActionPerformed(java.awt.event.ActionEvent evt) {
            dirField.setText(chsr.getCurrentDirectory().getAbsolutePath());
        private void closeDialog(java.awt.event.WindowEvent evt) {
            setVisible(false);
            dispose();
        public static void main(String args[]) {
            MyFileChooser fc = new MyFileChooser(null, true);
            fc.show();
            File f = fc.getSelFile();
            if(f!=null)
                System.out.println("Selected File is: "+f);
            fc.dispose();
            System.exit(0);
        public File getSelFile() {
            return selFile;
    }walker

  • CS4 Select all compound paths?

    Hi all,
    There was a fab plug in set by Rick Johnson/Graffix called Select Menu. It is not yet updated for CS4.
    The only function from the set I truly need is the ability to select all compound paths. Just wondering if it is possible to do this with a script? I recently found a javascript to close all open paths, so that got me thinking there may be a way to select the compound paths with a script as well...
    The nice thing about scripts is they still seem to work even after a program upgrade. All my little applescripts are still working fine but my plugins are DOA in CS4. So I am thinking it would be great to have functions I depend on every day in script form.
    I also wondered if there is a way to call the script with a speakable items command, which I guess would mean creating an action to run the script that I could then assign to a function key...?
    So far I have not found a way to call a script in Illustrator using a speakable item.
    I have near zero scripting experience so apologies if this is an annoying stupid newbie question. I have RSI issues and need to do most of my work via voice commands... it can be challenging to figure out how to do these things since my expertise is in graphics, not programming.
    Thanks for any swift kicks in the right direction!!

    Hi,Thanks!!
    This does work but on a complex document it is very slow as it seems to be redrawing all the compound paths? It worked fine on a simple file but when I tried it on the kind of complex file I would actually use it on it has Illustrator hung up with a spinning beach ball....
    The Graphix plug in to select all compound paths worked instantaneously. Is there a different way to write this that would not be as processor intensive?
    Ah, the beachball just stopped spinning and all the correct paths are indeed selected...

  • Unable to select endpoint or path

    I am using Illustrator CS5.  I drew a vector image with three  layers multiple paths in each.  I wanted to go in and smooth out some of the segments I had in  there but I am not able to select endpoints or handles.  I can go around  the edge and it will tell me "xPath" or "Endpoint"  I can move the  entire shape or resize it but am unable to grab the endpoint to change  the angle of it. Also when I go to select it all with the Ctrl+A the  bounding box appears for a brief moment and then dissapears again.

    So you can move the entire shape, but cannot grab the endpoint.
    Try copying and pasting in front into new document. You should have an easier time finding out what the problem is if you can solo the object. You may have another path or point directly on top of this.
    Or you can select the entire path you want to modify, select inverse, lock or hide that.

  • TF10121: The path '' is not found or not supported. Type or select a different path. After SQL2012 install and Solution upgraded to VS2010

    I have recently upgraded a solution from vs2008 to vs2010.  This solution happens to contain several .rptproj file (SSRS 2008R2 reports).  I was able to upgrade the solution after I installed SQL2012 (which installed the necessary templates
    into vs2010). 
    However whenever I open the solution the Output window now pops up and continuously lists the same error (shows output from Source Control - Team Foundation).
    TF10121: The path '' is not found or not supported. Type or select a different path.
    I have tried reinstalling Team Explorer SP1, and VS2010 SP1, but with no change.
    If I unbind the solution from source control the messages go away.  Rebind and they return.
    The problem doesn't always start straight away, it may take a few solution explorer clicks.
    Opening an rdl into the editor seems to halt the messages, until I go back to clicking in solution explorer (similarly the issue doesn't always re-occur first click).
    E.g.
    TF10121: The path '' is not found or not supported. Type or select a different path.
    TF10121: The path '' is not found or not supported. Type or select a different path.
    Audit.rdl has been automatically checked out for editing.
    Then no errors until going back and clicking in solution explorer (which is using auto hide)
    [See also:
    http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/8c7cc472-3ac1-4800-8199-5f4b41414748]
    Does anyone else out there share this problem or more importantly a solution/work around?

    Hi Evanw21,
    Based on the current information, it seems to be the known issue described in the following KB article:
    FIX: TF10121 error when you right-click a project file of the project or a folder in the project in Visual Studio 2010
    The root cause of the problem is that we hold onto a stale reference to the old project and get back an empty string when we try to get its directory path. To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete
    list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:
    http://support.microsoft.com/contactus/?ws=support
    Besides, there is one easy workaround. If we close the solution and re-open it prior to attempting to re-add the project, we should be able to add it successfully. 
    References:
    TF10121
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How to avoid the user selecting a different path in my installer

    Hello again all you helpful forum-goers!
    I have an application and a corresponding installer, and then I have a separate installer putting some support files in the same directory.  My problem is that if the user selects a different path to which to install my primary application, the secondary installer will not put the required support files in the same spot.
    Now, I think I've figured out how to get the user-selected path from the "Run executable at the end of installation" option in the Advanced pane of the LabVIEW installer configuration, and I can pass that in to my secondary installer, and that should fix the problem.  However, what I'd really like to do is just not give the user the option to install my primary application in a different directory to begin with.  I've looked, but cannot find any way to do that.
    Does anyone know of any way to not present the option to install an application in a different directory when using the LabVIEW installer?
    Thanks in advance for any suggestions,
    -Joe

    Ben64,
    That's great!  Thank you so much for your quick reply.  The only reason I haven't already accepted that as my solution is that it requires a manual post-compile change to a text file.  Ideally I'd prefer not to have to remember to do that every time I rebuild my installer.  Is there any way that you know of to automate the process?
    If not, I'm happy to have a good solution even if it takes an extra step each time to implement.
    -Joe

  • I am trying to delete pages from a PDF file. I opened the bookmarks, selected the pages to delete and choose Edit Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    I am trying to delete pages from a PDF file. I opened the bookmarks in the PDF file, selected the pages to delete and choose Edit > Delete. The selected pages are not deleted. Note: I have to open the file using a passport provided by an external party.

    Resolved

  • How to get the complete path of the file that is selected using FormFile

    i m working on struts..
    i hv used FormFile like
    <html:file property="xsdpath" value="Browse" />
    need to get the whole path that i will select using browse button
    for example d:\foldername\filename.java
    but FormFile Api has a method getFileName(); which returns the filename, for getting the absolute path wat has to be done.
    please reply bak soon
    thanks in advance

    here i use formfile <html:file> just to allow the
    user to select a xml file .
    so i need to get the whole path of the selectedfile
    to parse the xml file.No you dont.
    You would definitely benefit from further reading on
    file upload.
    <html:file> tag renders an HTML <input> element of
    type file.
    When a user uploads a file, this file is sent as a
    stream of data, which a program (jsp/servlet) on the
    server, reads and stores the data back in the form
    of a file on the server.
    Any server program that needs to parse the file,
    should do so on the file stored on the server.
    There's no point in knowing the absolute path of the
    file on the client machine. If a server program can
    parse a file on the client machine, why upload the
    file in first case ? Get the drift ?
    i also want to show my user the path he hadselected.
    If you have such a requirement, then yes.
    But it sounds weird to me. If you see my response
    above, you will realize that the server has a copy of
    the client's file uploaded and then parsed. What if
    the client has changed his file after upload ?
    cheers,
    ram.I also have a requirement to get the whole filepath of the file selected and place this information into a table. From FormFile I can only retreive the absolute filename
    Any suggestions would be helpful.
    Thanks, dam

Maybe you are looking for

  • Adobe Dreamweaver CS5 Classroom in a Book Chapter 10

    While converting my vertical menu library item to a Spry Vertical Menu, my <div.content> element dropped down on the page. Pages 244-45 offer a "fix" for this issue (deleting the second ul.MenuBarVertical rule) and I did this, but <div.content> still

  • HT1386 how to unlock my iphone 5

    i just bought my iphone 5 2 weeks ago, inserted a new sims and open my iphone for just a while........then i stored my iphone for 2 weeks in my cabinet then when i open again it will need a password Then i surprise that it will need a password b4 i w

  • Error: Unable to convert the sender service SC_PO_fileidoc to an ALE logica

    Hi, I'm currently creating an Idoc adapter receiver with BPM. However I've received an error at the second stage from BPM - IDOC. It gives the error "Unable to convert the sender service SC_PO_fileidoc to an ALE logical system". Appreciate if anybody

  • How to migrate SQL Server image data type to Oracle 8 BLOB data type?

    Hi, I have to migrate data from sql server to Oracle 10 g. I am unable to migrate image data type from sql server to blob data type in oracle. Iam using Oracle Heterogenous Services to migrate the data,Using Merge statement and database link. I am ge

  • IPod 6th gen time on wake - not working?

    Hello, I am trying to use the "time on wake" function of the nano, but it does not go to the clock but rather to "Now Playing" when I wake it from sleep. Under Settings, General, Date & Time, I have enabled "Time on Wake" If I then get out of Setting