‎2005 Dec 22 1:53 PM
Hi,
To determine the name of the function module for the smartform is "SSF_FUNCTION_MODULE_NAME". All parameters for this function is added to code when U click Pattern then select CALL FUNCTION and type "SSF_FUNCTION_MODULE_NAME".
When it comes to Execute function module for the form(output) how do I get the list of parameters added to code when using Pattern. What should I type in CALL FUNCTION to get below;
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = wrk_outputoptions
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_zpplot = it_zpplot
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
Thanks,
Kishan
‎2005 Dec 22 1:57 PM
hi u need to regenerate the Function module to see the latest insertions.
just click pattern and enter the function module name.
and click enter key.
all ur new additions will be visible.
satish
‎2005 Dec 22 1:57 PM
hi u need to regenerate the Function module to see the latest insertions.
just click pattern and enter the function module name.
and click enter key.
all ur new additions will be visible.
satish
‎2005 Dec 22 2:08 PM
Hi,
In the smartform follow the link
Environment -> Function Module Name.
U can use this name in the driver program when calling pattern. After u get all the parameters just comment the Function Module name after CALL FUNCTION and add the function module name that u get using
call function 'SSF_FUNCTION_MODULE_NAME'
exporting formname = lf_formname
variant = ' '
direct_call = ' '
importing fm_name = lf_fm_name
exceptions no_form = 1
no_function_module = 2
others = 3.
Thanks,
Rashmi
‎2005 Dec 22 2:25 PM