2 - Calling The Smartfrom From Driver Program
2 - Calling The Smartfrom From Driver Program
Choose Main and Right Click on the window and Create text
Choose the following pen symbol and choose Change Editor as shown below
SOURCE CODE:
DATA : lv_form type RS38L_FNAM .
NOTE: 2
Before calling lv_form get the function module name in any of the following two ways .
Calling lv_form :
After taking the function Module Name (In our case the function module name is:
'/1BCDWB/SF00000353’) use the pattern button in SE38 to call it.
After calling the function module name pass the parameters and replace the above function
module name(/1BCDWB/SF00000353) with the variable lv_form (In our case lv_form).
Then SAVE , check , Activate and Execute the program. Give the OutputDevice LP01 and choose
Printpreview .