‎2006 Jul 11 2:22 PM
Hi,
I got one problem in smartforms. I have two parameters. The select query is ok & the value is coming in my internal table.
But value is not displaying in my smartform output.
By debugging i found that in function module "ssf_create_composer_input"
after clear input my data is removed.
any body will give me advice what i can do in this situation.
it's urgent.
‎2006 Jul 12 2:57 AM
Hi,
In the print program, where you are calling the Smartform FM, you need to pass the values from Select query to Smartform.
In the Smartform, import these values and pass it to the output.
Best regards,
Prashant
‎2006 Jul 12 3:11 AM
hi
ensure that you are passing the values from print program to your form..
Cheers,
Abdul Hakim
‎2006 Jul 12 5:01 AM
hi
good
as you have mentioned in your query you are able to pass the value is coming to your internal table ,fine.
now have to use that ssf_create_composer_input anywhere in your driver program, that function module helps to pass the data from the driver program to smartform screen
you can use this function module
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
*control_parameters =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
*output_options =
*user_settings =
*IMPORTING
DOCUMENT_OUTPUT_INFO =
*job_output_info =
JOB_OUTPUT_OPTIONS =
TABLES
it_tab = itab[]
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.
and check wheather you r passing the values in the form interface node properly or not.
thanks
mrutyun