Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

long text for operations

Former Member
0 Likes
734

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.

5 REPLIES 5
Read only

Former Member
0 Likes
707

FM SAVE_TEXT

u can also try COMMIT_TEXT

Message was edited by: chandrasekhar jagarlamudi

Read only

Former Member
0 Likes
707

Hi,

Please Try FM

COAV_OPERATION_LONGTEXT

Hope it helps...

Lokesh

Pls. reward appropriate points

Read only

Former Member
0 Likes
707

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

Read only

Former Member
0 Likes
707

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

Read only

Former Member
0 Likes
707

Hi there is a function module to create this.

SAVE_TEXT.

go to se37 and test for this.

Satish