cancel
Showing results for 
Search instead for 
Did you mean: 

sap script output problem

Former Member
0 Kudos

Hi,

I want to get total of WRBTR field, so iam writing code in drivr program include data v_gtot like REGUD-WRBTR.

v_gtot = v_gtot + REGUD-WRBTR.

and declaring V_GTOT in form for displaying, but iam getting error message unknown symbol.

any help pls.

Thanks,

Donald

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi !

In this case you should not get any error msg.

May your usage in form is not correct.If you are passing any variable from your main program to your form ,you should write like this - &V_GTOT&.

Even if you are declaring this variable in form then also you should use -

DEFINE &variable name& It will not give any error message.

Reward points if my answer helps you.

Regards,

Neha Bansal.

Message was edited by:

Neha Bansal

Former Member
0 Kudos

Hi,

I did n't get your question "declaring V_GTOT in form for displaying,"

Why you have again declared v_gtot in the form.

You can take the value of v_gtot from the driver program it self.

And if you define it from script it will give errors.

Reward if helpful

Regards,

Sandhya

Message was edited by:

sandhya medishetty

Former Member
0 Kudos

Declare the vaiable V_GTOT in the driver program itself and pass this symbol to the script and u need to write it as &v_gtot& in the script...

by the way how could u declare a variable in script??

i f u use define then it may give some error..

do this and let me know...

plz close the thread if ur problem got solved...

reward helpful answers..

sai ramesh.