Show TOC

Setting Runtime Error Analysis in the Application ProgramLocate this document in the navigation structure

Use

If the system outputs a runtime error FPRUNX001, FPRUNX002, or FPRUNX004 when the generated function module is called, you can use troubleshooting to find the cause of the error.

To do this, you can call function modules in the application program that provide the following information:

  • Troubleshooting texts

  • Trace of Adobe Document Services

Prerequisites

You have created the form layout with Adobe LiveCycle Designer.

Procedure

Calling Troubleshooting Texts

To get information about the cause of the error, once you have called the generated function module, call the function module FP_GET_LAST_ADS_ERRSTR.

Activating Trace Output

  1. In parameter IE_OUT_OUTPARAMS (type SFPOUTPUTPARAMS) of function module FP_JOB_OPEN, set the field ADSTRLEVEL to a value between '01' and '4'.

  2. To get the trace, once you have called the generated function module, call the function module FP_GET_LAST_ADS_TRACE.

Note

Note that if ADSTRLEVEL = 04, a PDF with additional information is generated, if a PDF is requested in the print program. Printing such a PDF using device type SAPWIN with SAPSPRINT (as of SAP NetWeaver 7.3) is not supported. However, you can view the PDF with additional information in the spool in the preview.

More Information

SAP Note 717568 Information published on SAP site

SAP Note 1444342 Information published on SAP site