Posted: Thu May 23, 2013 11:01 pm Post subject: Types of BAPI exceptions thrown
Apprentice
Joined: 01 Oct 2009 Posts: 35
Dear experts ,
when a BAPI call is throwing an exception is it always of type
RecordNotFoundException ?
For instance I get an error
"com.ibm.j2ca.sap.exception.SapBAPIException: Error data exceeds max length for BAPI attribute PURCHASEORDER(PURCHASEORDER"
But the text in the RecoverableException is 'throw a RecordNotFoundException'.
There is a difference between really not finding a record and having any other error.
Is this cause due to the returns value of the BAPI or otherwise said can the BAPI change this behaviour ?
Looking forward to any answer /.
Kindest regards
Laurens
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
Stack traces are often non-non-sensical. Like birdy num nums (Peter Sellers, "The Party").
To derive the true meaning, you need to collect and examine all data available, including root of the exception list and all children in-between. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum