ASSIGN values from FIELDSET to TEXT MAP

You can assign FIELDSET directly to TEXT MAP. First, this clears the TEXT MAP and then creates an entry in the TEXT MAP for each field in the FIELDSET. The field name in the FIELDSET is used as the key for this entry.

In the following example, the command clears the TEXT MAP text_map and then creates the value text_map ["A"] with the value "B".

FIELDSET FieldSet 
ASSIGN FieldSet.A := "B" 
ASSIGN text_map := FieldSet