Passing Variable to Smartforms from Program

Question:
Hi All,
I am having a Smart form and program for that.
In the program i am having the variable say i.
Data: tot type i.
tot = 10.
So now i want to pass this tot into Smartforms.
So can u please suggest me how to do.
Thanx,
Smart.
Answer:
In the SmartForm under 'Form Interface' you can specify import and export parameters which will appear in the Function Module interface if you use 'Pattern' to put the Function Module generated by the SmartForm in your program.
_________________
Regards,
Angelis.

More Articles:

Info Structures - Tables ending with 'E'?
Icon?
Field Exits?
SUBMITSAP-SPOOL?
How to delete an include ?
REUSE_ALV_GRID_DISPLAY: input possible?