Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Generating ALL smartforms

former_member186444
Participant
0 Kudos

anyone know of a program to generate the function modules for all smartforms ?

thanks,

Malcolm.

5 REPLIES 5

former_member186444
Participant
0 Kudos

also, anyone know in which table I can find both the smartform and it's function module name ?

thanks,

Malcolm.

0 Kudos

anyone ?

Former Member
0 Kudos

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

Lakshmant1
Active Contributor
0 Kudos

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

0 Kudos

sounds like a plan. Thanks for your help.

cheers,

Malcolm.