on 04-14-2008 4:43 PM
Hello,
I am new to XI and looking for some assistance to understand the following scenario and how to show them in test mode
.
Src
IORDUPD01
IDOC
BEGIN
EDI_DC40
E1ORUPD
E1ORUPD
Target structure
MT_IORUPDO1_OUT.
I am mapping elements of E1ORUPD to MT_ORUPD01_OUT. Basically, the data is user status information of the production order. One is newly created status and the other is deleted status.
In the test mode, I always see only one segment.
How could I see both segments in the test mode.
Thank you for your kind help
Regards
William
Thank you all for replying to my message.
I would like to provide the in and out structure and the content of the data after processing.
My question is how could I see same segment with different data in the target structure?
Source Structure
E1ORUPD 1:1
Order No 0:1
Status 0:1
Output Structure
MT_IORUPD01_OUT 1:1
OrderNo 1:unbounded
Status 1:unbounded
The XML file has the following data
E1ORUPD01
Aufnr 80100001
Status AAAP
E1ORUPD001
Aufnr 80100001
Status DLTD
The output looks as under. It does not show the second output msg.
MT_IORUPD01_OUT
AUFNR 80100001
Status AAAP
Thanks
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is because ur root E1ORUPD occurrence is 1 hence it will repeat only once. Change the occurrence to unbounded then u will get the
Change the structure as mentioned below.
Source
E1ORUPD 1:1 make it 0--unbounded
Order No 0:1 t
Status 0:1
Output Structure
MT_IORUPD01_OUT 1:1
Root---- 0-unbounded
OrderNo 0-1
Status 0-1
Map E1ORUPD to Root- node. so as many times Ur E1ORUPD repeats ur Root will also repeat.
chirag
Edited by: Chirag Gohil on Apr 14, 2008 11:01 PM
Thank you Chirag, Patrick and Rodrigo.
All of you provided invaluable information and the problem is resolved. I gave points to your help.
Regards
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Patrick.
I like to have a solution as in 1.
Also, if you could explain how to do 2 would be nice. I know it can be done using removecontexts, but not sure how to do it.
Our friends have suggested to make the top node MT_IORUPDO1_OUT as 1:unbounded. However, I cannot modify to unbounded in datatype. I could do in lower level elements. At this time I am using JRE 1.6. Is this a problem?
Lastly, in the graphical editor a number buttons ( below design ) are disabled. A lot of people suggested to rollback to 1.4.2_17. Is 1.6 a problem to run PI 7.0
Thank you all who helped me.
Regards
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Chirag,
Thank you for the reply.
I guess you are asking me to change the occurences of the node
to 0:unbounded for E1ORUPD01( Source) and MT_E1ORUPD01_OUT(Target Structure).
However, I cannot modify the occurences at the node level. Currently, I am using JVM 1.6. Is this a problem that I cannot modify?
Are you able to modify the Datatypes?
Thank you all for replying my message
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Change it from IR->Data type and once it is change activate it.
above requirement is what u r looking for which u have mentioned in thread.
After that test the message using test tab in message mapping.
chirag
Reward points
Edited by: Chirag Gohil on Apr 14, 2008 11:22 PM
Edited by: Chirag Gohil on Apr 14, 2008 11:23 PM
Hi,
how should your target look like?
1)
MT_IORUPD01_OUT
Aufnr 80100001
Status AAAP
MT_IORUPD01_OUT
Aufnr 80100001
Status DLTD
2)
MT_IORUPD01_OUT
Aufnr 80100001
Status AAAP
Aufnr 80100001
Status DLTD
To answer your question I guess it's not possible to change the occurence of a source element.
Regards
Patrick
Thanks for the reply.
My question was in the source I have two segments and in the test mode I see the first segment only.
How can see both segments in the target structure in Test mode.
Regards
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Right click on the E1ORUPD segment in test mode and say duplicate. U can add as many segment u wanted to add but the condition is that the occurrence of the E1ORUPD segment should be unbounded.
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check whether the occurrence of receiver structure is 0...unbounded or 1...unbounded. sure the occurrence is 0..1 or 1...1. in this case, you have to modify the Data Type of receiver structure and change the ocurrence
Thanks
Rodrigo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.