Save a attachment file in the shared folder of receiver using ABAP report

Hi all
Is it possible to save an attachment file in the folder of receiver's desktop using ABAP report?
I am using the standard mail sending code to mail the excel file as an attachment.
Consumer wants that file to be stored automatically in the folder of a shared drive he is using.
Is it possible?

You can do that via class CL_GUI_FRONTEND_SERVICES method gui_download. But this is not working in background. Reports running in background cant reach presentation servers.
If you have XI/PI in place you can set up a scenario for that.

Similar Messages

  • How do i save a .m4v file to the movie folder when it will only save to the music folder?

    I have a movie file in my ITunes music folder that i want to mover to the movie folder because it is a movie. The file type is a .m4v. When i click and drag it itunes wont let me drop it in movies.
    What do i do??

    You drag it using Windows Explorer and not in iTunes.  Itunes library merely link the movie in iTunes library to your file location.
    After you have dragged the file to another location, remember to link your original movie in itunes library to the new location.  Right mouse click the movie, GET INFO, click LOCATE and direct to the new location (otherwise, your movie will not play)

  • Accidentally saved a file in the hidden folder /Volume??

    I accidentally saved an attached email file in the hidden folder /Volume. Since it's a hidden folder, it doesn't show in the finder. However, in Mac Mail, if I try to save an attachment, I see the Volume folder there along with the file I saved there...
    How do I delete that file in this hidden folder??

    After typing Volume or /Volume in the search box of the Go To Folder option, nothing comes up?
    Strange, I can see it as an optional folder to save to in MacMail but Finder does not see it?

  • All files in a shared folder don't have permissions

    I have two users on my mac and am having some issues with sharing files.  I created a shared folder and gave the other user read/write permissions.  When I log in as that user, the folder can be accessed, but some of the files in that folder cannot be accessed.  These are all photos, and for the most part I'm dropping them into the shared folder from iPhoto. 
    I tried it again by using the Public folder with the same result.  However, there isn't consistency with the actual files that don't have permission.  In other words, the shared folder I created may have a file that does not have permission, but that same file does have permission when I dropped it in the Public folder.  So it is totally random as to which files in the shared folder don't have permission to be accessed. 
    I also tried to simply drag the files to the other user.  Same result. 
    Can anybody help me with this?  I'm stumped as I thought once a folder was shared that all contents are accesible.

    Sharing a folder does give others access to it, but it does not change the permissions of the files inside.  Other users can probably read everything, but they can't modify files that they do not own unless the owner of those files has changed the permissions to allow it, or other steps have been taken to provide additional access such as the use of an Access Control List (ACL).
    Apple doesn't include a GUI utility for manipulating ACLs, so your choices are to use a third-party utility such as TinkerTool System (not free) or the Terminal application.  The Drop Box folder in your user's Public folder has an ACL entry that gives access to change just about everything on files that are dropped there, so a Terminal example that sets similar permissions for everyone (a particular user group can also be used) would be:
    1.  copy and paste the folowing into the Terminal window (there is a trailing space):
    chmod -R +a "everyone allow list,add_file,search,delete,add_subdirectory,delete_child,chown,file_inherit,directory_inherit"
    2.  drag the desired folder into the Terminal window (this copies the path)
    3.  press return
    Note that ACL entries only work on items that have been created in the folder - not moved there - so you should use option drag to make a new copy in the shared folder.

  • Transfer of file to a shared folder on remote machine

    Hi,
    I want to transfer a file present on windows machine A to a shared folder (\\16.192.54.56\Test) on machine B having ip as 16.192.54.56, using java.
    I tried using the renameTo api of File class but its not helping. It gives permission denied exception. I am able to open the shared folder from machine A using the shared folder path (\\16.192.54.56\Test) through the run command. So, that means there is no permission issue on the shared folder.
    Could anybody please guide me as to how can i resolve this issue.
    ~Brij

    Hi,
    Please pardon me for not providing the complete information.
    I have kind of root caused the issue. Let me explain the issue in detail.
    I have a logic to move a file to a shared folder on remote machine, inside my application running on a different machine. Now when i run my application using
    command prompt, the logic of moving the file to the shared folder works fine.
            try
                File fDest = new File(""\\\\15.154.52.100\\TestDir\\test");
                File fSrc = File.createTempFile("testExport", "txt");
               final int BUFFER = 2048;
               InputStream in = new FileInputStream(fSrc);
               OutputStream out = new FileOutputStream(fDest);
               // Transfer bytes from in to out
               byte[] buf = new byte[BUFFER];
              int len;
              while ( (len = in.read(buf)) > 0)
                  out.write(buf, 0, len);
              in.close();
             out.close();
             fSrc.delete())
            catch (Exception ex)
                ex.printStackTrace();
    {code}
    But when i run my application as a windows service, the logic does not work.
    I noticed that when we run our application as windows service, the owner of JVM is System and it looks like it will not have Network access permission.
    But, when we run our application through command prompt or as a standalone application, then the owner will be the user who started the application. This user will have the Network access permission.
    Please correct me if the above assumption is correct. If this is the case then how can i make my application (running as windows service), to have network access permission.
    ~Brij                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Attach File to the selected item

    Hi all,
    To attach file to the Puchase order, i am using
    1- BBP_PD_PO_GETDETAIL ( PO Guid )
    2- BBP_PD_PO_UPDATE ( E_HEADER + IT_ATTACH  with PO Guid )
    3- BBP_PD_PO_SAVE ( PO Guid )
    4- Commit
    and it works Fine
    Now when i want to attach this file to the selected PO Item by making the same prossess it's not working (By passing the PO ITEM Guid into IT_ATTACH )
    Am I missing some parameters to attach the file to the selected item  ?
    Best regards

    Thanks for help!
    From my experience I can notice that Apple has an excellent support team, but it doesn't listen it's consumers. This is 3rd generation iPad, but this feature still doesn't exist. I've had a better opinion about this company.
    IMHO this feature is a basic function of any other mail program. About 7 years ago I had a simple mobile phone with mail client which supported this function, but costed about 100$. Now I hold in my hands device with price ten times higher but it's native mail client doesn't have this feature.
    Different Android, Windows devices allow to do this, but iPad doesn't.

  • How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    Hi
    Please take a look to this thread Re: Can I refresh the browser rather than open a new tab?

  • How can I save a file in the Downloads folder and automatically have it opened?

    Often, I'd like to download a file, save it to my Downlaods folder and have it opened right away.
    Currently, you can only decide between the two options "open" or "save to...". There's seemlingly no way Firefox can do both at once.
    I know I can download it, open the downloads manager and open it manually. But when working with over a dozen documents a day, that doesn't quite do the trick.
    In Chrome, you only have to click twice: Once for downloading and once for opening it from the download bar on the bottom of the screen. You do not have to open a download manager.

    Yeah, thanks but that's not what I was trying to ask.
    I know that you can save and open a document by performing these three steps:
    1. Confirming to save a file to the Downloads folder
    2. Open the download manager by clicking the temporarily green arrow
    3. Clicking on the downloaded file
    What I would like to know is whether or not it is possible to have Firefox open a saved file ''automatically''. At the moment, if I choose to open it automatically, it is only saved to my temp folder.
    It would be great though if it was saved to my Downloads folder ''and'' opened with the respective program on my pc. Is there a way to do this?

  • Hi! I have a WD my book external hard drive plugged into my imac and I want to share it over my network with my apple tv. I went into system preferences sharing, checked "file sharing" and added my external hard drive to the shared folder. So now it is

    Hi!
    I have a WD my book external hard drive plugged into my imac and I want to share it over my network with my apple tv. I went into system preferences > sharing, checked "file sharing" and added my external hard drive to the shared folder. So now it is listed in "shared folders" but under "users" everything is grayed out (it says "read and write" for "everyone" - but "read and write" is grayed out, and it doesn't let me add or subtract users). Now I can access all of the folders I shared from my imac except for the externalhard drive. What's going on?

    Hi RRFS!,thanks for help.I forgot to tell that hard drive has 2 partitions 1:format :Mac OS Extended (Journaled) and that works properly,2:format:MS-DOS (FAT32) and when i "get info" for both :first has shering & permitions:You can read and write - with name and privilege, second has shaing & prermissions:You can read and write- without name and privilege

  • IDCS Workflow: save the original file or the packaged folder?

    I am using IDCS on Windows XP Professional Ver. 2002 Service Pack 3.
    I am wondering if after I have packaged a file, should I delete the original file or the packaged folder? I work on a network so space is limited, so I need to save my linked graphics in an area accessible to others (who don't have InDesign). So basically I have the location of the graphics saved, the original file linked to the original graphics and the packaged folder that has copies of the original graphic files. I am fairly new to InDesign and I want to keep my files organized.
    Thanks.

    The very safest step would be to burn the package to disk and file it, then delete the package folder from the server.
    That way you don't have lots of duplicated images that may or may not be in sync, and you have a backup copy of the file as it existed, along with links as they were, if you need them.
    Peter

  • Can not edit file on network shared folder after upgrading to windows 7

    Merry Christmas and happy new year,
    Due to some configuration changes on a specific application, I have forced to upgrade OS of a few number of workstations from Windows XP to windows 7. After upgrading I am facing a strange problem on WIN7 workstations. These workstation are member of a Windows
    2008 R2 Active Directory domain which also has a Windows 2003 advanced server additional domain controller. Also there are a number of shared folders on some member servers (all windows 2003) which are mapped as network drives at user logon. Before upgrading
    mentioned workstations to WIN7, users was able to edit his/her files on all of mapped network drive according to his/her permissions without any problem on their WINXP workstations, But after installing windows 7 they begin facing problem on one of these mapped
    network drives and the problem exactly is when they edit a file, in more specific word an excel file, and then try to save, the excel returns an error message of "document not saved" and exit the excel program. It becomes more strange when you learn
    that the edited excel file is disappeared and replace with some "tmp" file. If user copy the excel file to his/her own desktop, edit it and then copy it back to its original place on mapped network drive, it will be replaced normally with its older
    version. In other words if user wants to edit an excel file on that specific network drive, he/she must edits it somewhere else and then replace it on the network drive. If the same user uses a WINXP box, there will be no problem.
    Can anybody help me to fix the issue?
    TIA
    Bijan

    Thank you Karen,
    The problem is fixed, but my case was none of what you suggested. In fact I have
    another problem which I described in another question and it was of the root of this excel file issue. I describe what I have done to fix the latter problem hope to help fixing similar issues to mine.
    Okay, as it is described in the
    question, I was not able to open a shared folder with its UNC address while it could be mapped as a network drive without any problem. I examined what I was replied and some other ways, came to no result. I decided investigate a similar shared folder in
    permissions to problematic one to see if the problem is repeated. So I created a folder and shared it with similar permissions and examined it. Surprisingly there was no problem. It was wise to remove sharing of the problematic folder and share it again to
    see if the problem resist. But when I tried to remove sharing I received an error message saying that
    the shared folder is related to a DFS root. When I took a look at the DFS roots of domain there was no sign of the problematic folder (that made me recall that I created a DFS root with problematic folder mistakenly and removed that DFS root).
    After little searching, I found out that the problem could be caused by traces of the removed DFS root. Yep! I found the suspect! The registry key
    HKLM\Software\Microsoft\DFS\Domain\problematic shared folder. I removed the key restarted DFS service and log off and on and Bingo!
    This problem pops up a few more questions:
    1) Why is not the registry key related to removed DFS root deleted from the registry of windows 2003 server?
    2) Why was I able to browse this ex-DFS root shared folder without any problem in windows XP while it was problematic in windows 7?
    3) As there is no special client service for DFS and user can access DFS root targets like other shared folders what is the deference between shared resource access mechanisms in windows XP and windows 7 that caused the problem?
    Bests,
    Bijan

  • Question about the shared folder when backing up audio

    Hello, kind Mac folk. I've read a lot about using Itunes to backup Itunes libraries onto multiple CD-R's and it seems that, right now, this is the best option for me. However, I've also read that it's a good idea to also backup the "users/shared" folder from the HD because it contains some invisible information regarding the authentication of music that I purchased using my .Mac/Itunes account. So is it possible to burn this folder in the same burning project I'll use accross the CD-R's on which my tunes will go? Or do I need to place this folder in a burn folder and back it up that way? And, if the latter is the only way possible, will it matter that the information is on a separate disc if I ever need to restore or upgrade my hardware? Thanks so much for your help and advice.
    Austin

    If you create your backup CD-Rs from within iTunes, it's not possible to include the Shared folder.
    You have to burn that folder as a separate project.
    The size of the folder can be fairly large (mine is about 1.9 GB) depending on the applications and specific use of your computer.
    If your only goal is to save the authorization info in case of a HD crash or other failure, it won't help. After repair of a logic board or changing RAM, you will be asked to authorize again anyway.
    Take a look at this article
    The authorization info is stored in the 'SC Info.sidb' file inside the 'SC Info' folder in Shared.
    You can 'unhide' invisible files by tools like Tinkertool or OnyX (you can find them on versiontracker.com)
    Hope this helps.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.4.6)   Several ext. HD (backup and data)

  • 10.3.9 server - files copied to shared folder don't have proper permissions

    When 1 user copies a file to a shared volume the next user cannot save. The copied file is read only. If I choose the enclosing folder or whole volume and propagate permissions (Copy these privileges to enclosing items) then the file is read/write as it should be but the next file copied is read only.
    This started when I used Carbon Copy Cloner to clone the system to a new drive. I know this isn't completely kosher but I done it successfully with this same system before.
    This server is still Panther because it has been on for 4.5 years and has not crashed once. It provides AFP and nothing else.
    This is a creative team that is kind of freaking out so any help would be greatly appreciated..

    Sharing a folder does give others access to it, but it does not change the permissions of the files inside.  Other users can probably read everything, but they can't modify files that they do not own unless the owner of those files has changed the permissions to allow it, or other steps have been taken to provide additional access such as the use of an Access Control List (ACL).
    Apple doesn't include a GUI utility for manipulating ACLs, so your choices are to use a third-party utility such as TinkerTool System (not free) or the Terminal application.  The Drop Box folder in your user's Public folder has an ACL entry that gives access to change just about everything on files that are dropped there, so a Terminal example that sets similar permissions for everyone (a particular user group can also be used) would be:
    1.  copy and paste the folowing into the Terminal window (there is a trailing space):
    chmod -R +a "everyone allow list,add_file,search,delete,add_subdirectory,delete_child,chown,file_inherit,directory_inherit"
    2.  drag the desired folder into the Terminal window (this copies the path)
    3.  press return
    Note that ACL entries only work on items that have been created in the folder - not moved there - so you should use option drag to make a new copy in the shared folder.

  • Is it possible to save a briefing book to a shared folder

    Hello Gurus,
    Is it possible to save a briefing book to a shared folder
    With regards!
    Ram

    Is it possible to save a briefing book to a shared folderIf you can think of creating an automated process to ftp the files from "My Briefing Book" folders to a shared location based on some frequency. But you need to make a point here that each user's briefing book will be stored in its respective personal (My) location.

  • How to upload a text file from a shared folder and provide an o/p

    how to upload a text file from a shared folder and provide an o/p  containing the details in each order in the text file

    Hi,
    Use <b>GUI_UPLOAD</b> to upload a text file from a shared folder.
    Use <b>GUI_DOWNLOAD</b> to download data in a file on the presentation server or use <b>OPEN DATASET, TRANSFER</b> and <b>CLOSE DATASET</b> statements to download data to the application server.
    Now, I hope the code for data fetching, if required, is already present in the report.
    Reward points if the answer is helpful.
    Regards,
    Mukul

Maybe you are looking for

  • No FM payment update (VT57) for clearing documents

    Hello all, I have payment updat online active, and I'm trying to post a payment after a FI clearing, but the system is not able to find the invoice posted in FM and create value type 57. Basically, I'm posting an account payable but still don't know

  • Project System Cash Management in combination with statistical WBS element

    Hi, within  a customer project, we have to solve the following issue: Customer runs projects and statistical projects in combination with internal orders. We want to use the PS Cash Management for planned and actual payments. With statistical project

  • Rules of Infopath in SharePoint Designer

    I was working with Calendar lists and wanted to apply customizations of Infopath but infopath cannot be aplied to a calendar list. I was wondering, if we could have rules(formload, validation, formating, action, form submit) kind of actions in Sharep

  • PID motor control

    VTrying to implement system similar to https://decibel.ni.com/content/docs/DOC-16983 with a9 volt DC motor max speed 350 rpm  The problem that I am facing in here is that 1.>when i set a desired speed more than 200 rpm the controller output oscillate

  • How long does Reuse recycle take

    I posted my iphone to the Reuse Recycle service almost 4 weeks ago and have had to email them for updates, does anyone know how long this service takes before we get our money? I must say its a service I wouldn't use again because of the delay.