02-05-2008 3:08 AM
how to export image in DATABASE abtree(pi), so that it can be imported using:
IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
07-07-2008 12:24 PM
done uploading the graphic file from some other way. thanx,
Naveen Vishal
02-05-2008 12:04 PM
Hi Naveen,
You can export to ABTREE table using
export it_pict_tab = it_pic_tab_up
to database abtree(iv)
id wrk_pic_no.
Regards
SHIBU KURIAN.E
07-07-2008 12:24 PM
done uploading the graphic file from some other way. thanx,
Naveen Vishal
05-28-2011 7:19 AM
TYPES PICT_LINE(256) TYPE X.
DATA: pict_tab TYPE 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 'KANSOO'.
IF sy-subrc = 0.
WRITE: 'Success'.
ENDIF.
Edited by: Vydra Vladimir on May 28, 2011 8:20 AM
05-28-2011 2:38 PM
I know this is an old thread, I just wanted to say that ABTREE table is obsolete and should be replaced with MIME repository (see SAP note 910224 - Access to the table ABTREE)