Skip to Content

Introduction

This weblog explains various steps involved in configuring an existing output types (also called Condition types) for PDF-Based print forms.

Configuring output types for PDF-Based print forms is almost similar to the configuring output types for smart forms.

Prerequisites

  • Print Program (Which contains logic to call PDF-Based print form)
  • Form (Which is designed using Adobe Live Cycle designer tool from transaction SFP)
  • Authorizations to transactions NACE/NACT

Example scenario

Let us take standard output type BA00 (which is used for Order confirmation) to configure for PDF-Based print forms.

Let us assume that output type BA00 need to be configured for PDF-Based print form ZPDFFORM and the form routine is ENTRY in the print program ZPDFPROGRAM.

This output type can be configured as illustrated in the below steps.

Steps

Step 1:

Go to transaction NACE, choose the application type V1 and click on the ‘Output types’ button in the application tool bar.

This graphic is explained in the accompanying text

Figure 1: Conditions for Output Control (Transaction NACE)

Step 2:

Click the ‘Change/Display’ button in the application tool bar. Choose output types BA00 and double-click on the ‘Processing routines’ folder in the Dialog Structure.

This graphic is explained in the accompanying text

Figure 2: Output types Overview

Step 3:

Specify the print program ZPDFPROGRAM, form routine ENTRY, PDF Print Form ZPDFFORM and finally choose Form type value ‘PDF’ in the ‘Processing routines’ screen.

Form type parameter value should be ‘SmartForm’ for smartforms

This graphic is explained in the accompanying text

Figure 3: Processing routines

Step 4:

Save the data.

Output type BA00 is configured for PDF-Based print form ZPDFFORM. Now test the setup from transaction VA02 after creating condition record with the output type BA00.

Step 5:

Create a condition record with the output type BA00 in the order from transaction VA02. (Menu path: Extras –> Output –> Header –> Edit)

This graphic is explained in the accompanying text

Figure 4: Creating condition record in the Order

Step 6:

Go to the transaction VA02 and enter the order number . Choose ‘Issue Output To’ menu item from the Sales document menu path.

This graphic is explained in the accompanying text

Figure 5: Sending output to the printer

Step 7:

A popup box appears with the configured output types for that order. Select the output type and click Print Preview.

This graphic is explained in the accompanying text

Figure 6: Choose the output type

Step 8:

If the output type is properly configured, it displays PDF print form some thing like below.

This graphic is explained in the accompanying text

Figure 7: Print Preview of a sample PDF Print Form

Once a new output type or an existing output is configured for output types, the data can also be maintained with the maintenance table VN_TNAPR using transaction SM30.

Additional Information

The following SAP library links contains detailed documentation on PDF-Based print forms and Message Control customizing.

PDF-Based Print Forms

Message Control Customizing

Note

Many other parameters also need to be configured as per the business requirements when defining a new output type. All those parameters may not be relevant for our topic. Hence this weblog explains only those specific configuration steps, which are required for PDF-Based print forms.

To report this post you need to login first.

4 Comments

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

  1. Srinivasu Cherupally
    Hi Ramakrishna,

    It’s nice to see the sequence of configuration steps detailed by you to link Output types with PDF forms, but my question to you is ‘What has really changed in the steps outlined between configuration for PDF forms and SF’s’?

    I see no change at all…..What am I missing here?

    (0) 
    1. Venkata Ramisetti Post author
      Hi,

      Thanks for your good observation.
      The only change for configuration between PDF-Based Print forms and Smart Forms is Form type.

      If we are configuring for PDF-Based print forms then Form type(FORMTYPE) = ‘PDF’.

      If we are configuring for PDF-Based print forms then Form type(FORMTYPE) = ‘SmartForm’.

      (0) 

Leave a Reply