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
What is protect & endprotect?
Power is interrupted while transferring data from internal table to application server. How will you determine many records are transferred in session method and call transaction method? : abap bdc
What do you mean by cluster tables in sap abap? Also explain what do you mean by table cluster? : abap data dictionary
To find the date difference & excude saturday & sunday in between them
If i wont like to change the standard print program where i copied standard script to customer namespace,in this case is it possible to retreive the data if u connect the script with standard program.if yes how?if no why? Is it possible to print the logo in first page only,where the form consists of 10 pages.How can u do this? How can u set a table format where it cosists of fields like cust no, custname, amount ...in a script? How do u know that the particular BADI is suitable for the existed report.How do u findout this?When do u opt for BADI OR USEREXIT?did functional people tell u to adopt BADI or USEREXIT? What is the difference between SY-INDEX & SY-TABIX ? I have a report with fields Status,time & date. the contents it consists are Status Time Date AAA 01:20:15 05-06-10 AAA 11:02:32 O3-06-10 AAA 23:11:00 05-06-10 AAA 09:14:46 05-06-10 HOW DO U WRITE A CODE TO DISLAY A ROW WHICH WAS RECENTLY EXECUTED?( for this question it should display AAA 23:11:00 05-06-10 AS Output)
What is internal payroll process? : sap abap hr
What is the difference between refresh and free statements?
Is there any method apart from bdc for data upload to sap? : abap bdc
What is the table buffer? Which type of tables used this buffer?
Difference between Read and Get cursor?
What are the modes in lock objects? : sap abap data dictionary
Explain the table, which contain the details of all the name of the programs and forms?
What is the relationship existing between the various data elements in data dictionary? : abap data dictionary
I have 3 transactions,where the output of one transaction is input of another and output of 2nd transaction is input of 3rd transaction.i have one flat file with all data for the 3 transaction.if the 3rd transaction failed can we rollback the remaining 2 transactions or not.Is this possible in BDC,How/
What is a size category? : abap data dictionary