Skip to Content
avatar image
Former Member

Replicating PZ11_PDF functionality in WebDynpro.

Hello Everyone.

We currently use the ITS transaction PZ11_PDF to present the employee's remuneration statement in the Portal. However, we are currently in the process of migrating all our ITS services to WebDynpro in order to maintain a consistent user interface throughout the portal. This has worked out great for some of the "simpler" services, however with the remuneration statement we are a little lost in terms of how to present the payslip in PDF format in webdynpro.

In case any of you is not familiar with the functionality of PZ11_PDF I will explain it to you:

  • First the employee is presented with three different options to select the payroll results for remuneration statement display.

  • Once the employee does the selection it is presented with a list of payroll results.

  • The employee must then select one of the results and select "Display Remuneration Statement" for it to show further down on the screen in PDF format. This PDF document is generated in R/3 and is based on a form created with transaction PE51.

Now, my specific questions are:

1.- How can I get R/3 to generate the PDF based on the specified form, and then pass it up to WebDynpro via RFC? Is this the correct way?

2.- Assuming that I managed to get the PDF document, how do I display it in the WebDynpro application, with all of the Adobe Reader functionalities? (Save, Print, Zoom, etc..)

Thanks a lot for your help.

If you need any more details, don't hesitate to ask for them.

Regards,

Francisco.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 29, 2007 at 07:58 PM

    Hi Francisco.

    I am not familiar with PZ11_PDF but if it's standard SAP functionality I would advice you to find out what SAP ships in the newest ESS/MSS packages and if it is not clear if the functionality is included or not create a CSN asking if you will loose the functionality if you decide to upgrade.

    Even if you have to implement the functionality yourself, it is very doable. You will simply have to setup Adobe Document Services (ADS) and do a bit of SmartForm configuration and ABAP coding for handling the form and passing it via RFC to Web Dynpro. In Web Dynpro you simply include a Interactive Form element on the view layout and connect the properties to context elements and use the model to fill the context. All steps are documented in the SAP Help Portal.

    Samuli

    Add comment
    10|10000 characters needed characters exceeded