‎2008 Mar 25 12:34 PM
Hello,
We are currently upgrading 4.6C system to ERP 6.0. Now we have abap program problem in open dataset statment.
By the way, system is not Unicode based in ERP 6.0.
Issue:
File created by the following statement does not containg trailing space before line break.
Statement:
Open dataset wa_file_name for output in text mode.
wg_text = 'A'
transfer wg_text to wa_file_name length 2.
Output:
A
(only A is printed and no traiing space after that)
We have tested legacy mode but in vein.
Actually this problem does not happen in R/3 Enterprise.
Any input is welcome.
Regards,
Kazuya
‎2008 Mar 25 12:39 PM
Try Using
OPEN DATASET wa_file_name FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
Hope this helps
Regards
Vinayak
‎2008 Mar 25 12:39 PM
Try Using
OPEN DATASET wa_file_name FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
Hope this helps
Regards
Vinayak
‎2008 Mar 25 12:50 PM
Thanks a lot for your reply.
I tired it but didn't work!
Other option such as NON-UNICODE didn't work either.
Any other idear?
Thanks for your support.
Kazuya