‎2008 Jul 10 8:12 AM
Hi experts:
There are several necessary parameter for function
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = v_id
language = v_spras
name = v_name
OBJECT = C_KNVV
TABLES
lines = i_read_text
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
as I debug it , v_id = z114 .how can I get parameter v_id , ? does it change along with conditions ?
thank a lot !!!
v_id
‎2008 Jul 10 8:21 AM
Hi ,
For every text you have one ID .
v_id would be a variable field which contains the value of ID.
These are the main fields in this Function module
READ_TEXT.
id
language
name
OBJECT
If you check table STXH --->SAPscript text file header you can find these fields.
TDOBJECT Texts: Application Object
TDNAME Name
TDID Text ID
TDSPRAS Language KeyBest regards,
raam
‎2008 Jul 10 8:16 AM
Hi,
you can little bit clear, Where you are debugging this one. I mean what is the T.Code for which you were debugging.
Regards,
Ramana
‎2008 Jul 10 8:18 AM
goto this table TTXID enter your text object u will get the textid for that object.
reward if helpful
‎2008 Jul 11 2:50 AM
yes, you are correct. one thing still I don't quite understand , you know I want to achieve customer email address maintained via VD02 using function READ_TEXT. there are many records for object KNVV, How to identify which is for customer email address ?
‎2008 Jul 10 8:21 AM
Hi ,
For every text you have one ID .
v_id would be a variable field which contains the value of ID.
These are the main fields in this Function module
READ_TEXT.
id
language
name
OBJECT
If you check table STXH --->SAPscript text file header you can find these fields.
TDOBJECT Texts: Application Object
TDNAME Name
TDID Text ID
TDSPRAS Language KeyBest regards,
raam
‎2008 Jul 10 8:23 AM
Hi,
It will retrive the id i.e. v_id from the function module .
and it will be same for one object...
But if you call the function module in loop then each time the v_id will be different..
Best regards,
Brijesh