2007 Jun 26 6:25 AM
Hi Gurus,
Am practising the ALV with OOPS concepts. I inserted hyperlink to the field. When it clicks on hyperlink it will open outlook and inserted that record in the body. The problem here is the message is coming in a single line in the body. I want carraige return after one field is inserted. For Eg.
I use concatenate 'mailto:[email protected]?subject=Hello&body= '
'Material Number: ' wa_mara-matnr 'meins' wa_mara-meins into href separated by space.
The output is
Material Number: 000018 meins AS
I need the output like
Material Number : 000018
Meins AS
Is there any carraige return code is there in a string.
Points will be awarded
Thanks
Ravi
2007 Jun 26 6:27 AM
Hi Gurus,
Am practising the ALV with OOPS concepts. I inserted hyperlink to the field. When it clicks on hyperlink it will open outlook and inserted that record in the body. The problem here is the message is coming in a single line in the body. I want carraige return after one field is inserted. For Eg.
I use concatenate 'mailto:[email protected]?subject=Hello&body= '
'Material Number: ' wa_mara-matnr 'meins' wa_mara-meins into href separated by space.
The output is
Material Number: 000018 meins AS
I need the output like
Material Number : 000018
Meins AS
Is there any carraige return code is there in a string.
Points will be awarded
Thanks
Ravi
2007 Jun 26 6:26 AM
hi,
Try this
concatenate 'mailto:[email protected]?subject=Hello&body= '
'Material Number: ' wa_mara-matnr 'meins' wa_mara-meins into href separated by CL_ABAP_CHAR_UTILITIES=>CR_LF.
Thanks
Naren
2007 Jun 26 6:31 AM
Hi Naraen n Raj,
Thanks for your quick reply. I tried those options but its not coming in the body of the outlook express.
Thanks
Ravi
2007 Jun 26 6:27 AM
2007 Jun 26 6:31 AM
v_hex = '0D'. "Carriage return.
CONCATENATE '' wa_mara-matnr" matnr V_HEX
wa_mara-meins meins V_HEX
INTO T_FINAL-field.