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

Similar Messages

  • 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

  • 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 .

  • 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 :-)

  • 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?

  • ABAP or Browser Based PI Sheet.

    Hi Experts,
    Kindly give me some knowledge,how to create a ABAP or Browser based PI Sheet related to ABAP point of View.
    Thanks & Regards,
    Prashant Sharma.

    Dear Viswanathan Srinivasan,
    Thanks for reply,but i need to know how to make our own layout(PPPI_layout) either in ABAP or Browser based PI Sheet.
    Thanks & Regards,
    Prashant Sharma.

  • 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.

  • Turn off directory browsing on Oracle XE?

    Hi,
    I am using an Oracle 10 XE Database with Apex 3.1 in embedded PL/SQL.
    Is it possible to disable the directory browsing?
    The URL to my Application is:
    http://hostname:8080/apex/f?p=121
    if I only type the URL
    http://hostname:8080/
    I can see some directories like /i or /sys and so on ...
    Does someone knows the switch to suppress it?
    Regards,
    Kai

    I think this can be done using a normal way of disabling directory browing via httpd.conf or .htaccess.
    If you can find any of these files, stop Apex, make the required changes and star Apex.
    This is a clue. I know the next thing you will ask is what to change in the files. You can read more on them.

  • Is it possibil that user can create themselve in ABAP via browser ?

    Is there a possibility to create users in sap automatically via browser or else?
    Because I want that user can create themselve via browser.

    Yes it is possible.
    In addition to syncronizing users (for example with an Active Directory) there is also the possibility to use a self-registration scenario.
    If you could explain the context (e.g. ESS, Internet facing Webshop, Portal, internal ITS) then we will be able to give you better advise. Your question is very vague.
    Cheers,
    Julius

  • Document Sequencing in Directory Browse Help

    I need to resequence the order of the documents (cards) view when in browse mode in the Documents Directory. I need to reorder them by the card name instead of ordering by the cards ObjectID, in which is by default its sequencing them now. What do I need to do in BrowseDocViewHelper.CS or the DirBrowseDP.CS objects?? Am I looking at the right direction here? Please point me to the right class objects to modify to get these results... Much obliged in advance for help...
    Ray Salgado, State of Maryland, [email protected]

    Hmmm... That is strange then, this could be a bug. This is the first thing we did. Went in the Folder Editor, there is a section there for "Sorting", an option of "Order this way when browsing" we had set to the "Name" property. We did the same thing for the "Order this way when Editing" option. And yet as soon as I set the Browse Mode again, it orders the documents in reverse, like if it orders by ObjectID. I will report this to Tech Support.

  • Virtual Directory Browsing in IIS Is what in OSX Server?

    Ok, forgive my ignorance.  I am coming from a better understanding of Microsoft IIS..
    Basically what I am looking for is.. In my Windows Server I would have a Partition Drive with a letter.. lets say e:\  and call the drive docs with data files saved on it.  I would then go into IIS and setup a Virtual Directory of that E drive..  So then I could have people own a browser at  www.website.com/docs and from there it would list all the files allow them me to download what they needed....  Yes, I know there is also a VPN option.. However, this is easier for my case...
    I think in Apache it would show a page and in bold letters "Index Of /" then list all the contents in that drive or folder..
    I have tried looking up what it would be called in Apache.. Yet not yielded much luck..
    Anyone have ideas?

    Yes! You are correct, I actually got it to work about 5 mins ago.. Thank you for the reply..
    I found a manual from Apple "web tech" that says to insert:
    <Directory "/Users/refuser/Sites">    Options Indexes MultiViews    AllowOverride None    Order allow,deny    Allow from all</Directory>
    I inserted this into the /etc/apache2/sites/website.conf file or even the Virtual_Host_Global.conf file
    I changed the directory to the path I have the "Aliases and Redirects"  such as /Volumes/Web
    Works great! 
    HOWEVER....... I have noticed.. that every time I then goto edit something in the Server Admin Console for Apache.. It removes the code out of the .conf files..
    I have tried making .htaccess files in the Drive with no luck or even adding a httpd.conf and no luck..
    It does seem to give Directory indexing when I add it into the location listed above.. yet no where else.. kind of stumped again..
    Any ideas?

  • Not allow the directory browsing

    hello.
    i have some jsp pages under a webapplication with tomcat. if an user delete the name of the page from the url (for example default.jsp), he can see the directory content.
    i would like to know how not to give the users the possibility to browse the dirs.
    and so how to specify a page name where the users will be redirect when they delete the name of the page from the url
    thanx

    How much more precision do you want? This is detailed in the web.xml dtd and there was an article in the Java Developers Journal, (available online), last month. You need to set up some security constraints in the web.xml. Are you expecting me to post you the xml tags? As for there not being anything on the jakarta site, where do you think I found information about how to secure a Tomcat server?

Maybe you are looking for

  • My laptop sound is not working correctly what to do?

    HP Pavilion DV6-3031tx os is windows 7 64 bit and i have taken my laptop in dubai can i get the warrant in india.?

  • Printing a report

    I'd like to open this discussion because i did not find much information on the net, and maybe someone has already tried out this. I'm facing the problem of printing a report with my application and I'm having problem figuring out how to insert into

  • 16:9 in FCP and DVDSP

    I'm sure this has been asked multiple times and I did try to find my answer there but I just want to ask again... I am needing to create videos in 16:9 aspect ratio. We shot on miniDV with a canon XL2 with 16:9 selected but I'm having troubles figuri

  • CS4 Reset View Keyboard Shortcut (ESC key) Not Working

    Thanks in advance to anyone who can solve this: Every keyboard shortcut in Photoshop CS4 works fine for me except one: the keyboard shortcut to reset view after using view rotation (the ESC key). Oddly, the keyboard shortcut does work in CS5 (I insta

  • New Desktop Build - Few Issues [Solved]

    Hey guys just completely upgrade my desktop... board, processor, ram, graphics card etc. installed everything just fine. Went with lxdm and xfce4 as my LDM and GUI. Installed the latest catalyst drivers using the wiki to support my ati radeon hd 7850