This is the legal requirement
In that case, it is better to raise an OSS message and get confirmation from SAP that there is no standard way to achieve. But in general, for all legal requirements, SAP are suppose to support. So before doing any coding corrections, take the concurrence from SAP
G. Lakshmipathi