Use the TextPointer object to update the pic column with image data in the file Anne_Ringer.gif.
/* *First, define an input stream for the file. */ FileInputStream in = new FileInputStream("Anne_Ringer.gif"); /* * Prepare to send the input stream without logging the image data * in the transaction log. */ boolean log = false; /* * Send the image data in Anne_Ringer.gif to update the pic * column for author ID 899-46-2035. */ tp.sendData(in, log);
See the TextPointers.java sample in the sample2 subdirectories under your SAP jConnect installation directory for more information.