Application Development and Automation 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: 
Read only

Error

Former Member
0 Likes
560

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
Read only

former_member386202
Active Contributor
0 Likes
525

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

Read only

Former Member
0 Likes
525

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

Read only

Former Member
0 Likes
525

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

Read only

Former Member
0 Likes
525

Hi,

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

Read only

Former Member
0 Likes
525

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.