‎2015 Nov 12 8:39 AM
Hi every one,
I am unable to find the function module 'lf_fm_name'. When I enter the name in call function it is showing the message function 'lf_fm_name' not found. Please help me in this.
Thanks in advance.
‎2015 Nov 12 8:49 AM
Good day Aditya,
Usually in SAP the call to the smartform we determine dynamic
FM as each SM is assigned one but lf_fm_name is a variable not the name of the FM .
see e.g. below.
DATA: lf_fm_name TYPE rs38l_fnam.
"Get Function module name for given smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'SMARTFORMNAME'
IMPORTING
fm_name = lf_fm_name.
"Call Smartform function module.
CALL FUNCTION lf_fm_name
EXPORTING
control_parameters = ssfctrlop
Regards,
Tumelo Modise
‎2015 Nov 12 8:43 AM
Good day Aditya,
Where did you find the function module name?
Regards,
Tumelo Modise
‎2015 Nov 12 8:49 AM
Good day Aditya,
Usually in SAP the call to the smartform we determine dynamic
FM as each SM is assigned one but lf_fm_name is a variable not the name of the FM .
see e.g. below.
DATA: lf_fm_name TYPE rs38l_fnam.
"Get Function module name for given smartform
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'SMARTFORMNAME'
IMPORTING
fm_name = lf_fm_name.
"Call Smartform function module.
CALL FUNCTION lf_fm_name
EXPORTING
control_parameters = ssfctrlop
Regards,
Tumelo Modise
‎2015 Nov 12 8:58 AM
‎2015 Nov 12 9:20 AM
Good day Aditya,
Was my info helpful or answered you question?
if so please mark as such.
Thanks in advanced,
Regards,
Tumelo Modise