How to store Blob image's type in a table ?

I created a custom screen where I am displaying images related to a driver.  I am using a datatype of ABB, input of Display, and Graphic object of Photo.I have an issue on how to store those images.
I know that it is stored in the CBLOB table. In the screen ITM1 there is the same thing however it is stored with a script that I don't understand, any help with the script, or any suggestions on how to store the images? 

Thanks