on 05-13-2006 6:58 AM
Hi. I am using the DELVRY03 IDOC as an outbound interface. The IDOC has multiple segments. In summary here are the two segments I am taking data from.E1EDL20 and E1EDL24. The structure in XI looks similar to this.
DELVRY03
IDOC
EDI_DC40
E1EDL20 1..9999
VBELN
VKORG
.
.
E1EDL24 0..9999
POSNR
MATNR
.
.
My target structure is a SQL table Where every row will contain the following information under the access line.
access
DeliveryNumber
DeliveryLineItem
SalesOrg
Material number
.
.
I map access to the E1EDL24 segment
I map delivery number to E1EDL20.VBELN
I map SalesOrg to E1EDL20.VKORG
I map DeliveryLineItem to E1EDL24.POSNR
I map Material to E1EDL24.MATNR
When I do a test with two segments of E1EDL24 my mapping does not work correctly.
I only get delivery number and sales org in my first record. My first record contains all the correct information buit my second target record is missing deliverynumber and sales org. These two fields are in the E1EDL20 segment which is the head segment.
Any ideas how to map delivery number and sales org so that the values come into all records?
Thanks,
Jim
Hi,
>>When I do a test with two segments of E1EDL24 my mapping does not work correctly
Thats because you were having only one E1EDL20 segment.
Are you going to have only one E1EDL20 segment and multiple E1EDL24 segment??? If yes then you can go for UseOneAsMany function in graphical mapping.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jim,
this weblog <a href="/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool">/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool</a> covers exactly the issue you have in all variations.
The weblog uses segments E1EDP01 (which is like E1EDL20 in your case) and E1EDP20 (which is like E1EDL24 in your case).
The function useOneAsMany does solve the problem, but only if you always have a E1EDL24 segment and this segment always contains every single field you use in your mapping.
Based on your description you most likely missed to change the context of your mapping of E1EDP24 segment -> access from E1EDP20 to IDOC.
Regards,
Claus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.