Skip to Content
Author's profile photo Sailaja Rangam

Usage and System Error in SAP Adobe Forms

We have received several issues where users are not unable to preview Adobe Form. System doesn’t show any error message. When we start debugging we can see SY-SUBRC becomes 1 or 2 after FM being called. It says Usage Error or System Error.

We need to analyzed the standard program, and involves sequence of break-points. I thought it will be helpful to put the sequence, and it is going to save the time.

Here are the sequence of steps used to analyze the issue in case of such Error.

USAGE ERROR:

Start debug the FM used to call Adobe form (Press F5), and put a break-point at subroutine %WORK as shown below.

Debug the Perform, we can come to know exactly which field is causing the issue. Most of the time, issue with long text display.

SYSTEM ERROR:

Start debug the FM used to call Adobe form (Press F5), and put a break-point at FM: ‘FPCOMP_FORM_END’ as shown below

Start debug the FM: FPCOMP_FORM_END, and navigate to subroutine FINISH as shown below, and put the break-points at highlighted position below.

Navigate to sub-routine CREATE_OUTPUT_CURRENT_FORM in sub routine FINISH_FORM

And Access FM: FPCOMP_CREATE_PDX, and we can read the runtime error in FPEX as shown below.

Below Method we give the error message, and we can final error at the end of FM as shown in next screenshot.

 

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Nagabhushan H.S
      Nagabhushan H.S

      Very help full, it solved one of my issues. 🙂

       

       

      Author's profile photo HarikaSri Vyasam
      HarikaSri Vyasam

      Excellent Sailaja ! I have identified the issue with the help of this document.

      Author's profile photo Satish Kumar Balasubramanian
      Satish Kumar Balasubramanian

      Sailaja Rangam,

      Very helpful Blog!

      Would like to add a short note: The Highlighted line below will exactly display the error with respect to the system Error. You can double click on the Value field and check for details.

      Regards!

      Author's profile photo Nitish Chawla
      Nitish Chawla

      Very Helpful blog. Helped a lot. Keep up the good work and keep posting 🙂

      Author's profile photo Sumashree Bhavikatti
      Sumashree Bhavikatti

      Thankyou so much, very helpful. Resolved my issue

      Author's profile photo Toshit Jawale
      Toshit Jawale

      Hello Experts,

      I am also getting same USAGE_ERROR. But debugger is not stopping in the same position.

      Not getting why dump is occurring. There is no any Include text is given in the Adobe form.

       

      Please help to get this issue resolved

       

      Author's profile photo Mani Chinnaiah
      Mani Chinnaiah

      Satish Kumar Balasubramanian,

      We are trying to fix the above issue. I would appreciate if you please provide the name of the FM or program from where you have pasted the screen shot.

       

      Thanks