<?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: Infotype screen update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-screen-update/m-p/7555768#M1563910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THe problem is that only the &amp;lt;pnnnn&amp;gt; field symbol shuld be modified in the PAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jan 2011 12:58:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-18T12:58:53Z</dc:date>
    <item>
      <title>Infotype screen update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-screen-update/m-p/7555767#M1563909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a customer infotype 9***  It worked 100% correctly, but now I added a new Custom Container to the screen, and there is a Text Edit in the COntainer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that when the user saves the infotype, then the  record wasn't updated in the databse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI module&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE CONVERT_COMMENT INPUT.
  DATA: lv_string_pai TYPE STRING,
        lv_modified TYPE I,
        lv_comment TYPE P9051-z_comment.


  CALL METHOD gr_text-&amp;gt;GET_TEXTSTREAM
    EXPORTING
      ONLY_WHEN_MODIFIED     = CL_GUI_TEXTEDIT=&amp;gt;FALSE
    IMPORTING
      TEXT                   = lv_string_pai
      IS_MODIFIED            = lv_modified
    EXCEPTIONS
      ERROR_CNTL_CALL_METHOD = 1
      NOT_SUPPORTED_BY_GUI   = 2
      OTHERS                 = 3.

  &amp;lt;pnnnn&amp;gt;-z_comment = lv_string_pai.
  psave-z_comment = lv_string_pai.
  move_pnnnn_to_cprel.
  move_psave_to_csave.

ENDMODULE.                 " CONVERT_COMMENT  INPUT
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens when &lt;STRONG&gt;only&lt;/STRONG&gt; the Z_COMMENT field is changed by the user. If I cahne any other field beside the z_comment, then bot of the fields are updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be the problem here, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;N.G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 12:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-screen-update/m-p/7555767#M1563909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-18T12:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Infotype screen update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-screen-update/m-p/7555768#M1563910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THe problem is that only the &amp;lt;pnnnn&amp;gt; field symbol shuld be modified in the PAI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 12:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/infotype-screen-update/m-p/7555768#M1563910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-18T12:58:53Z</dc:date>
    </item>
  </channel>
</rss>

