Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABTREE table

naveenvishal
Contributor
0 Kudos

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'.

1 ACCEPTED SOLUTION

naveenvishal
Contributor
0 Kudos

done uploading the graphic file from some other way. thanx,

Naveen Vishal

4 REPLIES 4

former_member667836
Active Participant
0 Kudos

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

naveenvishal
Contributor
0 Kudos

done uploading the graphic file from some other way. thanx,

Naveen Vishal

Former Member
0 Kudos

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

0 Kudos

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)