‎2006 May 18 2:47 PM
in this table
i have data:
name 'FORM'
object 'Z_name_LAYOUT'
THE fm READ TEXT WILL WORK ON IT?
IF IT's wrong , why this happend ? custom problem?
‎2006 May 18 2:51 PM
FM READ_TEXT reads the standard text not the SAP Script.
FORM entry in STXH table means it is form.
Can you please more eloborate What exactly you need ?
‎2006 May 18 2:51 PM
FM READ_TEXT reads the standard text not the SAP Script.
FORM entry in STXH table means it is form.
Can you please more eloborate What exactly you need ?
‎2006 May 18 2:51 PM
‎2006 May 18 2:56 PM
Hi rani,
you can try to use INCLUDE options to insert the standard text in the layout.
Regards
vijay
‎2006 May 18 3:14 PM
i will ask again i did not do it well sorry.
this is the FM
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'TXT'
language = sy-langu
name = 'z_name_layout'
object ='FORM'
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.
is the parametres right?
i dont need number in name?
if i make it in sapscript
how can i define the name of the layout ( what the comma)and also to form?
‎2006 May 18 3:22 PM
Make sure that the NAME is in all caps.
This is working good for me.
report zrich_0001.
data: ilines type table of tline with header line.
call function 'READ_TEXT'
exporting
id = 'TXT'
language = sy-langu
name = 'ZMFG_LABEL'
object = 'FORM'
tables
lines = ilines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
loop at ilines.
write:/ ilines.
endloop.
Regards,
Rich Heilman
‎2006 May 18 3:24 PM
how do we know they are rite or wrong.
you check it in STXH
but they should be in cAps
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'TXT'
language = sy-langu
name =<b> 'Z_NAME_LAYOUT'</b>
object ='FORM'
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.