How to set name of file to be sent through mail
hi ,
i am using FM 'SO_DOCUMENT_SEND_API1' for sending some file.
now my question is how to set the name of file to be sent?
thanks
Hi Rahul
Check this link
Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface
Re: How to send mail to with in SAP !!
Regards,
Syf
Edited by: syfulla shaik on Dec 22, 2008 10:44 AM
Similar Messages
-
How do I convert a file located in my e-mail (that is secured) from PDF to Word. I can't seem to save the PDF file anywhere.
Hi williamf,
For starters, please try triple-clicking in the Word document where you want to edit the text (sometimes, that's what it takes to select text in Word). If that doesn't work, I'd be interested in hearing more about the PDF file that you converted and the method that you used to convert it. For example, how was the PDF created (and by what app)? Did you convert via Adobe Reader (what version) or via the ExportPDF website?
If you can tell us more about the file, we should be able to get to the bottom of things.
Best,
Sara -
How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?
You can't change it, and I suspect few email providers would allow a file that big. Consider uploading it to a service like Dropbox, then email the link allowing the recipient to download it.
-
How to compress a pdf file so I can e-mail
how to compress a pdf file so I can e-mail it
On a Windows you can try a program like WinZip or WinRar.
-
How to set "Title" as "File Name" in iPhoto 5?
iPhoto lets you batch rename the title for your photo library of a given roll. So if you have say "Vacation" you can set title to all the photos in there as Vacation -1 , Vacation -2 etc. etc. But, this is just the title for iphoto database. The actual filename will still be as IMG_xxx.jpg (or whatever is default in your digital camera).
Is there a way to set the Title as File name ?? I already have 1000+ photos iphoto and title is all set as my Roll Name - xx . But it will be great to have file names set as the title too.
I think I can batch rename in Image Capture before downloading the files, but then I have to again import those in iPhoto , so its two step process and inconvenient.
So, does anyone know how to set File name as Title ( you can only do other way around in iPhoto, I think) ? Any script available which can read iPhoto title and set the file name as Title? Thanks.
20 iMac G5 2GHz Mac OS X (10.4.1) Canon S2 ISHi kothrush,
You must rename in the Finder first, before importing into iPhoto.
You cannot do it after importing into iPhoto. Well, you can. You can share export the renamed images to the desktop. Delete the ones in iPhoto, then import the renamed ones back into iPhoto. That's a lot more steps.
Whatever you do, you cannot rename any images in the Finder that are already in the iPhoto Library or iPhoto will lose the link to the images.
Two Apple kbs for you to read
Don't tamper with files in the iPhoto library folder
About the iPhoto Library folder
Lori -
How to set "lastFieldsOptional" in File Adapter
Hy,
somebody could tell me how can set the parameter "lastFieldsOptional" in FilesAdapter. have the problem that my last two fileds in incoming files sometimes are not insert and the "endlines" character also insert.
Thank's
MatiHi Mattia,
Please go thru these links for the step by step procedure to do content conversion:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
http://help.sap.com/saphelp_erp2005/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
While doing content conversion you have to mention the field names in header of data type: fieldNames. Hence if the key field is not present it will throw an error in adapter monitoring, FIELD NOT FOUND.
To make note mapping cannot be performed with a flat file as XI understands only XML. Hence content conversion required.
I hope the links provided will help you set the parameter "lastFieldsOptional" in the File Adapter.
Regards,
Abhy
PS: AWARD POINTS FOR HELPFUL ANSWERS. -
In a folder I have a file called "file1.grf"
There may also be a file called "file1_zx.grf"
I dont know the exact name - only that it will be like "file1_*.grf"
I have the path of the folder, and I know the name "file1.frg".
How do I get the name of the file "file1_zx.grf" if it exists?
I would like to have a function like
Public Function fileName(name as string, path As string) As string
that returns the proper name or blank if it does not exist.
I have rutines like - and I hope to make something similar:
Public Function file_exists(path As Variant) As Boolean
Dim FS As Object
file_exists = False
Set FS = CreateObject("scripting.filesystemobject")
If Not IsNull(path) Then
If FS.FileExists(path) Then
file_exists = True
End If
End If
End Function
Public Function folder_exists(path As Variant) As Boolean
Dim FS As Object
folder_exists = False
Set FS = CreateObject("scripting.filesystemobject")
If Not IsNull(path) Then
If FS.folderexists(path) Then
folder_exists = True
End If
End If
End FunctionHi,
<< How do I get the name of the file "file1_zx.grf" if it exists?
Before you get the name the file, first you need to be sure the file existed, then get the file name from the path. Here are ways you can refer to
' judge the file exists or not
Function IsFileExists(ByVal strFileName As String) As Boolean
If Dir(strFileName, 16) <> Empty Then
IsFileExists = True
Else
IsFileExists = False
End If
End Function
' judge the file exists or not
Function IsFileExists(ByVal strFileName As String) As Boolean
Dim objFileSystem As Object
Set objFileSystem = CreateObject("Scripting.FileSystemObject")
If objFileSystem.fileExists(strFileName) = True Then
IsFileExists = True
Else
IsFileExists = False
End If
End Function
' Get the file name
Function GetFilenameFromPath(ByVal strPath As String) As String
' Returns the rightmost characters of a string upto but not including the rightmost '\'
If Right$(strPath, 1) <> "\" And Len(strPath) > 0 Then
GetFilenameFromPath = GetFilenameFromPath(Left$(strPath, Len(strPath) - 1)) + Right$(strPath, 1)
End If
End Function
Sub Run()
If IsFileExists("D:\vba\abc.txt") = True Then
FileName = GetFilenameFromPath("D:\vba\abc.txt")
MsgBox (FileName)
Else
MsgBox "No releevant file"
End If
End Sub
Hope this could help you.
Best Regards
Lan
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to set default .PDF file extension for Form Downloads
I am trying to find a way of setting the PDF file extension when I download forms.
I author the forms under a Plus subscription and am then downloading the forms under a basic subscription Collaborator account (diffrent person)
If I don't include .pdf as the file type when downloading a form with a unique name as the Collaborator, it downloads without a file extension.
Remembering to continually add the pdf file extension is a pain so I'm hoping there is away of setting this as a defaulet for my 'collaborator' account ?Firstly, apologies for multiple posts, I received messages saying my comment hadn't posted and also checked my history before re-submitting.
Okay, the process is
1. Log in as the Author account and I can rename the file without having to set the extension
2. Log in as the Collaboartor account - same PC, browser etc and it doesn't save with a default file extension; HOWEVER, I have done this whilst also being logged in on a diffrent browser as the Author
3 I have just tried logging out as Author and only being in as the collaborator and the form downloaded with a default PDF.
4. I had someone else log in as the collaborator from thei PC and browser whilst I was still signed inunder my author account and again they were unable to save as PDF by default
This has me wondering if there is anything at play when you've got multiple Users? -
How to set server log file severity
Will some one suggest how to set the severity for messages logged by server to server log file. The admin console consists of setting "Stdout Severity Threshold" which is applicable only to standard out. I need to restrict info messages to be logged in server log file.
Which release of WebLogic Server are you using? In WebLogic 9.0 there is an attribute on the LogMBean called LogFileSeverity which could be configured to "Warning" so it will not allow Debug and Info level messages to be written to the server log file. In the 8.1 release you would need to do this programatically using a startup class, by getting a reference to the server Logger by invoking weblogic/logging/LoggingHelper.getServerLogger() and setting the appropriate weblogic/logging/WLLevel on the weblogic/logging/FilestreamHandler that writes to the server log file.
Hope this helps
Sandeep -
How to print names all files from a given folder into a file??
Hi,
Given is folder which contains folder's n files. the same is wd every folder.
How to print names of all files in parent dir.
ex: C drive
1) windows 2)prog files 3) Documents 4) a.txt
1.a) cursors.........
2.a) netbeans.....
3.a) rcm_b05
output:
c:\windows\cursors\s.txt
c:\progfiles\ram\m.tc
a.txtHi,
look at http://exampledepot.com/egs/java.io/TraverseTree.html, copy the "visitAllFiles" method and implement the "process" method as follows:
public static void process(File f) {
System.out.println( f.getAbsolutePath());
}- Michael -
Set name of file - 'the operation could not be completed'
I have a script (see below) that is supposed to rename a list of files that have been recently saved as self contained by Quicktime Player in a script just run prior to this script .
What happens is that if the script is run immediately after the Quicktime Player script it generates a dialog with the message 'The operation could not be completed'. It was puzzling since the script would occasionally work as I tested it on its own in script editor.
After much trial and error messages I discovered that if
1. I run the Quicktime Player script saving the movies; Then
2. manually open the folder containing the movies in the finder, then
3. run the script to rename the movies,
the script would run correctly. If I don't open the folder the script fails with the 'the operation could not be completed' dialog.
Any ideas as to why this happens? Any workarounds suggested?
Thanks
Martin Koob
set movies_list to {"G-DRIVE:Projects:august 20 test 7:m-august 20 test 7A1.mov", "G-DRIVE:Projects:august 20 test 7:m-august 20 test 7A2.mov", "G-DRIVE:Projects:august 20 test 7:m-august 20 test 7A3.mov"}
set total_segments to "3" as integer
tell application "Finder"
try
activate
display dialog total_segments
repeat with current_segment from 1 to (total_segments)
set AppleScript's text item delimiters to ","
set thismoviepath to item current_segment of movies_list
set AppleScript's text item delimiters to ":"
set thisfilename to the last text item of thismoviepath
set name_length to the length of thisfilename
set AppleScript's text item delimiters to ""
set newfilename to the characters 3 thru name_length of thisfilename
set the name of file thismoviepath to newfilename as string
end repeat
on error errormessage
display dialog errormessage
end try
end tellHello
Finder has been affected by its long standing bug or design flaw in updating its internal cache, which seems relevant to your case.
Here's two sample codes I'd try.
Hope this may help,
H
PS. Why are you renaming files after saving them in different names? Saving them in the final names in QT Player would be the simplest way. Just my thought.
-- SAMPLE1
set pp to {"G-DRIVE:Videobook Projects:august 20 test 7:m-august 20 test 7A1.mov", "G-DRIVE:Videobook Projects:august 20 test 7:m-august 20 test 7A2.mov", "G-DRIVE:Videobook Projects:august 20 test 7:m-august 20 test 7A3.mov"}
try
set AppleScript's text item delimiters to {":"}
repeat with p in pp
set p to p's contents
set n to p's text item -1 -- original file name
set n1 to n's text 3 thru -1 -- new file name
set dp to "" & (p's text items 1 thru -2) & ":" -- container path
tell application "Finder"
(* code to evade Finder's bug by 'update' *)
update item dp -- update container status
--update item p -- update file status (may not be necessary)
set name of item p to n1 -- rename file
end tell
end repeat
set AppleScript's text item delimiters to {""}
on error errs number errn
set AppleScript's text item delimiters to {""}
display dialog errs & " " & errn
end try
-- END OF SAMPLE1
-- SAMPLE2
set pp to {"G-DRIVE:Videobook Projects:august 20 test 7:m-august 20 test 7A1.mov", "G-DRIVE:Videobook Projects:august 20 test 7:m-august 20 test 7A2.mov", "G-DRIVE:Videobook Projects:august 20 test 7:m-august 20 test 7A3.mov"}
try
tell application "Finder"
repeat with p in pp
set a to p as alias
(* code to evade Finder's bug by 'update' *)
update a's container -- update container status (may or may not work)
--update a -- update file status (may or may not work)
tell item a
set name to (get name)'s text 3 thru -1
end tell
end repeat
end tell
on error errs number errn
display dialog errs & " " & errn
end try
-- END OF SAMPLE2 -
How to remove name of file from book?
Hi there
I'm about to place an order to buy a book and realized that the name of file appears next to the image.
can anyone tell how to remove it.
thank youWhen you are designing a book, on top of the viewer you buttons to edit the layout of the pages.
The following image will show you the button I'm talking about, it's the grayed one, if you leave the mouse pointer on it for a second you'll see it's called 'edit layout'. Click on it and then you can select and delete all the text boxes you want. -
How to set mp3 music file as a ringtone
I am very surprised I cannot find any option how to set ringtone of my choice in the phone? is there really any way ?
If you had given the model of your phone I could have given a link to your user guide.
Here is the Windows Phone How-To
http://www.windowsphone.com/en-us/how-to/wp8 Hours of reading pleasure. -
How to set an mp3 file as ringtone on iphone4s?
just got a new iphone 4s and wondering how to make an mp3 file as a ringtone..i have followed some steps shown on some other forums but im still stocked on default ringtones...i have successfully converted an mp3 file to m4r file and synced to my iphone but it didnt show up on my sound settings..can anybody help me find out what to do.please thanks...
Have you had a look here
iphone ringtone - CNET -
How to display names without file extension in Content Query Web Part in SharePoint 2010
I try to display names in Content Query Web Part but it shows file extension. I cannot find a way in CQWP editor that can exclude file extension. Is there a way to display names excluding file extensions thru settings in the CQWP editor?
I have to edit the code in SharePoint Designer, right?
Thanks in advance for any tips!In the file ContentQueryMain you have already a function to get the file without extension.
So we just can use this:
<xsl:call-template name="OuterTemplate.GetFileNameWithoutExtension">
<xsl:with-param name="input" select="$DisplayTitle" />
</xsl:call-template>
Maybe you are looking for
-
Adobe flash player not working for youtube
Hi, While I was trying to install Adobe Flash Player for Microsoft Internet Explorer, the installation process got stuck half way and I tried to terminate the installation. But I had difficulty even terminating the installation process and IE and my
-
IPhone vs. iPod Touch+Cell Phone
I had planned on buying an iPhone 3G but now I'm not so sure. I don't have a land phone line, so I need a reliable cell phone. I like the idea of having 'net access wherever I go, but I work in an office and don't travel that much. As much as I like
-
Do folios published as private show up in the Omniture analytics?
-
Multiple selection of row in a jtable
Hello All, I am working with this jtable 'tblSearch'. The application requirement is that the user should have the ability to select multiple rows using the control key. I am using the bold part of the code to color the selected row light gray. Can y
-
Every time I imessage someone on my phone it appear on computer also
Every time I imessage someone on my phone it appear on computer also. How do I turn it off so my imessage dont appear on my computer very time i imessage on my phone?