‎2007 Jul 09 5:23 AM
Hi Experts,
What is the functionalty of this function module 'SSF_FUNCTION_MODULE_NAME'.
Thanks & Regards,
B.Venkatarathnam.
‎2007 Jul 09 5:28 AM
with this function module we get the generated function module of smartform.
‎2007 Jul 09 5:25 AM
This FM will give smart form FM name,you need to pass smartform name to this FM,then it will return Function module.
Thanks
Seshu
‎2007 Jul 09 5:26 AM
‎2007 Jul 09 5:28 AM
with this function module we get the generated function module of smartform.
‎2007 Jul 09 5:30 AM
hi,
Check Programs SF_EXAMPLE_01, SF_EXAMPLE_02, SF_EXAMPLE_03. to know the purpose of usage .. and also ..
http://help.sap.com/saphelp_nw04/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/content.htm
* print data
call function 'SSF_FUNCTION_MODULE_NAME'
exporting formname = p_form
* variant = ' '
* direct_call = ' '
importing fm_name = fm_name
exceptions no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
* error handling
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
‎2007 Jul 09 5:31 AM
Hi,
This is example for you.
data: fm_name type rs38l_fnam.
parameter: p_form type tdsfname default 'SF_EXAMPLE_01'.
Call function 'SSF_FUNCTION_MODULE_NAME'
exporting formname = p_form
variant = ' '
direct_call = ' '
importing fm_name = fm_name
exceptions no_form = 1
no_function_module = 2
others = 3.
Hope this helps you. Reply for queries, shall post the updates.
Regards.
Kumar.