ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Types of BAPI exceptions thrown

Post new topic  Reply to topic
 Types of BAPI exceptions thrown « View previous topic :: View next topic » 
Author Message
Laurens
PostPosted: Thu May 23, 2013 11:01 pm    Post subject: Types of BAPI exceptions thrown Reply with quote

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
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri May 24, 2013 4:36 am    Post subject: Reply with quote

Jedi Knight

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Types of BAPI exceptions thrown
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.