Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
venkata_ramisetti
Active Contributor

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.

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.

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

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)

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.

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.

Figure 6: Choose the output type

Step 8:

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

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.

4 Comments