Skip to Content
0
Former Member
Sep 26, 2005 at 06:07 PM

Smartforms.. Function Module not found.. fm_name when tried in the SE38

470 Views

Hi all,

I created the form using the smartforms, check it and activated it. I can see the unique function module is assigned to the form. I wrote the ABAP program and declared the data types, but when I called the function module fm_name, the system is saying that fm does not exits..My program looks like this in short:

data fm_name type rs38l_fnam.

parameter: p_form type tdsfname default 'zashok01'.

  • where Zashok01 is the form name.

  • 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.

--

now after this, when I am calling the function module fm_name to get the generated FM for the form, the system gives a note that FM does not exits..

Can anyone find me the result.. Do I need to create a new FM or what??? or is there anything wrong with my codes to assign the name of FM.

Waiting for your replies..

Regards,

-Ashok Hansraj