Giving name to the file SO_NEW_DOCUMENT_ATT_SEND_API1

Hi all,
I am trying to use the FM - SO_NEW_DOCUMENT_ATT_SEND_API1 for creating the attachment.I am able send the attachment. 
Problems -
But along with the attachment the content is also going as mail content. I want to avoid it.
I could not attach name to the file attachment.
How can i over come these issues.
Srikar

Hi,
Check this link.In this, for attaching smartform output,I am also using the function module.Have a look at this.
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/smartforms/smartform in abap.pdf

Similar Messages

  • When I download something from the Web, the "Downloads" window opens, but the window remains blank. Before it used to at least show the name of the file and I could open the file from the "Downloads" window. Is there a way to get this functionality back?

    I'm running Windows XP which is updated to latest version (which I think might be Service Pack 3, but not positive.) Mozilla Firefox is version 5.0. I tend to use Google as my search engine so most of the stuff I download comes through sites found through Google, which is also updated.
    At some time in the past (maybe a few versions ago) when I would download a file from the Web, the "Downloads" window would open and in the window would be displayed the name of the file I was downloading or had just completed downloading. I think I used to be able to then click on that file name and the file (or the installation file if needed to start the new program) would open. I am currently using Firefox 5.0 (the "About Firefox" screen says this is up to date) and when I download a file or document, the "Downloads" window appears on the screen as it always has in the past, but it remains blank, i.e., nothing appears in the downloads box. I don't remember making any configuration changes, etc., that may have caused the window to remain blank, but I could be mistaken. I know how to find the items I've downloaded (My Documents / Downloads) and can usually guess what the name of the downloaded file might be, but it used to be much easier when something (anything) showed up in the downloads window.
    I'd love for someone to tell me about a simple fix for this. I'm willing to be quite embarrassed that I did something I shouldn't have.'''

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Existing cross Reference: how to change the name of the file it refers to?

    Hi everybody,
    I am a professional translator.
    One client of mine sent me a complete FrameMaker 9 book file for translation.
    I translated the content via a CAT-Tool and now am in the process of checking if cross references and markers are ok directly into the file.
    I noticed that many cross references are linked to another file of the book. But in the process of translating each file separately, I gave them a slightly different name (I added the language at the end) so as to be able to recognise them eventually.
    Now I have this problem: I cannot find in the cross reference interface where to change the name of the file into the new one the cross reference is supposed to refer to.
    Am I right in wanting to change the file reference? If so, how do I do that?
    Or is it better to avoid this task and rename the translated file into their original names ? Would it work then?
    Thanks for your help.

    ... book file ...
    ...  each file separately, I gave  them a slightly different name (I added the language at the end) ...
    I'm guessing that you renamed the component files by means other than using the Edit > Rename File from the Book menu.
    If so, do over. Rename from the Book menu. It automatically revises all the cross-references in all the component files.
    In a Book, the only thing that's safe to rename with the file manager is the .book file itself.

  • I've installed LR on my new Mac - How do I find/what is the name of the file that opens to bring up my existing photos (on my external hd)?

    I've installed LR on my new Mac - How do I find/what is the name of the file that opens to bring up my existing photos (on my external hd)?

    Bookmarks and history are stored together in your profile folder in a database file named places.sqlite. These articles should help with restoring as much or as little of your other profile as you like:
    Locating the folder: [https://support.mozilla.com/en-US/kb/Profiles Profiles | How to | Firefox Help]
    The following article has suggestions for recovering bookmarks: [http://support.mozilla.com/en-US/kb/Lost%20Bookmarks Lost Bookmarks | Troubleshooting | Firefox Help].
    To move more settings, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • Function Module that gives the names of the file in the Application Server.

    Hi Experts,
       Please give me a Function Module that gives the names of the file in the Application Server.
    Thanks,
    Debi.

    Hi,
    see these links
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa02b7493111d182b70000e829fbfe/content.htm
    http://abaplovers.blogspot.com/2008/05/function-module-sap-logged-in-users-to.html
    http://www.saptechies.com/abap-function-modules/
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/function-module-to-get-data-and-time-of-file-576751
    thanks
    karthik

  • Need of a Webservice to get the name of the file in a Folder

    Hi All,
    I am in need of a Web service which should get the name of the file in a folder.
    Note :  Folder is created in the MOSS server.
    Thanks.

    Just to add, Mac in intergrated into AD and all I need is help in creating the script
    Thanks

  • Change File Name In The "File Download" Dialog Box For Web Reports

    Hi All ,
    I followed the below note to change the "File Download" name.
    How To Change The File Name In The "File Download" Dialog Box For Web Reports? Doc ID: Note:418366.1
    However its not working. Has anyone tried this and works fine ?
    Basically I wanted to change the name "rwservlet" when a report is run in an
    excel format.
    Rajesh Alex
    Rajesh Alex

    Hello,
    Have you checked if a HTTP header "Content-disposition" is returned ?
    You can use ieHTTPHEaders for IE
    http://www.blunck.se/iehttpheaders/iehttpheaders.html
    and
    Live HTTP Headers for FireFox
    https://addons.mozilla.org/en-US/firefox/addon/3829
    Regards

  • Could not save as (file name) because the file could not be found

    When i try saving sothing it comes up with could not save as (file name) because the file could not be found and need to save this file. i could save stuff before but not anymore if anyone could help i would be grateful
    im using photoshop cs5.1
    Thanks keiron

    We cannot know. These kinds of things are operating system errors with stuff getting blocked due to insufficient permissions, security tools interfering, network errors or whatever. Since you mentioned none of that, it's an "Ask your mom..." thing at this point, but if you provide more details, someone might be able to figure it out.
    Mylenium

  • "Could not save (file name) because the file is already in use or left open."

    Hello,
    When I tried save as a file, I get an error msg:
    "Could not save (file name) because the file is already in use or left open."
    The file is not open anywhere accept Photoshop.
    Mac Pro, OSX 10.5.6
    Photoshop CS4.
    I searched the forum but could not find anything even though i'm sure someone already asked it.
    would love to get a solution for that.
    thank you,
    shlomit

    There is a problem with both Photoshop and InDesign, then we can blame wich ever it is.
    1. I open a .psd file in Photoshop CS4 by double clicking it in Bridge
    2. This image is placed on a page in a open InDesign document.
    3. Doing some changes in Photoshop on the image.
    4. Trying to save and get this error message (this topics subject)
    5. Deleting the image from the page in ID doc, it is the only one in the document.
    6. Can't still save file.
    7. Closing ID completely and now I am able to save the file.
    I tried turning of Live preflight in Indegisn but that didn't help.
    So probably the fault is InDesign or the MacOS. I didn't have this problem with CS3. It is a stupid problem because this type of workflow is pretty common and one would expect it to be solved by now.
    Jan Suhr
    Stockholm, Sweden

  • How can i get and save the name of the file

    Hi all
    in my program i'm dealing with several text files each has its own name
    after doing some process on each i do save the output as output.txt
    can i add the file name before or after the output.txt
    i.e i want the name of the file to be part of the saved output
    filenameOutput.txt
    or
    outputFilename.txt
    any ideas?????

    Just write it - somewhere in your code you have to have the file name anyway, or you couldn't write to that file.

  • Name of the file in a directory

    There is a file in a directory say C:\abcd
    I want to find the name of the file in that directory.
    There is only one file in that directory
    How to proceed with this

    Sarma,
    That was a little abrupt and rude of you. Oracle_Friend was only asking if anyone knew of a way to detect the existence of a file in a directory, not exactly asking the world of us. And for all you know he probably has already searched in documentation, but probably isn't quite sure what to look for.
    Remember : The manual has every damn thing that you want. We can only help you when you are stuck somewhere after having treid many options.a) sometimes people don't know what options to try so how can they have tried many options before posting on here.
    b) The manual doesn't have every damn thing that you want. I want a lot of money and some lunch cos I'm getting hungry, but it doesn't have that. On a serious note though, the manuals do miss things and can't possibly cater for everybody's business requirements.
    Chill out man, and help rather than hinder.

  • Please choose a different name for the file

    How can I stop this message appearning ?

    By choosing a different name for the file?
    You will need to provide a lot more information. 
    What are you trying to do when you see the message?
    What version of Sqldeveloper are you using?
    What operating system are you running on?

  • Name of the file generated not correct

    Hi all,
    We are using E-Business Suite R12. We have a concurrent request with executable Oracle Report and output type: XML. When is submitted we try to save it in Excel but the name of the file is not with the correct name/report name/ but in "hieroglyphics". The name of the report is in Cyrillic alphabet.
    The result we received:Регистър_РЅР°_факт_200212The result needed: Регистър на фактурите 200212.
    Any ideas? I'm not sure i'm asking at the right place... if not - please guide where to post thread.
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3Thanks in advance,
    Bahchevanov.

    you can't get the generated filename for write operation.
    But what you can do, is to define header variable of OutboundHeader_msg type, define your own filename (based on your unique creation criteria) and then pass it to invoke activity for file creation.

  • Java mapping - Setting the name of the file dinamically

    Hi all,
    Problem: I know how to set the name of the file in an Idoc to file interface if I'm using a message mapping, but not if I'm using a Java mapping.
    I'm using this code inside a user-defined function of the message mapping so that I can set the name of the file dinamically:
    public String GetFileName(String  inboundParameter,String IdocNumber,Container container){
    String filename;
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    filename = "cikk_" + dateformat.format( new java.util.Date() ) "_" IdocNumber + ".txt";
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return inboundParameter;
    (See also: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14)
    But how can I do that if I'm using a Java mapping??
    I don't have the class Container there. How can I retrieve the DynamicConfiguration object without that class?
    Thank you very much.

    Thank you Jin,
    I knew that it had to be related with the Map object got in setParameter, but in this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    you can't find the constant DYNAMIC_CONFIGURATION.
    I think it's not up to date.

  • Name of the file (in utl_file) with date and time

    Instead of the below:
    vHandle1 := utl_file.fopen('/home/oracle/testdir', 'test.csv', 'W');
    I want something like this:
    vHandle1 := utl_file.fopen('/home/oracle/testdir', 'test19dec200611.35.csv', 'W');
    i.e the name of the file should have the date and time too so that every time the original is not overwritten.
    Is this possible?

    OR maybe we can use this:
    utl_file.frename('/home/oracle/testdir','test.csv,'/home/oracle/testdir','test'||to_char(sysdate,'DDMONYYYYHH24:MI')||'.csv',TRUE);
    Will it work?
    Can we download this file and open it through oracle (and not any front end like ASP etc.)

Maybe you are looking for

  • File.delete() not working properly

    Hi Forum!! I am trying with the below code : File file = new file("path"); try{ if(file.exists()) System.+gc+(); file.delete(); System.+out+.println("Control in delete trx file after deletion"+ file.exists()); }catch(SecurityException se){ String msg

  • How to view photos from iPhone on Mac???

    I have an iPhone 6 and I would like to get all my pictures on my Mac. Do I have to do this through iCloud or is there another way to get my pictures onto my Mac Pro laptop??? I do have an iCloud account but just as soon not put all my photos in iPhon

  • Not no longer able to sync with Outlook

    I recently upgraded to Windows 7 on my computers. Ever since, I have not been able to sync on any of my computers with my storm. An error message of "No available messages stores" comes up when trying to set up the sync parameters. Does anyone know w

  • Album art not showing on other Mac

    On my iMac all the album art was present in iTunes. After matching and uploading all the songs (afterwards I deleted them and redownloaded to get the 256kbps version) everything was still ok on my iMac. However on my MacBook Pro only several cd's dis

  • FM - SWX_GET_MANAGER

    I am creating a report for Terminated & Suspended Employees.  These are Action Types T1 & SE on Infotype P0000.  The report must include the Manager's details.  I am using the FM SWX_GET_MANAGER to get the Manager's User ID and it is successful for S