on 07-16-2009 8:35 AM
Hi Experts,
I have created a java application to send a XML to SAP inorder generate an IDOC by using SAP JCo3. But during parsing i am facing an error
" Field COSMAS01 not a member of EDI_DC40StackTrace:com.sap.conn.jco.JCoRuntimeException: (127) JCO_ERROR_FIELD_NOT_FOUND : Field COSMAS01 not a member of EDI_DC40
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1111) "
But same XML is working fine when i am using java application supporting SAP JCo2 version.
Where am i making mistake ? What could be the possible rechecks i need to perform ?
Thanks in advance
Hi vinay,
Refer these links,
http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/705f2b2e-e77d-2b10-de8a-95f37f4c7022
/people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi vinay,
look this blog it might help u
/people/ayyapparaj.kv/blog/2008/11/21/java-to-r3-sending-idocs-using-sapidoc-jar
let me know u need any further information
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have a look at below link .
https://wiki.sdn.sap.com/wiki/display/JSTSG/%28GP%29AnExceptionIs+Thrown
Regards,
Krishna chaitanya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are probably allocating field COSMAS01 to the wrong EDI Segment.
It really is not part of the EDI_DC40 segment but rather part of the sdata field of an EDI_DD40 segment...
Or maybe COSMAS01 is the value of the xml element (idoc name?) on EDI_DC40 and you defined it as an xml element?
Or COSMAS01 is the value of an attribute and you defined it as an attribute name?
What is your IDOC name?
Remember that you most likely will have to adapt your programs when switching from JCO 2.x to JCO3...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.