<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text-Editing with Notes - Logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020152#M1168179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;           I wanted to reproduce the notes logic that you have developed in my system and thats the reason am asking you the code of reports and the step by step process, although i did complete 2 functions modules one to open a editor to write the text and other editor has the text which retrieves all the text of a particular object( i can share that if you want me to), but i want to implement your solution and reproduce wat you have done in my system.. please care to share your solution so that i can enable it in my system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abdul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 05:29:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-07T05:29:19Z</dc:date>
    <item>
      <title>Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020148#M1168175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;         It was really an interesting article posted on Notings, i was just going through it and was keen to implement it, but i was not able to figure out how to implement it, can you please share the solution and the code..please find below the link of your article.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b036dbfc-29dd-2a10-2aba-ccd1c4c96af7" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b036dbfc-29dd-2a10-2aba-ccd1c4c96af7&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020148#M1168175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020149#M1168176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After creating the configuration in table &lt;EM&gt;TTXFORMAT&lt;/EM&gt; and the related changes in &lt;EM&gt;SE75&lt;/EM&gt; for in my example customer master the system will call the function: EDIT_TEXT_FORMAT_ZXXXNX.&lt;/P&gt;&lt;P&gt;I have created two functions EDIT_TEXT_FORMAT_ZXXXNX and EDIT_TEXT_FORMAT_ZXXXTX. As SAP has implemented the standard functions, I also use these functions to execute a report ( SAP version: &lt;EM&gt;sapredit_text_format_doi&lt;/EM&gt; ), which does the text maintenance with GUI interface.&lt;/P&gt;&lt;P&gt;the code for the functions are in my case ( export and import values are as the standard SAP function &lt;EM&gt;EDIT_TEXT_FORMAT_DOC&lt;/EM&gt; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT_TEXT_FORMAT_ZXXXNX&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: dest(32),
        msg(80),
        report LIKE rsvar-report,
        device(1),
        formattype(3) VALUE 'XXX',
        value TYPE string,
        word_version(7).
  DATA: datasize TYPE i.
  DATA: has_activex(1).
  DATA: l_lines TYPE i.
  DATA: linesn TYPE TABLE OF tline WITH HEADER LINE.
  DATA: linest TYPE TABLE OF tline WITH HEADER LINE.

* If user comes back and changes again
  READ TABLE wt_text INTO ws_text
              WITH TABLE KEY tdobject = header-tdobject
                             tdname   = header-tdname
                             tdid     = header-tdid.
  IF sy-subrc EQ 0.
    lines[]  = ws_text-lines.
    linesn[] = ws_text-linesn.
    linest[] = ws_text-linest.
  ELSE.
    READ TABLE lines INDEX 3.
    IF sy-subrc = 0 .
* Text changed with history already there.
      CLEAR ws_text.
      ws_text-tdobject = header-tdobject.
      ws_text-tdname   = header-tdname.
      ws_text-tdid     = header-tdid.
      ws_text-lines    = lines[].   " Old text unchanged for now
      ws_text-linesn   = linesn[].  " Empty we show the user
      ws_text-linest   = lines[].   " Old text with history show user
      linest[] = lines[].
      INSERT ws_text INTO TABLE wt_text.
    ELSE.
* New text perhaps one or two lines from screen.
      CLEAR ws_text.
      ws_text-tdobject = header-tdobject.
      ws_text-tdname   = header-tdname.
      ws_text-tdid     = header-tdid.
      ws_text-lines    = lines[].   " Old text unchanged for now
      ws_text-linesn   = lines[].   " We show first lines
      ws_text-linest   = linest[].  " Empty we start from scratch
      linesn[] = lines[].
      INSERT ws_text INTO TABLE wt_text.
    ENDIF.
  ENDIF.

  CALL FUNCTION 'GUI_HAS_ACTIVEX'
    IMPORTING
      return = has_activex.

  IF has_activex = 'X'.
    device = 'X'.

    EXPORT header control lines linesn linest device formattype TO MEMORY ID 'ZNOT'.

    SUBMIT zsytu003 AND RETURN.

    IMPORT newheader newcontrol lines linesn linest FROM MEMORY ID 'ZNOT'.

    IF sy-subrc NE 0.
*          Fehlerbehandlung:
      FREE MEMORY ID 'ZNOT'.
      newcontrol = control.
      newheader = header.
      newcontrol-function = space.
      MESSAGE i016(texteditdoi).
      MESSAGE e016(texteditdoi).
    ELSE.
      READ TABLE wt_text INTO ws_text
                  WITH TABLE KEY tdobject = header-tdobject
                                 tdname   = header-tdname
                                 tdid     = header-tdid.
      ws_text-lines    = lines[].    " New text changed
      ws_text-linesn   = linesn[].   " We show first lines
      ws_text-linest   = linest[].   " Text before start
      MODIFY TABLE wt_text FROM ws_text.

      PERFORM tobjectv using newheader.

    ENDIF.
    FREE MEMORY ID 'ZNOT'.
  ELSE.
    MESSAGE e009(texteditdoi).
  ENDIF.

  PERFORM refresh_table ON COMMIT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and &lt;STRONG&gt;EDIT_TEXT_FORMAT_ZXXXTX&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  DATA: dest(32),
        msg(80),
        report LIKE rsvar-report,
        device(1),
        formattype(3) VALUE 'XXX',
        value TYPE string,
        word_version(7).
  DATA: datasize TYPE i.
  DATA: has_activex(1).

  READ TABLE lines INDEX 1.

  CALL FUNCTION 'GUI_HAS_ACTIVEX'
    IMPORTING
      return = has_activex.

  IF has_activex = 'X'.
    device = 'X'.

    EXPORT header control lines device formattype TO MEMORY ID 'ZTXT'.

    SUBMIT zsytu001 AND RETURN.
    IMPORT newheader newcontrol lines FROM MEMORY ID 'ZTXT'.

    IF sy-subrc NE 0.
*          Fehlerbehandlung:
      FREE MEMORY ID 'ZTXT'.
      newcontrol = control.
      newheader = header.
      newcontrol-function = space.
      MESSAGE i016(texteditdoi).
      MESSAGE e016(texteditdoi).
    ELSE.
      PERFORM tobjectv using newheader.
    ENDIF.

    FREE MEMORY ID 'ZTXT'.
  ELSE.
    MESSAGE e009(texteditdoi).
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code which I developed to handle the notes logic and make use of the different editors SAP has, is fully handle inside the report zsytu001. All the text maintenance is encapsulated into serveral objects, which allow the use of different text editors based on the entries in se75 and also handles the notes logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this answers your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 13:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020149#M1168176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020150#M1168177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;            Thanks a lot for the code, i have got a few calrifications regarding the code, if could answer me that wil be really nice of you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IN FM EDIT_TEXT_FORMAT_ZXXXNX&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) * If user comes back and changes again &lt;/P&gt;&lt;P&gt;READ TABLE wt_text INTO ws_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE lines INDEX 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the table that you are refering to in declaration, is it STXH?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) SUBMIT zsytu003 AND RETURN.&lt;/P&gt;&lt;P&gt;Is the report used with submit wrapper of this report this sapredit_text_format_doi, can you pls share that code? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) What is the code of this routine PERFORM tobjectv using newheader &amp;amp; PERFORM refresh_table ON COMMIT refering to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IN FM EDIT_TEXT_FORMAT_ZXXXTX.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  READ TABLE lines INDEX 1.&lt;/P&gt;&lt;P&gt;which table does is refer to in declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT zsytu001 AND RETURN.&lt;/P&gt;&lt;P&gt;2)   Which report is used here as this is custom report, can u share the code pls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please care to reply back.. Thank you for sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 14:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020150#M1168177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T14:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020151#M1168178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your questions:&lt;/P&gt;&lt;P&gt;Please check the function definiton of the function I mentioned (&lt;EM&gt;edit_text_format_doc&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION edit_text_format_doc.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(HEADER) LIKE  THEAD STRUCTURE  THEAD
*"     VALUE(CONTROL) LIKE  TTXCT STRUCTURE  TTXCT
*"  EXPORTING
*"     VALUE(NEWHEADER) LIKE  THEAD STRUCTURE  THEAD
*"     VALUE(NEWCONTROL) LIKE  TTXCT STRUCTURE  TTXCT
*"  TABLES
*"      LINES STRUCTURE  TLINE
*"  CHANGING
*"     REFERENCE(DOC_CONTENT) TYPE  TABLE OPTIONAL
*"     REFERENCE(DOC_SIZE) TYPE  I OPTIONAL
*"  EXCEPTIONS
*"      COMMUNICATION
*"      TEXTFORMAT
*"----------------------------------------------------------------------
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is coming from the parameters of the function. This is how the text loaded by the transaction get's passed into the function and back. The table wt_text is part of the function group and is used to store the text, if the user changes or creates text (with notes logic) and then comes back in text maintenance before saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I can give you the code for the report, but the report only calls a list of objects. If you want to reproduce the whole notes logic, I have developed you need all this code. I thought you only want to understand how the logic works to implement a different editor of your own choice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 4:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 17:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020151#M1168178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T17:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020152#M1168179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;           I wanted to reproduce the notes logic that you have developed in my system and thats the reason am asking you the code of reports and the step by step process, although i did complete 2 functions modules one to open a editor to write the text and other editor has the text which retrieves all the text of a particular object( i can share that if you want me to), but i want to implement your solution and reproduce wat you have done in my system.. please care to share your solution so that i can enable it in my system..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abdul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 05:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020152#M1168179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T05:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020153#M1168180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;To give you all the code I did. I have created a tutorial. I have posted Part I and will do two more parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have  look here: [Code Tutorial|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/text-editing&lt;EM&gt;from&lt;/EM&gt;Notes&lt;EM&gt;-&lt;/EM&gt;Logic&lt;EM&gt;to&lt;/EM&gt;HTML&lt;EM&gt;Standard&lt;/EM&gt;text&lt;EM&gt;Part&lt;/EM&gt;I]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Rene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 01:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020153#M1168180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T01:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020154#M1168181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;      Thanks a ton, awaiting part-2 of your tutorial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 07:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020154#M1168181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T07:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020155#M1168182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created now part II. [code tutorial part II|https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/text-editing&lt;EM&gt;from&lt;/EM&gt;Notes&lt;EM&gt;-&lt;/EM&gt;Logic&lt;EM&gt;to&lt;/EM&gt;HTML&lt;EM&gt;Standard&lt;/EM&gt;text&lt;EM&gt;Part&lt;/EM&gt;II]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any question regarding the code let me know&lt;/P&gt;&lt;P&gt;Rene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jan 2009 22:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020155#M1168182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-24T22:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020156#M1168183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene Turnheim!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            I have studied your Text Editing with Notes-logic Article. It is very interesting and challenging task to do. I go through all the codes which you had posted in SDN both partI and PartII. I decided to do the implementation.I have some doubt in part-I that is some of the variables are not Declared. Can you please give me the solution for this?.I mentioned below the variables witch class and methods..&lt;/P&gt;&lt;P&gt;Am Waiting for Your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class                                 Methods                variables&lt;/P&gt;&lt;P&gt; Z_C_SYT_TEXT_OBJECT --&amp;gt;FREE         --&amp;gt;wc_texteditor&lt;/P&gt;&lt;P&gt; Z_C_SYT_TEXT_NOTES --&amp;gt;CONSTRUCTOR --&amp;gt;ws_textdo-notes_position&lt;/P&gt;&lt;P&gt; Z_C_SYT_TEXT_NOTES --&amp;gt;CONSTRUCTOR --&amp;gt;is_textf-display_only&lt;/P&gt;&lt;P&gt; Z_C_SYT_TEXT_NOTES --&amp;gt;CONSTRUCTOR --&amp;gt;ws_textdo-sash_position&lt;/P&gt;&lt;P&gt; Z_C_SYT_TEXT_NOTES --&amp;gt;CONSTRUCTOR --&amp;gt;ws_tobject_md-sort_order&lt;/P&gt;&lt;P&gt;Z_C_SYT_TEXT_BOX&lt;DEL&gt;&amp;gt; SET_DISPLAY_ATTRIBUTES&lt;/DEL&gt;&amp;gt;wc_texteditor&lt;/P&gt;&lt;P&gt;Z_C_SYT_TEXT_BOX&lt;DEL&gt;&amp;gt;SET_DISPLAY_ATTRIBUTES&lt;/DEL&gt;&amp;gt;ws_textdo&lt;/P&gt;&lt;P&gt;Z_C_SYT_TEXT_OBJECT&lt;DEL&gt;&amp;gt;GET_TEXT_FORMATED&lt;/DEL&gt;&amp;gt;wt_texts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please care to reply back.. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dharmaraj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 08:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020156#M1168183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T08:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020157#M1168184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are correct; I forgot the addtional attributes of the object Z_C_SYT_TEXT_OBJECT. I have added to part I, but here is the missing list also:&lt;/P&gt;&lt;P&gt;Attributes						&lt;/P&gt;&lt;P&gt;Attribute	Level	Visibility	Typing	Associated type	Description	Initial value&lt;/P&gt;&lt;P&gt;WS_TOBJECTV	Instance Attribute	Public	Type	ZSYT_TOBJECTV	Text Objects                                                                                &lt;/P&gt;&lt;P&gt;W_LINES_START	Instance Attribute	Public	Type	I                                                                                &lt;/P&gt;&lt;P&gt;WS_TEXTDO	Instance Attribute	Protected	Type	ZSYT_S_TEXT_DISP_OPT	Text Object Display Options                                                                                &lt;/P&gt;&lt;P&gt;WS_TEXTF	Instance Attribute	Protected	Type	ZSYT_S_TEXTS_FIELDS	Fields needed for Texts                                                                                &lt;/P&gt;&lt;P&gt;WS_TEXTS	Instance Attribute	Protected	Type	ZSYT_S_TEXT_KEY_FIELDS	Key fields for text's                                                                                &lt;/P&gt;&lt;P&gt;WS_THEADER	Instance Attribute	Protected	Type	THEAD	SAPscript: Text Header                                                                                &lt;/P&gt;&lt;P&gt;WC_TEXTEDITOR	Instance Attribute	Protected	Type Ref To	Z_I_SYT_EDITOR	SAP TextEdit Control                                                                                &lt;/P&gt;&lt;P&gt;WC_TEXTEDITORN	Instance Attribute	Protected	Type Ref To	Z_I_SYT_EDITOR	SAP TextEdit Control                                                                                &lt;/P&gt;&lt;P&gt;WT_TEXTS	Instance Attribute	Protected	Type	TSFTEXT	Text Lines                                                                                &lt;/P&gt;&lt;P&gt;W_NODISPLAY	Instance Attribute	Protected	Type	FLAG	No screen display of text opbject                                                                                &lt;/P&gt;&lt;P&gt;WC_PARENT	Instance Attribute	Protected	Type Ref To	CL_GUI_CONTAINER	Container for Custom Controls in the Screen Area                                                                                &lt;/P&gt;&lt;P&gt;WT_NOTES	Instance Attribute	Protected	Type	TSFTEXT	Note Lines                                                                                &lt;/P&gt;&lt;P&gt;WC_PARENT2	Instance Attribute	Protected	Type Ref To	CL_GUI_CONTAINER	Reduced Version of Splitter Container Control                                                                                &lt;/P&gt;&lt;P&gt;W_DESCR1	Instance Attribute	Protected	Type	ZSYT_TOBJECTV-DESCR1	Description 132                                                                                &lt;/P&gt;&lt;P&gt;W_DESCR2	Instance Attribute	Protected	Type	ZSYT_TOBJECTV-DESCR1	Description 132                                                                                &lt;/P&gt;&lt;P&gt;WS_TOBJECT_MD	Instance Attribute	Protected	Type	ZSYT_S_TOBJECT_MD	Master for data for text object                                                                                &lt;/P&gt;&lt;P&gt;WC_SPLITTER	Instance Attribute	Protected	Type Ref To	CL_GUI_SPLITTER_CONTAINER	Splitter Control                                                                                &lt;/P&gt;&lt;P&gt;WC_PARENT1	Instance Attribute	Protected	Type Ref To	CL_GUI_CONTAINER	Abstract Container for GUI Controls                                                                                &lt;/P&gt;&lt;P&gt;W_IS_MODIFIED	Instance Attribute	Protected	Type	I	If text has been changed                                                                                &lt;/P&gt;&lt;P&gt;LT_TEXT_DATA	Static Attribute	Protected	Type	ZSYT_T_TEXT_DATA	Text data for all text in text objects	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2009 21:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020157#M1168184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-08T21:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020158#M1168185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;         declaration of abap_true is also missing, what does &amp;lt;&amp;gt; abap_true denote here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF  ws_textdo-display_only &amp;lt;&amp;gt; abap_true AND&lt;/P&gt;&lt;P&gt;      w_is_modified = c_true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 14:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020158#M1168185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T14:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020159#M1168186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;abap_true comes from a type pool of SAP called 'ABAP' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is the code you copied from? It looks like it misses the operand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is in one of the object you have to added this type group ABAP on the property tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 17:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020159#M1168186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T17:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020160#M1168187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rene,&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;Am penning down some other missing parts as well;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PART-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Convert_text_to_screen method is missing where do we in-coporate this (Which class)?&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;To get the sample program ZSAMPLE_TEXT_OBJECT_SIMPLE to work, create in SE75 a new text object and text id. The program uses ZSY_TEXT with TO01 as ID.
In addition you have to create the entry in ZSYT_TTXOB accordingly.
333     ZSY_TEXT    TO01  MANDT          DOCNO04                                                                 132&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Is this a sample program to check if the created classes are working coz i think we need to create a module pool and incorporate the code in the PBO and PAI events, please clarify on thi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In the method UPDATE_TEXT  Function  module 'ZSYO_ACTUALIZA_TEXTO' is used can u pls give the code of this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Do we need to keep the data element same as domain name for ZZNOTES_POSITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Can u pls clarify on Exceptions config and raise error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Z_C_SYT_2BOX_NOTES  is this class used only for sample program not for customer text implementation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please answer the above queries, Many thanks all your efforts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 14:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020160#M1168187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T14:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020161#M1168188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               In previous thread Abdul Bari said some missing parts is correct and also i have found some other missing parts in the coding .In&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 07:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020161#M1168188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T07:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020162#M1168189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In previous thread Abdul Bari said some missing parts ,it is correct and also I have found some other missing parts in the coding .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In class Z_C_SYT_TEXT you have mention the method UPDATE_TOBJECTV,UPDATE_TOBJECTV2. and &lt;/P&gt;&lt;P&gt;there is no coding in that method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In class Z_C_SYT_TEXT you have mention the method AFTER_SAVE but there is no coding in that method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have mentioned the methods in class but some of the methods having no coding,Please check it and inform me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Bari said 'ZSYO_ACTUALIZA_TEXTO' this FM is missing and i have found this  ZSY_USER_HISTORY_LINE FM coding also Missing . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can You please Clarify this issue! Waiting for Your Replay!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Dharmaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 07:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020162#M1168189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T07:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020163#M1168190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I agree there are still o few points open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firfst of all I have started a blog and I will try to post all objects in a bit more detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of your questions are already answered in the first blog. As soon as it is aproved Iwill post the link here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Both update methods in Z_C_SYT_TEXT update_tobjectv and update_tobjectv2 I have only used for conversion and should not be created. I thought I deleted it out of the code I provided. Please ignore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Sorry for the FM: ZSYO_ACTUALIZA_TEXTO. I overlooked that I am using this FM in the object:&lt;/P&gt;&lt;P&gt;This is just to be sure that the text gets deleted, if the user has deleted the text.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION zsyo_actualiza_texto .
*"----------------------------------------------------------------------
*"*"Módulo funciones actualiz.
*"
*"*"Interfase local
*"  IMPORTING
*"     VALUE(ZHEADER) LIKE  THEAD STRUCTURE  THEAD
*"  TABLES
*"      LINES STRUCTURE  TLINE
*"  EXCEPTIONS
*"      ACTUALIZACION_FALLIDA
*"----------------------------------------------------------------------
* Work variables:
  DATA: nr_of_lines TYPE i.
* Create new text, if any exists:
  DESCRIBE TABLE lines LINES nr_of_lines.
  IF nr_of_lines GT 0.
    READ TABLE lines INDEX 1.
    IF nr_of_lines GE 1 OR NOT lines-tdline IS INITIAL.
      CALL FUNCTION 'CREATE_TEXT'
           EXPORTING
                fid         = zheader-tdid
                flanguage   = zheader-tdspras
                fname       = zheader-tdname
                fobject     = zheader-tdobject
                save_direct = 'X'
                fformat     = '/'
           TABLES
                flines      = lines
           EXCEPTIONS
                no_init     = 01
                no_save     = 02.
      IF sy-subrc NE 0.
        RAISE actualizacion_fallida.
      ENDIF.
    ENDIF.
  ELSE.
    CALL FUNCTION 'DELETE_TEXT'
         EXPORTING
*               CLIENT          = SY-MANDT
              id              = zheader-tdid
              language        = zheader-tdspras
              name            = zheader-tdname
              object          = zheader-tdobject
              savemode_direct = 'X'
*               TEXTMEMORY_ONLY = ' '
         EXCEPTIONS
              not_found       = 1
              OTHERS          = 2.

  ENDIF.

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post the details in the blog; Class  by class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rene&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 00:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020163#M1168190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T00:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Text-Editing with Notes - Logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020164#M1168191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rene,&lt;/P&gt;&lt;P&gt;           Many thanks for publishing the code in blogs, am awaiting to check that out and see it implemented..Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2009 05:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/text-editing-with-notes-logic/m-p/5020164#M1168191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-10T05:44:16Z</dc:date>
    </item>
  </channel>
</rss>

