SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

XML, кодировка, платформа...............



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
vvvictor
Участник
Участник



Joined: 19 Dec 2007
Posts: 10

PostPosted: Thu Apr 03, 2008 10:10 am    Post subject: XML, кодировка, платформа............... Reply with quote

Вот тут есть примерчик с iXML на 4.6
Кто нибудь пробовал ?
Самое веселое - парсинг не идет, даже с тестовым примером.............
Ругается сразу же на 1-ю строчку............
XML получаю HTTP_GET-ом.......... Но есть отдельные НО.......

На сколько я смотрю - в iXML везде ссылки на C-модули. А платформа у нас довольно специфичная - AS/400+EBCDIC. Может загвоздка в этом ?

_________________
Ex ipso fonte bibere
Quote:
Abyssus abyssum invocat
Dies diem docet
Ducunt volentem fata, nolentem trahunt

Estote prudentes sicut serpentes
Back to top
View user's profile Send private message Blog
vga
Мастер
Мастер


Age: 65
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Thu Apr 03, 2008 10:26 am    Post subject: Reply with quote

Виктор, привет. Попробовал в 4.6c.
Платформа Windows Server 2005 + MSSQL.
На тестовом примере отработало и вывело на экран...что-то



xml_output.PNG
 Description:
 Filesize:  7.66 KB
 Viewed:  8377 Time(s)

xml_output.PNG


Back to top
View user's profile Send private message Blog Visit poster's website
vvvictor
Участник
Участник



Joined: 19 Dec 2007
Posts: 10

PostPosted: Thu Apr 03, 2008 10:56 am    Post subject: Reply with quote

vga wrote:
Виктор, привет. Попробовал в 4.6c.
Платформа Windows Server 2005 + MSSQL.
На тестовом примере отработало и вывело на экран...что-то
vga, Спасибо.
Остается принять за основу, что за счет C-модулей парс идет некорректно - надо перекодировать перед парсингом...............
Может в скором времени перевалимся с EBCDIC-а на ASCII - будет полегче Very Happy

_________________
Ex ipso fonte bibere
Quote:
Abyssus abyssum invocat
Dies diem docet
Ducunt volentem fata, nolentem trahunt

Estote prudentes sicut serpentes
Back to top
View user's profile Send private message Blog
vvvictor
Участник
Участник



Joined: 19 Dec 2007
Posts: 10

PostPosted: Thu Apr 03, 2008 2:03 pm    Post subject: Reply with quote

Тваюмать ! (Извините, был напуган) (С)

Вобщем попробовал продублировать пример в сестеме 4.6с под виндой (нашлась одна такая, случайно, в нашем доступе) - все идет. У меня нет (повторяю 4.6c платформа AS/400 DB2 кодировка EBCDIC). Решил порыться по нотам. В нотах нашлось упоминание о некоей кодировке SAP*......... Чисто по наитию в документе вместо utf-8, microsoft-1251 прописал SAP-1504 - И ЗАРАБОТАЛО !!!

Моя в шоке Shocked Shocked Shocked Evil or Very Mad

_________________
Ex ipso fonte bibere
Quote:
Abyssus abyssum invocat
Dies diem docet
Ducunt volentem fata, nolentem trahunt

Estote prudentes sicut serpentes
Back to top
View user's profile Send private message Blog
vga
Мастер
Мастер


Age: 65
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Thu Apr 03, 2008 2:53 pm    Post subject: Reply with quote

vvvictor wrote:
Тваюмать ! (Извините, был напуган) (С)


Прикольнуло Laughing
Back to top
View user's profile Send private message Blog Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
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.