on 12-17-2010 10:40 AM
Hi,
I am using an idoc in my mapping. There is no data element created for that.
1. import idoc.
2. Import idoc XSD into External definition.
3. now i am mapping in the MM.
Everything is fine and working good.
result: one file is coming in and creating one idoc.
If the filw contains two idoc information, then it needs to create two idocs.
As of now it is not possible as it is used as 1:1, i am trying to change the xsd and trying to give 0:unbounded.
it wouldnot able to do that, where as for child segments, i would able to do.
Can it be possible or not? any other ways.
Thanks,
Manju
Cleared
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manju,
The best way to do this is export the XSD from PI and import them to any client like XML spy change the occurrence to 0 to unbounded, or 1 to unbounded and import back to PI as an external definition.
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use XMLSPY or standard tool to edit your idoc. Change (root)idoc tag from 1 to 1 to 0 to unbounded. Then export it in external definition. Clear cache also. It should work. I have done few idoc interfaces with the above changes. Worked fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you could change the idoc element occurence from 1 to 1 to o to many. Then everything should work. You dont even worry about the root node.
Steps:
a) export your xsd.
b) Edit using tool
c) import via external definition.
Then test it. Use this link.... I'm sure we can fix this issue easily.
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Hi Manju.
Just change the occurence of idoc node(1or 0 to unbound ) and import it in ESR, no need to change any element or node names.Validate the xsd if you are usign xml spy.
if any doubts have a look at this blog for step by step
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Regards,
Srinivas
Hi,
Please try the below syntax to change the occurence of the Idoc in the XSD structure in the External Definition.
<xsd:element name="IDOC" minOccurs="0" maxOccurs="unbounded" type="<IDOCTYPE>" />
<IDOCTYPE> is the name of the Idoc.
Please revert back if the issue is not resolved.
Regards,
Subbu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
It is possible if you change the occurrence from 0...1 to 0...unbounded for the IDOC tag. It has been used in one of the scenarios I am working on.
Cheers,
Anand Patil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try changing the occurence of the IDOC in mapping --> signature tab and then check.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.