2009 Jun 12 12:31 PM
Hi Experts,
In my driver program , script is passing in to the FM ' SSF_FUNCTION_MODULE_NAME'
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'SCRIPT NAME HARDCODED'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = tp_function_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
and the tp_function_name is calling with import , export parameters and tables. Now the line item entries are comming in the TABLES.But if I am changing in another window oter that MAIN , it is not reflecting in the output.
Can anyone pls help me to resolve this issue?
Regards,
Sreeja
2009 Jun 12 12:39 PM
Hi Sreeja,
Are you sure that you use this FM "SSF_FUNCTION_MODULE_NAME' for SAP Scripts. I think we use this only for Smart Forms, because this is what generates a function module when activated. SAP Scripts do not generate any such FM.
For Scripts we use OPEN_FORM, WRITE_FORM and CLOSE_FORM.
Thanks & Regards,
Ram.
Edited by: ram Kumar on Jun 12, 2009 5:11 PM
Hi Experts,
In my driver program , script is passing in to the FM ' SSF_FUNCTION_MODULE_NAME'
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'SCRIPT NAME HARDCODED'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = tp_function_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
.
and the tp_function_name is calling with import , export parameters and tables. Now the line item entries are comming in the TABLES.But if I am changing in another window oter that MAIN , it is not reflecting in the output.
Can anyone pls help me to resolve this issue?
Regards,
Sreeja
2009 Jun 12 12:39 PM
Hi Sreeja,
Are you sure that you use this FM "SSF_FUNCTION_MODULE_NAME' for SAP Scripts. I think we use this only for Smart Forms, because this is what generates a function module when activated. SAP Scripts do not generate any such FM.
For Scripts we use OPEN_FORM, WRITE_FORM and CLOSE_FORM.
Thanks & Regards,
Ram.
Edited by: ram Kumar on Jun 12, 2009 5:11 PM
2009 Jun 12 12:51 PM
Hi Raj,
Even I was using this FM only for smartforms, but since I am in to Support team , i faced such a script , in which SSF_FUNCTION_MODULE_NAME is used to create an FM for the existing script and passing the values into tp_function_name and exporting the tables.
But i need to modify one window , other than main.It is not reflecting in the output.
Please suggest if you hav any idea.
Regards,
Sreeja