Oracle Reports - Change Email Attachment Name

Hello,
I'm sending salary receipts in PDF via email using Report Server 10g. It's working but i want to change the PDF name, in order to appear the number of employee in the name (something like Receipt_00001.PDF)
I used to accomplished that in other versions using the DESNAME parameter, but now since its Web and via Reports Server that doesnt work :(
PROCEDURE EXEC_REPORT_SRV_FILE (WK_REPORT VARCHAR2 /* report name */,
WK_PROC VARCHAR2 /* process name */,
wk_file VARCHAR2 /*a parameter value that i use in the command below*/)
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,wk_file);
Where i call the EXEC_REPORT_SRV_FILE i tested like this below but just for doing this, the emails are no longer sent and it gives me the error in (**)
I done this because i think it would be in the 3rd parameter, but i was in doubt it could be in the 2nd one but i dont think so..
exec_report_srv_file (name_in ('PARAMETER.PR_DRIVE_APLIC')
|| name_in ('PARAMETER.PR_DIRECT_APLIC')
|| retorna_barra
|| lower (giaf6i_var_lib.cp_filename),
'Receipt1'||lower (pname),
'Receipt2'||wk_dest_file
Executed successfully but there were some errors when distribute the output REP-50159: Executed successfully but there were some errors when distribute the output
I'm using Oracle Reports 10g.
This is so urgent that i joined this forum just for this (For now.. :) )
Thank you so much in advance for your time.
Best regards,
Nuno Neves.

- What is the difference between the reports that work and the ones that do not work?
- I would suggest to apply latest patchset 10.1.2.3
https://updates.oracle.com/download/5983622.html
Thanks, Roberto

Similar Messages

  • Change PO Email Attachment Name

    Hi Guys,
    I've implemented SAP Note 191470 to change the subject line and the attachment name to contain the PO number. I was successful in changing the subject line but not the attachment name. Currently, the attachment name is defaulted by SAP to 'Print data'.
    In the note, it states:
         Note that the values from the mail title are used to create the description for the attachment.
    I've maintained the mail title in the condition record for the output type on the 'Communication method' tab page in the 'Cover Page Text' field but to no avail. I'm probably missing a step.
    I did my due diligence by searching the internet but I haven't found any solution.
    Any help would definitely be appreciated. <removed by moderator>
    Thanks in advance,
    Derick
    Message was edited by: Jürgen L

    Have a look into this  KBA it is listed under FI, but you can try if the same solution would work for you too: 1702035 - How to change the attachment name in the mail for correspondence

  • Change the attachment name while sending PO as mail..

    Hi,
    I’m able to send PO Form through mail using NACE, configuration for output type.
    But my Attachment name is always showing as ‘Print Data‘.
    My requirement is to change the attachment name as below.
    Program: SAPFM06P
    Script: Z_SD_PORDER
    Please help on this issue.
    Thanks in advance.
    Regards,
    Kumar

    I didn't find any field with PACKING_LIST in program 'SAPFM06P'.
    If we create the copy of 'SAPFM06P' kindly let me know where I need to change the same..
    in form entry_neu using ent_retco ent_screen.
    the below is the code.
    *   INCLUDE FM06PE02                                                   *
    form entry_neu using ent_retco ent_screen.
       data: l_druvo like t166k-druvo,
             l_nast  like nast,
             l_from_memory,
             l_doc   type meein_purchase_doc_print.
       clear ent_retco.
       if nast-aende eq space.
         l_druvo = '1'.
       else.
         l_druvo = '2'.
       endif.
       call function 'ME_READ_PO_FOR_PRINTING'
            exporting
                 ix_nast        = nast
                 ix_screen      = ent_screen
            importing
                 ex_retco       = ent_retco
                 ex_nast        = l_nast
                 doc            = l_doc
            changing
                 cx_druvo       = l_druvo
                 cx_from_memory = l_from_memory.
       check ent_retco eq 0.
       call function 'ME_PRINT_PO'
            exporting
                 ix_nast        = l_nast
                 ix_druvo       = l_druvo
                 doc            = l_doc
                 ix_screen      = ent_screen
                 ix_from_memory = l_from_memory
                 ix_toa_dara    = toa_dara
                 ix_arc_params  = arc_params
                 ix_fonam       = tnapr-fonam          "HW 214570
            importing
                 ex_retco       = ent_retco.
    endform.
    Kindly give the clear view.

  • Send reports as email attachment

    Hi,
    In the APEX application, I have a page that has filters on top and few reports generated based on the given filter values. I have a email button that when pressed, send the whole page as an email attachment. I cannot use PDF. Is it possible to send the page with few reports as email attachment?
    Thanks
    saru

    When you send as an e-mail, do you mean the html produced report or some sort output file? You could send it as an excel produced output.
    Why can't you use a PDF option in this case?
    Thank you,
    Tony Miller
    Webster, TX

  • Change the attachment name in email via webservice

    Hey,
    is there any chance to change die filename of attacheted files (reports) using email scheduling? There is no option in the webinterface. We are using the webservice for scheduling - call the scheduleReport method.
    There is a tag reportDataFileName for the webservice, but shows no reaction. The file ist every time named attachment.XYZ, where XYZ is the template format. We are using an XML Template for creating XLS reports, but reaching an attachment.xml makes it impossible for direct opening out of the email.
    A second problem is the message for the email, attached as message.txt and not directly written in the email.
    thx for any ideas, Sebastian

    Hi Sebastian
    This article might help you, http://blogs.oracle.com/xmlpublisher/2009/12/dynamic_delivery_file_naming.html
    Tim

  • [Secure Configuration] Oracle Reports 10g Email Configuration...

    Hi Everyone,
    In oracle Reports 10g, we have an option of sending mail as an attachment using destype = mail and desname = [email protected] For this to happen we have to add the outgoing mail server name in the <report server>.conf file. Once we configure this setting, end-users can send any report to any mail-id. So, how to make an secured configuration so that they can send only those allowed reports?
    Note: We have already many reports which are already deployed. So we cant incorporate the validation or some logic within the each report.

    hello dsegard,
    Thanks for you help. I tried the way which you had said. I have incorporated the security tag in the conf file and included the XMLSecurity Project( Deployed the JAR file and done necessary configuration). Now, I dont know how to use it.
    Is there any alternative way for this? Is there any way that we can remove the default options provided by the Oracle Reports under the Destype?

  • How do I customize the Email Attachment name in Email Bursting?

    I had worked on BI Publisher extensively on 10g and 11g. I have a client requirement with BIP email bursting to deliver the reports as email attachments. I'm able to do it, and also customize mail body etc. However the email attachment file name is randomly generated with some numbers. I read through the docs, and couldn't find any parameter mapping to the attachment/file name (like we do it with File bursting). How do I specify the mail attachment file names in my Busrting properties?
    Thanks,
    Padma

    Please go through the following link:
    http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
    I think after the 'Output' we can specify the filename

  • LiveCycle: Change PDF Attachment name

    I have been able to customize the subject name and body of the email as well as create specific groups that the email needs to go through, but can not figure out how to change the file name to the attachement.  Currently its just a bunch of numbers and letters.  Can Anyone help??

    I didn't find any field with PACKING_LIST in program 'SAPFM06P'.
    If we create the copy of 'SAPFM06P' kindly let me know where I need to change the same..
    in form entry_neu using ent_retco ent_screen.
    the below is the code.
    *   INCLUDE FM06PE02                                                   *
    form entry_neu using ent_retco ent_screen.
       data: l_druvo like t166k-druvo,
             l_nast  like nast,
             l_from_memory,
             l_doc   type meein_purchase_doc_print.
       clear ent_retco.
       if nast-aende eq space.
         l_druvo = '1'.
       else.
         l_druvo = '2'.
       endif.
       call function 'ME_READ_PO_FOR_PRINTING'
            exporting
                 ix_nast        = nast
                 ix_screen      = ent_screen
            importing
                 ex_retco       = ent_retco
                 ex_nast        = l_nast
                 doc            = l_doc
            changing
                 cx_druvo       = l_druvo
                 cx_from_memory = l_from_memory.
       check ent_retco eq 0.
       call function 'ME_PRINT_PO'
            exporting
                 ix_nast        = l_nast
                 ix_druvo       = l_druvo
                 doc            = l_doc
                 ix_screen      = ent_screen
                 ix_from_memory = l_from_memory
                 ix_toa_dara    = toa_dara
                 ix_arc_params  = arc_params
                 ix_fonam       = tnapr-fonam          "HW 214570
            importing
                 ex_retco       = ent_retco.
    endform.
    Kindly give the clear view.

  • Email attachment name in sender mail adapter to the receiver file adapter

    HI ,
    Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
    Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
    I assume , i need to do following steps :Please confirm.
    1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
    2. select ASMA option in advanced tab in sender mail adapter
    3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
    4. Also select file name option in ASMA in sender mail adapter
    Thanks,
    Vamsi

    Hi Vamsi,
    your scenario is also described here: Re: sender mail adapter - attachment name
    If you use the Module getAttachmentName, which is described here,
    http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
    your scenario should work as you described it.
    You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
    Fileadapter (http://sap.com/xi/XI/System/File/FileName).
    regards,
    Daniel

  • B2B outbound Channel Configuration - EMail - Attachment Name and Extension

    Hello,
    I have configured an outbound channel to send the payload (xml) as an attachment. When I leave the "Subject" field in the Channel configuration blank, the attachment file name looks like this,"HostPartnerName_TradingPartnerName_DocumentType" without the file extension. If I supply the "Subject" field with the value, the file name gets replaced with the subject and the file extension still is missing.
    I would like to receive a file name in a format like "batch_b2b.messageId.xml". The property b2b.messageId gets the value from the Mediator. The composite that passes the information like the b2b properties has been made generic to handle different Trading Partners, so for a channel that uses SFTP, I have used the Filename format and supplied the value as "batch_%MSG_ID%.xml". Is there a way I can do the same for Email channel?
    Thanks,
    Venkatesh

    Hi Venkatesh,
    Attachment name can be set from the middleware using below header (as per the mode of integration used) -
    1. For AQ mode of integration, use actionName -
    actionName=ATTACHMENT_NAME:test.txt
    2. For JMS mode of integration use custom JMS header - jca.jms.JMSProperty.ATTACHMENT_NAME to populate the name.
    3. For fabric (default) mode of integration, use b2b.attachmentName header
    Regards,
    Anuj

  • Classic report as email attachment

    Hi,
    Is there any way to send the classic report as an email attachment in xls format.
    Regards,
    Sasi

    Hi,
    No, you cant to it for classical report. Convert it as an interactive report and check the email option under download section.
    Regards,
    Natarajan

  • CiscoWorks: How to receive reports in email attachment?

    Hi,
    Please guide me that how I can get scheduled reports in Campus Manager in email attachment.
    I am unable to receive email for the schedule reports saying error says that unable to connect the smtp on port 25.
    In the location CS->Server->System Preferences Enable E-mail Attachment (Checked)
    I am using;
    RME: 4.3.0
    CM:5.2.1
    Thanks

    try to telnet on the port 25 of the SMTP server and see if you can.
    also you can check the anti-virus and the firewall if it's blocking the connection.
    else you can see the sniffer trace output while the LMs try to send the E-mail
    hope this helps

  • Change email display name????

    My display name for the exhange email set up on my iphone appears wrong. I have double checked with the email provider and they say this has to be changed with apple. How do i do that?

    Log into your webmail, click on Preferences (tools icon) (upper right ish). Now on the left, you click on accounts click on the account at the top (I only have one - so the details show up on the lower right) and change your from name.
    Now I did stop and re-start my mail app on the ipad and it did not (yet) update the name. I am not sure when this gets done but I will be  phoning shaw when I get a chance and update this post at that time.
    Wish me luck. You could also set it up as a pop account. Shaw does not have the imap option like the rest of the planet (in the year of 2013!)

  • CS6, no longer available? Quiz Reporting by email attachment

    Our company has a custom-built ColdFusion LMS which pulls in data from Captivate via the Email attachment option. See below:
    This option looks to have been removed from Captivate 6.
    Anyone know how to get around this issue?
    Thanks

    You are correct that the email reporting option has been removed from Captivate 6.
    I suggest you look at the External Server Reporting option which uses PHP files and port the code over to ColdFusion to work with your custom LMS.  That's probably the most direct route.

  • How to printing oracle report by specific printer name  on solaris?

    When running reports
    -http://host/reports/rwservlet?destype=PRINTER&desname=printername&desformat=dflt.prt&report=test.rdf&userid=test/test@TEST&MODE=CHARACTER
    report with destype=printer desname=printername, the report fails with REP-50159 Executed successfully but there were some errors when distribute the output
    if set default printer by add PRINTER=printername export PRINTER; in uiprint.txt
    it can print to printer.
    i found document id 394554.1 in metalink but it can't fix problem.
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:342229662272785964::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,394554.1,1,1,1,helvetica
    To fix the problem, execute the following steps:
    1. Take a backup of opmn.xml
    2. Edit opmn.xml and include the path information of the new printer:
    For In-process report server add the path information within <OC4J_BI_Forms>
    Eg:
    <process-type id="OC4J_BI_Forms" module-id="OC4J">
    <environment>
    <variable id="DISPLAY" value="localhost:0"/>
    <variable id="LD_LIBRARY_PATH"
    value="D:\Oracle\product\FRHome_1\lib32:D:\Oracle\product\FRHome_1\lib"/>
    <variable id="PATH" value="//printserver;D:/Oracle/product/FRHome_1/bin;................./>
    </environment>
    Here //printserver is the network drive where is printer is installed.
    For standalone report server add the path information within <reportservername>
    Eg:
    <ias-component id="standalonerepsvr01" status="enabled" id-matching="false">
    <process-type id="ReportsServer" module-id="ReportsServices">
    <process-set id="standalonerepsvr01" restart-on-death="true" numprocs="1">
    <environment>
    <variable id="DISPLAY" value="localhost:0"/>
    <variable id="LD_LIBRARY_PATH"
    value="D:\Oracle\product\FRHome_1\lib32:D:\Oracle\product\FRHome_1\lib"/>
    <variable id="PATH" value="//printserver;D:/Oracle/product/FRHome_1/bin;........../>
    </environment>
    3. Reload opmn : opmnctl reload
    4. Restart opmn: opmnctl stopall , opmnctl startall
    5. Run the report with destype=printer and desname=newprintername
    my config (solaris)
    oracle application server release 2 (10.1.2.0.2)
    i used axis printserver name is SZ_R02.
    <process-type id="OC4J_BI_Forms" module-id="OC4J">
    <environment>
    <variable id="DISPLAY" value="localhost:0"/>
    <variable id="LD_LIBRARY_PATH_64" value="/data/app/mid/lib:/data/app/mid/network/lib32:/data/app/mid/lib32:/data/app/mid/lib:/data/app/mid/network/lib::/data/app/mid/jdk/jre/lib/sparcv9"/>
    <variable id="LD_LIBRARY_PATH" value="/data/app/mid/lib32:/data/app/mid/lib:/data/app/mid/network/lib32:/data/app/mid/lib32:/data/app/mid/lib:/data/app/mid/network/lib::/data/app/mid/jdk/jre/lib/sparc"/>
                        <variable id="PATH" value="/SZ_R02:/data/app/mid/lib32:/data/app/mid/lib:/data/app/mid/network/lib32:/data/app/mid/lib32:/data/app/mid/lib:/data/app/mid/network/lib::/data/app/mid/jdk/jre/lib/sparc"/>
    </environment>
    how to print to printer by specific printer name?
    thank you very much
    khun

    if submit url with parameter
    http://hostname:7778/reports/rwservlet?destype=PRINTER&desname=lpSZ_R02_2&report=sticker.out
    error
    REP-50159: Executed successfully but there were some errors when distribute the output
    How to Solution?

Maybe you are looking for

  • SSRS Error while executing the report

    Hi, dataextension!WindowsService_0!7d4!03/09/2015-11:21:04:: e ERROR: Throwing Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPException: , Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPException: Failed to execute web request for the s

  • Problem in using standard text in SAP Script

    Hi All, I have to replace English text hardcoded in a script with standard texts (SO10) in Spanish. When I am including the standard text in script, it is displayed in different font and bigger size. I want to reduce the size and change the font of s

  • Copying a new .class file for WLS to use, proper way?

    Hello. I'm doing some servlet development and I would like to know what is the proper way to deploy any .class files and servlets (also .class files)? If I just copy them into the proper directory, am I supposed to have to restart the server? Is that

  • Multi node patching

    Hi, I've following configuration. DB =DB1 APPS = APPS1 & APPS2 I WANT TO PATCH apps1 and apps2 servers. If I apply patch 9281404 on apps1 I need to apply same on apps2. Suppose patch 9281404 applied first on apps1 and then apps2. What will happen dur

  • Help with various things...

    Hi there! Sorry i'm new here and had a few questions.... This here is a screencap from a short horror film i'm doing, and I had a few ideas on how to improve it via after effects. However, i'm only a beginner with this program and would like a few po