I'd need a dexsql.log to verify, but in the cases I've seen with this eror and table/column, it usually is a result of this script:
begin declare @SubGrpInd numeric(19,9) select @SubGrpInd = max(RTGRSBIN)+ 1 from SY70300 INSERT INTO SY70300 (RTGRSBIN,RTPACHIN,RPTGRIND,RPTGRNMS,RTCFGWIN) VALUES(@SubGrpInd,5,8,'Demo',1) end
What happens is the script is going into the SY70300 table and getting the maximum RTGRSBIN value, then adding 1 to it, and assigning that value to the @SubGrpInd variable, which is what it is attempting to insert into the SY07300 table, along with a couple other values.
If the SY07300 table is empty, there isn't any RTGRSBIN value to add 1 to, thus the @SubGrpInd variable is given a NULL value, and the table doesn't allow NULL values to be inserted into it, thus the error.
The SY70300 table is a Report Options Names table, it gets populated with default data from an .out file, then may also have additional information from your own environment. The sample company database I have at 18.4.1368 has a total of between 214 records in this table.
The SY70300 table gets populated via an .out file, so we'd want to verify whether the SY70300 table in this company database is empty or not, by running this script:
Select count(*) from SY70300
If it is empty, you could probably copy the records from another company database's SY70300 table then run this script before launching Utilities and continuing the upgrade:
Delete DU000030 where Status <> 0 and Status <> 15
If this still doesn't work, I'd recommend opening a support case, if you haven't already done so. Upgrade issues aren't really what the forums were designed to troubleshoot as they can be a bit more complex for forums back and forth.
Thanks