on 04-02-2007 3:41 PM
I have a flow in our current 3.52 SAP BC installation that is working fine. We bring in XML data and it converts it to an Idoc and loads it into SAP without any problems. however, when I installed 4.7 on our test system and ran the same flow, I get the following error:
com.wm.util.coder.InvalidDatatypeException: com.wm.lang.xml.WMDocumentException: Invalid IDocXML document: Only segments are allowed on top level, found non-segment E1EDK01
Can anyone give me an insight as to what this might be? We are trying to move everything into production this weekend and I need to have this solved before then. Any help would be GREATLY appreciated.
Thanks!!
Hi Demon,
but what's the issue ?
did you try to debug with <b>savetopipeline/restorefrompipeline?</b>
this will tell you everything
you can always try to upload the IDOC once more inside BC 4.7
(via SAP or via XSD/DTD)
but at first I'd do the debugging - this way you will find the error
very quickly
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
That's my problem. I don't know what the error means. This structure is definitely legitimate and it works today in 3.52. I'm just wondering why the Decode service fails now with this error with nothing else changing.
Can you give me a little more advice on using the debugging option you suggested?
Thanks,
Damon
hi,
yes inside BC you have IDOC records
you can delete them and import once more (with the same name)
and try then
I worked only with BC 4.6/4.7 and everything works correctly
BTW
remember to have an archive of your BC package before doing any changes
one more thing - <b>did you import latest SP packs for BC server/developer?</b>
Regards,
michal
I'm sorry about my confusion on this guys, but do I re-import these IDOC records from within the Developer? I'm confused because I don't remember doing this before, but it's been awhile, so I suppose it's possible.
All I did was export the package from my 3.52 installation and load it into my 4.7 installation. Is there anything else I should be looking for? It definitely fails in the "decode" service.
Thanks,
Damon
Hey
reimporting the IDOC XML structure means ,after u log in to Integration Repository,reimport thr IDOC again under imported objects,when u start working with IDOC or RFC,you have to import them in IR and if u make any changes in them then u have to reimport them again in IR just to keep both IR and IDOC in sync.
thanx
ahmad
Ok, I just downloaded SR8 for BC47 and installed it. I went through the instructions and I also tried to re-import the IDOC definition. However, when I go to the Developer and select Idoc Definition, I get a window that has my server name in it. I put int he idoc type (Orders05), and when I click "Lookup" I get the following:
Idoc problem
com.wm.app.b2b.server.ServiceException: Could not find IDoc ORDERS05 in SAPTST
Does anyone have any ideas on this? All your help is appreciated and I will be thrilled just to get the decode to work and load the IDOC into SAP.
Thanks,
Damon
Michal,
Ok, I may have it narrowed down to the cause, but I don't know how to fix it.I am working on the flow and I notice on the record in question is giving the @segment field a value of "1" instead of E2EDK01. All the other segments look to be correct. This definitely looks to be the problem, but how do I get the Developer to populate this field correctly for the E1EDK01 record? Do you have any ideas? Thanks for your help.
Right now, I have the Set Value command on that field and the drop-down box shows a "1" in it. All of the other segments have this same mapping, but they are coming out fine. Any thoughts? I hope this is as easy as it sounds. thanks again for all your help.
Damon
Hi,
I hope it should work.
Why dont you try the same external definition reimport and check.i mean same idoc-xml structure is existed or not, try to import the idoc-xml structure and check.
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.