09-22-2008 7:26 AM
Hi,
Can anyone tell me how to upload or Export images into Abtree database?
09-22-2008 7:28 AM
09-22-2008 7:34 AM
I tried with this following code. This code is updating the table. But I am not able to view the images while importing. But I can able to view the existing pictures.
DATA pict_line(256) TYPE c.
data: pict_tab like table of pict_line.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'C:\TEST.GIF' "File path with file name
FILETYPE = 'BIN'
TABLES
DATA_TAB = pict_tab.
export pict_tab = pict_tab to database abtree(pi) id 'ZX_SAP_LOGO'.
if sy-subrc = 0.
write: 'Success'.
endif.