2006 Jun 26 10:46 AM
Hi,
I have a modifiable ALV for a name-value table. The ABAP types are strings respectively. In the name column the field names of a DDIC structure are displayed. In the value column a value can be entered. I also implemented a f4 help depending on the value of the name field. Now I also would like to have a value check, which is essentially working as the ALV value check for DDIC fields, i.e. if the user enters a wrong value for the DDIC field a little pop-up appears and the ALV cell is marked through red text.
Thanks a lot,
Thomas
2006 Jun 26 10:56 AM
Hi,
If you are using OO ALV then Check this example <b>BCALV_EDIT_04</b>
here they have used some thing differently. if you use Checktable if you give wrong input then it will give Dump.
so they used
fieldcat-checktable = '!'. "this avoids check table check
and then they used their own checking.
just see the code.
Regards
vijay
2006 Jun 26 10:48 AM
Hi
Are you using OO ALV?
In this case see the demo program BCALV_EDIT_03.
Max
2006 Jun 26 10:52 AM
FIELDCAT-FIELDNAME = 'BUKRS'.
<b>FIELDCAT-CHECKTABLE = 'T001'.</b>
You can use Checktable option in the fieldcatalog.
Regards
vijay
2006 Jun 26 10:56 AM
Hi,
If you are using OO ALV then Check this example <b>BCALV_EDIT_04</b>
here they have used some thing differently. if you use Checktable if you give wrong input then it will give Dump.
so they used
fieldcat-checktable = '!'. "this avoids check table check
and then they used their own checking.
just see the code.
Regards
vijay