‎2008 Mar 29 9:29 AM
Hi,
My requirement is ,
a = 'ABAP'.
wa-text = ' I like 'a' Programming'.
Append wa-text to itab-text.
write : itab-text.
Output : I like 'a' Programming
Expected output : I like ABAP Programming
Can any only help me to solve this.
Richard A
‎2008 Mar 29 9:38 AM
Hi,
do like below......
a = 'ABAP'.
concatenate 'I like' a 'programming' into wa-text seperated by ' '.
Append wa-text to itab-text.
write itab-text.Cheers,
jose.
‎2008 Mar 29 9:34 AM
hi check this ..
data: begin of itab occurs 0,
text(20) type c,
end of itab,
wa_itab type itab.
wa_itab = 'I like Programming'.
Append wa_itab to itab.
read table itab index 1.
write : itab-text.
regards,
venkat.
‎2008 Mar 29 9:40 AM
Hi,
I have variable a = 'ABAP'.
and inturn i need it to append it as a text inside other itab.
when writing the text out , it should show the text with the variable content.
Richard A
‎2008 Mar 29 9:42 AM
‎2008 Mar 29 9:48 AM
hi do like this...
data: begin of itab occurs 0,
text(50) type c,
end of itab,
wa_itab type itab.
data: v_text(30) type c value 'I like Programming'.
move v_text to wa_itab.
Append wa_itab to itab.
loop at itab.
write : itab-text.
endloop.
regards,
venkat.
‎2008 Mar 29 9:38 AM
Hi,
do like below......
a = 'ABAP'.
concatenate 'I like' a 'programming' into wa-text seperated by ' '.
Append wa-text to itab-text.
write itab-text.Cheers,
jose.
‎2008 Mar 29 9:43 AM
Hi
Use the following code.
concatenate 'I like' a 'Programming' into wa_text.
Append wa-text to itab-text.
write : itab-text.
Regards,
Sanki.
‎2008 Mar 29 9:44 AM
Write like this
DATA: a(20) TYPE c,
a = 'ABAP'.
CONCATENATE 'I like' a 'Programming' INTO wa-text SEPARATED BY ' '.
APPEND wa-text TO itab-text.
WRITE: itab-text.
Regards
Sandipan