‎2014 Jan 08 8:13 AM
Hi experts
I wan to create text editor in my yscreen and what every i entered there it should save in my yobject and yid what i created in se75.
for the above process i have this doubts..
1. if i creates yobject and yid and saves the text through save_text any problem will be there?
2. in which table this saved data will be stored?
please suggest..
‎2014 Jan 08 8:29 AM
You can use CREATE_TEXT/SAVE_TEXT/COMMIT_TEXT and READ_TEXT function modules also for the same.
The data will get updated in STXH/STXL tables
Nabheet
‎2014 Jan 08 8:35 AM
Hi Nabheet
i am doing like this any problem
e_header-tdobject = 'ZLCOBJECT'.
e_header-tdid = 'HTXT'.
e_header-tdspras = sy-langu.
e_header-tdname = ylc_ha-lclnr.
e_header-tdlinesize = 100.
call function 'SAVE_TEXT'
exporting
client = sy-mandt
header = e_header
savemode_direct = 'X'
tables
lines = it_tline
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
I which table can i get the saved data
it will effects any standard objects...?
I created object 'ZLCOBJECT' and id HTXT
‎2014 Jan 08 8:56 AM
Hi,
The save mode of a text module (dialog, update) is defined via the table TTXOB with the text object. In certain cases it makes sense to save the text immediately (for example, in batch programs) instead of in the update task.
can you try this way!
call function 'SAVE_TEXT'
exporting
header = thead
INSERT = ' X'
importing
function = txtfunction
newheader = thead
tables
lines = tlinetab
exceptions
id = 1
language = 2
name = 3
object = 5.