on 10-30-2009 9:30 AM
Hi,
I am converting the Flat file representation of an IDOC to IDOC XML using Java mapping. It is generic code which has been successfully used for many of the interfaces.. But there is a mismatch in the structure for the file that I am using. I checked the metadata and it's perfectly fine. The problem is with the input file:
SEGNUM is coming as 000000 for every segment. Even PSGNUM is not coming as per the Number of superior parent segment.
I also read about we21 transaction, but it doesn't fit into the option....
Please suggest me an alternate way of handling this.
Thanks in advance,
Vishal
Hi,
I don't know what prompted you to write a Java mapping to convert IDOC to IDOC-XML when SAP has provided you a standard ABAP mapping to do it. NoCode required at all.
How to Convert Between IDoc-XML Structure to a Flat File and Vice Versa in Exchange Infrastructure 3.0 (NW2004)
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
Regards,
Siva Maranani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the java code, you might be reading the meta data from a file. Check if the meta data in the file is exactly matching the metadata (documentation) of the IDOC. this you can check in we60. If they are not the same, download the metadata from we60 on to the file and use this instead and try again.
Hope this resolves.
Thanks and Regards,
Sarath.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.