Rename the attachment

Hello:
How do we rename the attachement's that were scheduled to have the sysdate as the name of the attachment?
Thanks
Chandu,

Chandu,
You cannot set the file name of the attachment unless you delivery mechanism is: webdav, file or ftp.
Check the parameter mapping section of this link:
http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T518230T518233.htm#enableburst
Cheers
Jorge
p.s. If this answers your question then please grant the points and close the thread

Similar Messages

  • Rename the  attachment  of the Sender mail adapter

    Hello Everyone,
    i have Mail to file scenario. There is an  attachment in mail and this file needs to be renamed and dropped in FTP server. 
    is it possible to read the attachment and then rename it .
    How to achieve this solution because i could not find ASMA in sender mail adapter . so could not use Dynamic configuration.
    Regards,
    Ravi
    Edited by: Ravi Maheshwari on Feb 16, 2012 1:50 PM

    This blog could help you
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6107

  • Rename the attached workbook in bex broadcasting

    Hi All,
    We received workbook as attachedment after it is been broadcast.
    however the name of the attached workbook comes as auto generated sequence numer.(e.g. "WORKBOOK_29BNO77P7UY7WOEFNEDS9CI2X")
    is it possible to have date time and some other text as the name of attached workbook instead of auto generated sequence number.
    Regards,

    Hi Alnoor,
    This will help you..
    http://scn.sap.com/thread/328840
    You may try this too:
    1) Go to SE38 program  RS_PREC_PLAN ( Precal TEST program). Enter the Technical id and the Variant (this is mandatory) for the workbook and execute by entering the emai id..You will receive the workbook as the attachment with the File name and not technical id..
    2) The only issue here is the subject of the mail will always be TEST..
    3) Create a copy of this program Z_RS_PREC_PLAN and have the Subject and date field in the Selection screen..You can make changes so that the date and the Text for the subject will be populated with the values you enter in the selection screen..
    Regards,
    Loed

  • Renaming the Physical Filename for Datafiles in SQL Server 2008

    Can anyone tell me how to change the physical filename of the datafiles? There doesn't seem to be any documentation on this, yet its quite easy to change the logical filename.

     There are several ways to make this change, however to rename the physical database files at operating system level you will have to take the database offline
    1. Use SSMS to take the database Offline (right-click on Database, select Tasks, Take Offline), change the name of the files at the OS level and then Bring it Online.
    2. You could Detach the database, rename the files and then Attach the database pointing to the renamed files to do so.
    3. You could Backup the database and then restore, changing the file location during the restore process.
    4. using T SQL
    ALTER DATABASE databaseName SET OFFLINE
    GO
    ALTER DATABASE databaseNAme MODIFY FILE (NAME =db, FILENAME = 'C:\Program
    Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.mdf')
    GO
    --if changing log file name
    ALTER DATABASE  databaseNAme MODIFY FILE (NAME = db_log, FILENAME =
    'C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\db.ldf')
    GO
    ALTER DATABASE databaseName SET ONLINE
    GO
    for more info http://technet.microsoft.com/en-us/library/ms174269.aspx

  • Rename the zip file and send it using the Receiver Mail Adapter

    Hi,
    We have a custom module that will create multiple attachments. The result is then passed to the PayloadZipBean, which zips as per required.
    When we output this to a file adapter, we provide the file name as say "zippedfile.zip" the result is as expected.
    For example, if the custom module created 3 attachments with the names as file1.txt, file2.txt and file3.txt, the zip file zippedfile.zip, will contain 3 files as file1.txt, file2.txt and file3.txt.
    The issue that we are facing is when we use the mail adapter, the zip file is getting renamed to file1.txt.zip i.e to say that it takes the name of the main payload from the custom module (file1.txt)
    TextPayload txtpayload = message.getDocument();
    txtpayload.setContentType("text/plain");
    txtpayload.setName("file1.txt");
    moduleData.setPrincipalData(message);
    We tried using the MessageTransformbean but it doesn't seem to change the name of the file.
    Not sure where we are going wrong. Is it that the output of the payloadzipbean cannot be used and altered by MessageTransformbean?
    Is there any alternative as to rename the name of zipfiles and use it in the mail adapter?
    Appreciate any help on this regard.
    Regards,
    Shabz

    Solved.
    use Transform.ContentDisposition - attachment;filename="youfilename"
    Do read the mail adapter FAQ.
    The parameter can vary for different mail client.

  • Renaming the Standard Names in a BSP

    Hi All,
    I just wanted to know, if we can rename the standard names in a BSP application's. For Eg: a cfolder module is getting implemented to a automotive sector. so, i want to rename the standard names like competative scenario to Dealer Network
    Attached file for your reference.
    If possible, please explain me the steps, as i am not a Portal nor a BSP Knowledged.
    Rgs,
    Ravi

    Hi All,
    I just wanted to know, if we can rename the standard names in a BSP application's. For Eg: a cfolder module is getting implemented to a automotive sector. so, i want to rename the standard names like competative scenario to Dealer Network
    Attached file for your reference.
    If possible, please explain me the steps, as i am not a Portal nor a BSP Knowledged.
    Rgs,
    Ravi

  • Where are my photos? iPhoto library hides them AND renames the folders

    I recently upgraded to Lion OS and can no longer see my photos and videos in Finder. A search shows that they are all in a dir that is actually an iPhoto library. Bizarrely it has been given the name of the first lot of photos that I imported in to iPhoto from a flash drive - so all of my photos are "packaged" inside a file called "mom's photos"!!!. In Finder it appears as a data item - NOT as a folder - the contents of which can be seen by clicking "Show Package Contents". Inside this "package" is the directory tree that Get Info shows is the path for a photo file. The photos have been arbitrarily put in to directories called "Modified" and Originals within which they have been stored in folders with year names ("2003", "2006", etc) that have no connection to the date the photos were created or their file names.
    Is this considered to be progress by Apple?  How can I work with my files independently of iPhoto or iMovie (raw video being also inside the iPhoto library "package")? How can I reverse the renaming of the folders? Can I rename the iPhoto library to a default name - such as "iPhoto Library" for example!
    Any pointers on how to deal with this new regime for handling photos and video will be welcome
    jilsybean

    It's really very simple.
    If you want to manage files, use a file browser.
    If you want to manage photos, use a Photo manager like iPhoto.
    No version of iPhoto has supported the user accessing the files via the Finder. None at all. In versions 1 to iPhoto 6 it was possible to view the contents of the library, but accessing was not supported. Making changes within the iPhoto Library was not supported. Renaming files and folders corrupted the Library.
    So, with iPhoto 7 (released in the autumn of 2007) the library was moved into a package to protect it from Users making these changes.
    How the files are stored simply doesn't matter. Why? Because everything you need to do can - and should - be done via the iPhoto application. It's a database, after all, and like any db requires that you manipulate the data via the app itself, not a back door.
    iPhoto is your go-to app for anything you need to do with your Photos. You simply never access them via the Finder.
    So, you can edit either with iPhoto - or in any other app: You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Or, you want to access your photos for any reason at all:
    There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.
    All of the above are a: faster and b: safer than rooting around in the old library folders.
    I know it's a change but you'll get used to it. And, of course, if you don't, you can always use another app.
    Regards
    TD

  • Error during the attach of a Tabular model - SSAS 2012

    Hi,
    I've changed the DataDir for a SSAS Tabular instance by specifying another drive letter and a path like "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data".
    After the restarting of the SSAS service I'm trying to attach the tabular model but when I select a folder I've an error about the specified folder is not valid because it doesn't correspond to the naming convention.
    How can I solve this issue, thanks?

    Hi pscorca,
    After you rename the "DataDir" path for SSAS Tabular instance, please copy Tabular database files to the new location(E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data). Then, please follow the steps below:
    Right-click on the Tabular model instance-> Properties, switch to "General" page.
    Select "Show Advanced(All) Properties" option, and then set the following value for "AllowedBrowsingFolders" property.
    C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Backup\|C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Log\|C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR2\OLAP\Data\|E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data
    Restart SSAS Tabular instance.
    When you attach a Tabular database, please select the corresponding database which under "E:\Microsoft SQL Server\MSAS11.SQLSERVER2012\OLAP\Data" path.
    Please let me know if you have any questions.
    Regards,
    Elvis Long
    TechNet Community Support

  • Rename the file when submitting a form

    Hi, I've to send the form in PDF format and I've got various functions to do it:
    event.target.submitForm({cURL:"mailto:[email protected];[email protected]?subject=Submitt ed Form&body=Please find attached the completed form.",cSubmitAs:"PDF",cCharset:"utf-8"});
    event.target.mailDoc(false,"", "", "", "Avaluació periode " + P1.Periode.rawValue + " de l'empleat " + P1.Empleat.rawValue , "A signar.");
    but none of those let me change the name of the file that appears as attachment.
    Could anybody help?
    Thanks in advance
    Esteve.

    Hello,
    I'm also interested in something similar. I've created a form and it has an email submit button, I would like to know how to be able to rename the file when the user clicks submit. I have a field name called UserID, I would like to pass that into the subject of the email. Is this possible? Any ideas? Any help would be greatly appreciated.
    Thanks,
    ~my

  • Renaming the text of a cell in tree control during run time

    Hello all,
      Actually i am stuck up at one point.In the picture of front panel i attached,there is a tree control and two buttons (re,stop).when i press the rename button,i want the selected cell in the tree control to be focussed and when i enter some text through the key board the cell should be renamed.Can anybody suggest me how to do this?
    Thanks and regards,
    srikrishnaNF
    Solved!
    Go to Solution.
    Attachments:
    Example_VI_FP.png ‏7 KB

    Yes it is possible. look at the attached library developed by Norman J. Kirchner, Jr. Also more info could be found @LAVA
    Guru
    Regards
    Guru (CLA)
    Attachments:
    Tree_Control_VIs.zip ‏437 KB

  • Renaming the 5GHz wifi channel

    Hi
    I've had issues connecting my iMac to the HomeHub5 for months and eventually stumbled across some advice which suggested turning off the sync between the 2.3Ghz and 5Ghz, then renaming the 5GHz SSID. 
    I've done this and it seems to have fixed the issue, but I've no idea what the implications of this might be for my general wifi access around my house. I assume there's a good reason why there are two frequencies? 
    I now have two seperate wifi names in the house and appear permanently connected to the 2.3Ghz one. 
    Any potential issues?

    You need 5GHz adapters to use the 5Ghz signal - not all PCs will have a 5Ghz adapter.
    because 2.4Ghz is getting very crowded in areas, the 5Ghz range can help a lot to stop interference , otherwise no real issue 
    to look at the implications - if you could post a screen shot of xirrus we could see what potential interference you may have and advise on a channel change
    Run Xirrus Wi-Fi Inspector 
    Download and install
    If you cannot access the internet with this PC, then you will need to copy the program across to the faulty PC
    Save the file to a USB flash drive or other removable media. Plug it into the working computer with internet access and copy the file and install the program.
    You will now need to take a screen shot and copy that back to the working PC and attach the screen shot in a reply on the forum here.
    If you do not have another PC - do you have a phone connected to the internet - can you photograph the result and post the image in a reply
    http://www.xirrus.com/Products/Wi-Fi-Inspector.aspx
    ( the site now appears to require a business email, and does not allow webbased emails like gmail,hotmail or yahoo etc )
    Use the links below
    http://www.pcworld.com/downloads/file_download/fid,77196-order,4/download.html
    http://www.softpedia.com/progDownload/Xirrus-Wi-Fi-Monitor-Download-99109.html
    Then run and install the program - on a wireless enabled PC/Laptop
    if you get an error - You will need to have [URL="http://www.microsoft.com/en-us/download/details.aspx?id=17851"]NET Framework[/URL] installed for the WiFi Inspector to function.
    On windows 8 - (i do not have windows 8) but, it would appear that, When you first try to run, you may get a message that .net framework is needed, and included in that message is a link to download/install.
    Run the program
    A user guide is available here
    http://www.xirrus.com/cdn/pdf/xirruswifiinspectorguide1-2-0
    post a screen shot of the program running.
    if there are a lot of networks showing can you click on "networks" top lefthand area - so we can see all the network information.
    post which SSID name is yours, its located in the list, under network "Adapter Name" (1st column)
    Note:
    For a reliable (or robust as the Xirrus user guide says) wireless connection you need a signal of about -70 dBm or better. "A desirable signal level for a robust Wi-Fi connection will be green".
    note: the signal level is a negative number, so for example -88 is worst and -40 is better
    To post a screen shot of the active window.
    Windows XP
    Hold the Alt key and press the PrtScn key. Open the Windows PAINT application (Start> All Programs> Accessories> Paint) and Paste the screen shot. You can then use PAINT to trim to suit, and save it as a JPG format file.
    Vista or Windows 7
    you can use the "snipping tool" which is found in Start> All programs> Accessories> Snipping Tool
    http://www.bleepingcomputer.com/tutorials/how-to-use-the-windows-snipping-tool/
    Windows 8
    you can use the snipping tool > Open Snipping Tool (From the Windows 8 Start Screen, type "snip" and press enter.
    >Press the Esc. key.
    >go back to your Windows 8 start screen - Swipe from left or press Window Button
    >Press Ctrl+PrntScr button to use Snipping Tool
    see here
    http://www.pcadvisor.co.uk/opinion/windows/3415854/how-take-screenshot-in-windows-8/
    http://www.pcadvisor.co.uk/how-to/windows/3405830/how-take-screenshot-in-windows-8/

  • I opened the attachment on a malicious email in error on my IPad and have been informed by the genuine company that it will download malware software. Is this possible on my IPad or is there a way of running a security scan to see if it has been infected?

    I received an email that I now know to be malicious and inadvertently opened up the attachment on my IPad that I've been informed will download malware or a virus. Can my IPad be infected this way or does anyone know if there is a way of running a security scan to check if there is a problem? I do have the most up to date IOS software installed.

    There is no anti-malware for iOS, at least none that actually does anything useful. The odds of getting any malware infection via an email attachment on an iOS device is quite low - practically non-existent. Unless you are seeing any issues, there isn't much to do, other than deleting the email and being more cautious in the future.

  • Dynamic file name of the attachment in sender mail adapter

    Hi
    I have configured a sender mail adapter which receives some attachments.
    Right now the file name of the attachment is hardcoded to "MailAttachment-1" "MailAttachment-2" using the content-description from "AF_Modules/PayloadSwapBean" module.
    I want to set it to dynamic ie. instead of "MailAttachment-1"... i want it with real name of the attach.
    please suggest a solution w/o the need to develop a custom adapter module.
    Thanks!
    Regards,
    Mariano.

    Thanks Prateek,
    Now, i can see that the name of the original file is into the content type named as  text/xml; name"name of the file.xml" when i send the email from outlook.
    If i send it from hotmail, this is not happend.
    Do you know why happend this?
    If i always would have the original name inside the content type, my problem will be solved.
    Edited by: Mariano Vidal on Feb 13, 2009 2:26 PM

  • When sending email PO in a PDF attachment, the attachment can not be openen

    Hi all,
    We are trying to send an email with the PO in PDF format.  We got the email but the attachment can not be opened. 
    Error reads: Adobe could not open test.pdf because  it is either  not a supported file type  or because  the file has been damaged (for example , it was send as a email attachemnet and was not  correctly decoded).
    Could any body bring some light?   We know that everything in SCOT is fine because we can email the PO through configuration to the vendor without problem. It is just these extra copies that do not work.
    a) We are modifying our custom Print program to add the code below after closing the form.
    in few words:
    a) We are getting the OTF from closing the form.
    b) Converting the OTF to PDF
    c) Sending the PDF as attachment.
    data: lt_docs      TYPE TABLE OF docs.
    data: pdf_bytecount TYPE i.
    data: begin of pdfout occurs 0,
       tline type tline,
    end of pdfout.
    Ende Formulardruck --------------------------------------------------*
      CALL FUNCTION 'CLOSE_FORM'
           IMPORTING
                result = result
           tables
                otfdata = otf.
      IF RESULT-TDSPOOLID NE SPACE.
        SPOOLID = RESULT-TDSPOOLID.
        PERFORM PROTOCOL_UPDATE USING '320' SPOOLID SPACE SPACE SPACE.
      ENDIF.
      if result-userexit eq 'C' or
          result-userexit eq 'E'.
        retco = '9'.
      endif.
      CALL FUNCTION 'CONVERT_OTF_2_PDF'
        IMPORTING
          bin_filesize           = pdf_bytecount
        TABLES
          otf                    = otf
          doctab_archive         = lt_docs
          lines                  = pdfout
        EXCEPTIONS
          err_conv_not_possible  = 1
          err_otf_mc_noendmarker = 2
          OTHERS                 = 3.
    Creation of the document to be sent File Name
       maildata-obj_name = 'TEST'.
    Mail Subject
       maildata-obj_descr = 'Subject'.
    Mail Contents
       append mailtxt.
      describe table mailtxt lines tab_lines.
      read table mailtxt index tab_lines.
      maildata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( mailtxt ).
    Creation of the entry for the compressed document
      clear mailpack-transf_bin.
      mailpack-head_start = 1.
      mailpack-head_num = 0.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
      mailpack-doc_type = 'RAW'.
      append mailpack.
    Move OTF code to structure SOLI form email
    CLEAR solisti1. REFRESH solisti1.
    LOOP AT otf.
      solisti1-line = otf.
      APPEND solisti1.
    ENDLOOP.
    Move pdf code to structure soli form email
      clear solisti1. refresh solisti1.
      loop at pdfout.
        solisti1-line = pdfout.
        append solisti1.
      endloop.
      loop at solisti1.
         move-corresponding solisti1 to mailbin.
         append mailbin.
      endloop.
      describe table mailbin lines tab_lines.
    mailhead = 'TEST.OTF'.
      mailhead = 'TEST.PDF'.
      append mailhead.
    Creation of the entry for the compressed attachment
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = 1.
      mailpack-body_num = tab_lines.
    mailpack-doc_type = 'OTF'.
      mailpack-doc_type = 'PDF'.
      mailpack-obj_name = 'TEST'.
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type = 'U'.
      append mailrec.
      mailrec-receiver = '[email protected]'.
      mailrec-rec_type = 'U'.
      append mailrec.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
              EXPORTING
                   DOCUMENT_DATA              = maildata
              TABLES
                   PACKING_LIST               = mailpack
                   OBJECT_HEADER              = mailhead
                   CONTENTS_TXT               = mailtxt
                   RECEIVERS                  = mailrec
              EXCEPTIONS
                   TOO_MANY_RECEIVERS         = 1
                   DOCUMENT_NOT_SENT          = 2
                   DOCUMENT_TYPE_NOT_EXIST    = 3
                   OPERATION_NO_AUTHORIZATION = 4
                   PARAMETER_ERROR            = 5
                   X_ERROR                    = 6
                   ENQUEUE_ERROR              = 7
                   OTHERS                     = 8.
    ENDFORM.

    Dear Monica,
      You need to configure the system with respect to functional point of view and need to write the following code in print program. i have done this and solution is as follows.
    <b>  Reward me for this solution.</b>
    Process 11 (MM)     Sending RFQs and POs to vendors directly from the system instead of sending thru Courier or Fax     
    Existing Process (AS-IS)     Presently system is not supporting this requirement
    Business Requirements     RFQ’s to be linked with vendor master with e-mail to send enquiries directly through system instead of courier/fax. Vice versa P.O’s.  Specifications, drawings should also go to vendor along with mail.
    To-Be     
    Configuration Settings:                  
    1) Spro – Materials management – Purchasing – Messages – Output control – Message types – Define message types for RFQ/ PO
    •     Created ZEK1,ZMI and ZEK2 for RFQs
    •     Created ZIK,ZOC,ZOK,ZOM,ZSI, ZSK2 and ZSM for Pos
    •     The above New output types Included with existing Print Forms and Programs but modified with External send(5) medium, and added company’s letter head thru ABAP developments (details provided below)
    •     The above new output types also maintained for Fine- tuned control (thru same navigation) for New(1) and Change(2) operations
          2) Spro – Materials management – Purchasing – Messages – Output control – Message   determination schemas – Define message schema for RFQ/ PO
    •     Maintained the new output types in the control data
    3)     Maintain Condition records for the New out put types (copied same document types from the existing old output types)
    Easy access – Logistics – Materials management – Purchasing – Master data – Messages – MN01 (for RFQs)/ MN04 (for Pos)
    4)     Maintain Email id of Vendor in Vendor master.
    Developments (ABAP):
    1)  Copied the existing print programs and forms of the corresponding out types.
    2) Addition of header window in each corresponding form (HEADER window). Uploaded the HEADER3 graphics in the header window.
    INCLUDE HEADER3 OBJECT GRAPHICS ID BCOL LANGUAGE EN
    3) Added the the following code in TOP includes
                       TYPE-POOLs szadr.
               INCLUDE:  LMEDRUCKF09.
    data: intnast         LIKE snast,
          lvs_recipient   LIKE swotobjid,       "Internet
          lvs_sender      LIKE swotobjid,       "Internet
          lvs_comm_type   TYPE ad_comm,
          lvs_comm_values TYPE szadr_comm_values,
          p_retco         TYPE i.
    5)     Addition of the perform to SOS include for header window display
           PERFORM WRITE_FORM_HEADER.
    *&      Form  WRITE_FORM_HEADER
          text
    -->  p1        text
    <--  p2        text
    FORM WRITE_FORM_HEADER.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'HE1'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'HEADER'
    IMPORTING
       PENDING_LINES                  =
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
    ENDFORM.
    6)     In the corresponding FORM include the following code has been added.
    DATA:  lvs_comm_type     TYPE   ad_comm,
            lvs_comm_values   TYPE   szadr_comm_values,
            xprogramm         type   sy-repid.
      ... use stratagy to get communication type
          CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE'
               EXPORTING
                    strategy           = nast-tcode
                    address_number     = lfa1-adrnr
               IMPORTING
                    comm_type          = lvs_comm_type
                    comm_values        = lvs_comm_values
               EXCEPTIONS
                    address_not_exist  = 1
                    person_not_exist   = 2
                    no_comm_type_found = 3
                    internal_error     = 4
                    parameter_error    = 5
                    OTHERS             = 6.
          IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    convert communication data
          MOVE-CORRESPONDING nast TO intnast.
          MOVE sy-repid           TO xprogramm.
    7) By using the function module we can get sender and reciepient mail ids to variables lvs_recipient    lvs_sender
          CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
               EXPORTING
                    pi_comm_type              = lvs_comm_type
                    pi_comm_values            = lvs_comm_values
                    pi_country                = lfa1-land1
                    pi_repid                  = xprogramm
                    pi_snast                  = intnast
               IMPORTING
                    pe_itcpo                  = itcpo
                    pe_device                 = xdevice
                    pe_mail_recipient         = lvs_recipient
                    pe_mail_sender            = lvs_sender
               EXCEPTIONS
                    comm_type_not_supported   = 1
                    recipient_creation_failed = 2
                    sender_creation_failed    = 3
                    OTHERS                    = 4.
          IF sy-subrc <> 0.
          Avoids cancellation with message TD421
            p_retco = '1'.                                           "831984
            PERFORM protocol_update USING '740' space space space space.
          dummy message to make the message appear in the where-used list
            IF 1 = 2.
              MESSAGE S740(me).
            ENDIF.
            EXIT.
          ENDIF.
          IF xdevice = 'MAIL'.                                       "885787
        Check validity of email address to avoid cancellation with TD463
            CALL FUNCTION 'SX_ADDRESS_TO_DEVTYPE'                    "831984
              EXPORTING
                recipient_id            = lvs_recipient
                sender_id               = lvs_sender
              EXCEPTIONS
                err_invalid_route       = 1
                err_system              = 2
                OTHERS                  = 3.
            IF SY-SUBRC <> 0.
              p_retco = '1'.
              PERFORM protocol_update USING '740' space space space space.
           dummy message to make the message appear in the where-used list
              IF 1 = 2.
                MESSAGE S740(me).
              ENDIF.
              EXIT.
            ENDIF.
          ENDIF.
    8)     Attaching the new print program and form in NACE transaction.
    Steps for End user:
    1)     Creating the Purchase Order or RFQ with suitable document type through ME21N or ME41 .
    2)     Executing the transaction ME9F and in selecting the suitable output type.
    3)     Executing the transaction ZSEND_PDOC using INT as input.
    4) With above steps we can able to send purchase order or RFQ to vendor as an attachment through e-mail in PDF format.
    Regards
    Badari

  • I can no longer attach files in Yahoo mail since upgrading to FireFox 4.0.1. I click the "attach" button and nothing happens - no file list to select from appears; nothing.

    Since upgrading to Firefox 4.0.1 the "attach files" function in my Yahoo Mail account no longer functions. When I click the "attach files" button nothing happens - nothing. No file selection box opens, no error message appears, no pinwheel of death, nothing.
    The "attach files" button is no longer 'hot' in FF 4.0.1 either = the "little hand" icon does not appear when I scroll over it. Other action buttons are still 'hot' ("attachments", "emoticons", "format", "hide bcc"etc.) - just not the "attach files" button.
    The Yahoo Mail "attach files" function still works when I use my Safari browser, however. So, it appears to be a FF4.0.1 issue.
    (Intel MacBook, Snow Leopard, 2gb ram, 360gb hd)

    You can try to delete the file mimeTypes.rdf
    See "Reset Download Actions"
    * http://kb.mozillazine.org/File_types_and_download_actions

Maybe you are looking for

  • Takes a long time to connect to the internet when I first open an app

    I bought my Macbook Pro Retina 13inch last weekend and I love it! Everything was working fine but over the last couple of days, when I first open an app, for example Safari, Google Chrome, iTunes, App Store, anything that requires an internet connect

  • Query on Export to Excel- Help needed

    Hi All, I wanted to know if we can set a hidden field value when user clicks on the "export to excel" link in the reports. I am using the Apex Export feature itself. Is it possible to set an item value when user clicks on the link? If yes then how ca

  • Problem hiding a text field

    Hi, For some reason I am unable to hide a text field by clicking on a button. This is what I'm doing: txtField.presence = "hidden"; I'm using javascript and I can hide other buttons if I set their presence to "invisible", but I cannot hide a text fie

  • Preview marketing document with Crystal Reports

    Iu2019ve created a Crystal Report Lay-out for a sales order based on an empty report (I didnu2019t used a sap report as bases), how can I make it possible to get a layout preview before I save the sales order? At the moment, the preview shows the lat

  • Charging and dischargin​g multiple capacitors

    Hello, We have a PXI system running LabVIEW 8.5 on Win XP.  We want to charge and discharge a bank of capacitors in a very controlled manner.  I was wondering if anyone else has performed a similar task and has some examples of the code to control a