Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sf problem

Former Member
0 Likes
682

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.

3 REPLIES 3
Read only

Former Member
0 Likes
564

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

Read only

abdul_hakim
Active Contributor
0 Likes
564

hi

ensure that you are passing the values from print program to your form..

Cheers,

Abdul Hakim

Read only

Former Member
0 Likes
564

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