Cl_gui_frontend_services: possible to change the user for writing files?

Hi,
I'm using the class cl_gui_frontend_services to allow the user to copy a file to a specified network drive (using the method file_copy). The user can open the file again, if he double clicks on a row in a ALV table. So far so good, this works already.
But one requirement for this solution is, that the user can not access the directory where the copied files are stored directly.
Now I'm wondering if it is possible to use a specified system user for copying the files? My idea is to switch to the system user just for the method file_copy. I didn't find a method for doing this yet but maybe somebody knows if this is possible.
Thanks and regards,
Martin

Hi ,
Regarding to your last question; You can get the file list of a specified directory while using OPEN DATASET related commands. After the list populated you make the user select it with the help of a popup screen.
Gets the list of a specified directory's content
  CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
    EXPORTING
      dir_name               = gv_drctry
    TABLES
      dir_list               = lt_dirlist
    EXCEPTIONS
      invalid_eps_subdir     = 1
      sapgparam_failed       = 2
      build_directory_failed = 3
      no_authorization       = 4
      read_directory_failed  = 5
      too_many_read_errors   = 6
      empty_directory_list   = 7
      OTHERS                 = 8.
Hope it's useful...

Similar Messages

  • Is it possible to change the user status of a TECO Order

    Hello Folks
    Is it possible to changes the user status of a TECO Order?
    I have tried to change it using the FM 'STATUS_CHANGE_EXTERN'. Its working fine for NON TECO Orders but not for TECO Orders.
    On the other hand I was able to manually change the user status for a TECO Order in transaction IW32.
    I need to change the user status from NFBK to FBK.
    Please provide some inputs for the same.
    Thanks n Regards
    Ramesh

    The simple way is via the Internationalization settings via ARD or RDP or Screen Sharing, either via System Preferences or (if enabled) via the menu bar. If you're looking for a lower-level approach, there's not AFAIK a direct command for this. As for one possible approach, might [threadID=2106201|http://discussions.apple.com/thread.jspa?threadID=2106201] help?

  • Input Controls - is it possible to change the font for a combo box

    I have an input Control combo box that is a mixture of english/chinese characters. In Webi I can view the chinese characters correctly if I change the font to MingLIU. Is it possible to change the font for an input control OR to set a default font?

    I am a first-time user of the photo book application in iPhoto.
    I also was a first-time user, so I started using it. Exploring the possibilities, learning my way around.
    Thanks, in advance, for any suggestions someone might have.
    Click the ? icon
    Oops. Sorry, but you're in the wrong forum : iLife > iPhoto

  • I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug.  I want to sync my data - contacts most important  - from my itunes account...is this possible?  Is it possible to change the user ID on the borrowed phone to my ID?

    I recently lost my iphone 4 and have an iphone3 on loan until I get upgrade in Aug.  I want to sync my data - contacts most important  - from my itunes account...is this possible?  Is it possible to change the user ID on the borrowed phone to my ID?

    There are no contacts in itunes.
    Your contact should be on your computer in whatever program you have selected to sync.  Just sync them to the new one.
    Click Support at the top of this page, then click manuals
    Changing the itunes account on nthe iphone is covered there as is restoring the iphone as new or from backup.

  • How do you change the user for Home Sharing on the Apple TV?

    I need to change the user on the Apple TV for Home Sharing but can't figure how or where to do it in the Apple TV settings. Can anyone help? Thank you.

    I bought my ATV at the Apple store Zurich Switzerland.  All the movies default to German. I hired a US movie and pressed and held the play/pause button once the movie had started but only the chapter menu displayed and there were no options to change the language (from the default German to English)
    Are all movies flagged on Swiss accounts only available in German? Is there a way of pointing my ATV to a different server.
    BR

  • How to change the user for an event job as SAP_MONITORING_STARTUP_DISPATCH

    Hi experts!
    We change the user that execute all our jobs. I can change the user JOB-BW for JOB-BI for this job SAP_CCMS_MONI_BATCH_STARTUP_DP, but the problem is when this job is executed by event for this other job SAP_MONITORING_STARTUP_DISPATCH, but i can't change the user JOB-BW for JOB-BI for this event
    Could you tell me, how i do the change user for this job.
    Best Regards
    Ramon Sanchez

    Hi!
    My problem have been solved. The job SAP_CCMS_MONI_BATCH_STARTUP_DP is automatically created by
    Job SAP_CCMS_MONI_BATCH_DP. It is an event triggered job to handle the startup-methods which are to be processed in batch.
    The event is SAP_MONITORING_STARTUP_DISPATCH; I only select the job in SM37 and specify this event and after made the search the job  SAP_CCMS_MONI_BATCH_STARTUP_DP i only change the user.
    Thank you all for your help!
    Ramon Sanchez

  • Is it possible to change drive letters for library files

    Without having to delete and re-add everything? It would be very nice for all my playlists and my iPod and playcounts and whatnot if this were possible.
    If not, what is the easiest way to getting all your music with a new drive letter and managing to keep all playlists and whatnot.
    I ask because I'd like to be able to access my music on multiple computers but the drive letter D:\ associated with the library is taken on most systems I go on (and on many cannot be changed for various reasons)

    To be portable the iTunes library and it's assoicated files should be kept together in one folder, with all the media being in held a designated subfolder. iTunes for Windows normally creates the main iTunes folder at <profile>\<documents>\<music>\iTunes. Inside iTunes should be the sub-folders *Album Artwork*, *iTunes Music* and typically *iPod Games*. From iTunes 8.0 the iTunes folder will usually contain the following library files:
    *iTunes Library.itl*
    *iTunes Library.xml*
    *iTunes Library Extras.itl*
    *iTunes Library Genius.itl*
    sentinel
    If you rename or move the main iTunes folder as a whole, then hold SHIFT while opening iTunes (which gives an option to create a new library or open an existing one), then browse to the new location of the *iTunes Library.itl* file, iTunes will open the library, work out the new locations of any files stored in or below *iTunes\iTunes Music* and place new rips or downloads in the correct relative location. If such a library is put on a portable drive, the drive can be connected to multiple computers, each running the same version of iTunes, and the library can be accessed with iTunes irrespective of which drive letter is assigned by each machine.
    As far as I can tell you were taking an existing library, changing the location for files to a new target, consolidating to that new location and then moving the itl files. While this would appear to be the advice given I'm not sure it is as simple or effective as just moving the whole folder.
    tt2

  • Change the resolution for more files/tracks at the same time?

    Hello,
    we are now recording about 1000 LP to 32 bit (float) resolution for our archive, but for our and public use we will need 16 bit resolution. Is there any possibillity to change the resolution for more (for example 100 files) at the same time?
    IASA recommendations:
    http://www.iasa-web.org/tc04/introduction-first-edition
    »It is recommended that all audio be digitised at 48 kHz or higher, and with a bit depth of at least 24 bit.«
    Thank you.

    Sure
    Go to edit view select File->Batch Processing.
    Then select your files and resample settings
    Too easy.

  • Is it possible to search the client for a file in WebDynpro?

    Hi,
    I need to check inside a WebDynpro application wether a
    file exists on a client or not, befor showing or listing it.
    I have a UNC-Name for the location (e.g.
    servername\dirname\filename.extension).
    Another task would be to browse this directory for all other existing files and dirs and list them.
    Is this at all possible with WebDynpro?
    Or would this only be possible by using the filesystem of
    the applicationserver (e.g. mount the dir on the filesys)?
    Is it possible to launch a client-located script (like VB-Script or such) in WebDynpro?
    (e.g. to search the dir, create a text-file and read this text-file).
    Or are these concepts totally against the security-policies
    of web-based applications?
    Thanks in advance.
    Alf

    Hi Alfred,
    generally web applications run in a sandbox on the client.
    That means that they have no access to the file system.
    To get access you need to install a certificate on the client:
    You create a key with the Java-Tool "Keytool" and sign the application (or the applet) with the Java-Tool "Jarsigner".
    That generates a *.cert file wich you now have to export from the parent system and import onto the client (with Keytool).
    You will find many detilled instructions for this procedure in the internet.
    Unfortunately I don`t know how it works with Web Dynpro.
    Karsten

  • Changing the editor for Multi-File Find and Replace

    When I click edit on a file it opens it up inside Word. Anyway to get this tool to open the topic inside RH? Or inside another text editor like Notepad++? I don't trust Word to leave my code like I want it.
    Thanks in advance,
    Jared
    RH 7 (latest patches) authoring in RoboHTML
    Win 7 64-bit machine

    I just thought I would resurrect this thread, because I am encountering the same issue, except for me the Edit button just opens the topic IE.  As such, the only way to edit the topic is to right-click and choose View Source, then do another Find to get to the bit I wanted to edit, which is a bit of a faff.
    I'm running Windows 7 64-bit with IE9 and RH8.  As well as the suggestions made here, I have tried changing IE's HTML editor from the developer window (as described here), which works for IE itself, but not RH.  I've also tried editing the Registry and adding the path to Notepad++ to HKEY_CLASSES_ROOT\.htm\OpenWithList\Notepad++.exe\Shell\edit\command.  Again, this makes no difference, which leads me to think there is no association between IE9 and RH8. 
    The twist for me is last time I used this tool I'm sure it worked, but it has been a while and I cannot remember what other software changes have taken place that could affect RH.
    Regards
    Matt

  • Isit possible to change the default save as file type settings?

    Hi,
    I would like to set the default "save" and "save as" file type to "PDF /A" instead of the default "PDF" due to compatibility issue with some of our systems. Can this be done?
    So when a user click on the save button at the top it auto save as "PDF /A" and when the user select save as the default selection will be "PDF /A" ?

    Dave,
    Did you ever find an answer to this? We are having the same issue.
    Thanks,
    Mike

  • How Can I Change the Ports for WebDAV file shares.

    Title says it all. I have another piece of software using port 80 and 443, I'd like to create iOS shares using WebDAV but I can't find anywhere in the GUI to change the port numbers and I can't work out whether I need to do something involving Apache virtual hosts and if so which config files are relevant to the WebDAV server.
    Someone must have done this by now, anyone know how its done???!!!!
    Thanks in advance.

    OK, so I worked out which files to edit and I actually managed to change the Apache/WebDAV ports on a clean 10.8 Server.
    By clean I mean I installed 10.8.0, updated to 10.8.3 via the combo updater, then installed the latest version of Server app and configured the services.
    Having done that I was able to make the required changes and all is working well. I then replicated the process on my live server but it throws up an error when I try to start up the WebDAV sharing.
    This thread outlines the same issue:
    https://discussions.apple.com/thread/4199421?start=0&tstart=0
    I am getting this exact problem, in that any manual change at all to the 0000_any_443_.conf file will cause WebDAV to fail to start. This is annoying because I need to change that file. Its also annoying because the problem isnt there on my 'clean' server.
    I deleted the entire /Library/Server/ folder and the Server.app and reinstalled Server.app from the App Store, recreating the /Library/Server folder from scratch. This cleared out the apache config files which I tried to re-modify, but all the file sharing settings were retained. Does anyone think it would be worth deleting all the sharepoints? Any other ideas?

  • Is it possible to change the driver for my canon multifunctional printer?

    Hello guys! I've installed my Canon MP160 multifunctional printer to my airport express. I may print from my 4 PC's who is connected to the wireless network. This works great! But I've no scanner possibilities. I would really like to scan as well. Is it possible? Can someone help me, or do I have to connect the printer directly to the PC?
    Regards  PC-N

    Hi, I have windows 7 and configured my Canon MP160 printer to my airport express. However, i'm unable to print any documents. The documents just wait in the printing queue. I also have a Mac from where i'm able to print over wifi. On my PC, i have installed MP Navigator 3.0 software. Are there any additional drivers i need to install to make the wireless printing to work?
    Thanks!

  • How to change the path for a file download? Sometimes, I want to save a file in a specific folder in my hard disc and I don't know how to do it. Thanks.

    There is a default folder for the download of files from the internet ("Descargas" or "Downloads"). But, what can I do if I wish to save the file in another location of the hard disk?
    Thank you.

    Use about:config and filter on browser.download, you'll see them
    '''More information on configuration variables''' available in
    [http://kb.mozillazine.org/About:config_entries about:config (entries)] and for users not familiar with the process there is [http://kb.mozillazine.org/About:config about:config (How to change)]

  • When I change the folder for deleted files will files sent there be deleted as well?

    Hello! I selected the tick at forwarding mails. And I also checked (✓) for deleting those mails. In addition I selected to send deleted e-mails to a new folder. Now the name of the new folder is behind the bin symbol (). Will mails in the new folder be deleted after 30 days or will they stay. I want them to stay, so if there is a different way to forwand and mark the mails as read, I would be happy if you could tell me!

    The solutions is either of the following:
    Adobe Lightroom - Find moved or missing files and folders
    Copy the photos back into the exact same folder and folder location that they were in before
    I don't know what you actually did "when I pasted it back" ... but the bigger issue is that you shouldn't be working with these files in your operating system, period. Once you import them into Lightroom, you don't manage these files in your operating system.

Maybe you are looking for

  • Web-Based Setup, not working

    Hello... When I go to the Web-based setup...wireless/security.. nothing is available. I can't change the keyphrase, or security type WEP WPA andy such darned thing. It's just not there 90% of the time. Then once in a blue moon it shows up. Upgraded a

  • My iTunes will not connect to the internet because it is tied to IE's proxy settings but IE does not work how do I change the proxy setting to FireFox

    I have stopped using IE because it doesn't work, however my iTunes will not connect to the internet now because it is tied to the proxy setting in IE and now I am using FireFox, so, how do I get iTunes to see FireFox as my web browser.

  • Cannot Deleted the PDF Files When Show The Preview Pane in Window 8

    Dear Sir / Madam, Cannot Deleted the PDF Files When Show The Preview Pane in Window 8. Any solution about this issue. Why windows 7 do not have faced this issue, but when migration to windows 8 face this issue? Regards, Alex Tai

  • Adding amounts in an internal table

    I have created an internal table which has values BP number, Contract Account and amount paid. i would like to add the amounts paid per business partner and per contract account and only display the total amount paid per business partner and per cont

  • Link in Document

    Hi All, I have a requirement to send a notification with a link to transaction code IW22 in it. I have made this using the activity step, but once the workitem is executed it will disappear from the receiver's inbox. Another alternative is to send th