<?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: alv grid control problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825232#M352173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;create an internal table with all the 19 fields+2fields.&lt;/P&gt;&lt;P&gt;Now pass al required values from PA0002 and Zfm_handy to it.&lt;/P&gt;&lt;P&gt;Pass that internal table to ALV.&lt;/P&gt;&lt;P&gt;Because you cannot use at a time more than one table for ALV Display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2007 18:30:30 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2007-01-15T18:30:30Z</dc:date>
    <item>
      <title>alv grid control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825229#M352170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have tables:  zfm_handy, pa0002.&lt;/P&gt;&lt;P&gt;i have total 21 fields in that 19 fields from zfm_handy table and other two fiels(NACHN and VORNA ) i.e first name and last name belongs to table pa0002.&lt;/P&gt;&lt;P&gt;plz tell me any function module which gives the lastname and first name of the employee seperately and use it in the problem .is it any possibility for this?&lt;/P&gt;&lt;P&gt;the output list has to be a alv grid list.&lt;/P&gt;&lt;P&gt;if not plz sent the alternative coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 17:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825229#M352170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-15T17:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825230#M352171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just simply do a select against PA0002 with the employee number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of xname,
         nachn type pa0002-nachn,
         vorna  type pa0002-vorna,
        end of xname.


Select Single NACHN  VORNA into xname
            from pa0002
                        where pernr = p_pernr
                            and endda = '99991231'.

* Now move the values of XNAME into the fields of your internal table or you can simply move them directly .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 17:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825230#M352171</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-15T17:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825231#M352172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for u r reply&lt;/P&gt;&lt;P&gt;but how can i get other 19 fields in the form of alv grid dispaly&lt;/P&gt;&lt;P&gt;i need to write select guery for these 19  fields from the table zfm_handy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 18:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825231#M352172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-15T18:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825232#M352173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;create an internal table with all the 19 fields+2fields.&lt;/P&gt;&lt;P&gt;Now pass al required values from PA0002 and Zfm_handy to it.&lt;/P&gt;&lt;P&gt;Pass that internal table to ALV.&lt;/P&gt;&lt;P&gt;Because you cannot use at a time more than one table for ALV Display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 18:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825232#M352173</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-01-15T18:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid control problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825233#M352174</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 this:&lt;/P&gt;&lt;P&gt;data: begin of i_zfm occurs 0.&lt;/P&gt;&lt;P&gt;        include structure zfm_handy.&lt;/P&gt;&lt;P&gt;data:    fname  like pa0002-fname,  &lt;/P&gt;&lt;P&gt; "Assuming first name is fname, last name is lname&lt;/P&gt;&lt;P&gt;        lname like pa0002-lname,&lt;/P&gt;&lt;P&gt;      end of i_zfm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select (19 fields of zfm_handy) pa0002&lt;SUB&gt;fname pa0002&lt;/SUB&gt;lname&lt;/P&gt;&lt;P&gt; into corresponding fields of table i_zfm from zfm_handy&lt;/P&gt;&lt;P&gt;inner join pa0002&lt;/P&gt;&lt;P&gt;where zfm_handy&lt;SUB&gt;pernr = pa0002&lt;/SUB&gt;pernr&lt;/P&gt;&lt;P&gt;  and  pa0002~begda &amp;lt;= sy-datum&lt;/P&gt;&lt;P&gt;  and  pa0002~endda &amp;gt;= sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use this internal table in your ALV Function module call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2007 18:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-control-problem/m-p/1825233#M352174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-15T18:31:57Z</dc:date>
    </item>
  </channel>
</rss>

