Depends what release you're on.
I did do something similar a while back by checking the text length on the MO JDE table.
Saved it on entry and compared it on the way out
If it was the same, they hadn't entered anything extra, or at all
F00165 is the table.
Do a select on the OBNM and TXKY and look at the 'length' column.
I've noticed in 8.12 that column is missing, so I can't tell you the column name sorry
Ah... Just found my old ER code
evt_GCVendorInvoiceNumber
evt_GTNameObject
evt_TimeOfDayACTUAL
evt_MediaObjectLengthOfTextBEF
evt_MediaObjectLengthOfTextAFT
evt_DummyFlag
0001 //
0002 // check if SECOND MO text length is > than FIRST (Has it been added to)
0003 // Save time and date of MO attachment
0004 //
0005 VA evt_GTNameObject = "GT550411D"
0006 // Strip the blanks out of the field by using the AN8 compressed description BSFN
0007 VA evt_GCVendorInvoiceNumber = GC InvoiceNumber
0008 F0101 Edit Compressed Description
GC Invoice Number [HIDDEN] -> szNameAlpha
VA evt_GCVendorInvoiceNumber <- szDescripCompressed
"<Zero>" -> cABSearchMode
UNDEFINED X cLanguageType
0009 // Construct TXKY with | in between the key fields
0010 VA frm_MediaObjectTextKey_TXKY = [GC SupplierNumber]
0011 VA frm_MediaObjectTextKey_TXKY = concat( [VA frm_MediaObjectTextKey_TXKY],'|' )
0012 VA frm_MediaObjectTextKey_TXKY = concat([VA frm_MediaObjectTextKey_TXKY],[VA evt_GCVendorInvoiceNumber])
0013 VA frm_MediaObjectTextKey_TXKY = concat( [VA frm_MediaObjectTextKey_TXKY],'|' )
0014 VA frm_MediaObjectTextKey_TXKY = concat([VA frm_MediaObjectTextKey_TXKY],[GC LineNumber])
0015 //
0016 F00165.Select
VA evt_GTNameObject = TK Object Name
VA frm_MediaObjectTextKey_TXKY = TK Generic Text Key
0017 F00165.Fetch Next
VA evt_MediaObjectLengthOfTextBEF <- TK Media Object - Length of Text
0018 If SV File_IO_Status is equal to CO SUCCESS
0019 VA frm_MOALREADYEXISTS_EV01 = "1"
0020 Else
0021 VA frm_MOALREADYEXISTS_EV01 = "0"
0022 End If
0023 //
0024 //
0025 VA frm_MediaObjectExists1_EV01 = "0"
Stay in loop until Mop text is increased in length by the user
0026 While VA frm_MediaObjectExists1_EV01 is equal to <Zero>
0027 //
0028 // Call Pop up screen to inform user what they need to do
0029 Call( App
550411D , Form: W550411DI )
"GTA0001" X Version
0030 //
0031 Access Media Object(<Default Media Object>, GT550411D, VA frm_MediaObjectTextKey_TXKY, <Edit>, VA evt_DummyFlag, <First Text Item>)
0032 //
0033 F00165.Select
VA evt_GTNameObject = TK Object Name
VA frm_MediaObjectTextKey_TXKY = TK Generic Text Key
0034 F00165.Fetch Next
VA evt_MediaObjectLengthOfTextAFT <- TK Media Object - Length of Text
0035 If SV File_IO_Status is equal to CO SUCCESS
0036 //
0037 If VA evt_MediaObjectLengthOfTextAFT is greater than VA evt_MediaObjectLengthOfTextBEF
0038 VA frm_MediaObjectExists1_EV01 = "1"
0039 End If
0044 End If
0045 //
0046 End While