Skip to Content
0
Former Member
Jul 16, 2009 at 03:32 AM

ALV Editable ( Validate changed Value )

1253 Views

Hi Gurus,

I have a requiremnet on ALV.

I have a program ZTEST with screen no 9000.

I have a container places on the screen 9000

from PBO module of screen 9000

I am passing an internal table gt_xvbep with 3 values

VBELN , TIMEFROM , TIMETO

-


234000 10:00:00 12:00:00

234002 13:00:00 15:00:00

Fields TIMEFROM and TIMETO are 'editable" and of type DATS

When user enters a values on screen

TIMEFROM should be always greater than TIMETO.

I need to validate the above scenario

When ever user enters TIMEFROM > TIMETO ans press enter I need to show an error message "TO time should be greater than FRom time"

Please let me know how I can catch "ENTER" event in ALV in OOPS and validate the fields

Regards

Avi.