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.
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.
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.
Very help full, it solved one of my issues. 🙂
Excellent Sailaja ! I have identified the issue with the help of this document.
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.
Very Helpful blog. Helped a lot. Keep up the good work and keep posting 🙂
Thankyou so much, very helpful. Resolved my issue
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