Office 2007 attachments getting corrupted in PO Print Program

HI SRM Experts,
We are having SRM 5.0 Classic Scenario and EHP 4.0 ECC 6.0, we have a customized PO Print Program which after PO approval send notification to vendor & requestor of cart with the attachments.
We are facing problem that when requester attaches MS 2007 attachments(having 4 characters as extension) it is converting these into default 3 character extension and thus they get corrupted. I have already made settings in DMS (DC30).
Can anyone please help here to know if any SAP note is there for the same as I feel that we cannot change the ABAP program/code mentioned in standard Function module. Here is my finding after the debugging:
The Function module 'CV120_KPRO_MASTER_DATA_GET' is responsible for returning the document type.
It is returning the extension in field dappl of table ptx_data which is of type CHAR3.
So it is not accepting the extension of CHAR4.
Regards,
Varun

Hi
Analyse the Dump in ST22 transaction
difficult to say , as what was changed in the program is not known exactly
from the dump you have to know
Regards
Anji

Similar Messages

  • Upgraded from xp to windows 8.1. I reinstalled office 2007 and Adobe CS3. Cannot print to pdf.

    I recently upgraded from Windows XP PRO  to Windows 8.1 64 bit professionsal. I reinstalled Microsoft Office 2007 Professional and Adobe Creative Suite 3 Web Premium.
    Office no longer prints to PDF, and Acrobat does not open Office documents. I did extract the AdobePDF.dll_64 from the data.cab file, changed the name to AdobePDF.dll and used it in the install of Acrobat 8.0.
    Is there a solution to this problem?
    Thanks for any help.
    Clay

    You may have a better chance to get a helpful reply if you ask in the Acrobat forum.

  • Acrobat 9 Pro & Office 2007 - No Color Text without Color Printer?

    I have a number of legacy word documents (.doc) that I convert to PDF from Office 2007 using Acrobat 9 Professional.
    These word documents have sections of text that are red. The documents also all have an embedded JPG in the header (company logo, also colored).
    In all cases the red text is converted to black when creating the PDF but the logo stays color.  The only way to convert to PDF and maintain text color is to first select a color printer from the printer dialog box.
    So, for each word document I need to create a PDF from, I first need to open the print dialog box, select some color printer and click "close."  Only then can I produce a PDF where both the logo and the text maintiain their original colors.
    This behavior is new to Acrobat 9.  I never once had to change from my default (B&W laser) printer to a color printer before making a PDF.
    Is there a solution?  Have I missed some easy step here or is this the expected behavior now?

    Sorry, I'm printing using the PDFMaker Office Add-in (toolbar).
    [[You might also check the Adobe PDF printer properties to be sure you  have not changed that to B&W.]]
    If the printer properties were B&W then the color JPG (logo) would be B&W in the PDF, but it's not, it's color.  It's only the text that is B&W.  But, of course, I double-checked (to be sure) and confirmed that it is set to color.
    [[ If you are using PDF Maker, you might select the Adobe PDF printer  first]]
    Well, that's why I'm posting the question.  Why would I need to change printers in order to create the PDF when, since version 4, I never had to do this?  I'd like to figure out what has happened and how to fix it.

  • Office 2007 Attachments giving dump"Buffer table not up to date" in SOCO

    Hi SRM Experts,
    We have came across a strange issue. DOCX & XLSX doc type attachments are giving a dump " Buffer Table not up to the date" when the Buyer in SOCO press the button "Add to the work area".
    This is coming only when there is some SPECIAL CHARACTER used in the description of the attachment e.g. _, -, . / etc etc.
    The other attachment types are working fine. i.e. PDF or Doc with NO special characters used in the description are giving NO errors t
    IS there any special OSS note for this?
    I have already configured all the config settings in DC10, DC20 & DC 30.
    Please help us out in this.
    Regards,
    Varun.

    Hi Muthu,
    Thanks for the help.. But here the problem is not with extension only.
    The problem is if there is a special character in the attachment description in Office 2007 doc types like XLSX, DOCX then and then only it is giving dump.
    I tested without special characters in description with DOCX file it is working fine.
    Please help out as this is becoming serious issue now.
    Regards,
    Varun

  • Email attachments gets corrupted (javamail)

    hi i am using javamail1.4
    when i am trying to store the attachmnets in a folder they are getting corrupted.
    please help me in this

    some code plz.
    anyway, here a typical code to send e-mails (with or without attachementpackage test;
    import java.io.File;
    import java.util.Date;
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    public class SendMail {
         // Sender, Recipient, CCRecipient, and BccRecipient are comma-separated
         // lists of addresses. Body can span multiple CR/LF-separated lines.
         // Attachments is a ///-separated list of file names.
         public static int Send(String SMTPServer, String SMTPPort, String Sender, String Recipient, String CcRecipient, String BccRecipient,
                   String Subject, String Body, String ErrorMessage[], String Attachments, String encoding) {
              // Error status;
              int ErrorStatus = 0;
              // Create some properties and get the default Session;
              Properties props = System.getProperties();
              props.put("mail.smtp.host", SMTPServer);
              props.put("mail.smtp.port", SMTPPort);
              props.put("mail.mime.charset", encoding);
              Session session = Session.getDefaultInstance(props, null);
              try {
                   // Create a message.
                   MimeMessage msg = new MimeMessage(session);
                   // extracts the senders and adds them to the message.
                   // Sender is a comma-separated list of e-mail addresses as per RFC822.
                        InternetAddress[] TheAddresses = InternetAddress.parse(Sender);
                        msg.addFrom(TheAddresses);
                   // Extract the recipients and assign them to the message.
                   // Recipient is a comma-separated list of e-mail addresses as per RFC822.
                        InternetAddress[] TheAddresses = InternetAddress.parse(Recipient);
                        msg.addRecipients(Message.RecipientType.TO, TheAddresses);
                   // Extract the Cc-recipients and assign them to the message;
                   // CcRecipient is a comma-separated list of e-mail addresses as per RFC822
                   if (null != CcRecipient) {
                        InternetAddress[] TheAddresses = InternetAddress.parse(CcRecipient);
                        msg.addRecipients(Message.RecipientType.CC, TheAddresses);
                   // Extract the Bcc-recipients and assign them to the message;
                   // BccRecipient is a comma-separated list of e-mail addresses as per RFC822
                   if (null != BccRecipient) {
                        InternetAddress[] TheAddresses = InternetAddress.parse(BccRecipient);
                        msg.addRecipients(Message.RecipientType.BCC, TheAddresses);
                   // Subject field
                   msg.setSubject(Subject);
                   // Create the Multipart to be added the parts to
                   Multipart mp = new MimeMultipart();
                   // Create and fill the first message part
                        MimeBodyPart mbp = new MimeBodyPart();
                        mbp.setText(Body);
                        // Attach the part to the multipart;
                        mp.addBodyPart(mbp);
                   // Attach the files to the message
                   if (null != Attachments) {
                        File file;
                        int StartIndex = 0, PosIndex = 0;
                        while (-1 != (PosIndex = Attachments.indexOf(",", StartIndex))) {
                             file = new File(Attachments.substring(StartIndex, PosIndex));
                             if (file.exists()) {
                                  // Create and fill other message parts;
                                  MimeBodyPart mbp = new MimeBodyPart();
                                  FileDataSource fds = new FileDataSource(Attachments.substring(StartIndex, PosIndex));
                                  mbp.setDataHandler(new DataHandler(fds));
                                  mbp.setFileName(fds.getName());
                                  mp.addBodyPart(mbp);
                             PosIndex += 3;
                             StartIndex = PosIndex;
                        // Last, or only, attachment file;
                        if (StartIndex < Attachments.length()) {
                             String filePath = Attachments.substring(StartIndex).trim();
                             file = new File(filePath);
                             if (file.exists()) {
                                  MimeBodyPart mbp = new MimeBodyPart();
                                  FileDataSource fds = new FileDataSource(filePath);
                                  mbp.setDataHandler(new DataHandler(fds));
                                  mbp.setFileName(fds.getName());
                                  mp.addBodyPart(mbp);
                   // Add the Multipart to the message
                   msg.setContent(mp);
                   // Set the Date: header
                   msg.setSentDate(new Date());
                   // Send the message;
                   Transport.send(msg);
              } catch (MessagingException e) {
                   ErrorMessage[0] = e.toString();
                   Exception TheException = null;
                   if ((TheException = e.getNextException()) != null)
                        ErrorMessage[0] = ErrorMessage[0] + "\n" + TheException.toString();
                   ErrorStatus = 1;
              return ErrorStatus;
         } // End Send Class
         public static void main(String[] args) {
              String SMTPServer="";
              String SMTPPort="25";
              String Sender="";
              String Recipient="";
              //String Recipient="";
              String CcRecipient="";
              String BccRecipient="";
              String Subject="";
              String Body="";
              //String Body="";
              String[] ErrorMessage=new String[]{""};
              String Attachments="a.pdf, b.doc";
              String Encoding="ISO-8859-1";
              SendMail.Send(SMTPServer, SMTPPort, Sender, Recipient, CcRecipient, BccRecipient, Subject, Body, ErrorMessage, Attachments, Encoding);
    } // End of public class SendMail):
    You'll need at least activation.jar and mail.jar

  • How to treat Office 2007 attachments?

    Hello,
    I read in an eml file (with the help of javamail 1.4) and want to detach/dump all the containing attachments to disk.
    This works fine for a lot of attachment types but unfortunately not for Office 2007 documents (e.g. docx, pptx).
    Enclosed the source sequence to store a InputStream content into a specific object (rEmail):
    BufferedInputStream tBufIs = null;
    try {
    tBufIs = new BufferedInputStream(((BASE64DecoderStream) aObject));
    } catch (ClassCastException tEx) {
      InputStream tIs = (InputStream)aObject;
      tBufIs = new BufferedInputStream(tIs);
    int x = tBufIs.available();
    rEmail.setContent(new byte[x]);
    tBufIs.read(rEmail.getContent(), 0, x);As already mentioned this works great for a lot of attachments. If I dump these byte content to disk with the FileOutputStream object all the attachements are fine and readable.
    Enclosed the relevant message header content of the incoming message (eml file) which contains the office 2007 attachment:
    MIME-Version: 1.0
    Content-Type: application/octet-stream;
         name="P6_TF06_1Seitedoc_2007_nach_pdf.docx"
    Content-Transfer-Encoding: base64
    Content-Description: P6_TF06_1Seitedoc_2007_nach_pdf.docx
    Content-Disposition: attachment;
         filename="P6_TF06_1Seitedoc_2007_nach_pdf.docx"
    Content-class: urn:content-classes:message
    X-MimeOLE: Produced By Microsoft Exchange V6.5
    X-OriginalArrivalTime: 19 Aug 2008 15:24:54.0732 (UTC) FILETIME=[BB5318C0:01C9020F]
    Subject: Test 1 DOCx
    Date: Tue, 19 Aug 2008 17:24:54 +0200
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator:
    Thread-Topic: Test 1 DOCxOk, the source really dumps the office 2007 attachment (like docx, xlsx etc.) to disk (with FileOutputStream tOs.write(rEmail.getContent()); but unfortunately it is unreadable.
    Is there something I have to consider?
    Any help would be appreciate.
    Thanks in advance and regards
    Bodo Stockschlaeder

    [http://java.sun.com/products/javamail/FAQ.html#readattach|http://java.sun.com/products/javamail/FAQ.html#readattach]

  • How to get spool no in print program of smartforms

    hi All,
    I am writing a new print program for smart form.i need to pass the spool no to NAST_PROTOCOL_UPDATE FM to see the spool no in processing log. in which structure do i see the spool no at run time? please advice.
    Regards,
    Sreekanth.

    try like below:
    DATA: ls_job_info           TYPE ssfcrescl.
    determine smartform function module for invoice
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
             IMPORTING  fm_name            = lf_fm_name   ---> Get SF Function Module name
             EXCEPTIONS no_form            = 1
                        no_function_module = 2
                        OTHERS             = 3.
    CALL FUNCTION lf_fm_name
               EXPORTING
                          archive_index        = toa_dara
                          archive_parameters   = arc_params
                          control_parameters   = ls_control_param
                    mail_appl_obj        =
                          mail_recipient       = ls_recipient
                          mail_sender          = ls_sender
                          output_options       = ls_composer_param
                          user_settings        = space
                          is_bil_invoice       = ls_bil_invoice
                          is_nast              = nast
                          is_repeat            = repeat
               importing 
                         job_output_info      = ls_job_info
                        document_output_info =
                        job_output_options   =
               EXCEPTIONS formatting_error     = 1
                          internal_error       = 2
                          send_error           = 3
                          user_canceled        = 4
                          OTHERS               = 5.
    ls_job_info-spoolids will have the Spool request id
    Rgds,
    Pavan

  • Word email attachments get corrupted from desktop to laptop

    I've been sending Microsoft Word attachments via email from my iMac (mid-2007 Intel running Yosemite) to my laptop (Macbook Pro running Mavericks). The downloads always come through as corrupt, though the original files are fine. (If I put them on a flash drive, I can open them on the Macbook.) The Macbook connects via wifi while the iMac is plugged in to a router and modem, in case that has anything to do with it. Any ideas?
    Thanks very much --
    Christine

    I should add that Word documents I send from the laptop to iMac come through fine.

  • PSC 1610 WINDOWS 8.1 OFFICE 2007

    I have a problem with my psc 1610 printer when I   install the full packet driver on my acer Aspire AS3410.
    I cant print from Internet og office 2007 but I can make a scan and copuý from my acer.
    I have a Lenovo with the same windows 8.1 and office 2007 - no problem by using my printer.
    I have tried to install the packet severel times whitout any solution of the problem and tried  print and scan doctor nothing helps - hope you can help me.
    [Edited for Personal Information]
    This question was solved.
    View Solution.

    Hello @penalgade , and welcome to the HP Forums, I hope you enjoy your experience!
    I see you're looking into print issues.  I would like to help!
    I would suggest Uninstalling the Printer Software.
    Once it is uninstalled, I would suggest putting your system into clean boot mode within the Microsoft configuration.  You can do so by following this document: How to perform a clean boot in Windows.
    Once the computer is in clean boot mode, I would suggest reinstalling the HP Printer Install Wizard for Windows.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • XML problem after installing Office 2007

    Sinds we installed Office 2007 we get an message when dealing
    with XML in our application:
    Couldn't find library MSVCR80.DLL (required by
    c:\PROGRA~1\COMMON~1\MICROS~1\OFFICE12\MSOXMLMF.DLL)
    Copying the DLL to SYSTEM32 or another directory doesn't
    work.
    I think it has to do something with the .Net 2.0 framework.
    Can anyone tell me more about this.. or beter.. give me a
    solution?
    Thanks!

    I am also having problems with my movies suddenly not working
    with XML either. These are AS 2.0 web apps that worked great for a
    long time, until this past Friday. Is there a Windows update that
    is interfering with SWFs and XML docs?

  • Print program is not getting triggered when saving the application

    Hi all,
    My requirement is when i save the invoice using VF01 the print program should get triggered.
    The print program is not getting triggered when saving the application even when i have configured the outtype and have attached the print program.
    The setting "send immediately (when saving application)" is also checked.
    I need to configure it for VF01 transaction.
    The error message displayed was " please maintain output device in master data".
    Regards,
    Umesh

    Hi Umesh
    Please check if you have missed any of the following:
    1. Defining Access Sequence(can use existing).
    2. Defining Output Condition Type(can use existing). - Assigning the Driver Program and Form in processing routine.
    3. Output Determination Procedure
    4. Assign Output Procedure to Billing Types
    Kind Regards
    Eswar

  • How can we find print program for user defind Tr. Code.

    Hello Friends,
    If I know the user defined Script Name and Corresponding Tr. Code, How can I find Print Program. In TNAPR Table, I am getting SAP Standard forms and corresponding print programs?
    Thanks & Regards
    Sathish Kumar

    Hi Sathish,
    You can use the table TTXFP to get the name of print program by entering the Script name.
    Hope this helps.
    Regards,
    Saurabh

  • Check printing program

    Hi Experts
    Does any body provide me a program of check printing.
    As i dont wanna to creat it again.
    Thanks
    Abhi.

    Hello,
    There are number of check printing programs available.
    Go to SA38
    Put RFFO*
    You will get number of check printing programs available in the system.
    If they are not suitable then you can copy them and modify to your requirements.
    Regards,
    Ravi

  • Acrobat Pro 8, Vista and Office 2007 - No PDF printer available

    Hello,
    I try to install Acrobat 8 Pro on a Vista professional based machine with office 2007 but I can't generate any PDF docs.
    I try to install acrobat with my account (group administrator) or directly with the administrator account with the same result : no PDF virtual printer was created and it's impossible to add one using an existing PDF port or by creation of a new one.
    I try to update my installation with the 8.10 update but no changes... Can someone help me with this issue ?
    Thank you.

    Here is a more complete description of my problem and the things I have tried. Any help would be greatly appreciated.
    http://acrobathelp.blogspot.com/2008/01/adobe-acrobat-8.html
    No pdf printer driver is installed. When I print from an Office 2007 saving as adobe pdf I get the following error message:
    PDFMaker cannot locate the Adobe PDF Printers printer driver. Please re-install Adobe Acrobat 8.0.
    The printer driver is in fact NOT installed. I look at the system printers and there is no PDF printer driver.
    I have re-installed several times. I called support and they wont help me because I purchased a volume license and it will cost me $40 to get support.
    I have searched user groups and Adobe knowledge bases to no avail.
    I have tried to install the driver myself with the .inf files located in the dir C:\Program Files\Adobe\Acrobat 8.0\Acrobat\Xtras\AdobePDF there are the following .inf files. None of them will install when I try to add a printer and select have disk and select any of them.
    AdobePDF.inf AdobePDFCT.inf AdobePDFK.inf
    AdobePDFCS.inf AdobePDFJ.inf
    I get the following error:
    "Printer driver was not installed. Unable to find a core driver package that is required by the printer driver package."
    The msi installer has created two printer ports Documents/*.pdf (Adobe PDF port), and Desktop/*.pdf (Adobe PDF port)
    I have tried Uninstalled and reinstalled several times. I have also tried repair several times

  • I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    You can either use Office for Mac 2011 or use Boot Camp to run Windows or use a VM, such as Parallels Desktop to run Windows. Running Windows, you'd be able to use MS Office for Windows.
    Clinton

Maybe you are looking for