<?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 Problem with POPUP_WITH_TABLE_DISPLAY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-popup-with-table-display/m-p/5192970#M1201713</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;Iam using fn . module POPUP_WITH_TABLE_DISPLAY for my requirement where Iam displaying my internal table data on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION popup_with_table_display.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(ENDPOS_COL) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(ENDPOS_ROW) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(STARTPOS_COL) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(STARTPOS_ROW) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(TITLETEXT) TYPE  CHAR80&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(CHOISE) LIKE  SY-TABIX&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      VALUETAB&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      BREAK_OFF&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 3 fields are displayed on the screen. Even, if I select 1st row on the screen, Iam getting CHOISE vaues as '3' and so on.&lt;/P&gt;&lt;P&gt;Why its happening? What may b the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  CALL FUNCTION 'POPUP_WITH_TABLE DISPLAY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ENDPOS_COL         =  40&lt;/P&gt;&lt;P&gt;    ENDPOS_ROW         =  12&lt;/P&gt;&lt;P&gt;    STARTPOS_COL       =  20&lt;/P&gt;&lt;P&gt;    STARTPOS_ROW       =   5&lt;/P&gt;&lt;P&gt;    TITLETEXT          =   'Demo'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   CHOISE             =  choice&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    VALUETAB           = it_Sd&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;    BREAK_OFF          = 1&lt;/P&gt;&lt;P&gt;   OTHERS             = 2.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;Now, 5 records are displaying on the screen with above end positions and start positions.&lt;/P&gt;&lt;P&gt;If I have 50 records, does all of them get displayed on the screen.&lt;/P&gt;&lt;P&gt;If 'NO', what can I do to see all the data in the internal table on screen irrespective of no. of records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Shivaa........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 19:49:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T19:49:45Z</dc:date>
    <item>
      <title>Problem with POPUP_WITH_TABLE_DISPLAY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-popup-with-table-display/m-p/5192970#M1201713</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;Iam using fn . module POPUP_WITH_TABLE_DISPLAY for my requirement where Iam displaying my internal table data on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION popup_with_table_display.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(ENDPOS_COL) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(ENDPOS_ROW) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(STARTPOS_COL) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(STARTPOS_ROW) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(TITLETEXT) TYPE  CHAR80&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(CHOISE) LIKE  SY-TABIX&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      VALUETAB&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      BREAK_OFF&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 3 fields are displayed on the screen. Even, if I select 1st row on the screen, Iam getting CHOISE vaues as '3' and so on.&lt;/P&gt;&lt;P&gt;Why its happening? What may b the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  CALL FUNCTION 'POPUP_WITH_TABLE DISPLAY'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    ENDPOS_COL         =  40&lt;/P&gt;&lt;P&gt;    ENDPOS_ROW         =  12&lt;/P&gt;&lt;P&gt;    STARTPOS_COL       =  20&lt;/P&gt;&lt;P&gt;    STARTPOS_ROW       =   5&lt;/P&gt;&lt;P&gt;    TITLETEXT          =   'Demo'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   CHOISE             =  choice&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    VALUETAB           = it_Sd&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;    BREAK_OFF          = 1&lt;/P&gt;&lt;P&gt;   OTHERS             = 2.&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;Now, 5 records are displaying on the screen with above end positions and start positions.&lt;/P&gt;&lt;P&gt;If I have 50 records, does all of them get displayed on the screen.&lt;/P&gt;&lt;P&gt;If 'NO', what can I do to see all the data in the internal table on screen irrespective of no. of records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Shivaa........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 19:49:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-popup-with-table-display/m-p/5192970#M1201713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T19:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with POPUP_WITH_TABLE_DISPLAY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-popup-with-table-display/m-p/5192971#M1201714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shiva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM works like a charm for me, try out the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Data : Begin Of tOptions Occurs 50 ,
          VTEXT(10),
       End Of tOptions.

Data : cChoice Like SY-TABIX.
   Clear   tOptions.
   Refresh tOptions.
   Do 50 Times.
      tOptions-VTEXT = sy-Index.
      Append tOptions.
   EndDo.

Perform DisplayOptions.
*
Form DisplayOptions.
   Clear : cChoice.
   Call Function 'POPUP_WITH_TABLE_DISPLAY'
     Exporting
       EndPOS_Col   = 130
       EndPOS_Row   = 15
       StartPos_Col = 50
       StartPos_Row = 11
       TitleText    = 'Select processing option...'
    Importing
      Choise        = cChoice
    Tables
      ValueTab      = tOptions
   Exceptions
     Break_Off      = 1
     Others         = 2.
   Read Table tOptions
        Index cChoice.
   Write cChoice.
EndForm. " DisplayOptions&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 20:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-popup-with-table-display/m-p/5192971#M1201714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T20:31:41Z</dc:date>
    </item>
  </channel>
</rss>

