‎2005 Oct 03 2:04 PM
Frnds,
I have a variable in ABAP print program and the same is being passed to SAP Script layout.
eg. count type i . ( in ABAP program ).
In Script..
/: IF &count& = 0.
-
/: ENDIF
But this is not working.... YYYY?
‎2005 Oct 03 2:10 PM
Sapscript interprets all values as text.
Just use
/: IF &COUNT& = '0'.
/: ENDIF.
If the above does not work then try passing count to a char field in program and then use this field in script.
Cheers
‎2005 Oct 03 2:07 PM
Hi
You can pass program data only if those are gloabl data,
so check where count is declared in your program.
Max
‎2005 Oct 03 2:10 PM
hi,
check whether the data declared at globally or not?
and check the value assigned for count is before calling corresponding text elemtnt in write_form
count = 10
write_form
cheers,
sasi
‎2005 Oct 03 2:10 PM
Sapscript interprets all values as text.
Just use
/: IF &COUNT& = '0'.
/: ENDIF.
If the above does not work then try passing count to a char field in program and then use this field in script.
Cheers
‎2005 Oct 03 2:18 PM
thanks dude...
passed the value as a character n its working fine...
10 pts to u :)-
madan....