‎2008 Feb 08 12:20 PM
Hi i am getting error while executing this statement
PERFORM get_cl_acc_value using c_setnr TABLES
I_FORMULA_LINES
I_SET_LINES_BASIC
I_SET_LINES_DATA
I_SET_LINES_MULTI
I_SET_LINES_SINGLE.
ERROR : Field tables is unknown. It is niether in one of the specified tables nor defined by a "DATA" statement
Regards,
‎2008 Feb 08 12:22 PM
change like this and try
PERFORM get_cl_acc_value TABLES
I_FORMULA_LINES
I_SET_LINES_BASIC
I_SET_LINES_DATA
I_SET_LINES_MULTI
I_SET_LINES_SINGLE
using c_setnr
.
‎2008 Feb 08 12:22 PM
change like this and try
PERFORM get_cl_acc_value TABLES
I_FORMULA_LINES
I_SET_LINES_BASIC
I_SET_LINES_DATA
I_SET_LINES_MULTI
I_SET_LINES_SINGLE
using c_setnr
.
‎2008 Feb 08 12:22 PM
hi Santosh,
TABLES has to be before USING:
PERFORM get_cl_acc_value
TABLES
I_FORMULA_LINES
I_SET_LINES_BASIC
I_SET_LINES_DATA
I_SET_LINES_MULTI
I_SET_LINES_SINGLE
using c_setnr.
hope this helps
ec
‎2008 Feb 08 12:24 PM
ya i did this but now i am getting following error
Differene number of parameters in FORM and PERFORM
(routine : GET_CL_ACC_VALUE, number of formal parameters: 5, number of actual
parameters: 6).
‎2008 Feb 08 12:28 PM
change the same in the 'form' statement also
and also check the number of parameters is same in calling statement and called statement ( ie perform and form )