Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding x_error

Former Member
0 Kudos

Hi,

i am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 in a mail program with attachment.same program is ruining OK in production server but in quality server i shows exception number 6  mean x_error (data base inconsistency error). how i can resolve this problem????

Thanks and regards

Rahul

1 REPLY 1

Former Member
0 Kudos

Don't know where you got that database inconsistency error; X_ERROR is often a catch-all for unspecified but fatal error.  You will need to debug that ancient API to see where the X_ERROR is actually raised and why, since X_ERROR is used at different points, several levels deep.  Better yet, why not write code that is up to current standards and utilize the methods in class BCS for your emails? There are several demonstration program, named like BCS*.