‎2009 Feb 24 10:26 PM
Hi All,
i am uploading a file and then i am wanting to add long text to a network activity. i have tried the FM EDIT_TEXT_INLINE and SAVE TEXT. here is an example of how i used it.
call function 'SAVE_TEXT'
EXPORTING
header = thead
insert = ' '
savemode_direct = 'X'
TABLES
lines = tline.
move 'AUFK' to thead-tdobject.
move 'AVOT' to thead-tdid.
move 'EN' to thead-tdspras.
move '700000007084900000002' to thead-tdname.
move 'test' to tline-tdline. append tline.
i am not getting the text on the long text of the activity ?
anyone have any ideas. .thanks
‎2009 Feb 24 10:31 PM
Do you execute FM COMMIT_TEXT after SAVE_TEXT ? It's documented.
Rob
‎2009 Feb 24 10:31 PM
Do you execute FM COMMIT_TEXT after SAVE_TEXT ? It's documented.
Rob
‎2009 Feb 25 12:46 PM
Hi Rob,
thanks for your quick response.
i have a commit work there already. i was adding one test line and it does not show up on the network activity, now when i add a second test line the second line item shows up. exp
move '*' to tline-tdformat. "this does not show up
move 'test' to tline-tdline.
append tline.
move '*' to tline-tdformat. " this one does.
move 'test 2' to tline-tdline.
append tline.
it appears i have to do some more research as to why.
thanks scott
‎2009 Feb 25 2:07 PM
I think you have to use the particular FM I mentioned. It's different than a database COMMIT.
Rob
‎2009 Mar 02 3:05 PM
Hi Rob,
well it seems if i use the commit or the FM it works. now i have a new problem i was updating the text on the Operative network cn22, now i am trying to do the same for the Standard network (cn02) and it is not working. I am using the following info to update the text line.
move 'ROUTING' to thead-tdobject.
move 'PLPO' to thead-tdid.
move 'EN' to thead-tdspras.
move '7000100000400000002000000020' to thead-tdname.
. i do the FM READ_TEXT, then SAVE_TEXT. Then the FM COMMIT_TEXT. but it does not add these new lines to the long text of the network activity.
thanks scott