2005 Dec 28 1:49 PM
Hello,
Does anyone knows how I create and assign long text to operations in task list via a standard function module.
Thanks,
Roy Lerner.
Hello,
Does anyone knows how I create and assign long text to operations in task list via a standard function module.
Thanks,
Roy Lerner.
2005 Dec 28 1:52 PM
FM SAVE_TEXT
u can also try COMMIT_TEXT
Message was edited by: chandrasekhar jagarlamudi
2005 Dec 28 1:52 PM
Hi,
Please Try FM
COAV_OPERATION_LONGTEXT
Hope it helps...
Lokesh
Pls. reward appropriate points
2005 Dec 28 1:52 PM
Hi Ofir,
1. QM
i suppose u are talking about the above module.
2. SAVE_TEXT
This is the standard FM
which can store long texts.
3. But for this u need to know
the TEXT ID.
4. The important parameter is
HEADER LIKE THEAD
5. The important fields in this structure are :
Texts: application object 0 TDOBJECT
Name 0 TDNAME
Text ID 0 TDID
Language Key 0 TDSPRAS
Regards,
Amit M.
Message was edited by: Amit Mittal
2005 Dec 28 2:04 PM
Hi you can use SAVE_TEXT.
pass the parameters
DATA : l_thead LIKE thead.
l_thead-tdobject = 'VBBP'.
l_thead-tdspras = 'E'.
CONCATENATE p_lf_vbeln
p_posnr
INTO l_thead-tdname .
l_thead-tdid = 'ZLO1'.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = l_thead
insert = 'X'
savemode_direct = 'X'
TABLES
lines = it_text
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5
.thanks
vijay
2005 Dec 28 2:06 PM
Hi there is a function module to create this.
SAVE_TEXT.
go to se37 and test for this.
Satish