With dynamic programming refer to the Programming Notes for Web Dynpro Programming Interface.
For more information about data flow and validation, see Phase Model.