From SAPScript 'Print Preview' can i down load o/p to Desktop in PDF format

Hi All,
I have generated SAP Script output.
I am viewing the same through 'Print Preview'.
Now i want to download this output to my desktop in PDF format.
How can i achieve this!
Thanks in advance.
Thanks,
Deep.

Hi,
after u get the OTF data, Use the below FM to get the print priview in PDF format and can be saved from print preview screen.
DATA : otf_data TYPE itcoo OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
       EXPORTING
            i_otf                    = otf_data1[]
       EXCEPTIONS
            acrobat_not_registered   = 1
            convert_otf_to_pdf_error = 2
            download_error           = 3
            acrobat_not_started      = 4
            cntl_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.
also, it is important to pass 'GETOTF  (it_itcpo-tdgetotf = 'X'.)' in OPEN_FORM to get OTF data..
Rgds,
Pavan

Similar Messages

  • How do i get a radio station number from  down load the station tomy ipod, how do i get a radio station number from itunes it only plays on the computer i can not down load the station tomy ipod

    How do i get a radio station number from itunes it only plays on the computer i can not down load the station number as it does not show one to my ipod

    Which iPod? 
    iPod Manuals
    iPod Models

  • How can I down load ios5 from my ipad2

    How can I down load ios5 from my ipad2

    Only once you've got iOS 5+ on the iPad can updates then be done wirelessly directly on the iPad, until then you need to update via your computer.
    To update to iOS 5.0.1 you need iTunes 10.5 on your computer. When you've got iTunes 10.5 installed then connect your iPad to it and copy any purchases off the iPad to your computer's iTunes via File > Transfer Purchases. You should also backup the device (right-click the iPad 'device' and select 'back up'), and copy off any important documents, files, notes etc (e.g. by email, the file sharing section at the bottom of the Apps tab, wifi, whatever the apps that you use support) - the update process should backup and restore your content but it's best to be safe.
    If iTunes doesn't then prompt you to update to iOS 5 on your iPad, then with the iPad connected to and selected on the left-hand side of it, then on the Summary tab on the right-hand side click the Check For Updates button.

  • I can't down load my images from my Nikon D4 to Apeture.

    I can't down load my images from my Nikon D4 to Apeture.

    Hi skhart1998,
    I also use Nikon D4, D2H and D2Xs
    I use Nikon Transfert 2, the latest version, to download my shots to my MacBook Pro hard disk in a picture folder. After this I use Aperture Import to place the New folder created in the Nikon folder in the Aperture Inspector folder... This way, I always have the copy of my originals files.
    .jpg or .nef  work fine.
    Denis

  • How many machines can I down load my product too? And how to remove from one and add to another?

    How many machines can I down load my product too?

    If you purchased a download from Adobe, you can find the download link in your Adobe account. If you have a serial number, you can download a trial version from the Acrobat product page at http://www.adobe.com/products/acrobat.html. You can enter your serial number when you run the trial to convert it to a licensed copy. If you registered your serial number, it will be listed in your Adobe account. To access your account, click My Adobe at the top right of the Adobe.com site, just beneath the main navigation bar.

  • From where can i down load the free Bootcamp programme?

    From where can i down load the free Bootcamp programme?

    Hi bulldog,
    it's called 'Boot Camp Assistant' and is part of macOS install. Should be in the: HD/Applications/Utilities folder.
    If you don't have it you need to re-install your OS...

  • Can u down load contact from iPhone to iPad 1 64 3g

    Can u  down load content of contact from I phone to I pad 3g64 

    No.  You synch your contacts between your iPhone and iTunes.  Then synch those contacts to your iPad.

  • HT4993 Can you down load music from home computer to IPhone 4?

    Can you down load music from your home computer to your IPhone? I own alot of CD's and and have to them on my computer and want to transfer to my IPhone  can that be done?

    Yes. Just import your tracks to iTunes and sync your iPhone

  • HT201302 how can I down Load Photios from My Camra Card

    How can I down load my Camera card to my I cloud

    http://www.howtogeek.com/175416/no-icloud-isnt-backing-them-all-up-how-to-manage -photos-on-your-iphone-or-ipad/
     Cheers, Tom

  • Can you down load the new IPHONE 4.3 with our usinf Itunes

    how can I down load the new update for my Iphone 4

    The same way you download every update for iOS.
    Connect the iPhone to the computer.
    Open iTunes.
    Select the device from the left pane.
    Select "Check for updates".
    Follow on-screen instructions.

  • When I try to down load any apps the screen shows -example you tube app can't down load this time. This is appearing every time on the screen and options are Done/reentry please do my favour.

    When I try to down load any apps the screen shows -example you tube app can't down load this time. This is appearing every time on the screen and options are Done/reentry please do my favour. 

    This query seems to be related to Edge Code. you can get help from this forum.
    Also EdgeCode doesn't have troubleshooting page but you can get help from Brackets trouble shooting page.

  • Can I down load movies to my new iPod nano

    can I down load movies to my new iPod nano

    Hi SB07!
    You can sync videos from your personal computer to your new iPod nano using iTunes and play them there by following the information in this article:
    iTunes: Syncing media content to iPod
    http://support.apple.com/kb/ht1351
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • I have 10.5.8 can I down load Lion?, I have 10.5.8 can I down load Lion?

    I have 10.5.8 can I down load Lion?, I have 10.5.8 can I down load Lion?

    10.6.8 introduces the Mac Application Store, the only way to download Lion on the web. However, you can purchase Lion on a USB dongle for $69 US from Apple.
    Although you can't update Leopard from the dongle, you could clone the Leopard volume and erase and install Lion on the original partition and then use the Leopard compatible Migration Assistant. http://support.apple.com/kb/DL1434?viewlocale=en_US&locale=en_US
    All in all, cheaper to just buy Snow Leopard, and then buy Lion from the Mac Application Store.

  • Can't Down load photoshop

    I Have a mini laptop without a CD drive & have been gifted an Adobe photoshop elements 11 how can I down load it?

    Okay thanks heaps
    Regards Julie
    Sent from my iPad

  • I can' t down load apps in my iphone because i open my itunes in united sta

    i can not down load apps in my i phone because i open my itunes in united states and i buy my iphone in france how can i do it??? every time i try, it ask me for my billing address and when i write the infomation, it wont let me it keeps asking the same cuestion over and over, an d is the same thing if i try to doit with my i phone or my mac

    "
    iTUNES STORE
    TERMS OF SALE
    TERMS OF SERVICE
    GIFT CERTIFICATE, iTUNES CARDS, CONTENT CODES AND ALLOWANCES
    APP STORE TERMS AND CONDITIONS
    LICENSED APPLICATION END USER LICENSE AGREEMENT
    iTunes Store
    TERMS OF SALE
    U.S. SALES ONLY
    Purchases or rentals (as applicable) from the iTunes Store are available to you only in the United States, its territories, and possessions, and are not available in any other location. You agree not to use or attempt to use the iTunes Store from outside of the available territory. Apple may use technologies to verify such compliance."

Maybe you are looking for

  • Invoice for Freight Vendor

    Hi I have one Issue 1. I have created one Purchase Order for trading goods material; there I have forgotten to enter the Freight Condition   type . 2. But I did GR and cleared the Invoice for main vendor. 3. More over This Material is sold to custome

  • While running Firefox 3.6.8, pc reboots when manually moving forward in flash video!

    I loaded a video from Radio-Canada Tou.tv site. If I let the video run for a little while, and then I drag the time bar to move forward in the video, that causes my pc to stop and reboot every time! I have accessed the same video with Internet Explor

  • Certain Album Not Showing

    Hi I bought an album from the iTunes Store, but it is not showing in my library. (I have iTunes Match). When I go to view my past purchases in the iTunes Store, it says they are downloaded...Where are they??? Using iTunes 11

  • Firefox crashes 10-20 times a day. Absolutely useless for office work.

    I have read all the suggestions, including restore (done; which caused all sorts of other issues with links and business use). Nothing seems to work. Mozilla is stopping business and we're going to switch away after 10+ years if this continues. Repor

  • Workflow not in Graphical form

    Hi All   When I open tcode SWDD - Workflow builder . It is not coming in graphical structure i.e I am unable to view the flow chart version of the workflows . Appreciate if anybody could help me .