<?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: Extract and display data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620842#M277764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    to display  display the name and dept of that employee in a non-editable format after empno is  selected you have to write in PBO module of screen &lt;/P&gt;&lt;P&gt; below code&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'ITAB-NAME' OR&lt;/P&gt;&lt;P&gt;   screen-name = 'ITAB-DEPT' .&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Sep 2006 14:42:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-23T14:42:07Z</dc:date>
    <item>
      <title>Extract and display data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620838#M277760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Hi Guys, I am new to abap programming and my requirement is to accept an Employee Number on a screen and display the name and dept of that employee in a non-editable format. (I am using module pool and database tables)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 10:42:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620838#M277760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-23T10:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and display data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620839#M277761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SARA,&lt;/P&gt;&lt;P&gt;If ur using Module pool then in the PAI section for the module pool write the select query&lt;/P&gt;&lt;P&gt;Select employee_name dept from database_table into table ITAB where employee_number = "the employee number entered on the screen".&lt;/P&gt;&lt;P&gt;emp_number must be an input field in the screen layout so that it can be used in the PAI and the database_table must be a in the top include.&lt;/P&gt;&lt;P&gt;Please reward helpful answers.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shrita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 11:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620839#M277761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-23T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and display data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620840#M277762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to explore the HR tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Se11 -&amp;gt; PA0000, PA0001 , PA0002 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also refer the transaction PA20 to get the details in SAP . &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;vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points for all the useful answersc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 11:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620840#M277762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-23T11:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and display data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620841#M277763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear sara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI of the module pool programming of the screen whichever you are using 'for e.g 0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will have some statemenst like &lt;/P&gt;&lt;P&gt;FIELD 'EMP_NUM'&lt;/P&gt;&lt;P&gt;FIELD 'EMP_NAME'&lt;/P&gt;&lt;P&gt;FIELD ' EMP_DEPT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you need to insert a module after the code FIELD 'EMP_NAME' and it is as follows&lt;/P&gt;&lt;P&gt;FIELD ' EMP_NAME'&lt;/P&gt;&lt;P&gt;module get_name_dept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this module can be saved in the ZFUCNGRPI01 include where in the "ZFUNCGRP" is your fucntion group name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this module you write a select query to retrieve the date for the employee number to retrieve employee name and dept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is as follows -&lt;/P&gt;&lt;P&gt;data: l_name type PA0001-name,&lt;/P&gt;&lt;P&gt;      l_dept type PA0001-dept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select name dept from table PA0001 into (l_name, l_dept)&lt;/P&gt;&lt;P&gt;                 where num = EMP_NUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the screen field below need to be assigned the values as shown below.&lt;/P&gt;&lt;P&gt;EMP_NAME = l_name.&lt;/P&gt;&lt;P&gt;EMP_DEPT = l_dept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'EMP_NAME' or 'EMP_DEPT'.&lt;/P&gt;&lt;P&gt;screen-input = '1'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope that this code if written with appropriate screen names and databse tables written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do reply back if you have any problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;venugopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 12:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620841#M277763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-23T12:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and display data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620842#M277764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    to display  display the name and dept of that employee in a non-editable format after empno is  selected you have to write in PBO module of screen &lt;/P&gt;&lt;P&gt; below code&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'ITAB-NAME' OR&lt;/P&gt;&lt;P&gt;   screen-name = 'ITAB-DEPT' .&lt;/P&gt;&lt;P&gt;   SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 14:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620842#M277764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-23T14:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and display data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620843#M277765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;THANK YOU ALL.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;When enduser enters the employee_Number in the screen field  and  presses &amp;lt;b&amp;gt;"ENTER"&amp;lt;/b&amp;gt; then the employee_Name and employee_Dept should be displayed in a non-editable form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I meet the requirement execpt the logic to be use when the enduser presses the  &amp;lt;b&amp;gt;"ENTER"&amp;lt;/b&amp;gt; key and in which system field the &amp;lt;b&amp;gt;"ENTER"&amp;lt;/b&amp;gt; key is stored. &amp;lt;b&amp;gt;PLEASE HELP&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Sep 2006 15:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extract-and-display-data/m-p/1620843#M277765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-23T15:37:59Z</dc:date>
    </item>
  </channel>
</rss>

