cancel
Showing results for 
Search instead for 
Did you mean: 

error: Unknown symbols (Urgent)

Former Member
0 Kudos

hi

In print program i have declared two variables d1 & d2.

i gave these two variable in script as &d1& &d2&.

it is showing the error as "unknown symbols d1"

"unknown symbols d2".

plz tell me why it is showing this error.

how to rectify it.

regards

kq

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Is the script being used by only one program or other programs also using the same script?

Regards,

KK

Former Member
0 Kudos

Hi,

Did you declare these variables in the global space..

Meaning you should declare these variables globally..Local variables will not be recognized in the Form

Thanks

naren

Former Member
0 Kudos

check if you have activated the print program...

also make sure that you have declared these variables befor the SAPScript call

Former Member
0 Kudos

Hi

You have to declare them with DEFINE STATEMENT and to use

/: DEFINE &symbol& = 'D1'

/: DEFINE &symbol& = 'D2'.

Regards

Anji

Former Member
0 Kudos

I have activated the print program & i also define the variables by using the define statement. But still it is showing the same error.

i like to know the reasons for this error

plz help.

regards

kq

Former Member
0 Kudos

if the variable is defined in print program, there is no need to use the define statement in the form. Is the variable declaration and the value population is happening before the text element (write_form) ?

Regards

Sudha