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

PERFORM

Former Member
0 Likes
570

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,

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
554

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

.

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
555

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

.

Read only

JozsefSzikszai
Active Contributor
0 Likes
554

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

Read only

Former Member
0 Likes
554

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).

Read only

0 Likes
554

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 )