cancel
Showing results for 
Search instead for 
Did you mean: 

Can I Add Customer Fields That Are Nullable in Table FAGLFLEXT and FAGLFLEXA

former_member142270
Discoverer
0 Kudos

Hi experts,

We are adding a customer field to the coding block and executing the step: Including This Field to Totals Table in SPRO. We found the customer field we added to FAGLFLEXT and FAGLFLEXA is set to be NOT NULL with initial value space(' ') . Can we set the customer field nullable when executing Include Fields in Totals Table?

Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

bowen_cao
Contributor
0 Kudos

Hi,

You can check on the initial flag, but we recommend you set it with initial,

please check the F1 help:

Indicator that NOT NULL is forced for this field

Use

Select this flag if a field to be inserted in the database is to be filled with initial values. The initial value used depends on the data type of the field.

Please note that fields in the database for which the this flag is not set can also be filled with initial values.

When you create a table, all fields of the table can be defined as NOT NULL and filled with an initial value. The same applies when converting the table. Only when new fields are added or inserted, are these filled with initial values. An exception is key fields. These are always filled automatically with initial values.

Restrictions and notes:

  • The initial value cannot be set for fields of data types LCHR, LRAW, and RAW. If the field length is greater than 32, the initial flag cannot be set for fields of data type NUMC.
  • If a new field is inserted in the table and the initial flag is set, the complete table is scanned on activation and an UPDATE is made to the new field. This can be very time-consuming.
  • If the initial flag is set for an included structure, this means that the attributes from the structure are transferred. That is, exactly those fields which are marked as initial in the definition have this attribute in the table as well.

Regards,
Bowen