<?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: Multiple Containers handling while saving in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789389#M339684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your code..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2006 12:35:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-13T12:35:23Z</dc:date>
    <item>
      <title>Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789387#M339682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having four containers in a single screen. &lt;/P&gt;&lt;P&gt;I have created containers in PBO event.&lt;/P&gt;&lt;P&gt;I am trying to save the data entered in containers in PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am saving the data, only the last Container's data is getting stored. Is there any way / method to get all the container's and the respective data  as well in PAI event? Also when the user wants to display the screen after saving he should be able to see the data in respective containers only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 12:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789387#M339682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T12:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789388#M339683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt; problem with ur code itself , y only last record --&amp;gt;bcos its updating the header Area only.So u have to correct code.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 12:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789388#M339683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T12:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789389#M339684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your code..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2006 12:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789389#M339684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-13T12:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789390#M339685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL METHOD ls_editor-&amp;gt;get_text_as_r3table&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      table = i_texttable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR wa_tdline-tdformat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF i_texttable IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    LOOP AT i_texttable ASSIGNING &amp;lt;tdline&amp;gt;.&lt;/P&gt;&lt;P&gt;      IF NOT &amp;lt;tdline&amp;gt; IS INITIAL.&lt;/P&gt;&lt;P&gt;        l_text_vorh_lv = l_x_l.&lt;/P&gt;&lt;P&gt;        wa_tdline-tdline = &amp;lt;tdline&amp;gt;.&lt;/P&gt;&lt;P&gt;        APPEND wa_tdline TO ls_tline.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT ls_tline[] IS INITIAL.&lt;/P&gt;&lt;P&gt;  CLEAR ls_thead.&lt;/P&gt;&lt;P&gt;  ls_thead-tdobject = 'ZPERNR'.&lt;/P&gt;&lt;P&gt;  ls_thead-tdid     = 'ZPA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF fcode EQ 'UPD'.&lt;/P&gt;&lt;P&gt;    CONCATENATE 'MYCONTAINER1' p9002-pernr INTO ls_thead-tdname.&lt;/P&gt;&lt;P&gt;    CONDENSE ls_thead-tdname NO-GAPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_thead-TDSPRAS = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   client                = sy-mandt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       header                = ls_thead&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   INSERT                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       savemode_direct       = l_x_l&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   OWNER_SPECIFIED       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   LOCAL_CAT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   NEWHEADER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        lines                 = ls_tline&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     id                    = 1&lt;/P&gt;&lt;P&gt;     language              = 2&lt;/P&gt;&lt;P&gt;     name                  = 3&lt;/P&gt;&lt;P&gt;     object                = 4&lt;/P&gt;&lt;P&gt;     OTHERS                = 5.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE e246(zdsh01_pp1) WITH sy-subrc.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 03:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789390#M339685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T03:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789391#M339686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. You should get the text / data from each container separately. Just like the way you get getting the text from ls_editor, you should get data from other controls as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Call COMMIT_TEXT followed by SAVE_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 04:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789391#M339686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T04:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789392#M339687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Radha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check demo programs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPTEXTEDIT_DEMO_2_OLD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this will help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 04:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789392#M339687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T04:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Containers handling while saving</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789393#M339688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved it on my by declaring separate objects and editors for each container and calling the same in the PAI also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 06:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-containers-handling-while-saving/m-p/1789393#M339688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T06:10:52Z</dc:date>
    </item>
  </channel>
</rss>

