Skip to Content

In this weblog, I will be discussing how to enable the print version in the Webdynpro ABAP ALV. The user can print out the ALV output of the web dynpro ABAP application by clicking on the button ‘Print Version’ from the toolbar. ALV then generates a standard PDF file from the ALV output data, starts Adobe Acrobat, and displays the generated PDF file.

The user can use the ‘Settings’ dialog box to make many settings related to the display of the PDF file. The same options are available in your application. Define the presetting for the PDF document as follows:

* Define the paper format and alignment

* Define the size of the printable area

* Scale columns and rows

* Send the output directly to the printer

* Setup the header and footer

image

Here are the pre-requisites to enable ‘Print Version’ in the Web dynpro ABAP ALV.

1. Usage Type ‘BI-Java’ needs to be installed.

2. Web Service Destination for Adobe Document Services (ADS).

3. RFC Destination ‘SALV_WD_EXPORT_PDF’ in SAP WAS.

4. Maintain RFC Destination in J2EE sever.

image

Installation, customization & Trouble shooting are defined in the OSS note: 918236

To test the Print Version feature, you can use the SAP delivered Web dynpro application ‘WDT_ALV’ as shown below:

image

click on the button “Print Version” to display PDF format of Web Dynpro ABAP ALV likes below:

image

To report this post you need to login first.

9 Comments

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

  1. Hi,

    what if the usage type ‘BI-Java’ hadn’t been installed during the initial setup of the NW system? Is there any chance to activate/install this on an already up and running system?

    Thanks & regards
    Wolfgang

    (0) 
    1. BV PILLAI Post author
      Wolfgang,

      Yes. You can install the usage type “BI-Java” in an already up and running system. Only thing you need to ensure is the SP level of BI-Java usage type should match with your existing Usage components.

      Regards,
      Velu

      (0) 
      1. Helder Monteiro
        Hi Velu,
        I’ve a installed ABAP+java system and I´m trying to install the BI java with EP and EP core, with sapinst in that system.
        I’ve already updated to the latest java and abap support packages.
        Sapinst needs also to install a java instance to proceed, but I have one already installed.
        Is this the right procedure?
        Thanks
        (0) 
  2. Albert Plaza
    Hello,
    I’ve installed the Adobe Document Services on my system and I’ve followed all the steps of the note 918236.
    I’ve no errors on the testings of this note.

    But I’m getting the error “Bean SALV_WD_EXPORT_PDFnot found on host X” when I press the button “Printing Version”.

    Can you help me ?

    Albert

    (0) 
  3. Albert Plaza
    Hello,
    I’ve installed the Adobe Document Services on my system and I’ve followed all the steps of the note 918236.
    I’ve no errors on the testings of this note.

    But I’m getting the error “Bean SALV_WD_EXPORT_PDFnot found on host X” when I press the button “Printing Version”.

    Can you help me ?

    Albert

    (0) 
    1. BV PILLAI Post author
      Albert,

      Looks like you do not have Usage Type ‘BI-Java’ installed on your host. Please check the installed components from J2EE server home page.

      Regards,
      Velu

      (0) 
      1. Albert Plaza
        Hello Velu,
        yes, I’ve the BI-Java type installed on my host, but the was installed later than the EP. This is the component BIWEBAPP version 7.00.13 (SP13), the same as ABAP and JAVA components.

        A little more info. Regarding the logs I can see the following:
        #1.#6E049133753B0061000001D9000C406400044C126F1D91BA#1209541964173#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine#J2EE_GUEST#0####6aa6d800168a11ddbc516e04
        9133753b#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Server#Plain###Bean SALV_WD_EXPORT_PDFnot found on host devhr, ProgId =DEVHR_PORTAL_DHR: Object not found i
        n lookup of SALV_WD_EXPORT_PDF.registered entries for FuctionName=JNDIName : {}#

        Any other idea ?

        (0) 

Leave a Reply