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

How to write a code for multiple transactions? : abap bdc

755


How we can give authorization on the fields of table control in a dialog-programming?

2082


What does the insert statement in extract datasets do?

834


What is the difference between a dialog program and a report?

765


What is the master data necessary before you can start posting in MM?

1024


What is the difference between bdc_okcode and bdc_cursor? : abap bdc

825


What are the different abap editors? What is the used of different editors in abap?

788


Can i know some of the Realtime tickets that anyone has been faced ?

1883


How do you write a function module in sap?

784


On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

825


A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?

721


How to debug a sapscript?

818


What is payroll driver

1850


Explain the sequences of event block?

756


What is an “on request field” statement?

882