Document Name in Email

Hi All,
I am using an output type with transmission medium as External Send inorder to send an email with a pdf attachment.
I want to change the name of the attchment document as per my requirement.
How do i go about this.
P.S. I am using (in NACE) Application - EF
I have created a new output type with the same program as for NEU.
Program Name: SAPFM06P ( i have created a Z program)
Regards,
Riya.

hiii
you can do it like following code
IF h_transf_type = 'X'.            " Binary=PDF/ALI?
      t_pak_list-transf_bin = 'X'.
      t_pak_list-head_start = 1.
      t_pak_list-head_num   = 0.
      t_pak_list-body_start = 1.
      t_pak_list-body_num   = h_tab_cntr.
      t_pak_list-doc_type   = h_real_type.
      t_pak_list-obj_name   = 'ATTACHMENT'. ---------------->>>>>here you can give name
      t_pak_list-obj_descr  = 'Document'(001). ---------------->>>>>here you can give description
      t_pak_list-doc_size   = ( h_tab_cntr - 1 )
                            * 255 + STRLEN( t_con_bin ).
    ELSE.
      DESCRIBE TABLE t_con_text LINES h_tab_cntr.
      READ TABLE t_con_text INDEX h_tab_cntr.
      t_pak_list-transf_bin = ' '.     " Binary=RAW
      t_pak_list-head_start = 1.
      t_pak_list-head_num   = 0.
      t_pak_list-body_start = h_body_start.
      t_pak_list-body_num   = h_tab_cntr.
      t_pak_list-doc_type   = h_real_type.
      t_pak_list-obj_name   = 'ATTACHMENT'(002).  ---------------->>>>>here you can give name
      t_pak_list-obj_descr  = 'Report'(003).  ---------------->>>>>here you can give description
      t_pak_list-doc_size   = ( h_body_num - 1 )
                            * 255 + STRLEN( t_con_text ).
    ENDIF.
    APPEND t_pak_list.
  ENDIF.
* Send the EMAIL out with SAP function...
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      document_data              = h_doc_data
      put_in_outbox              = 'X'
*      commit_work                = 'X'
    TABLES
      packing_list               = t_pak_list
      contents_bin               = t_con_bin
      contents_txt               = t_con_text
      receivers                  = t_receivers
    EXCEPTIONS
regards
twinkal

Similar Messages

  • For four days I have been unable to open a lot of documents. When I try I get a message "The document "name" could not be opened. You don't have permission. This has happened to an important letter which I corrected four times. My Mac has altered the name

    This problem began when I typed in an address http www etc., making one mistake in the address. I corrected it and then tried to copy the address because it was long (I wanted to be able to acces it another time), and that's when the trouble starrted. I just copt documents to get a new one because it's quicker, but it is unorthodox, I know. Since then whenever I copy a document i cannot open it, and it often puts a gobledegook ending to the document name. I've started emailing texts to myself so as to keep them, but I MUST be able to use documents normally. I hava a MacBook Pro, using OS Mountain Lion 10.8.5. I don't like it. It's fairly new, and has messed up my system of documents : the size is alll wrong and the tabulations are worse than ever. I use text edit because I wanted to use Macdictate because I am handicapped (arthritis and firbomyalgia) but I have never been able to get it to work. Since I changed OS I cannot use Text edit properly any more. Please help me. I think it must be a bug that came through when I was putting this address in four days ago. I went to the site once I'd corrected the address and it was perfectly normal. I shall ring them today and ask them if this has happened to anyone else. I live in France. Thank you for your advice. Because I am handicapped and I do not dirve, it is very difficult to get to a Mac store. I deleted Mac cloud documents because I don't want to use it and I thought it might solve the problem, but it didn"t.

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    I've tested these instructions only with the Safari web browser. If you use another browser, they may not work as described.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click anywhere in the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Query Print Layout - Generated PDF Document Name?

    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

    Hello,
    Yes, I have the same question. It could be great being able to choose the name of the document when creating a pdf. Even better if you could chose fields of the document for the name of the pdf, such as, name of customer, number of document, date, etc.
    Is there any way for doing this?
    Thanks in advance,
    Javier.
    Hi All,
    Query Print Layouts associated to my user queries work great for printing...but does anyone know if there is a way to set a more appropriate document file name when attaching an edited PDF report to an email? It seems to always automatically create a document name starting with 'Query Manager_-1_12' or something similar when attaching the report document directly to email.
    I do realize that I can save the file locally, choose any name I like, then attach to email... but this defeats the purpose of being able to send the query report directly to the email icon.
    If anyone knows how I can do this it would be much appreciated. There seems no option in the QPLD document properties.
    Best regards,
    John

  • Document name restrictions

    Hi, 
    I was asked to restrict document names. Users mustn't be able to add a file named 'movies.doc' unless it starts with our company's name. It must be 'companyName_movies.doc'. Can this be achieved? I am using SharePoint Online.
    Thank you in advance!

    you can try to do the same by attaching document library with event receiver.
    Check the filename within item adding event and cancel it if its not validate the filename.
    Regards, Dharnendra Shah, MCTS,MCPD - Sharepoint 2010 Application Development Blog: http://ds-sharepoint2010blogs.blogspot.in/ Email: [email protected]

  • I open a pdf file with club members names and emails. I used to be able to click on the members email and a outlook box would appear with the email address .

    I have a list of names and email addresses (250) and in a previous version of firefox I would go on the web page and when I would place the curser over the members email address and click it would automatically bring up an Outlook email to send box with the members email address already listed and ready for me to enter any information. This new firefox version (19) just lets the curser go across the email address and nothing happens when I click. How do I get the previous feature back?

    Current Firefox versions have enabled a new build-in PDF Viewer and that viewer doesn't have all the features that the Adobe Reader has.
    You can change the action for Portable Document Format (PDF) from Preview in Firefox to use the Adobe Reader or set to Always Ask.
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file
    You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to completely disable the build-in PDF viewer and use the Adobe Reader instead.
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them

  • How to add document name and document namespace to xml mail sender msg

    Hi,
    I have set up a sender mail CC that accepts messages already in XML format. However, the messages are missing the document name and document namespace. I am trying to use MessageTransformBean to add these to the message payload. However the examples I've found so far all talk about converting plain text coming in. When I used convertionTpe -> SimplePlain2XML it messed up the original content with unnecessary xml tags.
    Can someone please tell me how to insert the document name and namespace into the payload without converting the original xml content? Thanks in advance.

    Dont think there is a way.
    As the source is a XML, why dont you create the MessageType with the same name and namespace as the XML file in the email.
    Regards,
    Bhavesh

  • How do I change the document name on my iPad after editing it?

    I have forms to fill multiple time for different projects!  On the iPad, I can not tell if they are different because I can't see the changes when saved to iBook or emailed. Do I have to wait until I'm at me PC, if yes the iPad and your app are useless!

    You can change the document name before editing it, using the Duplicate feature.  You can do this in the File Manager by going into ‘Edit’ mode, selecting the file, and choosing Duplicate option.
    Adobe Reader currently does not support saving a copy of a file after changes are made to it (and not yet saved in the original).  This is a feature we would consider for a future update.
    Thanks for your feedback.
    -Gaurav

  • Sending document as an email attachment

    I have just installed pages '08 and trying to find out how to send a document as an email attachment. I accustomed to using Word, which has "send as an attachment" in the File menu, which is very convenient, since it takes a couple of seconds and you don't have to save and find files to drop into the email.
    Does Pages have anything like this?

    Pages doesn't have a function like that, and in fact Pages files are a bit cumbersome to mail, since they need to be archived (compressed/"zipped") first, to ensure they get sent correctly. In other words, the process is to select the document in the Finder, in the File menu choose "Create Archive" and then attach the resulting file to the email.
    There is a trick however that will make doing this easier -- if you have a saved Pages file, you can go up to the title bar and Control-click on the icon next to the file name. This action will produce a dropdown menu that lists the path to the file. The item just below the file name is the folder that the file is in -- if you choose that item, you will see a Finder window for that folder pop up, with the file name highlighted. You can now immediately go to the Finder's File menu and choose Create Archive. This technique means you don't have to hunt around for where the file is located on your computer, and can speed things up a bit. (This Control-click on the proxy icon works in all windows in OS X, not just for Pages.)

  • Documents I forward are not received under the original document name. How do I solve this?

    Documents I forward are not received under the original document name. How do I solve this?

    If you're referring to the name of the attatchment showing when viewing the entire email, that's there's no way to change how it's done.  The title and body of the actual document is unchanged after it's opened. 
    Does this naming of the attachment really confuse the recipient?  If so, put something in the body of the email to make it clear what's attached.

  • Is it possible to attach a second document to an email sent from an iPad?

    I understand how to send a single document, but my cutting &amp; pasting a document off one email to another does not work.  Grateful for ideas.

    Hello Matt,
    Thank you for the reply to my email menu question.
    I have a couple of things that have been bouncing around in my head that maybe you could answer for me:
    1. I see where I have a free site to promote web hosting, of which I selected the site name as NewtonBridgeAdv.... Will this site allow me to fully integrate it into the web with my design, e-commerce,  email marketing, as this site NewtonBridgeAdv.com? I currently have NewtonBridgeAdv listed on http://www.thruadoor.com/advertising-agency.html but would like to move it to a more complete site.
    2. I see where SuperSupportTeam.com is expiring on 14, June 2014. This site was cancelled as WebMarketing a few weeks ago (but still current with the payment) and is now set up as one of the five basic sites.  The payment was not refunded for this months web marketing so maybe this is what it is referring to. I don't know. I wanted the credit applied to an upgrade to E-Commercee on thruAdoor.com. However, I was not granted the refund.
    3. I thought I had viewed a sales commission on the Portal credited to the current site hosting, but now the account is empty. How do I warrant a commission for any sites that I may host on BC?
    4. I may not understand what some of the BC team members have said about my current site thruAdoor.com in that it is not set up properly or not linked properly with BC. I don't know what they are talking about. Can you help?
    Thanks,
    Henry O'Pry
    President
    Southeastern Color
    Athens, GA

  • Importing a group of names and email addresses from EXCEL to address book

    I want to create a new group in my address book, so I can send one email to multiple addresses. I have an EXCEL document that contains the names and email addresses. Is there an easy way to import them into my address book from EXCEL?
    Thanks, Teri

    Hi,
    I'm having the same problem. I'm trying to import 300 addresses from an Excel file into Address Book. The Excel file has been converted to tab-delimited (txt). I've gone through and deleted any extra line breaks within fields, commas, etc in the addresses.
    When I go to Address Book and ask it to import the Text file, I get the dialog window showing me the fields it will import, but when I click on "OK", the program just freezes. Also, it tells me in the dialog window that it won't import specific fields like Street 2, City, State or Zip and there is information in all of those fields for every record to import.
    I've been working on this for three weeks now and am at my wits end. I have never had a database program be so difficult to work with.
    Any ideas?

  • Entering Names with Email Addresses

    Hi All.
    New user here.
    Would someone mind giving me some tips on entering names with email addresses into a list of magazines in Numbers?
    Is there a way to de-activate the clickable link for email addresses temporarily?
    Is there a way to enter these from an external document such as Pages in a single cell? Right now I do this and (the paragarph return?) causes them to scatter across a number of cells in a way I don't understand.
    Is there a way to have the addresses get listed with name and then the email address on one line and then the next name and address on the next line etc? Right now if I hit return it throws me down to the next cell.
    Finally, is there a way to get the column headings to show up near the column alphabet at the top when i am scrolled down to a point where I can't see the name for the column? Right now if I am scrolled down it is hard to know which column to put information into.
    Thanks for any help as I get it moving.
    Regards.

    Hotwheels22 wrote:
    Would someone mind giving me some tips on entering names with email addresses into a list of magazines in Numbers?
    Is there a way to de-activate the clickable link for email addresses temporarily?
    Yes, in the Hyperlink Inspector.
    Is there a way to enter these from an external document such as Pages in a single cell? Right now I do this and (the paragarph return?) causes them to scatter across a number of cells in a way I don't understand.
    Double-click in the cell before pasting.
    Is there a way to have the addresses get listed with name and then the email address on one line and then the next name and address on the next line etc? Right now if I hit return it throws me down to the next cell.
    Instead of hitting Return, hit Tab.
    Finally, is there a way to get the column headings to show up near the column alphabet at the top when i am scrolled down to a point where I can't see the name for the column? Right now if I am scrolled down it is hard to know which column to put information into.
    In Sheet View mode, select "Freeze Header Rows" in the Header control on the Format Bar.
    Thanks for any help as I get it moving.
    You may still have to refer to the guide.
    Jerry

  • How to find out the user name and email address from SAP user id?

    Hi experts,
    In sto3n I find out the the user id with most navigations. I like to know his name or email address to contact him. Which table stores the user details? how to do it?
    Thanks in advance.
    Sharat.

    hi,
    The below tables will give only the name .
    USER_ADDRS
    USER_ADDR
    USER_ADDRP
    USR02
    i think you need email address .
    you can use this Tcode : su01d
    and give the user name and excute it
    i hope it will help you.
    Ram
    Edited by: Ram velanati on Jun 30, 2008 6:57 PM

  • How to open a Numbers doc after message "The document (name) could not be opened." is received?

    I opened an Excel file with multiple worksheets by doubleclicking on it, saved it as a Numbers file and made lots of changes to it. Now I can't open it at all. All I get is the message "The document (name) could not be opened."
    Any ideas?

    It seems that your doc is corrupted.
    Try to rename it from ********.numbers to ********.numbers.zip
    then double click it
    You will get a new ********.numbers file with the structure 'package'.
    Try to open it by double-click.
    Sometimes it works.
    Yvan KOENIG (VALLAURIS, France) jeudi 22 décembre 2011 13:16:28
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Regarding Pages: I can't access the document I was writting on at all. I have tried to send the document to my email, I've tried to make a copy but nothing seems to work, it just shows up blank.

    Regarding Pages: I was writing using the app Pages when I left the page I was writting on but now I can't access it at all. I have tried to send the document to my email, I've tried to make a copy but nothing seems to work. The document still exists and I can see my writting as I can with all other documents but I can't open that page.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Connect the iPad to your computer and try to get the document via File sharing
    - Try getting the document from iCloud.com if you are using iCloud

Maybe you are looking for

  • "Could not connect" error on skype.

    I get an error saying "Det gick inte att ansluta" (Swedish) which means "Could not connect", I've tried everything, youtube vids rebooting computer, removing skype folders and reinstalling skype several times even downloading an earlier version of sk

  • IFS support in Oracle 8i availability

    Oracle XML Team wrote (in an earlier thread): : iFS has not yet been released. It is due to be released in : beta : at the end of June and go into production with the first : maintenance release of 8i (8.1.6). : Oracle XML Team : http://technet.oracl

  • [SOLVED] Run cronjob asynchronous, but preferably at a given time?

    Hello! How can I add a cronjob, which should run preferably at a specified time (like every day 5 o clock in the morning), but if the computer is off at that time, it will run some other time? To make it run every day at 5 o clock, I can use "00 05 *

  • How to convert a Muse (HTML) Site in xml code

    Is there a way to export Muse into a xml site or take the HTML files and convert it to xml. Currently, we have a developer taking the hosted site and converting it into a Wordpress site, which we will then have an xml to send to clients (who will emb

  • Comparison between PeopleSoft and Fusion

    Hi ,     I need to prepare a document to show up the comparison between PeopleSoft and Fusion. For eg: Business Unit in PeopleSoft and what is the concept in Fusion that is similar to Business Unit. Can anyone help me with a document that will give m