Passing the selection screen value to the Smartform
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
Naimesh Patel replied
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 ......