Application Development and Automation 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: 
Read only

long text

Former Member
0 Likes
298

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

1 REPLY 1
Read only

Former Member
0 Likes
278

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