The summary of my learning about sap screen painter in last week :
1> using transaction code SE51 to define your screen including attribute/element/logic program flowing etc.
2>logic program includes PBO & PAI event at least.
3>the element includes Text,checkbox,Radio box, box, pushbutton,etc.
4> screen fields, function code of the pushbutton, escpically ok_code.
5> the I/O feilds handling, should define the same name variable in ABAP, during PBO the data is transferred from ABAP to screen field, when PAI then the oppose direction.
6> call ABAP module about no condition with Module <Module name>
7>single condition call module using field <fi> module <module name>- <no-input>/<no request>
8>mutiple condition call module using chain ... end chain
9>set the cursor to field using Set cursor field <f>
10> set the GUI status/title using set pf-status <status_name>, set titlename <titlename>, you can define them using SE41
11> other call module: module <module_name> at Exit-command for exiting,module <module_name> at cursor selection for selection function code