<?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: table content in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277695#M495556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer this trans. &amp;lt;b&amp;gt;ABAPDOCU&amp;lt;/b&amp;gt;  - Under Processing Screens -&amp;gt; Screen Fields with Dictiionary Reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 12:01:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-15T12:01:11Z</dc:date>
    <item>
      <title>table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277692#M495553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i start with sap .i want to create a screen displaying the content of a database table.&lt;/P&gt;&lt;P&gt;i want to know how to do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thinks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 11:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277692#M495553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T11:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277693#M495554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;Goto se51 create a screen using layout editor.&lt;/P&gt;&lt;P&gt;Drag &amp;amp; drop a table control into it.&lt;/P&gt;&lt;P&gt;In PBO(Process Before Output) event of the screen write the coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Younus&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward Helpful Answers!!!&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 11:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277693#M495554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277694#M495555</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;Check transaction ABAPDOCU, you can find some example there, like program demo_select_single, which help you to play around with the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 11:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277694#M495555</guid>
      <dc:creator>Peter_Inotai</dc:creator>
      <dc:date>2007-05-15T11:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277695#M495556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer this trans. &amp;lt;b&amp;gt;ABAPDOCU&amp;lt;/b&amp;gt;  - Under Processing Screens -&amp;gt; Screen Fields with Dictiionary Reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 12:01:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277695#M495556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T12:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277696#M495557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi karim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;welcome to sdn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create one module pool program with screen consist of table control and two push buttons called 'DISPLAY' and 'EXIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in PAI event u can write code for Disply and Exit commands...&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;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 12:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277696#M495557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T12:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277697#M495558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Welcome to SDN !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    There are two ways of doing this , one using tsble controls and one simply displaying the table values with some formattings !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    you have got the logic in the responses ... next you can display the records of the db table in a list , for that , write a select querry for getting all the data from the db table ,populate it to a itab . loop at the itab and then write them using some formattings like uline and  vline ... you can display the db table data on your list ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 12:15:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277697#M495558</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-15T12:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277698#M495559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi maddipatla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is exactly what i want to do (a module pool program).&lt;/P&gt;&lt;P&gt;but i dont have much experience .please if you have an exemple (step by step)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thinks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 14:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277698#M495559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T14:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277699#M495560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;Could u please tell me how to create a module pool program to display the content of a databasetable. Please provide me step by step Process or link of file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thinks .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 14:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277699#M495560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277700#M495561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Here you go with the steps :&lt;/P&gt;&lt;P&gt;open se51, choose the icon like a table for table control . drag it and then place it in your screen . click on F6 and you will get a screen where youi need to provide the table name / field name that ( fields ) you are going to use in the screen  and  table control. after giving the ztable name click on get it from dictionary . you will get the list of available fields in a table. next choose the fields you wish to place in the table control , and if you want to place all fields in your table control then select every fields . after this you will get a structure which you should drag place inside the table control area .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on the table control , set the proper attributes, tickmark the horizontal and vertical scroll bars to appear in your TC in the screen . save , check and activate ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;following are the sample code you should follow to display datas in your table control ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write the following code in the flow logic of the screen ............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process before output.&lt;/P&gt;&lt;P&gt;module tc_01_init.&lt;/P&gt;&lt;P&gt;loop at   g_tc_01_itab&lt;/P&gt;&lt;P&gt;       into g_tc_01_wa&lt;/P&gt;&lt;P&gt;       with control tc_01&lt;/P&gt;&lt;P&gt;       cursor tc_01-current_line.&lt;/P&gt;&lt;P&gt;     module tc_01_move.&lt;/P&gt;&lt;P&gt;    module tc_01_get_lines.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module status_0001.&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;loop at g_tc_01_itab.&lt;/P&gt;&lt;P&gt;    chain.&lt;/P&gt;&lt;P&gt;      field sflight-carrid.&lt;/P&gt;&lt;P&gt;      field sflight-connid.&lt;/P&gt;&lt;P&gt;      field sflight-fldate.&lt;/P&gt;&lt;P&gt;      module tc_01_modify on chain-request.&lt;/P&gt;&lt;P&gt;    endchain.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;  module tc_01_user_command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write the following code in your Zmodulepool program !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program  z_tst_mpool_tc_01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of l_tab_sflight occurs 10,&lt;/P&gt;&lt;P&gt;       carrid like sflight-carrid,&lt;/P&gt;&lt;P&gt;       connid like sflight-connid,&lt;/P&gt;&lt;P&gt;       fldate like sflight-fldate,&lt;/P&gt;&lt;P&gt;     end of l_tab_sflight.&lt;/P&gt;&lt;P&gt;tables:   sflight.&lt;/P&gt;&lt;P&gt;types: begin of t_tc_01,&lt;/P&gt;&lt;P&gt;         carrid like sflight-carrid,&lt;/P&gt;&lt;P&gt;         connid like sflight-connid,&lt;/P&gt;&lt;P&gt;         fldate like sflight-fldate,&lt;/P&gt;&lt;P&gt;       end of t_tc_01.&lt;/P&gt;&lt;P&gt;data:     g_tc_01_itab   type t_tc_01 occurs 0,&lt;/P&gt;&lt;P&gt;          g_tc_01_wa     type t_tc_01. "work area&lt;/P&gt;&lt;P&gt;data:     g_tc_01_copied.           "copy flag&lt;/P&gt;&lt;P&gt;controls: tc_01 type tableview using screen 0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:     g_tc_01_lines  like sy-loopc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:     ok_code like sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_pbo .&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_pai .&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_incl01 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include z_tst_mpool_tc_01_status_0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; include  Z_TST_MPOOL_TC_01_PBO    .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;inside include &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   module tc_01_init output.&lt;/P&gt;&lt;P&gt;       if g_tc_01_copied is initial.&lt;/P&gt;&lt;P&gt;          select * from sflight&lt;/P&gt;&lt;P&gt;          into corresponding fields&lt;/P&gt;&lt;P&gt;          of table g_tc_01_itab.&lt;/P&gt;&lt;P&gt;          g_tc_01_copied = 'X'.&lt;/P&gt;&lt;P&gt;          refresh control 'TC_01' from screen '0001'.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module tc_01_move output.&lt;/P&gt;&lt;P&gt;  move-corresponding g_tc_01_wa to sflight.&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;module tc_01_get_lines output.&lt;/P&gt;&lt;P&gt;  g_tc_01_lines = sy-loopc.&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;&lt;/P&gt;&lt;P&gt;Hope this helps .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for any further clarification respond back ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 04:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277700#M495561</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-16T04:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277701#M495562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use (Notice that Example programs were underlined.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &amp;lt;b&amp;gt;Table Controls&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Control with LOOP - ENDLOOP   - &amp;lt;u&amp;gt;demo_dynpro_tabcont_loop&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PBO.&lt;/P&gt;&lt;P&gt;        flights-lines = fill.  "DESCRIBE TABLE itab LINES fill.&lt;/P&gt;&lt;P&gt;      LOOP WITH CONTROL FLIGHTS.&lt;/P&gt;&lt;P&gt;        READ TABLE itab INTO demo_conn INDEX flights-current_line.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    PAI.&lt;/P&gt;&lt;P&gt;      LOOP WITH CONTROL FLIGHTS.&lt;/P&gt;&lt;P&gt;        lines = sy-loopc.&lt;/P&gt;&lt;P&gt;        MODIFY itab FROM demo_conn INDEX flights-current_line.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Control with LOOP AT ITAB    - &amp;lt;u&amp;gt;demo_dynpro_tabcont_loop_at&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;             Table Control Modificatinos&lt;/P&gt;&lt;P&gt;    PBO.&lt;/P&gt;&lt;P&gt;        flights-lines = fill.  "DESCRIBE TABLE itab LINES fill.&lt;/P&gt;&lt;P&gt;        LOOP AT ITAB INTO DEMO_CONN WITH CONTROL FLIGHTS.&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;    PAI.&lt;/P&gt;&lt;P&gt;        LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;           MODIFY itab FROM demo_conn INDEX flights-current_line.&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &amp;lt;b&amp;gt;Step loops.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Step Loop - &amp;lt;u&amp;gt;demo_dynpro_step_loop&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PBO.&lt;/P&gt;&lt;P&gt;      LOOP.&lt;/P&gt;&lt;P&gt;        idx = sy-stepl + line.&lt;/P&gt;&lt;P&gt;        READ TABLE itab INTO wa INDEX idx.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    PAI.&lt;/P&gt;&lt;P&gt;      LOOP.&lt;/P&gt;&lt;P&gt;        lines = sy-loopc.&lt;/P&gt;&lt;P&gt;        idx = sy-stepl + line.&lt;/P&gt;&lt;P&gt;        MODIFY itab FROM wa INDEX idx.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) &amp;lt;b&amp;gt;ALV Grid(using FM Reuse_alv_List_Display)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) &amp;lt;b&amp;gt;ALV Grid(using FM Reuse_alv_Grid_Display)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvlist.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvlist.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) &amp;lt;b&amp;gt;ALV Grid(Using ABAP Objects, class CL_GUI_ALV_GRID)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;DEMO_ABAP_OBJECTS_CONTROLS&lt;/P&gt;&lt;P&gt;DEMO_ABAP_OBJECTS_SPLIT_SCREEN&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve ur problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;u&amp;gt;Dont forget to reward all the useful replies&amp;lt;/u&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 07:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277701#M495562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T07:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277702#M495563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming you know how to create a screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen layout there is a button called Dictionary/Program Fields Window (F6), click on that and enter the table same. &lt;/P&gt;&lt;P&gt;Select the fields to be displayed on scree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sastry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 08:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277702#M495563</guid>
      <dc:creator>subramanya_sastry</dc:creator>
      <dc:date>2007-05-16T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277703#M495564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ranjita .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u very much .but i don't know where place the codes .&lt;/P&gt;&lt;P&gt;because i have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-include_top&lt;/P&gt;&lt;P&gt;2-module_statut_output&lt;/P&gt;&lt;P&gt;3-module_user_command_input&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 09:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277703#M495564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277704#M495565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;karim , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i'll tell you the general process to place the codes in module pools ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the XXXTOP inlcude you place all the declarations you have made as its globally available for the progarm .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In your program you have &lt;/P&gt;&lt;P&gt;   1) inlcude_top --- place all the declarations inside the include .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  2)module_statut_output  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; here you place the GUI-status and  titlebar for your screen  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  3)module_user_command_input --- here you place operations related to user command .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  for any other coding required in your program you need to create different modules and inside them you need to write the logic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I'm placing  another easier sample code  with all the details , and hope this will make you understand .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Go through each sentence in details ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FLOW LOGIC of your screen :&lt;/P&gt;&lt;P&gt;&amp;lt;B&amp;gt;process before output.&amp;lt;/B&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        module status_3000.    &amp;lt;-- this will be present once you create yopur screen &lt;/P&gt;&lt;P&gt;                                              ( but you need to give the details)&lt;/P&gt;&lt;P&gt;      loop at g_tab_con_01_itab  &amp;lt;-- you need to write&lt;/P&gt;&lt;P&gt;         into g_tab_con_01_wa&lt;/P&gt;&lt;P&gt;         with control tab_con&lt;/P&gt;&lt;P&gt;         cursor tab_con-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        module tab_con_move.    &amp;lt;-- you need to write&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;B&amp;gt; Process after input &amp;lt;/B&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     module exit at exit-command. (&amp;lt;-- you need to code for exit and cancel  operations.)&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;module user_command_3000.  ( system provides this but logic will be yours ( optional ) )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       module clear_ok_code.    ( &amp;lt;-- you should code )&lt;/P&gt;&lt;P&gt;      loop at g_tab_con_01_itab. (&amp;lt;-- you should code )&lt;/P&gt;&lt;P&gt;         module read_tab_con.   (&amp;lt;-- you should write the lopgic )&lt;/P&gt;&lt;P&gt;       endloop.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN YOUR ABAP PROGRAM ( M TYPE ) .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   in your ABAP program you will have the top include , ok . do all the declarations there .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PBO of flow logic of your screen you have  module status_3000, now when you double click in this module ,syst  will ping you for creating of this , choose your program name and the module will be placed in your program . you should write the code there . and you shoiuld do the same thing for all the modules present in the flow logic .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is how its coded n look ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IN THE ABAP Program ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE status_3000 OUTPUT.&lt;/P&gt;&lt;P&gt;     SET PF-STATUS 'ST100'.&lt;/P&gt;&lt;P&gt;     SET TITLEBAR 'T100'.&lt;/P&gt;&lt;P&gt; ENDMODULE.       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module tab_con_move output.&lt;/P&gt;&lt;P&gt;    move-corresponding g_tab_con_01_WA to sflight.&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;MODULE update_table_control INPUT.&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE g_tab_con_01_itab LINES tab_con-lines.&lt;/P&gt;&lt;P&gt;ENDMODULE.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE exit INPUT.&lt;/P&gt;&lt;P&gt;  ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;  IF ok_code EQ 'BACK' OR ok_code EQ 'EXIT' OR ok_code EQ 'CANCEL'.&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module read_tab_con input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*lines = sy-loopc.&lt;/P&gt;&lt;P&gt;READ TABLE g_tab_con_01_itab INTO g_tab_con_01_WA INDEX tab_con-current_line.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING SFLIGHT TO g_tab_con_01_WA.&lt;/P&gt;&lt;P&gt;modify g_tab_con_01_itab from g_tab_con_01_WA index tab_con-current_line.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING SFLIGHT TO g_tab_con_01_WA.&lt;/P&gt;&lt;P&gt;APPEND g_tab_con_01_WA TO g_tab_con_01_itab.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " read_tab_con  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module fill_tab_con output.&lt;/P&gt;&lt;P&gt;  read table g_tab_con_01_itab into zsflight index tab_con-current_line.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module tab_con_get_lines output.&lt;/P&gt;&lt;P&gt;  g_tab_con_01_lines = sy-loopc.&lt;/P&gt;&lt;P&gt;endmodule.                 " tab_con_get_lines  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module tab_con_modify input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-corresponding sflight to g_tab_con_01_wa.&lt;/P&gt;&lt;P&gt;  modify g_tab_con_01_itab&lt;/P&gt;&lt;P&gt;      from g_tab_con_01_wa&lt;/P&gt;&lt;P&gt;      index tab_con-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " tab_con_modify  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module clear_ok_code input.&lt;/P&gt;&lt;P&gt;clear ok_code.&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;  Try to understand from above ... if you  need further guidence,please respond ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 09:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277704#M495565</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-16T09:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277705#M495566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;think u very much .&lt;/P&gt;&lt;P&gt;i will try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 09:54:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277705#M495566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T09:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: table content</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277706#M495567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you are done , do not forget to reward points for the answers in your list and mark the thread as answered ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 09:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-content/m-p/2277706#M495567</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-16T09:58:00Z</dc:date>
    </item>
  </channel>
</rss>

