Skip to Content
avatar image
Former Member

error: Unknown symbols (Urgent)

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Nov 13, 2007 at 06:11 AM

    Hi

    You have to declare them with DEFINE STATEMENT and to use

    /: DEFINE &symbol& = 'D1'

    /: DEFINE &symbol& = 'D2'.

    Regards

    Anji

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Nov 13, 2007 at 06:12 AM

    check if you have activated the print program...

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2007 at 06:12 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 13, 2007 at 07:45 AM

    Hi,

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

    Regards,

    KK

    Add comment
    10|10000 characters needed characters exceeded