I support you have taken code from
www.rtslink.com
In such case, you might be creating Group Master (as per the sample code given in www.rtslink.com).
To check whether the Group has been created or not, use the following option:-
Gateway of Tally -> Accounts Info. -> Group -> Alter
Next, type "My Debtors" to check whether this group exists or not ? If it exists, then, it has been created successfully. You can delete this Group by pressing Alt+D key and then again run your program to test it.