Burst by email - specify file name

Hello All,
I have implemented the bursting by email functionality for one of my reports. I have tested this report. Everything is working fine. I am able to receive emails with file attachements.
The problem is the attached file names are prepended with some xmlp_12345678_ .
Ex: if the building_id is 'AB0001' , the file name in the attachement is xmlp_23456789_AB0001_1.xls.
I would like to know is there any way to get it as AB0001.xls.
I tried to give bldg.building_id||'.xls' as one of the parameters in bursting definition. But, looks like its ignoring it. The file attachment is still prepended with some xmlp and some auto generated number.
Here is the bursting definition
select distinct bldg.building_id KEY,
'Report_with_status' TEMPLATE,
'RTF' TEMPLATE_FORMAT,
'en-US' LOCALE,
'EXCEL' OUTPUT_FORMAT,
'EMAIL' DEL_CHANNEL,
'my email address' PARAMETER1,
null PARAMETER2,
'my email address' PARAMETER3,
'Report for '||bldg.building_id PARAMETER4,
'Please find the attached report' PARAMETER5,
'true' PARAMETER6,
'Do_Not_Reply email address' PARAMETER7,
from building bldg
Any ideas are greatly appreciated.
Thanks in advance.

Probably, you have to request for enhancement on this from standalone bip.

Similar Messages

  • How to modify 'Specified File Name' of a scheduled report

    I run a daily scheduled report every morning and send it out as an emailed attachment. My problem is, I want the file name of the pdf attachment to include the previous day's date. How can I modify the 'Specified File Name' setting in the destination tab to reflect the previous day's date. I do not want to use %SI_STARTTIME% because that only shows the date&time that the report was actually run....I need the previous date. So far I am unsuccessful.
    Thanks

    Hi,
    i think this is only possible via the SDK. I would recommend creating a Support Message with SAP to solve this issue.
    Maybe there is already Samplecode available from the Support.
    Regards
    -Seb.

  • How to read a ftp file with a specified file name in Proxy-XI-File scenario

    Dear all,
    I have the following requirement:
    The end user send a request via the proxy to XI, within the request parameters there is a file name, and the XI need to retrieve the file content from a ftp server with this specified file name, how can I achieve this?
    According to my understanding, the file receiver adapter can only write the files to the server.
    Thanks and regards,
    Bean

    Dear Bean,
    This can be achieved using a BPM...
    you will have to use Two parallel receive steps within a fork...
    1. 1st receive step :This will bring the data from the proxy
    2. 2nd receive step :according to pipeline step before this step would be executed interface determination would be called withini that you can put a mapping wherin the source and target message type would be as follows
    a. source message type ; the file structure that is going to be picked from ftp structure
    b.target message type : same structure as source except at top you will add "filename" field
    (you cna find on forum how we can get a fielname in the mapping ..in case you dont knw )
    3. now you can define correlation on the field "fielname" in both the receive steps provide the hirearchy and structure of data coming from both file and procy are same...
    4..  after corelation you can put any steps like transformation ( as you want)
    Hope this helps

  • Email PDF file name issue via output determination - order confirmation etc

    Hi,
    I can email pdf files via output determination. Unfortunately the file name is same as sapscript name. How do I change it to the name I want for example document number.
    Thanks,
    Jai

    Hi Jaideep,
    You can change the mail title at Output determination.
    T/code NACE--> Application > Outputtype> Select O/P --> select Mail title and texts --> specify your text( with language) in "title" .
    Whenever Script send via e-mail the text you have entered will apear as mail title.
    Hope this may help you.
    Lanka

  • Email attachment file names

    I have a sender mail adapter that picks up emails with file attachments from a mail box using the IMAP transport protocol.
    The mail adapter passes processing onto the PayloadSwapBean and then onto a customised module that processes the file attachment (a CSV file).
    When I use the messaging system i.e. http://xiserver:port/MessagingSystem/monitor/monitor.jsp
    I can see that Content-Type includes the attachment's file name:-
    Content-Type: application/octet-stream;name="INV_5016888091848_20060912_00001.csv"
    Content-Disposition: attachment;filename="MailMessage.bin"
    Content-Description: MailMessage
    In my customised module I would like to pick up this file name so that it can be stored in a database table. I have attempted to pick up this file name from the payload using the "getContentType" method of the "XMLPayload" class but this only returns "application/octet-stream" and does not include the file name.
    Does anyone know how I can get hold of the above file name using the Adapter Framework API? Or, alternatively, by some other method/approach.
    Any help on this would be greatly appreciated.

    Hi,
    I never used this but an idea.Have a try ..
    Please chcek this link -
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/a9d240a0a98431e10000000a1550b0/frameset.htm
    Please check for Adapter -Specific Message Attributes
    ->To store adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator.
    The following attributes are added to the XI message header if the sender makes them available, and if you choose Variable Transport Binding.
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    You can set the details in header with the file names you required  like this Variable Header-> XHeaderName1
    Nanda

  • Specifying file name for ServletOutputStream ?

    Hello,
    How can I specify a file name for a ServletOutputStream ? The code below always defaults to file name "MinimalBinaryStream" ?
    Thanks for your help !!!
    James
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class MinimalBinaryStream extends HttpServlet
      public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
        doGet(request, response);
      public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.setContentType("application/octet-stream");
        response.setContentLength(3);
        ServletOutputStream bout = response.getOutputStream();
        bout.write(0x31);
        bout.write(0x32);
        bout.write(0x33);
        bout.flush();
        bout.close();
    }

    Thanks nantucket,
    I have solved the problem by editing my "web.xml" file, for example:
    <web-app>
        <servlet-mapping>
            <servlet-name>MinimalBinaryStream</servlet-name>
            <url-pattern>/myfile.bin</url-pattern>
        </servlet-mapping>
    </web-app>

  • Print to PDF and specify file name.

    Hardware/Software Details:
    MacBook 2GHz Intel Core 2 Duo
    OS 10.5.5
    Adobe Acrobat Professional 8.1.2
    Hey all,
    I'm a teacher and I've been scripting PDFs for use as marking sheets for assignments. What I'm trying to achieve is a situation where I tick all the boxes, marks are calculated and comments filled-in using my form fields (which all work fine) and then produce a PDF from that file with the student's name as the new file name (which is where I'm stuck!).
    In the past, I've had a button that on mouseOver brings the field with the student's name into focus, mouseDown evoked the File:Copy menuItem (copying the student name to the system's clipboard) and then mouseUp which triggered File:Print from which I would choose 'Adobe PDF 8.0' as the printer, hit Save, paste the student's name as the file name and choose the appropriate directory.
    File:Copy is no longer a "safe" menu item according to the latest versions of Acrobat, so I'm having to manually copy the name which is complicating the process further.
    I'm working on a script activated by the mouseUp of a button in this PDF which is currently looking like this:
    >var pp = this.getPrintParams();
    // format name to remove spaces and commas
    var studName = this.getField("Name").value.split(",").join("_").split(" ").join("");
    pp.interactive = pp.constants.interactionLevel.silent;
    pp.printerName = "";
    pp.fileName = studentName + ".ps";
    this.print(pp);
    Although the console will list 'AdobePDF8' as one of my printers, I've since discovered that "the destination printer cannot be set through this property in Mac OS" :( . I can set it as my default printer to work around it, but I still can't dictate the name of the new file. So, I've resorted to printing to PostScript with the aim of running them all as a batch through the AdobePDF8 printer later, except there's still a few problems.
    The name of the PostScript file won't work when I try to include the value of another variable (var studentName)
    The fonts in the PostScript files that it does produce get substituted with Courier and look terrible
    Both the API Reference and the Developer Guide seem to indicate that you can print to a file rather than a printer, but both only seem to mention PostScript file using this method.
    Is there another way to do this? If not, is there a solution to the two problems I mentioned?
    Cheers,
    Chris

    Ok, I've pursued the SaveAs method (as George suggested) with moderate success with the following code (secure function names have been changed ;) ):
    config.js file script:
    >myTrustedSaveAs = app.trustedFunction( function ( doc, studName )
    app.beginPriv();
    doc.saveAs({
    cPath: studName,
    bCopy: true,
    bPromptToOverwrite: true
    app.endPriv();
    myTrustedOpenDoc = app.trustedFunction( function ( path )
    app.beginPriv();
    app.openDoc({
    cPath: path
    app.endPriv();
    Button's onMouseUp script:
    >// get student name and turn it into a file name
    var studFile = this.getField("Name").value.split(",").join("_").split(" ").join("") + ".pdf";
    // get the current document's directory path
    var origFile = this.path;
    var pathBits = this.path.split("/");
    pathBits.pop();
    // whack 'em together
    pathBits.push(studFile);
    var studFilePath = pathBits.join("/");
    // toss the form fields and stuff
    this.flattenPages({
    nNonPrint: 2
    // save the new file
    myTrustedSaveAs(this,studFilePath);
    // open the original again (not working)
    myTrustedOpenDoc(origFile);
    // close the one I just saved
    this.closeDoc(true);
    This is what happens:
    Button is clicked,
    All the form fields and buttons are removed,
    It produces a file with the new file name (e.g. Lawrence_Chris.pdf) next to the original,
    The file closes
    I'm pretty sure that once the SaveAs runs and the new file is created, I actually still have the original file open instead of the that was just saved. This would explain why the openDoc command doesn't seem to do anything because the file it's opening is already open. The closeDoc then runs and of course I then have no open documents!
    So, now I either need a way to revert the open original file so I get all of my form fields back and don't have to reopen it, or a way to close and then immediately open the file without saving changes. :/
    Any ideas?
    slight inconvenience of needing a separate .js file written for the user's JavaScript folder before launching Acrobat to overcome security restrictions. File sizes only seem to get down to about 376KB as opposed to the 40KB files that the AdobePDF8 printer spits out. :(

  • Specify file name of the document returned on the HTTP post

    Hello,
    we are submitting a PDF form by calling submitForm function:
    doc.submitForm
            cURL: "http://localhost/script",
            cSubmitAs: "XML"
    The server returnes data of type "Content-type: application/pdf" and as a result this aplication/pdf data is displayed in a new window in Acrobat Reader.
    The document in new window has name e.g. A9R3347.tmp, is it possible to force some concrete name ?
    We tried to send from server the http header:
    Content-Disposition: attachment; filename=\"custom_name.pdf\"
    or   
    Content-Type: application/pdf;         filename=custom_name.pdf
    but non of this works.
    1/ is it possible to set some custom name of the document, which is returned from a server in response of HTTP Post submit ?
    2/ is it possible to return other kind of data then application/pdf ? ( my tests with AR 9.3 with other formats failed).
    Thanks for any advice.

    See Oracle Metalink,
    ..Oracle Portal Technical Forum,
    ....Subject: PORTAL - uploading files (file attachments) with file names.
    This message thread outlines javascript code that automatically captures the filename during an upload.

  • Email attachments file names removed

    I have a new problem with Safari 2.0.4 running on my Powerbook G4. When I download an attachment from my Yahoo account, it strips the extension and file name from it. It shows up on the desktop as "secure download". I then have to rename the file with the proper extension for it to open up. I don't have this problem when using firefox or downloading the same file from hotmail while using Safari for that matter. Anybody with any thoughts on why this started to happen all of a sudden? It's a real pain to have to rename all of the files I download.

    Roy,
    Ijust checked my console log and found the following message when I went to Yahoo Mail from MyYahoo. I'll let others to figure out what it means:
    Unsafe JavaScript attempt to access frame with URL http://us.f564.mail.yahoo.com/ym/login?.rand=5topbgd32k2al from frame with URL http://view.atdmt.com/CNT/iview/yhxxxatc0010000006cnt/direct;wi.300;hi.250/01/?time=1190083704254740&click=http://us.ard.yahoo.com/SIG=12i29j62j/M=568923.11346069.11878097.1414694/D=mail/S=150500014:LREC/Y=YAHOO/EXP=1190090904/A=4854426/R=0/*. Domains must match.
    When I do the same with Firefox, I don't get those messages.
    Roberto

  • Export:- User specified file name

    Hi,
    On clicking Export button in BIP, the filename is same as BIP Report heading in file Open Dialog box, is there any way to give filename same as selected value from Dashboard Prompt. So when someone click Export, by default it should take the same file name as selected in Dropdown value.
    -Amit

    give this at title
    @{presentation_variable}
    and uncheck 'Display Saved Name'
    this gives you the title name as the user selected prompt value..
    Regards,
    Raghu

  • How to get email attachment file name?

    Hi,
    I have a macro that executes when the user sends an email. In this macro, I want to get the subject of the email itself and the titles of all of its attachments (be they documents or other attached emails).
    To get the email subject, I use Groupwise.ComposingItem.subject
    To get the attachment filename, I use Groupwise.ItemAttachmentGetDisplayName("X00", <attachment_index>)
    However, this call only seems to work for document attachments. For other emails attached to the current email, this call returns "Mail Attachment" instead of the name of the attached email. How can I get the name (i.e. subject) of the attached email?
    Thank you,
    Monika

    Hi Experts,
    i try useing the DMS_KPRO_READ prog as you said above.
    The problem is that i need to retrieve list  (range) of documents and than save them.
    as it written now , i can do it just about one file.
    if u have any helpfull advice it will be real kindly.
    Thanks alot.
    Yuval.
    Edited by: student student on Nov 16, 2009 10:20 AM

  • Abap Mapping - Specify file name

    Hi there
    Is it possible to specify the flat file's filename in the abap mapping? I need to create several flat files with abap mapping and each file uses the same receiver adapter but have a different name..
    Thanx,
    Jan

    Hi Jan,
    >The variable mechanism only seems to work if you specify the filename before you execute the abap mapping
    aeh, no
    >Or in the abap mapping itself set the filename
    yes
    You need a XML element like <filename> in your target message, there you store the filename (by ABAP mapping).
    At adapter side you define the filename with %myVariable%
    And finally you need to fill the variable, choose payload: myRootElement,1,filename,1 for example, if this is your structure. Have a look to Variable substituion at SAP help [Configuring the Receiver File/FTP Adapter|http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm]
    Regards,
    Udo

  • Save image to camera roll with specified file name or get the file name

    I am saving an image to camera roll but don't see an option to save the file using a custom name. Is it possible to do so? or is it possible to get the name of the file saved?

    Ensure you have set the correct capability in your app to save the picture with the exact name you specified.
    You can try the code below to iterate through all pictures in the cameraroll album and find out if the name exists.
    using (var mediaLib = new MediaLibrary())
    var camRollAlbum = mediaLib.RootPictureAlbum.Albums.Where(a=>a.Name == "Camera Roll").FirstOrDefault();
    foreach (var pic in camRollAlbum.Pictures)
    string picName = string.Empty;
    if(pic.Name.Contains("Selfie"))
    picName = pic.Name;
    Let me know if this helps.
    Abdulwahab Suleiman

  • How to specify file name while invoking the GET_ZIP_BUNDLE service

    Hello.
    The GET_ZIP_BUNDLE service by default generate zip file with name "Bundle". I wanted to change this name runtime, that is while invoking this service. How can I do it?
    The class ziprenditions.ZipRenditionsHandler most probably handle this service by the method createRenditionBundle.
    There I saw a line:
    downloadName = LocaleResources.getString("csZipRenditionBundleName", this.m_service);I have tried to print the value of csZipRenditionBundleName and I got "Bundle". I am wondering is there any way to set a value to this message key?
    I have tried this idoc function:
    <$createRenditionBundle='some_name'$>before invoking the service. But this didn't work.
    Also I have tried to change it from Java class, and for that I have defined a custom service and did:
    LocaleUtils.encodeMessage("csZipRenditionBundleName", null, "JYM");But this also not working.
    What I want is to get the zip file with the name which is the same to the files it is archiving.
    For more information, here is how I am invoking the GET_ZIP_BUNDLE service:
    I have defined a form element:
    <form action="/cs/idcplg" method="POST" id="zipBundleForm" name="zipBundleForm">
       <input type="hidden" value="GET_ZIP_BUNDLE" name="IdcService">
       <input type="hidden" value="pkg:dDocName,pkg:dID,pkg:Rendition,pkg:RevisionSelectionMethod,pkg:AuxRenditionType" name="bundleKeys">                            
    </form>And I have a button with id downloadContent and I have attached the following JavaScript with it:
    $('#downloadContent').click(function (event){
       event.preventDefault();
       var formId = "zipBundleForm";
       var counter = 0;
       var renditionType = "";
       $("#zipBundleForm").find(":hidden").each(function() {
          if($(this).attr("name").startsWith("pkg:"))
             $(this).remove();     
       $("#downloadContentForm").find('input:checkbox:checked').each(function() {
          renditionType = $(this).val();
          $(".thumbnails").find('input:checkbox:checked').each(function() {
             if($(this).attr('data-type') == 'image'){
                createHiddenInputElement(formId, "pkg:dDocName" + counter, $(this).attr("name"));
                createHiddenInputElement(formId, "pkg:dID" + counter, $(this).attr("id"));
                createHiddenInputElement(formId, "pkg:Rendition" + counter, renditionType)
                createHiddenInputElement(formId, "pkg:RevisionSelectionMethod" + counter, "Specific");                                             
                counter++;     
       $("#zipBundleForm").submit();     
    var createHiddenInputElement = function(formId, elementName, elementValue){
       var newElement = document.createElement("input");
       newElement.setAttribute("type", "hidden");
       newElement.setAttribute("name", elementName);
       newElement.setAttribute("value", elementValue);
       $("#"+formId).append(newElement);
    }Thanks in advance.

    if you want a fixed bundle name other than "bundle", you can override the localization string entry 'csZipRenditionBundleName' in a component.

  • How to specify file names for the generated code in wscompile

    Hi,
    We want to follow a certain file naming conventions for the artifacts generated by wscompile.
    How is it possible to set the name for the service interface file, service implementation file etc....
    This is possible in AXIS ant task Wsdl2Java. How do we do it for wscompile.
    thanx

    Thanks Chris and c. Under Description I'm presented with three Names for the profile: ASCII, UniCode and Mac Script. ASCII and Mac Script are the same name for the profile, with nothing being in the UniCode Name box. Which do I change -- both?
    Am I going to screw things up in Photoshop if I change these names to something I can comprehend? Looks like I may just have to make a sticky-note list of the cryptic profile names with my own descriptive name as a reference. Thanks.

Maybe you are looking for

  • Compra de frete

    Boa tarde. Na compra de um frete, a alíquota do icms deve ser determinada conforme a origem e destino do frete. Utilizando uma transportadora de dentro do estado em que a empresa se encontra, realizando um frete para um outro estado, o pedido de comp

  • Transfer Mail messages between Mail accounts

    I would like to transfer all messages from one of my Mail account to another Mail account for the same user on the same computer. I want to do that because I don't want to lose my old email messages when I delete the old Mail account. Please advise.

  • I upgraded to Lion and can't watch videos and track pad is not working what can i do?

    I recently adquired my Iphone and wanted to sync all my information with my Ipad, Iphone & Mack Book Pro, but I had an older vertion in my Mack Book Pro wich I adquired on 2011, in order to sync with I clowd I needed to upgrade to Lion, I did that an

  • XML Forms save action modification

    Hi All, I have an xml forms application which i have integrated in an Iview. On click of a link this iview should be opened in the same browser replacing the existing content. However wen I click Save or Cancel the browser also closes when I actuuall

  • Battery does not charging more then 43%! PB shuts down, does not go to slee

    Hello after 223 cycles (at the moment) my battery did something weird. I was surfing internet with 50% of charge and my PB turned off i pluged in the adaptor and when PB turned on it said that time was reset to 1970 year bla bla bla (PMU reset) after