Directory browsing in dialog selection

Hi all.
I need a directory browsing in dialog module. Meaning creating the field using screen painter. Any code for creating the directory?
thks

Hi
i gt this working code but using selection screen. Is it possible that can change to dialog module for me?
parameters: p_path type localfile.
at selection-screen on value-request for p_path.
  data: path_str type string.
  call method cl_gui_frontend_services=>directory_browse
      exporting
         window_title    = 'Select Directory'
      changing
         selected_folder = path_str
      exceptions
         cntl_error = 1.
  call method cl_gui_cfw=>flush
       exceptions
          cntl_system_error = 1
          cntl_error        = 2.
  p_path =  path_str.
Screen 1000 is created automatically
PROCESS BEFORE OUTPUT.
MODULE %_INIT_PBO.
MODULE %_PBO_REPORT.
MODULE %_PF_STATUS.
MODULE %_END_OF_PBO.
PROCESS AFTER INPUT.
  MODULE %_BACK AT EXIT-COMMAND.
  MODULE %_INIT_PAI.
FIELD !P_PATH MODULE %_P_PATH .
CHAIN.
  FIELD P_PATH .
  MODULE %_END_OF_SCREEN.
  MODULE %_OK_CODE_1000.
ENDCHAIN.
PROCESS ON VALUE-REQUEST.
  FIELD P_PATH MODULE %_P_PATH_VAL .

Similar Messages

  • WD ABap - Directory Browser

    Is there any possiblity to build a directory browser or to get all directories of the frontend, i.e. where the client/browser runs????similar to the cl_gui_frontend_services methods, but the only work with sapgui.
    kind regards,
    oliver

    Hello Oliver,
    Won't the easiest way be to use a file selector? (i.e. like <input type="file"> in an HTML form?)
    What do you intend to browse for, and what do you want to do with the file(s) selected?
    Only the browser has access to the local file system, as the input type file produces this kind of dialog, which is a browser function, but other than that, I think the browser will prevent a subprocess from accessing the file system, or will cause some sort of security warning (e.g. if you are using an ActiveX control or applet).
    So unless you have a special ActiveX control or applet to suit your specific needs, you cannot get information to the server about the client filesystem (other than via the standard html form elements).
    Cheers,
    Martin

  • Open file/browse-file dialog window size too small

    It seems like the size of the "Open file" and "Browse file"-dialog windows have become too small to use efficiently.
    I'm not sure if this is related to the latest updates from testing, but it wasn't like this before. I have to resize the dialog window every time in order to be able to select files and folders.
    The changes are not saved across the same session of a program, but it does result in unpredictable behavior in gedit.
    If I resize the open file dialog, then close the dialog, then open it again, the changes are sometimes preserved, but not always. Sometimes it's small and sometimes it's resized, and there's no way of telling.
    I'm running compiz-fusion and emerald, but the bug is not related to window manager, as it's the same with metacity and openbox. So it's for all GTK programs.
    When I try to run gnome-appearance-properties, I get:
    "Unable to start the settings manager 'gnome-settings-daemon'.
    Without the GNOME settings manager running, some preferences may not take effect. This could indicate a problem with Bonobo, or a non-GNOME (e.g. KDE) settings manager may already be active and conflicting with the GNOME settings manager."
    and the problem remains no mather what GTK theme I choose.
    Is gnome-settings-daemon responsible for this kind of behavior?
    Last edited by WeeDie (2008-10-12 00:52:03)

    The issue was resolved by updating all to gnome-desktop 2.24 from testing..
    Seems like the swedish repository mirrors are a bit left behind..

  • Directory browsing in Application Server

    Hi Gurus,
    I need Directory browsing facility for my application server . i.e facility to select any directory on my application server. Can any body help me.
    Regards,
    Srinivas

    Hi Srinivas,
    Try using function module F4_DXFILENAME_TOPRECURSION or /SAPDMC/LSM_F4_SERVER_FILE (this gives the help in tree structure)
    A sample on how to use F4_DXFILENAME_TOPRECURSION
    DATA
         : O_PATH     TYPE DXFIELDS-LONGPATH.
    PARAMETERS
         : P_FILE     TYPE RLGRAP-FILENAME
    START-OF-SELECTION.
      WRITE : 'Selected file',
               P_FILE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
        EXPORTING
          I_LOCATION_FLAG = 'A'
          I_SERVER        = ' '
          I_PATH          = ' '
          FILEOPERATION   = 'R'
        IMPORTING
          O_PATH          = O_PATH
        EXCEPTIONS
          RFC_ERROR       = 1
          ERROR_WITH_GUI  = 2
          OTHERS          = 3.
      P_FILE = O_PATH.
    Regards'
    Rajvansh
    Edited by: Rajvansh Ravi on Jul 24, 2011 2:36 PM

  • Link local file with browse file dialog

    Hey guys,
    I'm looking for a solution to hyperlink to a local file (i.e. C:/test.txt). I want that the user clicks on a "browse file" button like the file browse item. after the user selected a file or just a folder the path should be shown in a display only item. this item should be clickable...
    Is it possible to create a "Browse file" dialog? I know that to link to a file is possible with some HTML tags in the "pre element text" and "post element text" fields. something like "<a href="... but I don't know how this works.
    Would be happy, if u have some tipps for me ;)
    Best regards
    Daniel

    No one an idea? Especially for the "Browse file" dialog?

  • File Browser with multi select....

    Is it possible to have a file browser with multi- select??? I have several (possibly dozens) of files in a directory that I'd like to up load using a file browser style item, but be able to select several at a time to up load rather that doing them on at a time. Is this possible???

    Different idea, look at this thread, where you could just have multiple file upload capacity in a form.. The multi-select with browser I believe is NOT possible with current version of APEX.
    how to Upload Multiple Files
    Thank you,
    Tony Miller
    Webster, TX

  • Browse Folder Dialog in JSP

    Hi Everybody!
    I have a user-form within an JSP, and within this I want the user to specify a folder an his system.
    I already tried <input type="file" .... > But with this tag you can only select a specific file, not a folder.
    Now I solve the problem by having a plain input field and having the user type in the path, but I do not like it.
    So how can I integrate a browser folder dialog to this form?
    Thx in Advance!
    Stef

    hai
    i have also a same problem
    i got in java
    this is the sample code
    http://forum.java.sun.com/thread.jspa?threadID=754499&messageID=4311333#4311333
    but i need in jsp
    if u got it means please tell me
    thanks

  • Directory Browsing

    In portal 3 public_html was abled to be browsed.
    When using Portal 6 -- this functionality is disabled. Does anyone know how to turn directory browsing on?
    If I was in my web browser I could type in http://portal6/images ... and it worked - this directory would actually be /opt/SUNWam/public_html/images/
    Also is there a way to get to javadocs for DSAME through a web browser ---
    They say it's in /opt/SUNWam/docs/index.html
    I think the configuration is in iPlanet Web Server 6.0 -- but can't find where it is.

    Hi,
    In amconsole in the root node select "Service Management"
    SRAP Configuration -> Gateway -> default/edit -> Non-authenticated URLs
    (I assume you run portal gateway)
    Cheers,
    Alex :-)

  • Help using Dreamweaver cs3 tutorial, chapter 8, opening browser window dialog box

    Hello,
    I am using the adobe classroom in a book tutorial for cs3 and have run into a snafu on page 188 of chapter 8.   I have tried to select the + sign under the smaller top photo to create a pop-up window.  when I select the + sign I cannot access the open browser window dialog box to enter info.  I cannot seem to use the link field in the property inspector for this.  The link area under source will not come up, just the link over target, which in turn will not bring up the open browser dialog box.  Any solutions?  Thanks,  DesignChambers

    Hi David,
    I just had the same problem.  I cannot preview in Mozilla (or IE).  The program becomes unresponsive and I have to close it. Is there any chance that Adobe will update Dreamweaver CS3 so that we can preview in modern browsers?

  • Dialog' selection screen

    Hi Guys,
    Im developing a dialog program that the first screen is the Selection screen, where it contains select options and parameters.
    My question is how can i make my dialog's selection screen having the same functionality as normal SE38 program's selection screen? Basically in dialog's selection screen, i want to save the input as variant.
    I did tried to copied standard status - Program RSSYSTDB, Status %_00 as my dialog selection screen's status. but the save button will not trigger the variant saving.
    Pls comment.
    Thanks in advance.

    Have you tried getting SAP to generate the selection screen for you?
    For example :
    selection-screen begin of screen 200.
    selection-screen begin of block a with frame title text-t01.
    select-options s_vendor for  eina-lifnr obligatory no intervals.
    select-options s_matnr  for  mara-matnr.
    parameters     p_werks  type mard-werks default 'D100'.
    parameters     p_lgort  type mard-lgort default '0002'.
    selection-screen end of block a.
    selection-screen end of screen 200.
    You would need to call screen 200 from your main program, and after execute is hit the main program continues populated with the selection parameters

  • How to close tomcat's directory browse function?

    when running tomcat,the default setting is when no start page(such as index.htm,index.jsp) in the directory,tomcat will display the directory context.how can I close this function?thanks.

    Under Tomcat v4.0.3, in the <Tomcat_Home>/conf/web.xml file is a set of default servlets with parameters. One of these is :
    <init-param>
    <param-name>listings</param-name>
    <param-value>true</param-value>
    </init-param>
    changing it to false does prevent directory browsing on my system. It's not a pretty access denied screen, but it does stop browsers seeing your contents, also any sub-directories. Hope that helps.

  • Directory browsing under OC4J

    Hi,
    Could anyone tell me how to allow directory browsing under OC4J, it is not using Apache or anything else at the front.
    Thanks
    Andre

    Andre,
    You do not need Apache to turn on directory browsing under Orion.
    1. Edit the orion-web.xml for your web application (if you're using the default web app this is /application-deployments/default/defaultWebApp/orion-web.xml)
    2. Edit the <orion-web-app> tag
    3. Add the attribute: directorybrowsing="allow"
    You should now be able to browse any directories that do NOT have a welcome file present. Welcome files are configured in your web.xml file, the <welcome-file-list> attribute.
    Cheers,
    Mike
    Atlassian - Supporting YOUR 'Orion/OC4J' World
    http://www.atlassian.com - [EMAIL][email protected][EMAIL]

  • Disable directory browse for /Reports virtual app in SSRS 2014?

    How do you disable directory browse for /Reports in SSRS 2014?  Currently the user can  http://devreports.foo.com/ReportServer/ and view all virtual folders.  Need to disable this.  Using FormsAuth / CustomAuth.
    thanks
    scott

    Hi scott,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • WL5.1 custom directory browsing

    Hi All,
    Can I set a custom jsp page for directory browsing of directories without a
    default page?
    -Vince

    Thanks for the tip.
    Alright, I enable the local directory and I am able to view it using the IP Phones but I do not see a way to capture the directory file. I don't see a file in flash. Any ideas?

  • Disable directory browsing

    I'm using Lion Server, and would like to disable directory browsing.
    I thought the Server App should have this feature, but it looks like the app doesn't have anything like that.
    So, I'm assuming I need to edit .conf files manually, but don't know which file should I edit.
    Please help me to resolve the problem.

    The different site configuration files are in /etc/apache2/sites.
    According to http://www.felipecruz.com/blog_disable-directory-listing-browsing-apache.php you need to remove Indexes from the Options. Or maybe, if indexes is not present at the options line, you can try adding -Indexes (minus sign before) to the Options line.

Maybe you are looking for

  • G/L account Master data question

    Hi all, Can I change an account master to a regular B/S account from a customer reconciliation account i.e., turn off the reconciliation indicator on the account if there is a balance/ activity on that reconciliation account? I tried to change that a

  • Error creating web service proxy for bpel process in jdev 10.1.3

    Hi, I am trying to create a web service proxy in Jdeveloper 10.1.3, and get the following error: Element type "fault" is missing required attribute "name" I have created a fault on one of the operations, and in the .wsdl file there is a name attribut

  • How can I update Java on my Mac?

    How do I update Java on Mac OSX 10? Firefox is telling me my Java plug-in's vulnerable and requires an update but I don't know how to do this on the Mac. It says I need to uninstall Java first - how do I do this??

  • How to auto update AIR runtime when installing with native installer?

    Hi, we recently changed our app to a native installer for both Windows and OS X. It seemed that when we distributed a .air file the install process would upgrade the installed version of the AIR runtime (if necessary) before installing our applicatio

  • Safari, firefox both stopped loading images suddenly

    Everything was working great, then suddenly both safari and firefox stopped loading all images. Ebay, Amazon, Netflix and so on, even the mac store site will not load the images. I am using Safari 6. I have done all the updates, cleared all the cache