<?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: Screen Painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642072#M2014331</link>
    <description>&lt;P&gt;From ABAP help function code is:&lt;/P&gt;&lt;P&gt;Sequence of up to 20 characters that can be assigned to specific control elements of the user interface in SAP GUI. When one of these control elements is selected, the dynpro event PAI is triggered and the function code is passed to the ABAP program using the system field sy-ucomm or the OK field of the dynpro.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So fct codes can be assigned only to pushbutton, checkbox, radio button, or dropdown box.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Read more about user interactions on the screen&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_FOR_SOH_740/f68e489816e043f1add91d69a6842931/4a3bb6d88c412baee10000000a421937.html?version=7.40.26&amp;amp;locale=en-US"&gt;https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_FOR_SOH_740/f68e489816e043f1add91d69a6842931/4a3bb6d88c412baee10000000a421937.html?version=7.40.26&amp;amp;locale=en-US&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 13:39:54 GMT</pubDate>
    <dc:creator>Astashonok</dc:creator>
    <dc:date>2022-07-20T13:39:54Z</dc:date>
    <item>
      <title>Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642065#M2014324</link>
      <description>&lt;P&gt;I am not able to enable the function code in screen painter for the text area. I created this text area using custom table control. please help&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2078537-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 07:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642065#M2014324</guid>
      <dc:creator>former_member1175782</dc:creator>
      <dc:date>2022-07-20T07:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642066#M2014325</link>
      <description>&lt;P&gt;Scince screen painter is a SAPGUI transaction it is not available in SAP BTP, ABAP Environment. &lt;BR /&gt;I am thus changing the tag.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 07:54:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642066#M2014325</guid>
      <dc:creator>Andre_Fischer</dc:creator>
      <dc:date>2022-07-20T07:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642067#M2014326</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;misbaseemath&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Are you referring to the FctCode of screen for the custom control you defined as TEXTEDITOR.?&lt;/P&gt;&lt;P&gt;The FctCodes are not active for Custom Control objects.  They are the place holders. &lt;/P&gt;&lt;P&gt;You need to attach the Text Editor object inside this custom container in your PBO module.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 08:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642067#M2014326</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-07-20T08:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642068#M2014327</link>
      <description>&lt;P&gt;Can you elaborate a little on attach the Text Editor object inside this custom container in your PBO module.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 09:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642068#M2014327</guid>
      <dc:creator>former_member1175782</dc:creator>
      <dc:date>2022-07-20T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642069#M2014328</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You have defined the custom control in the screen.  Now in PBO of your screen, write this code to display the text editor object.&lt;/P&gt;&lt;P&gt;In PBO &lt;/P&gt;&lt;P&gt;The data defintion part, you put it in global.  In PBO you can write &lt;/P&gt;&lt;P&gt;MODULE prepare_text_editor.    &lt;/P&gt;&lt;P&gt;Inside that MODULE you write the below code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: LINE_LENGTH      TYPE I VALUE 1000,
      EDITOR_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
      lv_EDITOR        TYPE REF TO CL_GUI_TEXTEDIT.
EDITOR_CONTAINER = 'TEXT EDITOR' .   "The container name you gave in screen


if lv_editor is initial.
CREATE OBJECT lv_editor
  EXPORTING
    wordwrap_mode   = lv_editor-&amp;gt;wordwrap_at_fixed_position
    wordwrap_position      = LINE_LENGTH
    wordwrap_to_linebreak_mode = lv_editor-&amp;gt;true
    parent                 = editor_container   "TEXT_EDITOR
  EXCEPTIONS
    OTHERS                 = 1.
endif.&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jul 2022 09:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642069#M2014328</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-07-20T09:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642070#M2014329</link>
      <description>&lt;P&gt;Custom control always holds a control object, which is event-driven by nature. Function code assignment only works for 'classic' GUI element, such as input fields or buttons.&lt;/P&gt;&lt;P&gt;You have to define an event handler for the DBLCLICK event of the CL_GUI_TEXTEDIT control to be able to react to the double click.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 09:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642070#M2014329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2022-07-20T09:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642071#M2014330</link>
      <description>&lt;P&gt;I dont want the double click event. I just want to save the data i enter in the custom table control. In pa30 i want to save while creating a record&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 12:01:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642071#M2014330</guid>
      <dc:creator>former_member1175782</dc:creator>
      <dc:date>2022-07-20T12:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642072#M2014331</link>
      <description>&lt;P&gt;From ABAP help function code is:&lt;/P&gt;&lt;P&gt;Sequence of up to 20 characters that can be assigned to specific control elements of the user interface in SAP GUI. When one of these control elements is selected, the dynpro event PAI is triggered and the function code is passed to the ABAP program using the system field sy-ucomm or the OK field of the dynpro.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So fct codes can be assigned only to pushbutton, checkbox, radio button, or dropdown box.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Read more about user interactions on the screen&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_FOR_SOH_740/f68e489816e043f1add91d69a6842931/4a3bb6d88c412baee10000000a421937.html?version=7.40.26&amp;amp;locale=en-US"&gt;https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_FOR_SOH_740/f68e489816e043f1add91d69a6842931/4a3bb6d88c412baee10000000a421937.html?version=7.40.26&amp;amp;locale=en-US&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642072#M2014331</guid>
      <dc:creator>Astashonok</dc:creator>
      <dc:date>2022-07-20T13:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642073#M2014332</link>
      <description>&lt;P&gt;I think all people who answered till now don't understand what you want to achieve. How I understand the question with your latest comment scares me a little bit, if you mean adding a custom save function inside the custom control, separated from the standard save function. I'd say it's not UX friendly at all. You'd better clarify the requirement.&lt;/P&gt;&lt;P&gt;NB: it's not a "custom table control" that you are using, it's a "custom control". &lt;STRONG&gt;Table &lt;/STRONG&gt;control is completely different.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642073#M2014332</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-07-20T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642074#M2014333</link>
      <description>&lt;P&gt;Hi Misba,&lt;/P&gt;&lt;P&gt;You cannot enter function code for Custom control.&lt;/P&gt;&lt;P&gt;Refer standard program SAPTEXTEDIT_LENGTH_DEMO as a reference to use TEXT EDITOR in module pool. Do not miss  the CALL METHOD cl_gui_cfw=&amp;gt;flush method call.  &lt;/P&gt;&lt;P&gt;Text editor here is placed in custom control, via code in PBO.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 13:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642074#M2014333</guid>
      <dc:creator>former_member198066</dc:creator>
      <dc:date>2022-07-20T13:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Screen Painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642075#M2014334</link>
      <description>&lt;P&gt;Hi Revolla.. Thank you so much :)))&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 15:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/12642075#M2014334</guid>
      <dc:creator>former_member1175782</dc:creator>
      <dc:date>2022-07-20T15:04:49Z</dc:date>
    </item>
  </channel>
</rss>

