2012 May 18 7:50 AM
Hi Experts,
I have an internal table t_adr6 like this
types: begin of ty_adr6,
addno type adrnr,
SMTP_ADDR type SMTP_ADDR,
end of ty_adr6.
data: t_adr6 type standard table of ty_adr6,
wa_adr6 type ty_adr6,
itab type standard table of ty_adr6,
wa_itab type ty_adr6,
... ...
internal table t_adr6 have values like this
addno E-mail
11 info@umc.com
Based on addno number i want to concatenate email addresses. How to get the internal table values like the following.. ....
To get the internal table itab values should be like this
adrnr E-mail
10 hr@venture.com,sales@venture.com
1 1 info@umc.com,inquiry@umc.com, sales@umc.com
How to achieve this internal table itab.
Thanks in advance
Moderator message: duplicate post, basic problem, please do more research before posting.
Message was edited by: Thomas Zloch
2012 May 18 7:55 AM
🙂
Its a ABAP logic that you need to think thru 🙂
For this, you will have to create a new Internal table to hold the final values.
Loop t_adr6.
concatenate E-mail ',' temp_email into temp_email.
at end of ADRNR,
append temp_email to Final_table
Endloop.