Errr... basically all I do is userdata[] = user[] in an implicit enhancement at the end of the FM. I'm playing around with the memory a bit to keep things tidy and only pass one recordset because we don't use ptk99 as a table but as a flat structure instead, but, really, all I do is pass local parameter "user" to exporting parameter "userdata". No magic involved!
Cheers, Lukas