2008 May 27 12:51 PM
Hello All,
i am having an issue with the text editor i.e the content in the text editor what i gave is just for example,
Close to 2 years of software development experience in the areas of,
u2022 ERP- SAP 4.6B and ECC 6.0
u2022 Web Dynpro for ABAP Development
u2022 Java Developer
when this data's are converting to my internal table the format is
ERP- SAP 4.6B and ECC 6.0*
# Web Dynpro for ABAP Development
# Java Developer
when i again display this data to the text editor it comes in the # format but i need the same bullet format again how can in achieve this scenario.
Note : when am giving two bullets in the text editor i am able to retrieve the bullets back but if exceeds its giving the # instead of bullets.
Regards
Suresh
Hello All,
i am having an issue with the text editor i.e the content in the text editor what i gave is just for example,
Close to 2 years of software development experience in the areas of,
u2022 ERP- SAP 4.6B and ECC 6.0
u2022 Web Dynpro for ABAP Development
u2022 Java Developer
when this data's are converting to my internal table the format is
ERP- SAP 4.6B and ECC 6.0*
# Web Dynpro for ABAP Development
# Java Developer
when i again display this data to the text editor it comes in the # format but i need the same bullet format again how can in achieve this scenario.
Note : when am giving two bullets in the text editor i am able to retrieve the bullets back but if exceeds its giving the # instead of bullets.
Regards
Suresh
2008 May 27 2:02 PM
Hi,
you must assume it is a text editor and not a text processor with additional functionality like Microsoft Word. If you´re working with a text editor included in standard functionality like Standard Text (trans. SO10), there´s the possibility to insert some SAP symbols (Insert --> characters --> SAP symbols).
If you´re working with an instance of class CL_GUI_TEXTEDIT, the # means that the program is dealing with a carriage return. This should be no problem to you but if you want to process this in a later stage for reading the information, you can use CL_ABAP_CHAR_UTILITIES=>CR_LF for this.
2008 May 27 2:06 PM
Hi,
Can you place your code here.
will go thru once....so that i can resolve it.
Regards
Sandeep Reddy
2008 May 28 6:10 AM
Hi Sandeep,
I have pasted my coding part as below,
this is the part where am getting the editor details to internal table.
CREATE OBJECT: container1 EXPORTING container_name = 'TEXTEDIT1',
editor1 EXPORTING parent = container1,
IF NOT v_text_tab2[] IS INITIAL OR v_editor1 = 'X'.
*-----Sap Technical.
CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT'
TABLES
itf_text = v_text_tab2
text_stream = text_tab2.
CALL METHOD editor1->set_text_as_stream
EXPORTING
text = text_tab2.
CLEAR v_editor1.
ENDIF.
this is the part where am getting the data from internal table to text editor
CALL METHOD editor1->get_text_as_stream
IMPORTING
text = text_tab2
is_modified = v_modify.
CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT'
TABLES
text_stream = text_tab2
itf_text = v_text_tab2.
my problem is when i give the data's in the text editor by bulleting each line it is saving the internal table as # format.
while retrieving the # comes in place of bullet how can i overcome this scenario.
note : if i give only two bullets it retrieves as such but more than two converts to # format.