cancel
Showing results for 
Search instead for 
Did you mean: 

check boxes in smartforms

Former Member
0 Kudos

how to print check boxes in smartforms

i hav used square brackets for this purpose

as

[v_flag]related

[v_flag]non related

and i hav written code lines as

IF WA_LIKP-INCO1 EQ '001'.

V_FLAG = 'X'.

ELSEIF WA_LIKP-INCO1 EQ 'COL'.

V_FLAG = 'X'.

ENDIF.

and second condition as

[v_flag]prepaid

[v_flag]collect

IF WA_adrc_WE-title eq 'ZCI1'.

V_FLAG = 'X'.

ELSEIF WA_adrc_WE-title eq 'ZCI2'.

V_FLAG = 'X'.

ENDIF

can i use the same flag for both the condition.oterwise how it should be done.

i am not getting the x value when i m using like this.

how to do it?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

hi

i would suggest you a simple method for this i.e.

in the driver program u create ur checkboxes as required and pass the values to ur smartform as input parameteres.

i think this must solve your problem.

i worked on a requirement using select-options for which i did the samething.

let me know if u have any doubts in this regards..

Former Member
0 Kudos

plz give the sample code for this?so that i ll follow that

Former Member
0 Kudos

Hi,

In smartforms itself we have SAP given standard symbols, so that you can use those to reach your requirement.

In the editor Goto: INSERT -> CHARACTERS -> SAP SYMBOLES.

So that you could find the different symbols given by the SAP, so that you can pick one of them.

For check box the code given is <697> (Write this in text node to display)

Note: It will be displayed when you print the document, some times it will not display in print preview.

Former Member
0 Kudos

Hello,

To use Check box in smartform do the following:

Change the editor to 'PC Editor' and take the menu.

in text editor of TEXT ELEMENTS..

Insert -> Characters -> SAP Symbols

in print preview u can't see these changes..

Refer to link

Thanks

Charitha .

Former Member
0 Kudos

Hi

Use a template having a single cell.

widht = 5mm

height 5 mm

cell width = 5 mm

and select an all sided parttern for the template.

Inside the template use one text elemt for the cell

and define a field for the TE. mark the field with 'X' for a checked check box

Former Member
0 Kudos

can you describe your requirement more precisely?