‎2007 Mar 29 3:49 PM
Hi All,
I am using read_text to retrive the long text . I want to create some test data for long text . i know text name object .how can i know where i have to create long text? Let me know
‎2007 Mar 29 3:50 PM
‎2007 Mar 29 3:50 PM
‎2007 Mar 29 3:52 PM
If you want to create it in a program, then use SAVE_TEXT or CREATE_TEXT followd by COMMIT_TEXT FM.
If you want to do it via transaction, then go for Alvaro's suggestion.
Regards,
Ravi
‎2007 Mar 29 3:53 PM
Hi,
If it s Z text, then you can create it in SO10 Transaction code.
If it is related to a Standard transaction text, then you need to create the text in that transaction only. i mean, lets take an Sales Order example, if you want to create the text, then Goto --> Header -> Text or Goto --> Item --> Texts to create the Texts.
so follow one of the above way to create the texts
Regards
Sudheer
‎2007 Mar 29 3:56 PM
Hi,
You can use FM SAVE_TEXT.
clear: header.
* Set SAPscript Header
header-tdname = req-reqno .
header-tdobject = 'ZPT_DET'.
header-tdid = 'Z002'.
header-tdspras = sy-langu.
call function 'SAVE_TEXT'
exporting
client = sy-mandt
header = header
tables
lines = lines
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
Regards,
Ferry Lianto