Stefan - Thank you for the input. Unfortunately, i'm still having difficulty. How are you implementing the subcommand into the body of the script? Are you calling Test in place of the SAP .Select command? How is the Container object being utilized outside of the subcommand?
Apologies... i'm not trying to be obtuse. I just haven't dealt with this type of error handling before.