<?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: dynamic display on selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114585#M442435</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;You can use loop with controls statement to transfer your data to the screen.You can intialise the screen using tab function code .In pbo declare the tabstrip-activetab = function code . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 05:58:22 GMT</pubDate>
    <dc:creator>former_member673464</dc:creator>
    <dc:date>2007-04-04T05:58:22Z</dc:date>
    <item>
      <title>dynamic display on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114583#M442433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a tabbed block on the selection screen and need to display fields from an internal table dynamically using a step loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done is,  fill the Internal table in PBO of the 1st tab screen ie 100 screen, then initiated a loop for this internal table and inside the loop called a step loop for display of these fields.&lt;/P&gt;&lt;P&gt;But not able to display. Also in initialization,  i have initiazed mytab-dynnr = 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 05:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114583#M442433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T05:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic display on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114584#M442434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its better to post in ABAP GENERAL forum then u will get responces&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 05:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114584#M442434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T05:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic display on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114585#M442435</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;You can use loop with controls statement to transfer your data to the screen.You can intialise the screen using tab function code .In pbo declare the tabstrip-activetab = function code . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 05:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114585#M442435</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2007-04-04T05:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic display on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114586#M442436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kiret&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for u i got a steploop and i am filling the values thart are in pbo module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just chk this sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLOW LOGIC:&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt; MODULE STATUS_0100.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  LOOP at it_mara cursor topline.&lt;/P&gt;&lt;P&gt;    MODULE transp_itab_out.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;*loop at it_mara.&lt;/P&gt;&lt;P&gt;*endloop.&lt;/P&gt;&lt;P&gt;LOOP at it_mara.&lt;/P&gt;&lt;P&gt;    MODULE transp_itab_in.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt; MODULE USER_COMMAND_0100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP INCLUDE:&lt;/P&gt;&lt;P&gt;data: begin of it_mara occurs 0,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;maktx like makt-maktx,&lt;/P&gt;&lt;P&gt;end of it_mara.&lt;/P&gt;&lt;P&gt;data: wa like line of it_mara.&lt;/P&gt;&lt;P&gt;data: rec type sy-tabix.&lt;/P&gt;&lt;P&gt;DATA: idx   TYPE i,&lt;/P&gt;&lt;P&gt;      line  TYPE i,&lt;/P&gt;&lt;P&gt;      step  TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      DATA TOPLINE TYPE I VALUE 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO:&lt;/P&gt;&lt;P&gt;MODULE STATUS_0100 OUTPUT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET PF-STATUS 'xxxxxxxx'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SET TITLEBAR 'xxx'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it_mara-matnr = '0000001'.&lt;/P&gt;&lt;P&gt;it_mara-maktx = 'abcd'.&lt;/P&gt;&lt;P&gt;append it_mara.&lt;/P&gt;&lt;P&gt;it_mara-matnr = '0000002'.&lt;/P&gt;&lt;P&gt;it_mara-maktx = 'efgh'.&lt;/P&gt;&lt;P&gt;append it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI:&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_0100 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM MODULES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE transp_itab_out OUTPUT.&lt;/P&gt;&lt;P&gt;step = sy-loopc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;idx = sy-stepl + line.&lt;/P&gt;&lt;P&gt;READ TABLE it_mara into it_mara INDEX idx.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " transp_itab_out  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE transp_itab_in INPUT.&lt;/P&gt;&lt;P&gt;  step = sy-loopc.&lt;/P&gt;&lt;P&gt;  idx = sy-stepl + line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY it_mara FROM wa INDEX idx.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " transp_itab_in  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 08:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114586#M442436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic display on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114587#M442437</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;to display the data from the internal table to the table control... you first need to fetch the data into the internal table during pbo event and the ctrl elements of the control table should have the same name as the internal table fields , so that when you fetch the data into the internal table it get automatically get filled into the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer the code below.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;  MODULE status_0101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN : lineitems INCLUDING 'ZPURCR_71945' '1011'.&lt;/P&gt;&lt;P&gt;                    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;MODULE exit_0101 AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN: lineitems.&lt;/P&gt;&lt;P&gt;               &lt;/P&gt;&lt;P&gt;  MODULE user_command_0101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  STATUS_0101  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0101 OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WHEN 'PB_DISPLAY'.&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;    perform to fetch data and display in the line items tab&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      PERFORM display_data_line_items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " STATUS_0101  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz reward pts if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 08:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-display-on-selection-screen/m-p/2114587#M442437</guid>
      <dc:creator>Vijay</dc:creator>
      <dc:date>2007-04-12T08:06:20Z</dc:date>
    </item>
  </channel>
</rss>

