‎2007 Oct 06 6:51 AM
Hi there,
I need to create a table, it contains checkbox as one field. how to create checkbox while creating transparent table. can anybody suggest on it.
Regards,
Zakir.
‎2007 Oct 06 7:02 AM
Hi,
try domain: XFELD...
You can view this as checkbox if you have table maintainence generato created....
If the hint is useful Say thanks by reward .
Regards,
Prabhu Rajesh
‎2007 Oct 06 7:17 AM
Hi
for check box try using XFELD Data Element in ur table
For the list box if you have the data element along with the search help then you can use that dataelement. If you dont have search help at dataelement level then for the structure you have to assign a search help directly. If you dont have data element it self then domain's fixed values will be shown in the drop down. For the check box you have to use a data element with a domain having CHAR and length 1.
For the list box you will KEY and VALUES. Key is the one that is transfered to your program data and VALUE is the one that is shown to the user. You have to use the data element of your KEY for the list box.
Regards
Pavan
‎2007 Oct 06 7:03 AM
Hi,
You can acheive this with a workaround by modifying the Screens after generating the Table Maintenance.
Steps:
Open the Function group of the Table Maintenance.
Open the Screen
Remove your single character field from Screen Layout and again place it using the DICTIONARY / PROGRAM fields ICON (F6).
At that time it will ask whether you want to Convert to Checkbox or Radiobutton if the field is Single Char field. You Can select "Check box" here.
And the Field will be copied as checkbox.
Thanks,
Reward If Helpful.
‎2007 Oct 06 7:05 AM
hi,
i think it is not possible to create a check box in transparent table.
may i know for what purpose u need that one?
Senthil kumar
‎2007 Oct 06 7:14 AM
DATA: box(1) TYPE c.
DATA: BEGIN OF g_t_itab1 OCCURS 0,
banfn LIKE eban-banfn,
lfdat LIKE eban-lfdat,
afnam LIKE eban-afnam,
END OF g_t_itab1.
LOOP AT g_t_itab1.
WRITE:/1 box AS CHECKBOX,
10 g_t_itab1-banfn,
25 g_t_itab1-lfdat,
50 g_t_itab1-afnam.
ENDLOOP.
<b>please reward points if helpfull</b>
with regards,
radhika kolluru.