Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForm will not work in Test

Former Member
0 Kudos

Hello,

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:

"Error analysis

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

"PROGRAMM_AUFRUFEN" "(FORM)"

.

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

"ZRVADEK01".

<b> This routine contains 0 formal parameters, but the current call

contains 2 actual parameters.

parameters.</b>"

Here is the code in question:

875 PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE

876 US_SCREEN

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?

Regards,

Davis

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Davis,

Have you maintained the condition records (NACR) for V4 and output type EK00?

Regards,

Ferry Lianto

7 REPLIES 7

ferry_lianto
Active Contributor
0 Kudos

Hi,

Have you configured the output control (NACE) in test box?

Regards,

Ferry Lianto

0 Kudos

Ferry,

Yes I double checked it and they are the same. I actually did it in V/38 (EK00 does not show up in NACE) and checked that the results went through via table TNAPR.

Regards,

Davis

ferry_lianto
Active Contributor
0 Kudos

Hi Davis,

Have you maintained the condition records (NACR) for V4 and output type EK00?

Regards,

Ferry Lianto

0 Kudos

No, I didn't do that in Dev either. When I go to NACR and input Application: V4 and Output Type EK00 it says that "There are no access sequences for condition type EK00"

It gives me the same error in test and Dev.

When I do an F4 on the Output Type field it tells me that there are "No Values Found" (both Dev and Test)

Regards,

Davis

Message was edited by:

Davis

ferry_lianto
Active Contributor
0 Kudos

Hi Davis,

Interesting ...

Did you test in DEV using transaction VL70 without maintaining condition records? Any problem?

Regards,

Ferry Lianto

0 Kudos

Ferry,

It works great in Dev using VL70. I double checked the code in the print program and it is the same.

Regards,

Davis

Former Member
0 Kudos

I am just hoping that somebody may have an answer or a suggestion.

Regards,

Davis