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: 

Error

Former Member
0 Kudos

Dear All

The following error occured

Different number of parameters in FORM and PERFORM (routine: GET_FINMONTH_NAME, number of formal parameters: 1, number of actual parameters: 2).

how to slove this error

Thanks and Regards

Suresh

5 REPLIES 5

former_member386202
Active Contributor
0 Kudos

Hi,

I think variables which u r passing with perform statement are not matching with the form statement. Variables should be same i mean no. of variables.

Reagrds,

Prashant

Former Member
0 Kudos

check the number of variables/parameters in FORM and PERFORM.

Former Member
0 Kudos

Hi Suresh,

You have passed some number of values in the perform which dint match in the form.

Eg: Perform f4000_get using c_ex1 c_ex2 c_ex3.

form f4000_get using c_ex1 c_ex2.

So please check the number of parameters.

Reward if useful.

Regards,

Chitra

Former Member
0 Kudos

Hi,

u should give the variable same for actual parameter and formal parameter.

Former Member
0 Kudos

Hi, You are giving 2 actual parameters that means in the form and endform. But while defining the form means at perform statement you have given only one parameter. Just check it.