All programmer defined enumerated types (internal tables) are to be defined in one central class called ‘oCodeTables’. An example definition is below where the fields used are from the code table file class:
- FC_SEQ is the lookup number stored in a SEQ key in the database
- FC_RESULT1_NAME is the description displayed to the user
- FC_DEFAULT set to true for the item that is the default entry field
Within the 'oCodetables' class, there are a number of getters that will load up any one of the tables into your object.