on 03-20-2008 5:22 AM
Hi Experts,
I have passed a T042I-ZLSCH variable from the print program to the script.
Upon doing syntax check on the form it gives an Error: Unknown symbol T042I-ZLSCH
I have declared this in print program
Thanks,
Govind
Edited by: Govind Parmar on Mar 20, 2008 7:18 AM
HI,
declare in the scense defining the variable in script itself.
for this we use DEFINE keyword.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
the script cant recognise bcoz it was not declared in script. unless it was defined in it, how can it know? thats why it just gives a warning that its unknown.
so if that is defined in driver program, we can ignore the warning. else we need to define it either in script or in driver program.
but when it was executed with a driver program, then there it checks for the variable with the name. so as we declars it in driver program, it takes that value n gives the output.
hope it helps u. any more doubts, post them.
reward if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just activate the SAPScript and run the print program and check that whwther it is displaying correctly or not.
Regards
Sandipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
the script is not finding the variable means, just check it whether it was kept in a text element or not.
through text element only the script can find the variable which we assigned in driver program.
if u did all n still error coming means, it may b a warning, just check it. if its a warning, just ignore it, activate the scripe. now execute ur driver program, u will definitely have output.
hope it helps u. if still erro or any doubts, post them back.
reward if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.