05-23-2006 4:40 PM
I need some bottle size information in outbound invoice idoc. I defined the new segment Z1MARM1. Then I extended INVOIC02 and create the new segment as a child segment of E1EDP01.
It is added as the first child of the E1EDP01. I need material no. from segment E1EDP19 to get size info from SAP table and populate the new Z segment. The problem is that Z segment is inserted before E1EDP19, so I can't get material no. in that segment. How can I put the Z segment as the last child of E1EDP01? or if you can come up with a better solution.
Thanks
05-23-2006 4:49 PM
That is by design. You cannot add the segment at the end. You can only add it in the front as you saw it. You may be better off to create it as a child segment of E1EDP19.
05-23-2006 4:49 PM
That is by design. You cannot add the segment at the end. You can only add it in the front as you saw it. You may be better off to create it as a child segment of E1EDP19.
05-23-2006 4:54 PM
Hi ,
I worked on outbound invoice idocs . I had a similar situation where i added a new segement in the line item . I got all the data from the header segment . Why don't you try getting it from the header segment? I can send you a sample code if you need .
Thanks
Hari
Message was edited by: Hari Gopalakrishna
05-23-2006 4:57 PM
Thanks Srinivas,
I added in the E1EDP19 segment and it solved my problem.
Hari,
I need the material no. which is not in the header segment.
Thanks
08-30-2010 9:03 PM