Show TOC

Saving Runtime Information About Form Generation LocallyLocate this document in the navigation structure

Use

Form developers and support desk staff can use this function to analyze the causes of any errors that occur when forms are generated. You can save files that contain the following information to your PC:

  • Runtime information

    The system saves the trace information returned by Adobe Document Services to your PC. This information is a subset of the trace information stored by the J2EE Engine used as a host system for Adobe Document Services. The detailed trace information is located in the file defaultTrace.trc on the J2EE Engine.

  • PDF file with additional information

    The PDF file with additional information consists of the generated PDF form or, in the event of errors, an error file. Attached to either of these files are various additional files including, for example, application data (in XML format) sent to the form at runtime, and the runtime information mentioned above.

    More information: Analyzing ADS Errors in an ABAP Environment (in English)

  • For multiple forms: runtime information and PDF with additional information

    If multiple forms are called in the application program, the information is saved to separate files. An extra sequential number is added to each file, in addition to the existing numbering.

Once a setting is chosen, the system saves this information for all forms that are generated while the user is logged on.

Note

To get the runtime information directly in the calling application program, use a function module.

More information: Setting Runtime Error Analysis in the Application Program

Prerequisites

You have debugging authorization in the system where you want to use this function.

Procedure

Activating the Function in the Form Builder

  1. In the Form Builder (transaction SFP)), choose Start of the navigation path Utilities Next navigation step Settings... End of the navigation path.

  2. Activate the function as follows:

    • To specify how the runtime information is saved locally, choose an option under Trace Level and enter the name of the file. If you do not specify an extension for the file name, the system saves the runtime information automatically in a file with the extension TXT.

    • To activate the function PDF with Additional Information , proceed as follows:

      1. Under Trace Level , select the option Very Detailed Trace .

      2. Set the indicator Save PDF with Additional Information .

      3. Specify the file name or use the F4 help to select a file.

Activating the Function Using User Parameters

  1. Call the transaction for editing your user profile SU3 or the transaction for user maintenance SU01.

    Note

    You need extra authorization to maintain other users' profiles.

  2. Select the Parameters tab and enter the required parameters and values according to the following table:

    Parameter ID

    Parameter Value

    Meaning

    FPTRACELEVEL

    04

    Sets the trace to the value required to save runtime information locally

    FPTRACEFILE

    <File name>

    Optional: File for saving runtime information locally

    FPSAVEERRORPDF

    X

    System creates a PDF file with additional information

    FPERRORPDFFILE

    <File name>

    Name of file for saving the PDF file with additional information locally

    Caution

    Reset these values after the trace.