Application Development 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: 

Reg:on change of

Former Member
0 Kudos

Hai all,

Can i use the control break stm on change of b/n select and endselect.if so how just send me a bit of code relating.

Thanks

ganesh

3 REPLIES 3

Simha_
Employee
Employee
0 Kudos

Hi,

U can't able to use On Change on between select and end select.

They are usedin between loop and endloop only..

Some points would be fine..

Cheers,

Simha.

rajeshkumar_kaveti
Participant
0 Kudos

Hi,

Yes, and following is the example code:

TABLES T100.

SELECT * FROM T100 WHERE SPRSL = SY-LANGU AND

MSGNR < '010'

ORDER BY PRIMARY KEY.

ON CHANGE OF T100-ARBGB.

ULINE.

WRITE: / '**', T100-ARBGB, '**'.

ENDON.

WRITE: / T100-MSGNR, T100-TEXT.

ENDSELECT.

Regards,

Rajesh

Former Member
0 Kudos

hi

good

use like this

SELECT * FROM T100 WHERE SPRSL = SY-LANGU AND

MSGNR < '010'

ORDER BY PRIMARY KEY.

ON CHANGE OF T100-ARBGB.

ULINE.

WRITE: / '**', T100-ARBGB, '**'.

ENDON.

WRITE: / T100-MSGNR, T100-TEXT.

ENDSELECT.

thanks

mrutyun^