‎2007 Jan 29 8:11 PM
Hi folks,
I am doing a data check using the field-set for one of the fields using the ITS components. How can i do that?
I used this code...
data: begin of media_f4 occurs 0,
rcins like t750c-rcins,
iname like t750c-iname.
data: end of media_f4.
if ( field-set 'MEDIA_F4_RCINS' eq space AND field-set
'MEDIA_F4_INAME' eq space ).
OR
if media_f4 is initial.
SW_DATA_MISSING = YES.
TEXT_1000_1 = TEXT-VAC.
endif.
It did not work. Also I checked just using MEDIA_F4 it did not work. Any thoughts or leads would be really helpful...
Thanks,
Vinu
‎2007 Jan 29 9:39 PM
Hi,
Change the stmt like:
if media_f4[] is initial.
SW_DATA_MISSING = YES.
TEXT_1000_1 = TEXT-VAC.
endif.
Regards
Subramanian
‎2007 Jan 30 2:38 PM
The field is an selection -option where the first value is blank and the purpose of this is to make it mandatory, when I use just 'media_f4' it is an internal table, and the field is defined as field set in the form field-set 'MEDIA_F4_RCINS' .
Suppose I use this field for the data check in this format, it is resulting ina syntax error.
Thanks for the reply,
Vinu