Hello Renato,
I've also been trying to do this and getting the same results as yourself, pretty much.
I also made a topic about this defining and calling (shared) parameters in add... | SCN
If you figure this out, please let me know.
Edit: I'm on SAP B1 9.1 PL 5 btw