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

upload long text

Former Member
0 Likes
2,933

Dear Gurus,

I am trying to use save_text but facing the problem as mentioned below:

I am unable to find out Text Name for uploading Long Texts for each of the Operations of a Task List in TCode IA05.

For example : 222AUN ARM3 0000003600000036 is the Text Name of one of n opertions created for a tasklist.

Also , I am running a BDC to create the Task List after which I have to upload the long text.

I have checked,SY-MSGV1-4 are of no help.

Pls help

Message was edited by:

shweta soni

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,350

format will be like this

<b>Text Name 410(client)AAIR(group-AIR) 0000000100000001 (task)

Language EN

Text ID PLPO Long text

Text object ROUTING Texts for task list types </b>

how to find out.

double click on the text fields then it will goes to text editor ,in that take menu option GOTO--->header.

Regards

prabhu

8 REPLIES 8
Read only

Former Member
0 Likes
1,350

Hi,

Try this,

Use transaction OP04 to set application 'I' value to 72.

also,Check the thread

Please reward points.

Read only

Former Member
0 Likes
1,350

check tcode SE75.

Regards

Prabhu

Read only

Former Member
0 Likes
1,350

Hi!

Where do you exactly get the ID of this text?

I've checked and found the following data for the long text of the operations:

TEXT-ID: PLPO

TEXT-OBJECT: ROUTING

TEXT-LANGUAGE: sy-langu

TEXT-NAME: depends on the document

And for saving you can use the SAVE_TEXT function element.

Regards

Tamá

Read only

Former Member
0 Likes
1,350

format will be like this

<b>Text Name 410(client)AAIR(group-AIR) 0000000100000001 (task)

Language EN

Text ID PLPO Long text

Text object ROUTING Texts for task list types </b>

how to find out.

double click on the text fields then it will goes to text editor ,in that take menu option GOTO--->header.

Regards

prabhu

Read only

Former Member
0 Likes
1,351

format will be like this

<b>Text Name 410(client)AAIR(group-AIR) 0000000100000001 (task)

Language EN

Text ID PLPO Long text

Text object ROUTING Texts for task list types </b>

how to find out.

double click on the text fields then it will goes to text editor ,in that take menu option GOTO--->header.

Regards

prabhu

Read only

0 Likes
1,350

Thank You for your time,

Your answer was partly correct

I found some clue by going thru table plpo ...the last digits are concatenation of a counter that runs for operations of a task.

Read only

0 Likes
1,350

Hello swetha

I encounter the same problem here in my prog.

Here i have all the header details like text name,ID,Obj and language.

Though i use save_text FM.I could't load the long text.BUt my FM sy-subrc returns 0 .

Here is the piece of code which i used:

wa_thead-TDOBJECT = 'ROUTING'.

wa_thead-TDNAME = '300AZLOKTEST0000000200000002'.

wa_thead-TDID = 'PLPO'.

wa_thead-TDSPRAS = 'EN'.

gs_line-TDFORMAT ='*'.

gs_line-TDLINE ='554 sdf sdfsdf sdfsdf sdfsdfd dfsdfd dfsd'.

append gs_line to tlines.

gs_line-TDFORMAT ='*'.

gs_line-TDLINE ='1234 534 4 345345 34534 434'.

append gs_line to tlines.

CALL FUNCTION 'SAVE_TEXT'

EXPORTING

CLIENT = SY-MANDT

header = wa_thead

  • INSERT = 'X'

  • SAVEMODE_DIRECT = 'X'

  • OWNER_SPECIFIED = ' '

  • LOCAL_CAT = ' '

  • IMPORTING

  • FUNCTION =

  • NEWHEADER =

tables

lines = tlines

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

OBJECT = 4

OTHERS = 5

.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Can u advise me where i went wrong.

Thks

Lokesh

Read only

Former Member
0 Likes
1,349

Hai shweta soni,

Now i also have the same requirement in IA05.To upload tasklist with long text.

Please help me with some sample code.

My doubt is what and all function module we have to use for longtext and in which place that is, after inserting one record or before.

Please help me.

Thanks,

Prabu S.