Application Development and Automation 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 only

Function Module to convert multiple records into single record and vice-ver

Former Member
0 Likes
549

hi,

i have a requirement to convert 10 records in an internal table to single record which should be passed

to a single variable and store in the database.Kindly let me know is there any function module

which meets my requirement. Also i need to do split one single record to 10 records each of

say 65 length interval.

kindly provide me if there is nay functinon module as such.

I can do with ABAP-OOPS.Please suggest function module.

1 ACCEPTED SOLUTION
Read only

Shafiq_Rehman1
Active Contributor
0 Likes
468

I dont think such FM exists, but if you wanna code one it would be simple. Just loop through the internal table, keep concatenating the currently processing record into a long character variable to convert 10 records into one record.

2 REPLIES 2
Read only

Shafiq_Rehman1
Active Contributor
0 Likes
469

I dont think such FM exists, but if you wanna code one it would be simple. Just loop through the internal table, keep concatenating the currently processing record into a long character variable to convert 10 records into one record.

Read only

0 Likes
468

Thank you shafiq,

i have written the code and i got it.