How to increase the length of file name of the attachment?

hi experts,
i'm using cl_document_bcs->add_attachment to add the PDF file into the email. here, the file name is imported from i_attachment_subject which has a maximum length of 50.
now my requirement is that increase the file name up to 128 characters. kindly give me some clues, please.
Thanks in advance.

Hi,
Try using below:
Class          : cl_bcs (Business Communication Service)
Method    : set_message_subject
Thanks,
Venkatesh

Similar Messages

  • Programaticly changing the (suggested only) file name in the save prompt when signing a document?

    When you sign a document in Adobe X (or XI), the system says it needs to save the file first.   Is there some way to change the (suggested only) file name to a different value for that save?
    Right now, people open a blank form - lets call it formX.pdf.   They fill it in and sign it.  The suggested file name for the save is FormX.pdf.   I can generate a unique file name which i'd like to put in place of the suggested default...

    AFAIK, you can't do it with code. Your best option might be to use a form field to show a message to the user when they sign the document with that information.

  • Restricting length of file name of the file to be uploaded in file browse.

    Hi,
    I have got a file browse item. When the file name is more than 74 characters, it goes to an error page. Can this be avoided?
    To prevent this, I tried using a javascript
    function doSubmitWithProgress()
    if (document.getElementById('P202_FILE_INPUT').value.length > 70){
    alert('File name should be less than 70 characters in length.');
    object.focus();
    else
    {$x_Hide('wwvFlowForm');
    $x_Show('InProgress');
    doSubmit('UPLOAD_FILE');
    But this is considering the path of the file as well and hence causing an issue.
    So could you please help me out with this issue.
    If there is a way to avoid going to error page if file name is big that would be great. Otherwise, if there is a way to check just the length of the file name and trigger an alert if it is more than 70 characters, that would help me too.
    Thanks,
    Vignesh

    The issue is that this code
      // Now create an array that contains the individual pieces of
      // the file name split on the "/" boundaries
      var myArray  = fileName.split('/');has the wrong path separator for Windows. Use backslash instead:
      // Now create an array that contains the individual pieces of
      // the file name split on the "\" boundaries
      var myArray  = fileName.split('\\');double backslash is necessary because '\' is the JavaScript escape character, so it needs to be doubled to indicate that that is the character we want.
    However, also be aware that for security/privacy reasons recent versions of browsers do not expose the file path via the .value method. Firefox, Safari and Chrome only provide the filename. IE6 & IE7 yield the path in Windows format. IE8 and Opera, in an effort not to "break the web" (i.e. to bend over backwards to keep poorly coded and non-interoperable Windows sites working) have adopted an irritating approach of replacing the path with a wholly imaginary "C:\fakepath\".
    So your validation may have to cope with up to 3 scenarios, depending on the browsers that need to be supported: only get the filename (FF/Safari/Chrome); get the full path (IE6/7/8 in some security configurations/older versions of all browsers); get a fake path (Opera/IE8 in other security configurations).
    For more information see:
    http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-March/018980.html
    http://blogs.msdn.com/ie/archive/2009/03/20/rtm-platform-changes.aspx
    (In 2009 MS are still concerned that pathname segments are limited to 8 characters?)

  • How can I change a video file name on the ipad only?

    I'm filming videos on an SD card and then downloading them onto my ipad. I need to change the File names from generic to personal names for email purpose. Is there a way to change the file name only on the ipad? Maybe a specific App or something? Im trying not to use iTunes on the main PC. Thank You

    Click the gear button on the clip and select Cropping & Rotation.
    There are rotation buttons at the top of the viewer.

  • HOW DO I IMPORT PHOTOS BY FILE NAME TO THE IPAD 2

    I need to organize my photos in my ipad by the file names that i have on my computer. I use a windows computer.
    Anyone have any suggestions?

    See this article:
    iOS and iPod: Syncing photos using iTunes: http://support.apple.com/kb/HT4236
    (the title says iPod, but it should work for iPad as well)
    You need first to connect your iPad to your PC for the sync options to be available:
    Make sure you have the latest version of iTunes installed.
    In iTunes, select your device's icon in the Devices list on the left.
    Click the Photos tab.
    Choose "Sync photos from."
    Regards
    Léonie

  • What's the path and file name for the program to make window xp recovery cd?

    I need to replace a hard drive, so I  have to make a set of CDs to install windows XP,  but in ACCESS IBM, I cannot find the program to make window xp recovery cd as instructed on the website. where can I find it? Thanks
    solved, thanks anyway. mine is T43, the hard disk got bad setctors now, so I got a new disk to replace it, so I need to install xp first, that's what I need, but there are no xp installation cd now and I can not find the program to make the cd. I downloaded  xp from internet to solve this problem.
    Message Edited by mary2001 on 07-04-2008 12:05 PM

    Hi mary2001
    I have a similar problem, so where did u downloaded the xp? I have a produkt key on the back of my IBM T43, but no cd.
    Please help me...

  • How should we get the out put file-name same as in put file-name in file to

    Hi frnds,
    having hundreds of files in the sender system with different names, how should we get the out put file-name  in the receiver system same as the in put file-name in file to file scenario ?
    Thanks in advance.
    truly,
    snrvakiti.

    Hi,
    In Receiver File Adapter you can set under 'Adapter-Specific Message Properties'
    check Use Adapter-Specific Message Properties
    check Fail on Missing Adapter Message Properties
    Check File Name
    Have a look at this link,  [File_to_File|http://allsapnetweavernotes.blogspot.com/2008/09/how-can-i-access-filename-from-fileftp.html]
    Regards,
    P.Rajesh

  • Dynamic File Name - Suppress the Substitue varible

    Hi All,
    I am doing the scenarios like File name at the recevier end would be dynamic for that i take an extra field NAME mapped with UDF which return the file name dynamically. It is working fine and doing good. But the problem here is , this field is the first field in my target structure so i am getting an empty line in the target file.
    So My structure as follows:
    <b>MT_BNK01           1..1
      NAME                1..1
      RECORD             0..Unbound
          --Record_data  0..Unbound</b>
    So in the recever side i written as follows
    Recordset Structure:: RECORD
    <b>RECORD.fieldSeparator = 'nl'
    RECORD.endSeparator = 'nl'</b>
    But according to this weblog i can suppress the empty line but it is not working
    /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
    means, NAME is also in the same level of RECORD in the Structure. So How can i pass the structure as ??
    I tried to pass the RecordSet Structure: NAME,RECORD
    and following parameters, it is not working
    <b>NAME.fieldFixedLength =0
    NAME.fieldLengthTooShortHandling = Cut</b>
    Can you please  suggest me what could be the reason. Tell me what information i need to pass the RecordSet Structure and attrubute information also.
    One more thing like, My sender side it is not picking the empty lines. What could be the reason. I given fieldSeparator and endSeparator as 'nl'. So to catch the empty line what i need to do???
    Thanks in Advance,
    Best Regards,
    Vijay

    Hi Vijaya,
    This can be solved. Actually i had the same scenario where i was getting blank line for the header. Suppose Header was carrying the file name after i cut the value i would get a blank line in file.
    So i added in content conversion parameter the following line
    Header.endSeparator - '0'
    then the first line was not blank.
    Try this, i think your issue will be solved
    Regards,
    Ramesh P
    Message was edited by:
            Ramesh Parashivamurthy

  • Path and File name of the attachment

    Hello Srm Guys,
    Where should be the Path and File name of the attachment are stored for a shopping card Item.
    Thanks
    Ram

    Hello Ram,
    Execute the function module BBP_PROCDOC_ITEM_GETDETAIL by providing the item guid,object type . Now it will populate the  et_attach importing parameter with the attatchement details.
    In the ET_ATTATCH internal table , the field PHIO_FNAME/PHIO_PATH_FILE provides the physical storage location of the document.
    Hope this info will be helpful.
    Regards,
    Mani

  • Urgent, SOS for help: How to show the pdf file name at the right bottow of the page?

    I want to show the pdf file name at the right bottow of the page for filing purpose, anybody knows anything?
    I know it can be showed at the left bottom through adobe printer, but i need it to be at the right bottom.
    thanks.

    The result is a UIWebView that displays a blank page. No errors occur in the UIWebView delegate method. The thing is that data has the correct length, in bytes, for the PDF I am trying to display, and I also get the pdf file in Library/Application Support/iPhone Simulator/4.3.2/Applications/ Does anyone have an idea as to what might be going wrong here or how I can better debug this problem?

  • I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    BUMP
    Yes, I just get that message. I don't see how I could investigate this problem.
    I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
    In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
    Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
    Can anybody help me?

  • To test how can we use the opt  'logical file name' to name the file based

    Hi Sir/Madam,
               to test how can we use the opt  'logical file name' to name the file based on the selection made in the dtp run for extracting data as flat file.

    Hi Vishali,
    In the DTP select the file location as application server and give the logical file path. The actual file and logical path can be created using transaction "FILE" and "AL11".
    Rest of the process is same as that of extraction from local file.
    Regards,
    Durgesh.

  • How to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    how to hide the file name (the bizarre number assigned by the camera) when exporting an image version in aperture from an album. Pl understand I want to keep the file name in the project library version.

    Within Aperture you have Images, which are constructed on-the-fly from two files (the Master and the Version).  You get an image-format file _only_ when you export an Image.  You select the file name (usually a scheme) when you create an image-format file (that is, when you export).  Look under "Aperture→Presets→File Naming" for built-in Presets.  You can, of course, create your own or customize any provided.
    The Preset is applied to only the file newly created by your "export" command.  It is not applied to the Image in Aperture (unless you rename your Versions or your Masters).

  • Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper)

    Does anyone know how to use pages so you can export pdfs from the internet and automatically drag words from the document into the file name of the pdf (i.e., author, title of a scientific paper). For example, if I am downloading a paper by smith called "Surgery" that was published in 2002, it will automatically set the file name in the download to smith- surgery 2002. I have heard pages is smart enough to do this.
    thank you

    Pages can export only its own documents. They may be exported as PDF, MS Word, RTF or Text files.
    Pages can import (ie. Open a file as, or Insert a file into, a Pages document) documents in several formats, but won't rename the document as you describe. Documents that can be Opened (eg. Text, AppleWorks 6 WP, MS Word files) are converted to Pages documents, and retain their original names, with .pages replacing the original file extension. Files that can be Inserted (generally .jpg, .pdf and other image files) become part of the existing Pages file and lose their names.
    It may be possible, using AppleScript, to extract the text you want and to Save a Pages file using that text as the filename, but that would depend in part on being able to identify which text is wanted and which is not.
    How will the script determine where the author's name begins and where it ends?
    How will the script recognize the beginning and of the title, an decide how much of the title to use in the filename?
    How will the script recognize the year of publication?
    For papers published in a specific journal, with a strict format for placing each of these pieces on information, or containing the needed information as searchable meta data in the file, this might be possible. But it would require knowledge of the structure of these files, and would probably handle only papers published in a specific journal or set of journals.
    Outside my field of knowledge, but there are some talented scripters around here who might want to take a closer look.
    Best of luck.
    Regards,
    Barry

  • How do i map from file name to the device it resides on

    hi
    i need to find a way to map from a file name to the disk device it resides on( so i can do ioctl to that device ).
    i know that stat(2) returns a dev_t value, but i don't know how to translate from that dev_t to the device name( e.g. /dev/dsk/c0d0... )
    THANKS
    Gabriel

    thanks for the reply,
    i'm using a similar mechnisem on linux - using getmntent(3) to find the longest prefix of the filename realpath(3).
    i was actually looking for a mechnisem similar to the devname(2) syscall on the BSD os. with this call the kernel do all the work for you simply by mapping from dev_t( which the kernel stored in the indoe) to the device name by keeping a simple mapping table.
    if this mechinsem doesn't exists i will have to (eventually) duplicate the kernel work(namei) and create my own mapping.
    THX
    gabriel

Maybe you are looking for

  • How do I select multiple albums in Revel to start/stop sharing?

    How do I select multiple albums in Revel to start/stop sharing?

  • IPhone stuck in recovery mode after attempted to downgrade from iOS5 Beta

    Hi, There was a bug being reported in one of my apps, but I couldn't replicate it.  I tried to downgrade back to 4.3.5 to see if iOS 5 was the reason that I couldn't replicate it,  but now my phone is stuck in Recovery Mode. I have restored Xcode 4.1

  • Import partial Shipment

    Hi expert i have made a Import PO for a material 10nos and i had receive partial shipment in with 5 qty and 5 qty on two different month If i pay the duty values and freight clearing values and make Customs Invoice,for the first shipment receive the

  • Problem with the EQ setting for the music app

    I have an iPhone 6. Whenever I listen to music on my iPhone, I set the equalizer (EQ) in the settings app to Rock. However, whenever I stop playing music, and then begin playing music again a little while later, the EQ has reset itself to "Off". I am

  • Aperture looses metadata

    I just noticed that after running an image through dnoise, Aperture looses almost all the metadata. Should this be happening? Is there a way to stop it?