‎2008 Jan 24 2:59 PM
Dear friends,
I have a problem which is, SAP always check first all the mandatory fields before taking the values.
For example, if there are 3 fields mandatory A, B & C
i put value in A (10 for example), system doesn't take it into account till i enter values in both B & C.
Is there a way to change this??
Thanks
‎2008 Jan 24 3:06 PM
Hi Ali,
You can use CHAIN and ENDCHAIN operators for this.
and also use On input and On request.
Thanks,
Naveen.
‎2008 Jan 24 3:10 PM
Hi,
Check this Example..
PARAMETERS:A(10) TYPE C OBLIGATORY.
PARAMETERS:B(10) TYPE C OBLIGATORY.
PARAMETERS:C(10) TYPE C OBLIGATORY.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF B IS INITIAL OR C IS INITIAL.
IF SCREEN-NAME = 'A'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.