Application Development and Automation 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: 
Read only

Generating ALL smartforms

former_member186444
Participant
0 Likes
1,857

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

thanks,

Malcolm.

5 REPLIES 5
Read only

former_member186444
Participant
0 Likes
1,105

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

thanks,

Malcolm.

Read only

0 Likes
1,105

anyone ?

Read only

Former Member
0 Likes
1,105

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

Read only

Lakshmant1
Active Contributor
0 Likes
1,105

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

Read only

0 Likes
1,105

sounds like a plan. Thanks for your help.

cheers,

Malcolm.