<?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: ALV GRID display using classes(oops) for calling a screen repeatedly in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450137#M1413623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2009 06:03:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-28T06:03:24Z</dc:date>
    <item>
      <title>ALV GRID display using classes(oops) for calling a screen repeatedly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450132#M1413618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using screen 100 PBO module to display my list with some editable fields in my output using CALL METHOD g_grid-&amp;gt;set_ready_for_input.&lt;/P&gt;&lt;P&gt;In PAI module I am cross checking the input fields and if there are any errors I am displaying those error records by again calling screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the new data doesn't replicate in the needed output.ie., if there are 3 records in the main o/p list in that if, 1 record is in error, I should display only that 1 record with one more field at the end stating error message in the column. I have taken measure to inculde the extra field in the fieldcategory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me by telling me that how I should pass the screen controls to get the need list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 11:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450132#M1413618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T11:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID display using classes(oops) for calling a screen repeatedly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450133#M1413619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check by debugging,that data is getting refreshed in u internal table.if data got refreshed,then u need check the container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Create Container ALV Grid&lt;/P&gt;&lt;P&gt;  IF g_cust_grid IS INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create Control Container for Grid&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CREATE OBJECT g_cust_container&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;          container_name = g_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CREATE OBJECT g_cust_grid&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;          i_parent = g_cust_container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Displaying data in grid&lt;/P&gt;&lt;P&gt;  CALL METHOD g_cust_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      IS_LAYOUT       = g_wa_layout2&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = g_t_fieldcat&lt;/P&gt;&lt;P&gt;      it_outtab       = g_t_screen.&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;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 11:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450133#M1413619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID display using classes(oops) for calling a screen repeatedly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450134#M1413620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen it in the debug mode, the data is not getting refreshed.&lt;/P&gt;&lt;P&gt;When the screeen is called for the second time, I have put an condition like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF g_custom_container IS INITIAL.&lt;/P&gt;&lt;P&gt;    PERFORM create_and_init_alv CHANGING t_dspdat[]&lt;/P&gt;&lt;P&gt;                                         gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here the condition is getting failed. Earlier when screen 100 is called t_dspdat[] has 3 records and when this same screen is called second time t_dspdat[] has 1 record, but displays 3 records only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I refresh the data.&lt;/P&gt;&lt;P&gt;Any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 12:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450134#M1413620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T12:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID display using classes(oops) for calling a screen repeatedly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450135#M1413621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mac Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same class, with set_table_for_first_display, there is one more method called refresh_table or just refresh().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to do use this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 22:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450135#M1413621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-24T22:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID display using classes(oops) for calling a screen repeatedly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450136#M1413622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You have several options:&lt;/P&gt;&lt;P&gt;1) After the user hits enter and PAI/PBO gets triggered you need to execute a soft refresh to get the data reflected in your data table. Then you can make your checks and inform the user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You can implement the event handler on_data_changed of the grid. This way you can check field by field when ever a field changes in the grid. You can raise errors and this way set the focus to the wrong cell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Dec 2009 15:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450136#M1413622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-27T15:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: ALV GRID display using classes(oops) for calling a screen repeatedly</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450137#M1413623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 06:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-display-using-classes-oops-for-calling-a-screen-repeatedly/m-p/6450137#M1413623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-28T06:03:24Z</dc:date>
    </item>
  </channel>
</rss>

