Skip to Content
avatar image
Former Member

Space displayed as " "

Dear experts,

I created a ticket (transaction SM_CRM) and wrote any text. After that i used a button (for example "text template") and closed the pop-up, so that i returned to the text area. The format of the written text has changed. Instead of spaces " " is shown (not always, this behaviour is sporadically).

before using button/ pop-up window:

after (return to the text area):

 

Any thoughts?  Thanks in advance for your help!

before.jpg (7.2 kB)
after.jpg (16.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 22, 2015 at 05:14 PM

    Hi Hassan,

    Please check the following note:

    2218988 - Additional blanks are deleted in longtext

    Implement the latest version 3 of this note.

    Thanks

    Vikram

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      update:

      in Method GET_BTF_TEXT (Clas CL_AIC_LONG_VTEXT_IMPL)  there is this statement:


      rv_btf_text = cl_thtmlbx_btf_editor=>convert_xstring_to_string( iv_xstring = lv_btf_text_as_xstring  iv_ignore_cerr = abap_false ).

      I think its a problem with the parameter "lv_btf_text_as_xstring". by the first call parameter "lv_btf_text_as_xstring" has a value which change by clicking on a button and using a pop-up window  (second call of the method "convert_xstring_to_string"). After that the error occurred.

      When i try to use the old value (from the first call) everything is fine (text is ok).

  • avatar image
    Former Member
    Oct 28, 2015 at 10:55 AM

    EDIT: sap note  2018162 is not the solution

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 22, 2016 at 01:49 PM

    Hi Hassan,

    did you or SAP find a solution for this problem?

    Best regards

    Ali

    Add comment
    10|10000 characters needed characters exceeded