Skip to Content

Normally, when I backup my ABAP codes, I just COPY-PASTE it in a notepad or in a word document. This technique is ok. But now I want to have
a PDF file so I can save it into my mobile phone in order to view it anywhere at any given time.

Well, this is now the solution I discovered which I want to share to everyone.


  • At the lower right part of the ABAP editor, you will see this button in yellow. That button is below the vertical scroll bars.
    Click this button to view the different options. Click button found at the bottom right of the editor. (Highlighted in following screenshot)


  • From the options, click keyboard. Then select File.ExportPDF from the command list. Please refer from the screenshot below.


  • On the input box, New Shortcuts, type SHIFT+BACKSPACE. Then click the button Assign. By the way, the combination of the keys can be
    different from yours as long as it is available. It so happened that this key combinations are available so I used in this tutorial. After clicking the
    Assign button, you will see the keys reflected in the Shortcuts for selected commands textbox. Then click the Save button afterwards.


  • Once you save the settings you did above, you will be back into your ABAP editor. Now, in your editor, pressed the key combination you set. In my case, I will press SHIFT+BACKSPACE. Immediately, the Save dialog box will be prompted like this one. Type the filename of your file and locate the directory where you want to save. Finally, click the Save button to create the PDF file.


PDF output:


To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Former Member

    Similar steps can be used to download as RTF (which will launch in Wordpad or MS Word) and download as HTM (which will launch in web browser).

    Ctrl+S saves the program to repository, Ctrl+Shift+S saves it to text file on presentation server.

  2. Łukasz Pęgiel

    This can work for simple programs, I cannot imagine doing a backup of the code of programs /classes with more complicated structure. And what about screens, GUI statuses?

    To do the backup is wiser to use SAPLINK instead.

  3. Former Member


    when i try to configure it on my sap abap editor i am getting the below error.

    shortcut already assigned to action edit delete back

    Please let me know how i can configure it to download the code into PDF format.



      1. Former Member

        Hi ,

        I have checked Ctrl + shift + c   still its not working.

        Please let me know if there is any further alternative. i am getting the below information.

        shortcut is already assign to edit. delete back



  4. Former Member

    Now who would want to view his/her ABAP code [sic! –> it’s singular!, _not_ “codes”] “on my mobile phone in order to view it anywhere at any given time” ?

    I imagine only very nerdy people wanting to view their ABAP code on a mobile phone at any given time. What’s the use? Don’t you have anything better to do? Perhaps boast with your ABAP code in front of your friends while riding the bus home after work? Or do you get up at 3a.m. in the night to check that the ABAP PDF on your mobile still looks ugly?

    1. Ulrich Brenner

      I love how you absolutely freaked out reading this very useful blog post and posted that flame after several years of not posting anything! 😀

  5. Former Member

    Great article!

    Exporting in HTML, now I can read the document more often, and easy and then print oto PDF.

    And more, we can export this documment to a Technical Documment or a Blueprint Documment for the clients.

    Very good!

    1. Former Member

      Hi Naimesh,

      Regardless the usability of this specifc feature,

      I don’t see any harm in publishing a well documented blog about a subject which was discussed in an hidden old discussion (Which probably no one is aware of).



      1. Custodio de Oliveira

        Hi Shai,

        I do see a problem with that as if you simply search on SCN for abap, edito and pdf you will find this “hidden” reply from Rich. Here is the search in case you don’t believe me: Redirecting…

        This blog post is in my POV absolutely unnecessary and just creates (more) noise. But I have to say I’m really enjoying some comments.



        1. Matthew Billingham

          Unfortunately, I didn’t spot Richard’s post before I approved this document. You are absolutely right that there is little added value. However, it would be unfair to reject it now.

          And yes – some of the comments here are… entertaining.

  6. Richard Harper

    “save it in my mobile phone so I can view it anywhere”…….


    Why ???

    The code isn’t yours to take if it was developed for a customer,  and if I were to take customers code I would use SapLink…..

    And….. oh – I wouldn’t put it on my phone.



Leave a Reply