<?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 Automatically fill fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023133#M81674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee No. _________&lt;/P&gt;&lt;P&gt;Employee Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the following, when the user fill the Employee No. and press Enter the Employee must appear automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find info. about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2005 00:21:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-30T00:21:07Z</dc:date>
    <item>
      <title>Automatically fill fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023133#M81674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee No. _________&lt;/P&gt;&lt;P&gt;Employee Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the following, when the user fill the Employee No. and press Enter the Employee must appear automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I find info. about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 00:21:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023133#M81674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T00:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically fill fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023134#M81675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data: xpa0002 type pa0002.

parameters: p_pernr type pa0002-pernr.
parameters: p_name(30) type c.

at selection-screen output.

select Single * from pa0002 into xpa0002
           where pernr = p_pernr.
if sy-subrc = 0.
concatenate xpa0002-vorna xpa0002-nachn into p_name 
        separated by space.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&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>Wed, 30 Nov 2005 00:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023134#M81675</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-30T00:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically fill fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023135#M81676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u have to do&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;Suppose the dbtable is like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;emp_no            "Employee_no. &lt;/P&gt;&lt;P&gt;emp_name          "Employee Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: e_name type &amp;lt;dbtable-emp_name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'ENTER'.&lt;/P&gt;&lt;P&gt;Select emp_name into e_name from &amp;lt;dbtable&amp;gt; where emp_no = field1.&lt;/P&gt;&lt;P&gt;field2 = e_name.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this work 4 u.&lt;/P&gt;&lt;P&gt;Do reward if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;Sachin Dhingra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 05:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-fill-fields/m-p/1023135#M81676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T05:05:25Z</dc:date>
    </item>
  </channel>
</rss>

