Hi,
It's declared in the Page Attributes tab of the .htm. In this case it's BuPaDetail.htm.
I can't post the code here, but I think if you have the standard SAP CRM, you can see that the variable is not modified in the .htm, it is only accessed/used.