‎2008 Jul 30 11:37 AM
hi all,
If we go to any transaction like va01 or me21n here we will find header text and item text when we enter this text and after saving in which field and table this text (header text and item text) will be stored.
Because i want to retrieve that text.
Regards
Reddy
‎2008 Jul 30 11:44 AM
Hi,
Open any document (va02 or Me22n) in change mode and go to your required text. Double click on that text, then you will redirected to another screen. In that text editor select GOTO>HEADER. Then you will get a pop up, there you will find text name , language, object....etc details. In your program pass these details to READ_TEXT function module. You will get corresponding text in LINES tables parameter.
Hope it clarifies.
Regards,
Kalyan.
‎2008 Jul 30 11:39 AM
Hi,
You should use FM READ_TEXT try to go through the documentation of this FM you will understand the usage of this FM.
Thanks
Sudharshan
‎2008 Jul 30 11:39 AM
‎2008 Jul 30 11:41 AM
Check tables STXH/STXL but u cannot read them as they are stored in RAW format. Use FM read_text to read the long texts.
Regards,
Joy.
‎2008 Jul 30 11:41 AM
ALL of them will be stored in STXL table but non readable format.
you can read them using READ_TEXT function module
for this you have pass textname, textid, textobject, language.
example: sales header
TDNAME = salesorderno "10 digits
TDID = 0001
TDOBJECT = VBBK
LAnguage = sy-langu
sales item
TDNAME = salesorderno + item number "10 digits + 6 digits
TDID = 0002
TDOBJECT = VBBP
LAnguage = sy-langu
‎2008 Jul 30 11:42 AM
Hi Reddy,
Go to that transaction go to that header text press f1.
Regards,
Naveen.
‎2008 Jul 30 11:44 AM
Hi,
Open any document (va02 or Me22n) in change mode and go to your required text. Double click on that text, then you will redirected to another screen. In that text editor select GOTO>HEADER. Then you will get a pop up, there you will find text name , language, object....etc details. In your program pass these details to READ_TEXT function module. You will get corresponding text in LINES tables parameter.
Hope it clarifies.
Regards,
Kalyan.
‎2008 Jul 30 12:35 PM
Hi,
Check out the standard program for the transaction VA01.
Before saving the transaction changes go to debugger mode (/H) and check out which tables are getting updated.
‎2008 Jul 30 1:08 PM
Hi,
You can get the field and table names from the technical settings of the field.
But usually such texts are stored in a compressed text format which cannot be read using 'write' statements. Use INCLUDE TEXT to retrieve data as you do in SCRIPTS using INCLUDE TEXT <TEXT NAME> <TEXT ID> <TEXT OBJECT NAME>.
Regards.
Vamshi