ATC Error S/4HANA: Field length extensions for MATNR
On SAP S/4HANA developments, if you run ATC for static code check, you can see S/4HANA: Field length extensions errors on result list because of change in field lengths like MATNR domain is now 40 characters long. It was 18 characters long before.
Check Title S/4HANA: Field length extensions
Check Message ... <->
Priority Priority 3
DOMA MATNR, Note: 0002215424 <->
Finding can be suppressed with pseudo comment CI_FLDEXT_OK
Actually I checked the code and ABAP structures I used where MATNR domain is used as mentioned in the error message.
I see that every where I use MATNR, field length is used as 40 characters so I am sure it will not cause a problem.
So I decided to use the pseudo comment CI_FLDEXT_OK
Another case that I met with the same error was as seen in following screenshot
S/4HANA Field length extensions
Generic code issue
2215424 (Note number)
Material Number Field length Extension
Following the same solution, I applied the pseudo comment CI_FLDEXT_OK as seen in below ABAP code