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

Similar Messages

  • 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.

  • ABAP Email Sending Program: Change Display user name in email

    Hi All,
    I have developed an email sending program using function module SO_NEW_DOCUMENT_ATT_SEND_API1. It is working fine but there is requirement that when the customer receives email, in the display name of sender, there should be some fixed name. But here in this case it is picking the Sy-uname i.e. system user name who is triggering the program.
    I also tried the FM SO_DOCUMENT_SEND_API1, but it only changes senders email address, and the requirement is to change the display name in email.
    Regards,
    Nikhil

    You will have to use ABAP class CL_BCS. With it you can specify the sender, both the address and the name.
              lv_smtp_addr = iv_senderaddress.
              lv_smtp_name = iv_sendername.
              call method cl_cam_address_bcs=>create_internet_address
                exporting
                  i_address_string = lv_smtp_addr
                  i_address_name  = lv_smtp_name
                receiving
                  result          = lo_sender_address.

  • Changing the file name of a PDF you send via email

    Hello Support,
    I am trying to find out how to change the file name of the attachment I send via email when I click submit via email. I would like the file to be sent with the file name, not some other file name.
    How can I fix it? This is very urgent! I need HELP!
    Cheers
    Joel
    Message was edited by: J Braden

    Hi,
    you can't.
    Except you save the file under a different name before you send it.

  • How can I change the account name in iCloud.  My email has changed and I want to change it on iCloud.

    How can I change the account name in iCloud.  My email has changed and I want to change it on iCloud.

    To change your iCloud ID, go to Settings>iCloud, tap Delete Account, then sign back in with the new ID.  This deletes the account and your iCloud data from your device, but not from iCloud.  Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.
    To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account.  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.
    To change the ID on your Mac, go to System Preferences>iCloud, sign out, choose Delete for all the prompts (your data will still be in iCloud), then sign back in with the changed ID.

  • UMS Adapter - Get the attachment name of the incoming email

    Hello there,
    Based on this blog http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/
    I'm trying to get the attachment name to identify its type (XML, PDF, etc) and save It with the proper name. However the schema generated by the UMS Adapter service does not provides helpful metadata information to achieve this.
    Do you known an idea, a solution or a documentation to get the attachments name?
    Thanks in advance.

    Hi,
    Yes Anuj, the UMS Adapter is in preview mode, we are testing it because seems solve in a good fashion our requirement, maybe this is a risk but finally is an evaluation.
    How can I extract the content-type you mention? The payload transfered from the UMS Adapter to BPEL is like this:
    <ReceiveNotification_InputVariable>
    <part name="body" >
    <ns0:message>
    <payload xsi:type="xs:string" >Message body bla bla bla</payload>
    <attachment>
    <Attachment href="79B86930ED5411E1BFE8A57D24C81110" />
    <Attachment href="79B92C80ED5411E1BFE8A57D24C81110" />
    <Attachment href="79B9C8C0ED5411E1BFE8A57D24C81110" />
    </attachment>
    </ns0:message>
    </part>
    </ReceiveNotification_InputVariable>
    In the configuration wizard for the UMS Adapter there is a Java callout section, do you think that is an option to looking for the content-type or any other useful metadata?
    Thanks.

  • HT1428 How to change the account name in Mac OS X via a command line. I did a type-o on the account name. So instead of it saying "Company" it says "Comany"  for the account logon.

    How to change the account name in Mac OS X via a command line. When I created the account I mistyped the name. I have a management suite where I can execute remote scripts. I would like to run a script that changes the name from oldname to newname.
    None of these Macs have been used currently.
    Thank you,
    Brian

    If user account shortname, see Changing user account shortname

  • I was wondering if there is a way to change the outgoing name on my emails?

    I have been to the "Manage apple ID" area many times and changed the name but I have noticed that when I send a email the name is wrong how can I change that name?

    For your iCloud Mail you can change the full name for your mail account at https://www.icloud.com/
    Click the Mail.app icon, and in the Mail panel click the "Gears" icon in the lower left corner of the panel to open the Preferences. In the "accounts" panel select your account and change the "full Name" for your Mail account.

  • How do I change the "From" name connected to my email in iCloud email?

    How do I change the "From" name connected to my email messages in iCloud?

    Hi,
    Both modems are on a same network or 2 different networks ? If on TWO networks, the printer can see 2 networks and on the setup menu you have to select the new network, enter security code (if any) then pick it as default.
    Now your machines on the same network might see 2 logical printers, one offline and one online, the online is the one connected to the new modem.
    Regards,
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Changing the column names displayed via an ODBC driver

    Hi we are just starting to used Crystal Reports to improve the reporting capabaility of a legacy application, we can access the data fine using an ODBC driver. What we want to do is change the column names that are displayed within Crystal Reports so they are more user friendly and not in techno speak,, so that the users can create their own reports. Do we need to used Business Objects to setup a Universe to do this, is their a simple cheaper method sorry if this post is in the wrong section

    Can you set up "views" in your database? That would probably be the easiest way to do this.
    -Dell
    - A computer only does what you told it to, not what you thought you told it to!</p>

  • Changing the sender name of WF-BATCH

    Hi,
    I am new to workflow programming and looking for guidance on changing the sender name of the emails going (SENDMAIL activity) as WF-BATCH user.
    I looked at the input from this group on similar question and understood that what I need to achieve can only be done via FM SO_DOCUMENT_SEND_API1.
    I am unsure how to accomplish this if the email I am sending out needs to read the description captured in the task (whic is a dialog method) before this (TS01000140).
    Can anyone give me inputs on how to achieve this?
    Thanks for commenting.
    María

    Hi,
    First of all, you might want to check class cl_bcs for sending emails. Basically your function will do the same but this class is a bit more functionality. Plenty of examples in SCN/Internet.
    Whatever function/method you will choose to use, the idea is to develop a workflow method, and then call the email sending function/method from this method. Then you of course develop a task that will call your new method. Now, you will need certain parameters for the email sending function/method: subject, body text, recipient, etc. You need to either deliver these parameters for the method from your workflow container or build some additional logic to the workflow method. E.g. if your task TS01000140 gets the email text into the workflow container, then you need to bind it to your email sending task (and to the method) => you need to add this to your task container and then add it as a parameter to your method.
    One additional hint: When building the custom logic, pay attention to email language. You want to deliver the emails in correct language, so the recipient language must be known before the email is sent...
    Regards,
    Karri 

  • [Beginner] Help! How to change the packet name for an jax-rpc example

    Hi
    I am new to the JWSDP, I tried to build and deploy the helloservice application (the example in
    tutorial), it works fine. But I want to change the packet name from helloservice to books, it
    returns error message during the building process.
    Here is what I did.
    I changed the folder name from helloservice to books.
    In helloIF.java and helloImp1.java, changed to "package books"
    In build.properties:
    example=books
    war.path=${tut.root}/examples/jaxrpc/books/${dist}/${deployable.war}
    context.path=${hello.context}
    portable.war=${context.path}-portable.war
    deployable.war=${context.path}.war
    In jaxrpc-ri.xml,
    <?xml version="1.0" encoding="UTF-8"?>
    <webServices
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
    version="1.0"
    targetNamespaceBase="urn:foo"
    typeNamespaceBase="urn:foo"
    urlPatternBase="/ws">
    <endpoint
    name="MyHello"
    displayName="HelloWorld Service"
    description="A simple web service"
    interface="books.HelloIF"
    model="/WEB-INF/model.gz"
    implementation="books.HelloImpl"/>
    <endpointMapping
    endpointName="MyHello"
    urlPattern="/hello"/>
    </webServices>
    In config-interface.xml,
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <service
    name="MyHelloservice"
    targetNamespace="urn:foo"
    typeNamespace="urn:foo"
    packageName="books">
    <interface name="books.HelloIF"/>
    </service>
    </configuration>
    When I run "ant build", it returns the following error message:
    run-wscompile:
    [echo] Running wscompile:
    [echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d bui
    ld -nd build -classpath build config-interface.xml -model build/mo
    del.gz
    [exec] error parsing configuration file: XML parsing error: com.sun.xml.rpc
    .sp.ParseException:1: com.sun.xml.rpc.sp/P-067
    [exec] Result: 1
    All I want to do is just change the packet name, anyone know how to do it?
    Please help me.
    Thank you.

    For future reference, please post JAXRPC related questions to [email protected]
    There is something syntatically wrong with your config.xml. Try reverting back to the original, and try that. Then try modifying it again making sure to only change the packageName.

  • 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.

  • How can I retrieve emails that were deleted off my iPhone 4s when I changed the password to my email acccount?

    I changed the password to my email account and when I changed it in my phone all of my emails were deleted Is there any way to retrieve them? They are in the server and I can access them via Outlook just not on my iPhone or iPad.

    They won't be in icloud, since the only thing that would contain pictures are backups.  But they were deleted before you signed up for icloud, so forget that.  The only other thing to check is you computer.  Users are always advised to sync photos to computers for archiving.  If you did that, you should be able to find them there.  But without any backups or copies of them, then they are history.
    And no, you can't look at pictures in icloud.

  • How can I change the "Full Name" for my iCloud account?

    Hello,
    At some point in the past, iCloud started identifying me as someone else when I send emails. This incorrect name appears to be the "Full Name" setting of the email account, but when modifying the properties for the email account in Mail the field for modifying the "Full Name" setting is disabled, not allowing me to make any changes.
    Where is the correct place to change the "Full Name" setting for my iCloud account?
    Thanks,
    - Josh
    <Email Edited By Host>

    I believe it can be changed by going to https://appleid.apple.com/, click Manage your Apple ID, sign in with your iCloud ID, select "Name, ID and Email Addresses", then click "Edit" next to the name listed under "Your Name" and change it as desired.
    Also, if you are trying to change the sender name for your iCloud email account, you'll want to go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the bottom left and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done.  Then quit Mail (Command-Q) on your Mac and re-open it.  Your new From name should now appear in the drop-down list when you compose a new email.
    (The image was removed in your post above because it showed your iCloud email address.)

Maybe you are looking for

  • Can you get photos onto iTouch 4 from camera?

    I am traveling away from my Mack and taking photos with my Canon dig. camera.I also have my iPod iTouch 4 with me.Is it possible to sync the photos from the Canon dig. camera on the iTouch without the use of the Mac?

  • Nokia N8 Belle does not show caller name

    I can't get my phone to show names for people that are calling, I know there are already loads of topics about this, but none of the suggestions could fix my problem. Keyfacts: - Nokia N8 with Chinese Firmware (Belle) - All contacts are synchronized

  • Need help with LR5 catalog which refuses to make workable copies

    LR catalog refuses to make workable copies. error message: Catalog cannot be opened due to unexpected error Is there any way around that? It was working fine then I moved several folders from the main drive to the external HD and saved again. I have

  • USB Superdrive will not burn my cd

    I have a macbook pro Retina display and the USB Superdrive.  For some reason the superdrive will not burn cd's. Help please...US

  • Report detail

    How can I populate the detail section of a report with a borrowers name that is in either table one or table two?