Facing error in VBA

Set connection = application.Children(0)

Rz 11 parameter is set to true
I could login to Sap prod server but the script which have to enter tcode it gives error on children line.

Hi @Prayag

Check out the below thread


I did check this but as it said i already check those parameters and they are true. Plus same script is working for Other tcodes and just giving error is F-28