‎2005 Aug 30 6:06 AM
Hi,
Can anyone tell the Hexadecimal code for return character or new line in abap. I want to use it in the following code.
data: w_ret type X value '<hex code>'
loop at it_tab.
concatenate w_ret it_tab-field1 it_tab-field2
into it_newtab.
append it_newtab.
endloop.
w_ret shoul be a new line character.
‎2005 Aug 30 6:11 AM
if you are on WAS 6.10 >
you can use CL_ABAP_CHAR_UTILITIES=>cr_lf
else
'09' as hex code
Regards
Raja
Note: please search the forum before posting a question. this has been discuessed many times here.
Message was edited by: Durairaj Athavan Raja
‎2005 Aug 30 6:11 AM
if you are on WAS 6.10 >
you can use CL_ABAP_CHAR_UTILITIES=>cr_lf
else
'09' as hex code
Regards
Raja
Note: please search the forum before posting a question. this has been discuessed many times here.
Message was edited by: Durairaj Athavan Raja
‎2005 Aug 30 6:28 AM
‎2005 Aug 30 6:40 AM
its '0A'
for a complete list check the following link
http://www.bbsinc.com/iso8859.html
Regards
Raja
If you find the answers helpful, reward them (by choosing the radio button) and close the thread.
‎2005 Aug 30 7:01 AM