SAPфорум.RU
https://sapboard.ru/forum/

Message Mapping in SAP PI
https://sapboard.ru/forum/viewtopic.php?f=70&t=91696
Страница 1 из 1

Автор:  Xanderfurst [ Ср, ноя 04 2015, 20:08 ]
Заголовок сообщения:  Message Mapping in SAP PI

Коллеги, приветствую.
Я новичок в системе SAP PI.
Делаю тестовый пример. Создал исходящий интерфейс из которого хочу передать адресные данные сотрудника (входящие интерфейс - IDOC HRMD_A).
Выдаёт ошибку: Mapping for target field '/HRMD_A07/IDOC/@BEGIN' incomplete.
Подскажите, кто знает, что за поле BEGIN и SEGMENT и с чем их необходимо связать?

Автор:  Chaser009 [ Чт, ноя 05 2015, 03:13 ]
Заголовок сообщения:  Re: Message Mapping in SAP PI  Тема решена

Здравствуйте!

Самое простое - константу "1" присвойте.

The IDoc is rendered into XML and it is optimized for the XML-parser. The parser should read the xml as fast as possible, so it is necessary that the xml-data is read only once, this is done by an one-pass XML-parser. The customer can define the segment names and the segment fields arbritrarily, so the beginning of the segments must be marked with an attribute. This is named "SEGMENT". But in XML the attributes must consist of name + value. Now the segment attribute could have got the value
of the segment-number, but this is not practical. Assume that you want to reduce one segment in the middle of the xml, than you have to renumber all segments of the idoc xml (this is very difficult to implement with an XSLT programm). So it
was decided by SAP to set the value of the attributes to "1".
The idoc-tag must have got also an attribute "BEGIN" to distinguish it from a segment field called "IDOC".

Страница 1 из 1 Часовой пояс: UTC + 3 часа
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/