Migrating Smart Forms

Use

You want to migrate a form created using Smart Forms to a PDF-based form from the new SAP Interactive Forms by Adobe solution. You want to continue using your existing program for calling forms.

Prerequisites

All graphics that are used in the Smart Form have already been migrated. See also: Migrating BDS Graphics into the MIME Repository.

Procedure

To perform a complete migration and to call the PDF-based form, proceed as follows:

Migrating a PDF-Based Print Form

  1. Go to the Smart Forms initial screen (transaction SMARTFORMS).

  2. Choose Start of the navigation pathUtilities Next navigation step Migration Next navigation step Interactive Form Next navigation step ExportEnd of the navigation path.

  3. In the dialog box, enter the name of the Smart Form that you want to migrate, the name of the PDF-based target form, and the target interface. The system suggests the name of the Smart Form as the name for the target form and target interface. You can change these names. The target form and the target interface can have different names.

  4. Choose Continue.

  5. The system displays the Settings dialog box where you can flag various options for migration. To activate the selected options and close the dialog box, choose Continue.

  6. In the dialog box Create Object Directory Entry, enter a package for the interface, or save it as a local object.

  7. Assign the form to a package, or save the form as a local object.

  8. The system migrates the form.

  9. If no errors occur during the migration, you can activate the new interface and the PDF-based form. If you see an error message, read Migration with Errors or Warnings below.

Activating an Interface and PDF-Based Print Form

If the form was migrated without errors, the system returns a corresponding message. You now have a PDF-based form (consisting of a form and interface) that you can edit. Initially, migrated forms and interfaces are always inactive and therefore have to be activated before a call can be made from the application.

To activate or edit the form, choose Start of the navigation pathUtilities Next navigation step Migration Next navigation step Interactive Form Next navigation step EditEnd of the navigation path. The system displays the initial screen of the form builder for PDF-based forms. After you have activated the form, you can switch runtime as described below.

Switching Runtime

To call the PDF-based form from the application without changes to the ABAP program and formal parameters, proceed as follows:

  1. Choose Start of the navigation pathUtilities Next navigation step Migration Next navigation step Interactive Form Next navigation step Switch RuntimeEnd of the navigation path.

  2. In the dialog box Switch Runtime, enter the name of the Smart Form and the name of the PDF-based form. In the Runtime Type field, select the form that you want to output at runtime.

  3. If the PDF form is assigned to a transportable package, you have to assign the runtime switch to a transport request. If this is the case, the system automatically displays a corresponding dialog box.

Migration with Errors or Warnings

If errors or warnings occurred during migration, and the Smart Form was migrated only partially or not at all, a log is displayed. This log is written to the application log and is kept in the system for a week.

To display the log within this time period, choose Start of the navigation pathUtilities Next navigation step Migration Next navigation step Interactive Form Next navigation step Display LogEnd of the navigation path.