Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

urgent

Former Member
0 Likes
706

Hi Experts,

What is the functionalty of this function module 'SSF_FUNCTION_MODULE_NAME'.

Thanks & Regards,

B.Venkatarathnam.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
681

with this function module we get the generated function module of smartform.

5 REPLIES 5
Read only

Former Member
0 Likes
681

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

Read only

Former Member
0 Likes
681
Read only

Former Member
0 Likes
682

with this function module we get the generated function module of smartform.

Read only

Former Member
0 Likes
681

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.

Read only

Former Member
0 Likes
681

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.