Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sequence

Former Member
0 Likes
312

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

2 REPLIES 2
Read only

Former Member
0 Likes
295

Hi Ali,

You can use CHAIN and ENDCHAIN operators for this.

and also use On input and On request.

Thanks,

Naveen.

Read only

former_member188829
Active Contributor
0 Likes
295

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.