Posted: Tue Mar 18, 2008 12:22 pm Post subject: Создание файла с пробелами в имени
Добрый день!
Кто-нибудь знает, почему не создается файл на сервере приложений, содержащий пробелы в имени. Создается файл с именем до пробела. Запись происходит нормально. Как быть?
Code:
DATA: P_FILENAME(128).
P_FILENAME = 'Report for Petrove.txt'.
OPEN DATASET P_FILENAME FOR OUTPUT IN TEXT MODE.
transfer 'test test' to P_FILENAME.
CLOSE DATASET P_FILENAME.
DATA: P_FILENAME(128).
P_FILENAME = '""Report for Petrove.txt""'.
OPEN DATASET P_FILENAME FOR OUTPUT IN TEXT MODE.
transfer 'test test' to P_FILENAME.
CLOSE DATASET P_FILENAME.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.