Simple Steps to enable PDF printing for Web Dynpro


Prerequisites

1) SAP Net weaver 7.3 As Java System (ADS should be installed), is not the please deploy ADOBE DOCUMENT SERVICES 7.31 SP07.

2) SAP Business Suite 7 System

3)Profile Parameter SAPFQDN should be set in both As Java and As ABAP system.

The general ADS setup should be completed first between the AS Java system where the ADS component is installed and ABAP system where PDF printing should be configured.

Basic configurations steps can be checked in below link.

ADS Configuration in Netweaver 7.3

After successfull completion of steps shown in above document we need to do further steps for enabling ADS functionality in Web Dynpro.

Prerequisites after basic setup is completed:

Make sure following USAGE TYPES are fully configured in AS JAVA System where ADS is configured and running.

  • AS JAVA
  • Adobe Document services
  • PDF Export


Note: Missing Components need to be verified and deployed ( Please be careful to check the Software components which are missing and then try to implement first in sandbox or dev system first)


Observation : You will see 2 r 3 components related to BI Base Components missing from  Usage Type PDF Export


Once the SC are deployed if needed , we need to create a TCP/IP RFC in AS ABAP system where we want to enable ADS for web Dynpro.


Following steps using :1413938 – WD ABAP ALV – creating print version


Steps:


Navigate to this path in AS ABAP System  using tcode SPRO –

SAP Customizing Implementation Guide

    + SAP NetWeaver

      + Application Server

        + SAP List Viewer (ALV)

          +Click on Create RFC Destination in AS ABAP ( Read the help document before setting up RFC since the setup changes according to the way we want to generate PDF document  and also the AS JAVA release )


This Document steps shows for following scenario:

1) Generating PDF Document using ADS

2) Java release is 7.31

If the above 2 points matches then follow the steps below:

RFC creation:


Fingure 1 .jpg

Now Create JCo RFC in AS JAVA System where ADS in installed.


Fig 2.jpg

Save.

Once saved start the program ID and check the status if its running, once confirmed please check the RFC created in AS ABAP system if the test connection works.

Note: ADS_AGENT user should have all the roles required and also need “s_rfc” role to be assigned.

Now check the results in Web Dynpro by doing a print preview in some reports and should get the ADS Format result.




To report this post you need to login first.

Be the first to leave a comment

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

Leave a Reply