why u can call(r using) ssf_function_module_name in smartforms?

Answer Posted / sss

A function module is generated whenever a Smart Form is
activated. This Smart Form could be called from the driver
program by calling the function module generated in the
system directly.

But this is not an efficient way of calling Smart Form for
the following reason:

Whenever a Smart Form is generated, a function module is
generated and the naming convention for that Smart Form is
done internally by using Number range object or something
similar. Let us consider the function module name
as /1BCDWB/SF00000359. The function module for the next new
and activated Smart Form would be /1BCDWB/SF00000360, one
more than the previous one.

So when this Smart Form is transported from the development
to Quality or Production system, a new function module name
is generated according to the number series available in
that system. If the above program is transported to either
quality or production system, the program might go for a
dump as the function module is not available in that
system, because the number series generated in the for
example in development system will be different from that
of the quality system . To handle this situation, we use
the 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 function module
SSF_FUNCTION_MODULE_NAME raises the exception NO_FORM.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you delete a domain, which is being used by data elements? : abap data dictionary

809


if while coding power goes off , how to retrieve the codes?

1618


How do you do bdc for a table control? : abap bdc

647


What are aggregated objects

560


1.If there is one receiver,then To send 10 materials at a time through BD10 tcode, How many Master Idoc create? 2.If there is one receiver,then To send 1 material at a time through BD10 tcode, how many Master Idoc generated? 3.Can I Send Multiple Messges through BD10 tcode?

1491






Explain buffering concept usage?

593


What is the difference between a structure and a table? : abap data dictionary

607


Name the function module used to convert logical file names to physical file names in abap/4 programs?

587


What is dynamic action? : sap abap hr

636


Why grouping of fields is required? What is the max no of modification groups for each field?

552


What is off cycle payroll run

1940


What are the differences between se01, se09 and se10?

529


How memory management happens for internal tables and work areas in abap?

723


Give examples of transparent table?

690


What are ranges?

580