<?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 save_text Function module is not update the data in the notification, Help! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388895#M1238787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code snippet, does anybody know why? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form update_root_causes&lt;/P&gt;&lt;P&gt;   tables p_it_root_causes type zqmtxt_t&lt;/P&gt;&lt;P&gt;   using notif_no.&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;      ls_header type thead,&lt;/P&gt;&lt;P&gt;      lit_lines type standard table of tline,&lt;/P&gt;&lt;P&gt;      lwa_line like line of lit_lines,&lt;/P&gt;&lt;P&gt;      lv_index type i value 0.&lt;/P&gt;&lt;P&gt;  field-symbols:&lt;/P&gt;&lt;P&gt;      &amp;lt;fs&amp;gt; like line of p_it_root_causes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill the header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ls_header-tdobject = 'QMEL'.&lt;/P&gt;&lt;P&gt;  ls_header-tdname = notif_no.&lt;/P&gt;&lt;P&gt;  ls_header-tdid = 'LTXT'.&lt;/P&gt;&lt;P&gt;  ls_header-tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill the lines table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill from line #2 ...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  lv_index = 0.&lt;/P&gt;&lt;P&gt;  loop at p_it_root_causes assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;    if lv_index gt 0.&lt;/P&gt;&lt;P&gt;      lwa_line-tdformat = '*'.&lt;/P&gt;&lt;P&gt;      lwa_line-tdline = &amp;lt;fs&amp;gt;-qmtxt.&lt;/P&gt;&lt;P&gt;      append lwa_line to lit_lines.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    lv_index = lv_index + 1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;update the save_text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      header          = ls_header&lt;/P&gt;&lt;P&gt;      insert          = 'x'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      lines           = lit_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'COMMIT_TEXT'&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;     object                = ls_header-tdobject&lt;/P&gt;&lt;P&gt;     name                  = ls_header-tdname&lt;/P&gt;&lt;P&gt;     id                    = ls_header-tdid&lt;/P&gt;&lt;P&gt;     language              = ls_header-tdspras.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " UPDATE_ROOT_CAUSES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2009 18:22:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-08T18:22:33Z</dc:date>
    <item>
      <title>save_text Function module is not update the data in the notification, Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388895#M1238787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code snippet, does anybody know why? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form update_root_causes&lt;/P&gt;&lt;P&gt;   tables p_it_root_causes type zqmtxt_t&lt;/P&gt;&lt;P&gt;   using notif_no.&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;      ls_header type thead,&lt;/P&gt;&lt;P&gt;      lit_lines type standard table of tline,&lt;/P&gt;&lt;P&gt;      lwa_line like line of lit_lines,&lt;/P&gt;&lt;P&gt;      lv_index type i value 0.&lt;/P&gt;&lt;P&gt;  field-symbols:&lt;/P&gt;&lt;P&gt;      &amp;lt;fs&amp;gt; like line of p_it_root_causes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill the header&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ls_header-tdobject = 'QMEL'.&lt;/P&gt;&lt;P&gt;  ls_header-tdname = notif_no.&lt;/P&gt;&lt;P&gt;  ls_header-tdid = 'LTXT'.&lt;/P&gt;&lt;P&gt;  ls_header-tdspras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill the lines table&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill from line #2 ...&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  lv_index = 0.&lt;/P&gt;&lt;P&gt;  loop at p_it_root_causes assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;    if lv_index gt 0.&lt;/P&gt;&lt;P&gt;      lwa_line-tdformat = '*'.&lt;/P&gt;&lt;P&gt;      lwa_line-tdline = &amp;lt;fs&amp;gt;-qmtxt.&lt;/P&gt;&lt;P&gt;      append lwa_line to lit_lines.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    lv_index = lv_index + 1.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;update the save_text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      header          = ls_header&lt;/P&gt;&lt;P&gt;      insert          = 'x'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      lines           = lit_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'COMMIT_TEXT'&lt;/P&gt;&lt;P&gt;   exporting&lt;/P&gt;&lt;P&gt;     object                = ls_header-tdobject&lt;/P&gt;&lt;P&gt;     name                  = ls_header-tdname&lt;/P&gt;&lt;P&gt;     id                    = ls_header-tdid&lt;/P&gt;&lt;P&gt;     language              = ls_header-tdspras.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " UPDATE_ROOT_CAUSES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 18:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388895#M1238787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-08T18:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: save_text Function module is not update the data in the notification, Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388896#M1238788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two things you can check:&lt;/P&gt;&lt;P&gt;1. Ensure the notification number you are passing is valid, i.e. it has the requisite number of leading 0s (apply CONVERSION_EXIT_ALPHA_INPUT to ensure to the field notif_no before passing it to ls_header)&lt;/P&gt;&lt;P&gt;2. In the function module to SAVE_TEXT - INSERT should be 'X' not 'x'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 18:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388896#M1238788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-08T18:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: save_text Function module is not update the data in the notification, Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388897#M1238789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Save text help &amp;gt;&amp;gt;&amp;gt;|http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you had maintained the exception , you would have solved it your self..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 18:28:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388897#M1238789</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-04-08T18:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: save_text Function module is not update the data in the notification, Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388898#M1238790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that, call bapi_transaction_commit at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2009 23:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-function-module-is-not-update-the-data-in-the-notification-help/m-p/5388898#M1238790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-09T23:32:32Z</dc:date>
    </item>
  </channel>
</rss>

