I have a requirement to convert an internal table of type KNA1 to String type internal table with a seperator.
One option I have is to use Concatenate statement as per code below:
loop at i_kna1 into wa_kna1.
concatenate wa_kna1-field1 wa_kna1-field2 ...
into wa_string seperated by '|'.
append wa_string to I_string.
This methos will be very cumbersome as there are many fields involved that will have to be concatenated.
Is tghera ny other shorter method to do it?
Thanks in advance!!