<?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 view in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267858#M149526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Babita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First write a select query with join on both the tables containign userid and username and fetch the entire details into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now If u r using table control(module pool programming) to display the contents of the table and u want to display results as soon as user runs the transaction, then write the code in PBO (like MODULE display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if u want to display details after a user selects one particular record then write the code in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2006 07:36:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-10T07:36:09Z</dc:date>
    <item>
      <title>table view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267856#M149524</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 created a table and table view,no im supposed to create a filed only in the table vuew from another table,i.e there is a filed called user id in the table and table view,now after i fill the filed userid the user wants to see the name of the user in another filed.the name filed should not be in the table it should be only at view level.where i have to do coding to fill this name filed,either in PBO or PAI,plz help me with some code.TYhank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 07:26:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267856#M149524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: table view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267857#M149525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi babita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if u created a view using se11,&lt;/P&gt;&lt;P&gt;   then there&lt;/P&gt;&lt;P&gt;   u can add one more table USR01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then u can link the fields&lt;/P&gt;&lt;P&gt;  with &lt;/P&gt;&lt;P&gt;  MANDT&lt;/P&gt;&lt;P&gt;  BNAME  (user id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. In field list, add username from usr01 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Then in your code, just select &lt;/P&gt;&lt;P&gt;    select * from myview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Thats all&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 07:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267857#M149525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: table view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267858#M149526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Babita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First write a select query with join on both the tables containign userid and username and fetch the entire details into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now If u r using table control(module pool programming) to display the contents of the table and u want to display results as soon as user runs the transaction, then write the code in PBO (like MODULE display).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if u want to display details after a user selects one particular record then write the code in PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 07:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267858#M149526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T07:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: table view</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267859#M149527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Babita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u need to do is decide when u want to display the name. If it directly when user enter the transaction or after user selects certain transaction. But based on what u have described it seems the view has this additional field which gets displayed when the user enters the transaction. For this u have to code follwoing in PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U have user field in ur table, use this field to access table USR21. get person_number field. Use this field to call FM ADDR_SELECT_ADRP_SINGLE. This FM will give u the necessary info which u to move to the screen field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 08:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-view/m-p/1267859#M149527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T08:23:33Z</dc:date>
    </item>
  </channel>
</rss>

