‎2008 Feb 05 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'.
‎2008 Jul 07 12:24 PM
done uploading the graphic file from some other way. thanx,
Naveen Vishal
‎2008 Feb 05 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
‎2008 Jul 07 12:24 PM
done uploading the graphic file from some other way. thanx,
Naveen Vishal
‎2011 May 28 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
‎2011 May 28 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)