‎2008 Apr 21 8:37 AM
Hi All,
Im getting this error " Different number of parameters in FORM and PERFORM (routine import_i, number of formal parameters:0, number of actual parameters:2)
This is the code.
if not aa_ifil1 is initial.
perform import_i_a using aa_ifil1 'A'.
endif.
if not aa_ifil2 is initial.
perform import_i_b using aa_ifil2 'B'.
endif.
if not aa_ifil3 is initial.
perform import_f_a using aa_ifil3 'A'.
endif.
if not aa_ifil4 is initial.
perform import_f_b using aa_ifil4 'B'.
wat is teh issue.
regards
Ab
Edited by: AbUser on Apr 21, 2008 1:09 PM
‎2008 Apr 21 8:41 AM
hI ABU IN PERFOMR U ARE USING 2
perform import_i_a using aa_ifil1 'A'.M,IGHT BE U R NOT USIGN ANY HTING IN THE FORM STATMENT CHEKC THE code once and let me know for further..
regards..
‎2008 Apr 21 8:42 AM
can you paste your form statement
you must be writing your form as
abc type aa_ifil1 .
form import_i_a using abc 'a'.
endform.
‎2008 Apr 21 8:44 AM
You are passing 2 parameters to the subroutine.
Check that in the declaration of subroutine, there are 2 formal parameters under USING .
If yes, go out of the program. and open it once again and check.