Storing static attribute values in ABAP

Static attributes of a class and the global variables of a function pool are dealt in a similar manner. In an abstract manner, you can consider static attributes as global variables. How global variables are reinitialized with a new internal session, static attributes do get reinitialized with the new internal session- this can be verified using a recursive function call.