Question: how to create slg1 object?
Answer: You can create the Object and Subobject in transaction code SLG0. And You can view your error messages in SLG1 Tcode. Go to 'SLG0' --> New Entries --> Create an Object --> Select the Object created and double click on 'Sub Objects' --> Here add the required Sub object.