<?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: Displaying errors on popup in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491347#M839604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mithun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi mithun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_fieldcat type slis_t_FIELDCAT_ALV with header line,&lt;/P&gt;&lt;P&gt;            GT_OUTTAB TYPE SFLIGHT OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prepare field catelog for this .Means error screen output field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gt_fieldcat-tabname   = 'internal table name.'&lt;/P&gt;&lt;P&gt;  w_fieldcat-fieldname = 'Fields Name'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-outputlen = '6'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-col_pos   = '1'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-row_pos   = '1'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND gt_fieldcat.&lt;/P&gt;&lt;P&gt;  CLEAR gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like above assign all fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SELECTION             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_ZEBRA                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_START_COLUMN   = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_START_LINE     = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_END_COLUMN     = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_END_LINE       = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_CHECKBOX_FIELDNAME    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_LINEMARK_FIELDNAME    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCROLL_TO_SEL_LINE    = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            i_tabname               = '1'&lt;/P&gt;&lt;P&gt;            IT_FIELDCAT             = gt_fieldcat[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          IT_EXCLUDING            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_CALLBACK_PROGRAM      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_CALLBACK_USER_COMMAND =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            IS_PRIVATE              = GS_PRIVATE&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;            ES_SELFIELD             = GS_SELFIELD&lt;/P&gt;&lt;P&gt;            E_EXIT                  = G_EXIT&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            T_OUTTAB                = GT_OUTTAB&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            PROGRAM_ERROR           = 1&lt;/P&gt;&lt;P&gt;            OTHERS                  = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE I000(0K) WITH SY-SUBRC.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2008 03:37:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-04T03:37:50Z</dc:date>
    <item>
      <title>Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491344#M839601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;       I am doing dialog programming for the first time and there is a table control on one screen. Based on what user enters information in the fields table control gets populated and that data is stored in internal table itab. I have to loop though the internal table and perform some validations and show the errors to the user maybe on a pouup screen. I want to accumulate all errors and show them in one shot on popup screen. Is there a function module or something that would let me do this? Please give me any suggestions you have becuase this is kind of urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 23:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491344#M839601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T23:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491345#M839602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could put all of your errors into an internalk table and then display that table with FM &lt;STRONG&gt;REUSE_ALV_POPUP_TO_SELECT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 23:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491345#M839602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T23:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491346#M839603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob. What should be the structure of internal table. I have a table of type string and it is going to dump. Could you please send me an example code if you have it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 23:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491346#M839603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T23:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491347#M839604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mithun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi mithun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gt_fieldcat type slis_t_FIELDCAT_ALV with header line,&lt;/P&gt;&lt;P&gt;            GT_OUTTAB TYPE SFLIGHT OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prepare field catelog for this .Means error screen output field names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; gt_fieldcat-tabname   = 'internal table name.'&lt;/P&gt;&lt;P&gt;  w_fieldcat-fieldname = 'Fields Name'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-outputlen = '6'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-col_pos   = '1'.&lt;/P&gt;&lt;P&gt;  w_fieldcat-row_pos   = '1'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND gt_fieldcat.&lt;/P&gt;&lt;P&gt;  CLEAR gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like above assign all fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SELECTION             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_ZEBRA                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_START_COLUMN   = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_START_LINE     = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_END_COLUMN     = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCREEN_END_LINE       = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_CHECKBOX_FIELDNAME    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_LINEMARK_FIELDNAME    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_SCROLL_TO_SEL_LINE    = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            i_tabname               = '1'&lt;/P&gt;&lt;P&gt;            IT_FIELDCAT             = gt_fieldcat[]&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          IT_EXCLUDING            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_CALLBACK_PROGRAM      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          I_CALLBACK_USER_COMMAND =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            IS_PRIVATE              = GS_PRIVATE&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;            ES_SELFIELD             = GS_SELFIELD&lt;/P&gt;&lt;P&gt;            E_EXIT                  = G_EXIT&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            T_OUTTAB                = GT_OUTTAB&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            PROGRAM_ERROR           = 1&lt;/P&gt;&lt;P&gt;            OTHERS                  = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE I000(0K) WITH SY-SUBRC.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 03:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491347#M839604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T03:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491348#M839605</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;Why don't u try with (MESSAGE IXXX) and pop up ur msg...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;arunprasad.p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 04:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491348#M839605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T04:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491349#M839606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked the FM documentation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 13:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491349#M839606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying errors on popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491350#M839607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks to everyone. I was looking for "outputlen"! Just one more quick question. Is there a way I can hide all those buttons on the popup? I just want to show only one button "checkmark" button. i rewarded full points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2008 21:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-errors-on-popup/m-p/3491350#M839607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-04T21:19:21Z</dc:date>
    </item>
  </channel>
</rss>

