11-18-2007 6:14 AM
Hi all,
i have a print program of a smartform, now i have to send the parameter p_formnumber which is of type c length 20 to the smartform interface how to do that.
i mean i have to use the value of the p_formnumber in the smartform initialization.
can any body help me in this
11-18-2007 6:36 AM
You need to add that parameter to SMARTforms Form Interface.
Go to Global data... select the Form interface tab..
Put the variable as
i_formnumber type char20
Now in your Program you need to do call the FM like:
CALL SMARTFORM_FM
EXPORTING
.....
I_formnumber = p_formnumber
IMPORINT
......
Regards,
Naimesh Patel
11-18-2007 6:36 AM
You need to add that parameter to SMARTforms Form Interface.
Go to Global data... select the Form interface tab..
Put the variable as
i_formnumber type char20
Now in your Program you need to do call the FM like:
CALL SMARTFORM_FM
EXPORTING
.....
I_formnumber = p_formnumber
IMPORINT
......
Regards,
Naimesh Patel