2012 Apr 16 8:00 AM
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
2012 Apr 16 2:39 PM
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*.