How to Display Field Value as Checkbox in ABAP/4

When you want to display value of filed as checkbox in ABAP report, you can use WRITE statement by using option "AS CHECKBOX".

Example


DATA: ch1(1) TYPE C,
ch2(1) TYPE C VALUE ’X’.
WRITE: / ’Checkbox 1 ’, ch1 AS CHECKBOX,
/ ’Checkbox 2 ’, ch2 AS CHECKBOX.

Post new comment