What is the need of the FM ssf_function_module_name

0

Whenever we create a smart form and activate it a function module is generated based on a naming convention. Smart forms internally use Number ranges to name the function module whenever we change and activate the smart form. In the above case the FM name is /1BCDWB/SF00000359. The function module for the next new and activated Smart Form would be /1BCDWB/SF00000360. So when this smart form is transported to other systems a new function module name is generated according to the Number range in that system, then using the function module name directly in the driver program may result into dumps as the function module names is not available in the system. To handle this situation SAP developed Function module SSF_FUNCTION_MODULE_NAME to get the name of the function module for a smart form dynamically. If the form is not active, the FM raises the exception NO_FORM.

Leave a Reply

Your email address will not be published.

You may use these <abbr title="HyperText Markup Language">html</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*