How to split a table, and cycle searches on SAP

for first part: