Skip to content

Instantly share code, notes, and snippets.

@benjnw
Created August 6, 2025 14:13
Show Gist options
  • Select an option

  • Save benjnw/8aab02759efeedb1a4be1ec1479989f2 to your computer and use it in GitHub Desktop.

Select an option

Save benjnw/8aab02759efeedb1a4be1ec1479989f2 to your computer and use it in GitHub Desktop.
split_wo_limit
TYPES:
BEGIN OF y_file,
line TYPE xstring,
END OF y_file.
DATA:
t_line TYPE STANDARD TABLE OF xstring,
t_file TYPE STANDARD TABLE OF y_file.
LOOP AT t_file INTO DATA(wa_line).
SPLIT wa_line-line AT CONV xstring( '&' ) INTO TABLE DATA(t_line_aux) IN BYTE MODE.
APPEND LINES OF t_line_aux TO t_line.
ENDLOOP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment