‎2007 Jun 25 3:38 PM
hi to all ,
my requrement is to get the po data from 4.7 and put into flate file .
then , i have to upload from falt file into ecc 6.0.
problem is when i am getting the data from 4.7 to flate file , i am unable to find where header long text and item long text will be there and also which table . based on table only , i have to code to get the data from database . how to get that . which table it will there.
pls.advise me very urgent .
Regards ,
Kiran
‎2007 Jun 25 3:47 PM
You have to read_text FM to read the data and use gui_download FM to download.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'PRUE'
language = tdspras
name = tdname
object = 'MATERIAL'
TABLES
lines = int_tline
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
then if you want upload the long text use SAVE_TEXT FM
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = t_long
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
.
Thanks
Seshu