Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Passing the selection screen value to the Smartform

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

Tags:
Former Member
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
     ......

Regards,

Naimesh Patel

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question