Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read comma separated data in a field DATA_RECORD into Internal table

Former Member
0 Kudos

In FM CRM_MKTLIST_C_READ, Export parameter  ET_C_DATA has a field DATA_RECORD which has data like 39,,,,,critical val that was read from a CSV file uploaded in the server.

How to read 39,,,,,critical val into an internal table of a certain type structure as per how the CSV file has been created?

Moderator message: basic, please consult ABAP documentation before posting.

Message was edited by: Thomas Zloch

1 REPLY 1

former_member186741
Active Contributor
0 Kudos

you can use the split command to convert the data_record field into an internal table,

split data_record at ',' into table my_table. (check the syntax)