We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-newbies-l] save_as_local_file method

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by newbie69
on Jul 26 at 5:11 AM
Mark this reply as helpfulMark as helpful
sorry forgot to mention that

go_editor TYPE REF TO cl_gui_textedit.

I guess that is the missing bit...

---------------Original Message---------------
From: newbie69
Sent: Thursday, July 22, 2010 11:10 AM
Subject: save_as_local_file method

> Hello,
>
> a question in regards to
>
> https://cw.sdn.sap.com/cw/docs/DOC-29031
>
> I have
>
> CALL METHOD go_editor->save_as_local_file
> EXPORTING
> file_name = file.
>
> CALL METHOD go_editor->get_textstream
> IMPORTING
> TEXT = finalstring.
> CALL METHOD CL_GUI_CFW=>FLUSH.
>
> The file is saved afterwards. But if I have
>
> CALL METHOD go_editor->save_as_local_file
> EXPORTING
> file_name = file.
>
> CALL METHOD CL_GUI_CFW=>FLUSH."with or without this line doesn't matter
>
> It doesn't write the file. The get_textstream was from some old coding I don't need anymore. How can this be related? Anyone an idea?
>
> Thanks.

__.____._
Copyright © 2010 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language