‎2010 Jun 01 11:34 PM
Use the below code created the file in application server but the file has all values like #C#W#C#1#0#9#6.
How to replace # ( I need to store value of the internal table separated by comma delimeter in application server)
Open dataset filename for OUTPUT in BINARY MODE.
loop at lt_tab into wa_tab.
transfer wa_tab to filename NO END OF LINE.
endloop.
Dont suggest CG3y and CG3Z they are invalid T-code in SCM systems.
Please rectify the above code.
‎2010 Jun 02 6:08 AM
Try using Text mode with requried encoding like UTF-8 and ISO.
Suresh
‎2010 Jun 02 7:19 AM
Hi
From the syntax I can tell you that your system is a Non- Unicode.
Can you check the following:
1. While debugging are the values of lt_tab coming as # or this # is being generated when writing to the application server?
If the characters are getting corrupted in the application server then check the file by downloading it to the presentation server to check if the # still exists in the local system. You can use fm : archive_server_client might be( try f4 serverclient*).
Because sometimes file in the application server for some characters might be displayed as # even if they are perfect once you download the same file and check.
Let me know your findings.
You can also try opening in Text mode and with proper encoding.
Thanks
Ajay