Hi Rajesh,
This is a forum for developers to be helped by other developers. In no ways, I am affiliated to SAP by being an freelance consultant: I just cannot answer for SAP.
Dynamic SQL and raising error?
I have an extension which I developed 8 years ago to validate dynamically forms' content which does exactly this; would do the same.
One day I'll hve to document it...
Regards,
Eric