But I am facing a problem.
When I am calling the SF with the help of following code----
******************************************************************
START-OF-SELECTION.
Perform Final_data.
perform smart_form.
****************************************************************
Form smart_form.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZCAPTIVE_IN_SMFORM'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = lf_fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
retcode = sy-subrc.
PERFORM protocol_update.
endif.
call function lf_fm_name TABLES
item_final = item_final
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc = 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
EndForm.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
But after this code I am getting the Print Screen but when I am clicking 'Prient Preview', it is going to the debug mode, it is not Printing the 'Smartform'.
I will be highly oblized if u guide. I need it urgently.
Thanks in advance.