Hi Ming,
You have to create transparent container TC_MAIN and set its layout has MATRIX layout.
Inside it, create another transparent container TC_line1, and set layout as matrix layout, and its layout data to MATRIX HEAD data.
Add the elements of BP NO. ( layout data - matrix head data ) & BP NAME ( layout data - matrix data ) into TC_LINE1
Similarly add TC_LINE2, TC_LINE3, etc and include the ui elements as required.
To bring into new line, you have to set the MATRIX HEAD data as layout data.
To bring beside to an ui element, set the layout data with MATRIX DATA
Refer the below snap shot
Hope this helps you.
Regards,
Rama