currently i'm working in modulepool program...i want to know the functionality of on chain-request(with coding)..
Thanks & Regards
POINT WILL BE REWARDED.
ON CHAIN-INPUT similar to ON INPUT.
The ABAP/4 module is called if any one of the fields in the chain contains a value other than its initial value(blank or nulls).
This condition functions just like ON REQUEST, but the ABAP/4 module is called if any one of the fields in the chain changes value.
Basically, with the ON CHAIN ... END CHAIN statements you can process a group of fields together.
Say for example you have company code & G/L account on your screen. To validate them, you need to consider both of these fields together. So, you put them within ON CHAIN ... END CHAIN, and also put your validation module within the ON CHAIN ... END CHAIN
MODULE validate_gl ON CHAIN-INPUT.
This module will get called when either your Company cod or G/L account are filled. You will have the values of both fields available within the module.
MODULE validate_gl ON CHAIN-REQUEST.
This module will get called only when the user CHANGES the value of either the g/l or the company code. Again, you'll have the values of both g/l and company code available.