This field is responsible for setting up columns in proper order while displaying the grid without using of saved layout. It may be useful if you don’t allow your users to save their own or global grid layouts, so then the grid looks always the same for them. Personally I leave this almost always empty, but if needed just simply use INTEGER values to setup correct sorting. The demo program that can be found in Figure 11 can be used to see the difference between standard sorting and own one.
Figure 11 ZDEMO_AIN_CL05 COL_POS
Own sorting firstly takes care about positions of columns from field catalog, then it displays the rest. If I would not pass parameter I_STRUCTURE_NAME then only this fields which are in table FCAT would appear on the screen.
Figure 12 ZDEMO_AIN_CL05 Own Sequence
Figure 13 ZDEMO_AIN_CL05 Standard sequence
Add a comment