‎2007 Feb 20 8:42 AM
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
‎2007 Feb 20 9:27 AM
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
‎2007 Feb 20 9:10 AM
‎2007 Feb 20 9:17 AM
‎2007 Feb 20 9:22 AM
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á
‎2007 Feb 20 9:25 AM
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
‎2007 Feb 20 9:27 AM
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
‎2007 Feb 21 6:08 AM
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.
‎2007 Sep 05 3:52 PM
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
‎2010 Mar 09 11:10 AM
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.