2013 Oct 15 1:43 PM
Hi,
I'm new in IDOCs and I could not find a solution for my problem.
I have added 2 new fields in WPUBON01 segment in the HEAD . for that reason i should create a new segment ZWPUBON01 ( or sould I say I create an Enhancement)
When I make a test in WE19 everything is ok .... the problem is at the moment when the other system send to SAP the information ( an XML FIle ) ... it show me the following error "IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: An IDocIllegalTypeException occurred"
Can anybody help me to solve my problem .
Thanks
2013 Oct 15 1:50 PM
Paste the ST22 error if possible..
Hope the incoming XML file have corresponding values for the new segments you have added.
2013 Oct 17 2:34 PM
Yes, XML File it's fine
And also I should say that I'm not using PI/XI , I'm working on Sonic. In R3 (tx We63) everyting it's ok but when I make a complete test, the error is the following
Error
-------
IDOC_ERROR_PARSE_FAILURE: An IDocIllegalTypeException occurred:
state=READING_FIELD_STARTTAG, charPosition=749, lineNumber=25, columnNumber=19, invalidChar=U+0053,
sourceSnippet=... <KUNDNR/>^ <BELEGWAERS>PEN</BELEGWAERS>^ <Z1WPB01 SEGMENT="1">^
...
IDOC_ERROR_ILLEGAL_TYPE: Segment type "Z1WPB01" is not a valid child segment type.
DOCUMENT: type=WPUBON01; SEGMENT: type=E1WPB01, definition=E2WPB01001
Sombody could help me for solving my problem ?
Thanks