on 03-27-2008 10:14 AM
hi,
what is the main purpose of read_text.
give me with an example.
Hi,
READ_TEXT is a function module which is used to retrieve the long texts.
go through with the below link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
refer to the link.
http://abapprogramming.blogspot.com/2007/10/sap-script-13.html
http://abapprogramming.blogspot.com/2007/10/sap-script-12.html
http://www.jt77.com/development1/programming-14874.html
http://www.sap-img.com/abap/use-fm--read-text-to-read-the-various-text.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/read_text-long-text-in-output-422933
regards,
sreelakshmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAPscript: Read text
In order to process text modules in application programs, all
information about a text module must be transferred to internal work
areas.
A text is read from the text file or text memory with this function
module. It must be described fully by specifying OBJECT, NAME, ID, and
LANGUAGE. Generic entries in these parameters are not valid.
When header information and text lines have been read successfully, they
are transferred to the work areas HEADER and LINES.
eg.
data : ss_matnr type matnr.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = wa_mara-matnr
importing
output = ss_matnr.
s_id = 'GRUN'.
s_lang = 'EN'.
s_nm = ss_matnr.
s_obj = 'MATERIAL'.
call function 'READ_TEXT'
exporting
CLIENT = SY-MANDT
id = s_id
language = s_lang
name = s_nm
object = s_obj
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = it_lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8
reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.