2009 Jul 03 10:00 AM
Hi,
After support package installation, chararcters are not displayed correctly when i use application server,
for example when i write internal table into a file in text mode and read it after into attachment in binary mode
but characters are not correct. And after mail sent, the half or file is sent, not all data available.
What could be the reason?
Char exp in debug of attachment: ㅔ䠰㘹㌲〰㤰㘰㌍ਲ䙈〶㤳㈰〹
I get above char after i read the file, code like following:
do.
clear attch.
read dataset filename into attch.
if sy-subrc <> 0.
append attch.
exit.
endif.
append attch.
enddo.Thanks.
Hi,
After support package installation, chararcters are not displayed correctly when i use application server,
for example when i write internal table into a file in text mode and read it after into attachment in binary mode
but characters are not correct. And after mail sent, the half or file is sent, not all data available.
What could be the reason?
Char exp in debug of attachment: ㅔ䠰㘹㌲〰㤰㘰㌍ਲ䙈〶㤳㈰〹
I get above char after i read the file, code like following:
do.
clear attch.
read dataset filename into attch.
if sy-subrc <> 0.
append attch.
exit.
endif.
append attch.
enddo.Thanks.
2009 Jul 03 10:17 AM
I think this problem is some what related to Unicode and you should use Encoding statements whith ur open dataset stetement as follows.
open dataset ....................Encoding UTF-8.
Encoding UTF-8 is for unicode environment.
Hope this will help u.
2009 Jul 03 12:14 PM
Thanks.
I have tried all about encoding but it does not work.
Is there any way to send attachment without transfering itab data to app file?
Thanks.
2009 Jul 06 6:20 AM
You can use FM 'SCP_REPLACE_STRANGE_CHARS' to replace all strange characters and craete appl file with this data.
Hope this will help u.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |