on 06-01-2015 7:29 AM
I'm not sure if this is the right forum still posting it here as could not find any appropriate forum for Java Jco problems.
Hi Experts,
I'm getting this exception while calling BAPI_INCOMINGINVOICE_CREATE using SapJco3
Caused by: com.sap.conn.jco.JCoException: Division by 0 (type P) in program /IDT/JOURNEY_AUDIT_SAVE_FRM_GLCP
at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:677) ~[na:na]
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1830) ~[na:na]
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1120) ~[na:na]
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:953) ~[na:na]
at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1317) ~[na:na]
at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1288) ~[na:na]
at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:302) ~[na:na]
Any idea what is going wrong here?
Hi Amit,
In the BAPI code (or in code it calls) there is some place where a division by 0 occurs. This exception in ABAP is propagated to the Java side, wrapped in a JCoException and thrown to the Java application. So, no issue in your JCo code but in the ABAP code.
Best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.