Skip to Content
Jun 22, 2021 at 07:24 AM

Dynamically determine line type


I have a field ls_text type any.

Sometimes ls_text will contain 'ID12243 Glenn Anjikovic' i.e. (userid, first name, lastname),

other times ls_text will have 'XYZCompany Los Angeles USA' i.e. (Company name, City, Country).

Is there any way to determine the fields in the structure during runtime? There could be more possibilities than just the 2 listed above.