Create a web dynpro component and design the context with a node a with cardinality 0..N and an attribute inside that node.
Add a check box group UI element in the layout.
Bind the text to the context attribute.
Provide the below code in the INIT method.
Create an application and test.