‎2008 Jun 17 4:36 PM
Hi all,
While validating a field on main screen, on error condition, is it possible to enable a particaular field in subscreen and set cursor on that?? Please let me know how to do that.
Thanks,
Keerthi.
‎2008 Jun 17 6:34 PM
Hi,
maybe something like:
IF sy-subrc NE 0.
SET CURSOR FIELD 'YOURFIELD'. "upper case
MESSAGE EXX(yourmessageclass).
ENDIF.
Best regards.
Edited by: pablo casamayor on Jun 18, 2008 8:01 AM
‎2008 Jun 18 7:12 AM
Hi
Write the code in
AT SELECTION-SCREEN event.
AT SELECTION-SCREEN.
if p_s1 eq '1'.
SET CURSOR FIELD 'P_S2'.
message E531(0u) with 'Error messsage'.
endif.Regards,
vamshidhar.