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
Mention some important events in abap programming.
What is the first thing you do after vendor setup is complete?
HOW TO TRANSFER VENDOR MASTER DATA FROM LEGACY SYSTEM TO SAP SYSTEM THRU LSMW (IN LSMW, USING DIRECT INPUT PROGRAM:RFBIKR00)
What is the length of function code at user-command?
What is the difference between refresh and free statements?
SM35 transaction, How to automate BDC ?
What are two methods of modifying sap standard tables? : abap data dictionary
what is bapi,badi,bdc,ale idocs?
What is structure?
What is delivery class? : abap data dictionary
Can we create a gui status in a program from the object browser?
What is the reserve command?
Which bdc you prefer? : abap bdc
8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?
What are logical databases? What are the advantages of logical databases?