09-23-2008 8:51 AM
anyone know of a program to generate the function modules for all smartforms ?
thanks,
Malcolm.
09-23-2008 8:55 AM
also, anyone know in which table I can find both the smartform and it's function module name ?
thanks,
Malcolm.
09-23-2008 12:49 PM
09-23-2008 12:58 PM
Hi,
You can not generate the functionmodules for all smartforms.
Each Forms we need to go and then activate .
Then only u can see the function modules which are generated for the forms.
When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module
That FM u can use it in print program
Regards,
Nandha
09-23-2008 2:06 PM
Hi Malcolm,
Check the program SF_BATCH_GENERATE for generating smartforms. Fetch all the smartform details and use the FM FB_GENERATE_FORM within loop...endloop.
Check FM SSF_FUNCTION_MODULE_NAME to get the FM name of the smartform. The details are stored in table STXFADMI. Check the source code at line no 74 on fetching the FM name.
Hope this helps
Thanks
Lakshman
09-23-2008 2:21 PM