User has given the specification to display the Check boxes
on the list, how
will you handle this situation.?

Answer Posted / bhushan

WRITE - Output as checkbox


Effect
Outputs the field <f> as a checkbox. The contents of the
first character of f is interpreted as the "status":

' ' = not selected
'X' = selected

The user can change this as required.


DATA: chkbox(1) TYPE C VALUE 'X'.
...
WRITE chkbox AS CHECKBOX. "checkbox selected
chkbox = SPACE.
WRITE chkbox AS CHECKBOX. "deselected
WRITE chkbox AS CHECKBOX INPUT OFF. "deselected, protected

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of a domain? : abap data dictionary

770


What are the different types of mode (run code) in call transaction method?

812


How can I make a differentiation between dependent and independent data? : abap hr

778


What is lock object ? : abap data dictionary

799


What are internal tables? How do you get the number of lines in an internal table?

853


What are logical data bases used in hr module? : abap hr

877


Explain the use of table maintenance allowed?

726


What is the differences between abap and ooabap. In which situation we useooabap?

1021


What is output determination?

879


GUYS any one please can u post questions in sap a bap webdynpro questions.. please i need to know some technical questions regarding webdynpro and ADOBE forms ?

1645


What is the difference between bdc_okcode and bdc_cursor? : abap bdc

814


Have you processed BDCs ?

796


What is table pool?

757


What does a lock object involve?

904


What is open sql vs native sql ?

2134