cancel
Showing results for 
Search instead for 
Did you mean: 

checkbox in smartforms

Former Member
0 Kudos

Hi

i am using checkboxes for smartforms.

now i hv a driver program where i am creating the checkboxes and now i want to know how can i put the condition of passing this value to smartform.

can anyone help me on this please?

Example:

Parameters : c1 as Checkbox default '',

c2 as Checkbox default ''.

now once c1 is checked how do i pass this to smartform where basing on that condition the data for c1 or c2 is retrieved.

thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thank q

Former Member
0 Kudos

in the smart form interface declare the check box as

c_chkbox type c.

and in the driver prog u pass the parameter as

CALL FUNCTION smartform_fm_name

EXPORTING

c_chkbox = check_box (in selection screen)

TABLES

s_job = s_job

s_level = s_level

s_date = s_date

s_contry = s_contry

s_scl_ty = s_scl_ty

s_scl_ar = s_scl_ar

s_family = s_family

s_band = s_band

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.