Skip to Content

PDF! Functionality

Here's an odd for you. We are currently using the command PDF! when previewing a PO. This converts PO to PDF and opens it up in a PDF Viewer where the user can save, print, email the PO. Is there a way to modify the PDF Preview? For instance when they click email to attach it to an email, give the file a specific name (PO# maybe)?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 15, 2014 at 09:00 AM

    I have seen someone make a copy of FM SSFDISPLAY_OTF (which shows OTF preview) and make changes to GUI status so that extra buttons for downloading as PDF, Excel etc can be shown to user. The logic for handling PDF! is written in same function group.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2014 at 09:49 PM

    Hi Scott,

    the pdf-preview comes from your local viewer. So what do you expect? The name right here has nothing to do with anything inside your system and out of that you are not able to change the name in any form.

    I also believe that there is no solution for your desktop in front.

    But why don't you just send your po via SAP itself and therefor you got all opportunities. Set a text before, name the file and I think the most important thing have something to archive.

    Before you ask, yes you have to develop some lines. I can imagine a additional button which process the message and opens the email-dialog of class CL_BCS. Pretty easy to understand and very powerful.

    By the way CL_BCS has a really nice OO-Context also.


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Scott,

      thanks so far, you could implement a second button anyway and just implement the "download-to-desktop" function.

      How does the name of your download look right now? I do not have access to a system right now, that's why I'm asking. I never faced a problem like that, so I just want to make sure, that there is no other solution to it.