I finally finished my first SmartForm and I transported it to our test box (TL2). When I run the transaction (VL70) I get a short dump as follows:
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class
'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was neither
caught nor passed along using a RAISING clause, in the procedure
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
A PERFORM was used to call the routine "SMARTFORM_PRINT" of the program
<b> This routine contains 0 formal parameters, but the current call
contains 2 actual parameters.
Here is the code in question:
875 PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
877 IF FOUND.
878 * restore original NAST record (in case TNAPR-RONAM changed something)
>>>>> NAST = TEMP_NAST.
It looks to me like I need to add two parameters in my SmartForm_Print form. However they are not there in the Dev system so why are they needed in the Test system? Is it something else or do I need to add these two parameters?