Monday, 6 January 2014

Creating Fields in SAP ABAP

Creating Fields in SAP ABAP

The next step is to begin creating Field names for the table, in the 'Fields' tab:
Creating Fields in SAP ABAP

Fields, unlike the name of the table, can begin with any letter of the alphabet, not just Z and Y and can contain up to 16 characters
Tables must include at least one Key field, which is used later for the searching and sorting of data, and to identify each record as being unique.

An Initial value can be assigned to each field, for example, in the case of a field called Employee Class you could say the majority of employees are Regular Staff ('S'), but some are Directors, with a code of 'D'. The standard initial value would be 'S', but the user could change some of these to a 'D' later on.

4 comments: