cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC occurrence change problem

pankaj_yadav3
Participant
0 Kudos

Hello Expert,

As per my requirement i want to receive multipal idoc in single message , So i want to change IDOC occurrence to maxoccurrence ="unbounded"

Once i upload changed xsd in my external definition in my system it is showing some error :

"Unable to convert imported document to WSDL Reason: Error when parsing an XML document (Element type "xsd:element" must be followed by either attribute specifications, ">" or "/>".)Check selected category"

For your reference i am attaching the doc .

Please help me for this issue .

Regards

P.Singh

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor
0 Kudos

Hi Pankaj!

As Harish has already said, add the space before maxOccurs="unbounded" attribute to separate it from previous attribute type.

Regards, Evgeniy.

pankaj_yadav3
Participant
0 Kudos

Thanks Evgeniy for your suport

former_member190293
Active Contributor
0 Kudos

Glad that it helped.

By the way, I guess you should mark Harish's answer as the best answer. He was absolutely right and I've just slightly clarified it 🙂

Regards, Evgeniy.

Answers (3)

Answers (3)

manoj_khavatkopp
Active Contributor

i believe you are doing idoc packing i. e outbound case so you really need not change the occurence just make you have enabled idoc packing in partner profile amd idoc sender channel thats is enough you ll get multiple idocs in one message , in case if it is inbound then you can chnage the occurenec of idoc uisng signature tab in message mapping .

Br,

Manoj

Harish
Active Contributor
0 Kudos
,

Hi Pankaj,

it seems to be problem with semantics in XSD. please make sure that XSD:elements is in one line with no line break. there should be space before max occurance and space after "unbound".

refer the below link for more details

https://wiki.scn.sap.com/wiki/display/XI/File+to+Multiple+IDOC+Splitting+without+BPM

regards,

Harish

Former Member
0 Kudos

Hey Pankaj.

Can you please redownload the original IDoc XML definition and redo your change. Add spaces after you close your quotation marks as well.

https://wiki.scn.sap.com/wiki/display/XI/Changing+the+Occurrences+of+Standard+IDOC

If you are still having difficulty please send the XSD text so i can copy it and try in my system as you may have accidentally broken some of the syntax which your error is alluding to.