Hello Jain,
probably somebody from SAP will comment this but I can share my experience. Consulting note is usually a supplement to standard documentation. The settings are usually under support, however, the coding accompanying such a note is usually only for illustration. In most cases I have seen, SAP explicitly states that the code is not under support. The coding mostly goes to Badis or other places for exits - here SAP will guarantee provisioning of the interface (input/output data) but not the code itself.
I have even seen an OSS note, which was reacting to some specific requirement changing standard behaviour. There was explicitly said that you can make certain modification of standard code but the part will go out of SAP support...
I believe if you find bug in such example code and open ticket at OSS, SAP will fix it but they will never allow to put priority High or Very High, because it is not a production code.
So my general approach is - consulting notes are great and helpful but any code there is rather for inspiration, unless said differently.
Can you maybe bring some examples you are concerned about?
Regards,
Dawood.