Skip to Content
0
Former Member
Jan 10, 2008 at 05:16 AM

selection screen validation

558 Views

Hi experts,

below is my report (selection screen part).

since i am new to abap i do not knopw how to validate them. If the user enters wrong value in any of these selection criteria then a message will flash. By wrong valur i mean he/she should not be able to input any value that is not present in my internal table.

pls help. its really urgent.

SELECTION-SCREEN : BEGIN OF BLOCK bl1

WITH FRAME TITLE text-001.

SELECT-OPTIONS :

s_aufnr FOR afru-aufnr ,

s_kdauf FOR afpo-kdauf ,

s_budat FOR afru-budat .

SELECTION-SCREEN : END OF BLOCK bl1.

SELECTION-SCREEN : BEGIN OF BLOCK bl2

WITH FRAME TITLE text-002.

SELECT-OPTIONS : s_werks FOR afru-werks ,

s_plnbez FOR afko-plnbez,

s_shift FOR afru-zzshift,

s_equnr FOR afru-zzequnr,

s_pernr FOR afru-pernr.

SELECTION-SCREEN : END OF BLOCK bl2.

-


regards,

Rohan Das

Deloitte

+919932511468

Edited by: Rohan Das on Jan 10, 2008 10:46 AM