<?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: help please in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953587#M392552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you....... I'm being asked to select all the employees such that stat2 = any number lets say 6...... so do I specify it when I declaring as the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF report,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERNR TYPE p0000-PERNR, &lt;/P&gt;&lt;P&gt;STAT2   TYPE p0000-STAT2 = '6',&lt;/P&gt;&lt;P&gt;ENAME TYPE p0001-EMNAM,&lt;/P&gt;&lt;P&gt;BEGDA TYPE p0000-BEGDA,&lt;/P&gt;&lt;P&gt;ENDDA TYPE p0000-ENDDA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 08:52:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-21T08:52:01Z</dc:date>
    <item>
      <title>help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953578#M392543</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;&lt;/P&gt;&lt;P&gt;Can anybody answer my questions please which regarding HR report programing?&lt;/P&gt;&lt;P&gt;Suppose I want to display employee master data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Do I declare PERNR as atable or as a node?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Do I need to declare the selection screen block?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Do I  need some includes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 05:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953578#M392543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T05:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953579#M392544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/hr/hrhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/hr/hrhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 05:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953579#M392544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T05:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953580#M392545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;        You will logical database as PNP so no selection screen and includes required because you will get from standard and you table pernr as Tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 05:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953580#M392545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T05:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953581#M392546</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;I am sending the code for HR model report. Kindly go through it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zp_postcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools: slis.                                      "ALV Declarations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: so_pcode FOR p0006-pstlz.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK pcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_output,&lt;/P&gt;&lt;P&gt;  pernr       TYPE p0001-pernr,   "personnel name&lt;/P&gt;&lt;P&gt;  anredtxt    TYPE t522t-atext,   "title (based on p0002-anred)&lt;/P&gt;&lt;P&gt;  fname       TYPE p0002-vorna,   "first name&lt;/P&gt;&lt;P&gt;  lname       TYPE p0002-nachn,   "last name&lt;/P&gt;&lt;P&gt;  orgtx       TYPE t527x-orgtx,   "dept&lt;/P&gt;&lt;P&gt;  fte         TYPE p0008-bsgrd,   "fte&lt;/P&gt;&lt;P&gt;  parking(20) TYPE c,&lt;/P&gt;&lt;P&gt;  payslip     TYPE t526-sachn,        "payslip address&lt;/P&gt;&lt;P&gt;  telno       TYPE p0105-usrid_long,  "tel number(p0105-usrty = 0020)&lt;/P&gt;&lt;P&gt;  email       TYPE p0105-usrid_long,  "email (p0105-usrty = MAIL)&lt;/P&gt;&lt;P&gt;  postcode    type p0006-pstlz,&lt;/P&gt;&lt;P&gt; END OF t_output.&lt;/P&gt;&lt;P&gt;DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,&lt;/P&gt;&lt;P&gt;      wa_output TYPE t_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*ALV data declarations&lt;/P&gt;&lt;P&gt;data: fieldcatalog   type slis_t_fieldcat_alv with header line,&lt;/P&gt;&lt;P&gt;      gd_tab_group   type slis_t_sp_group_alv,&lt;/P&gt;&lt;P&gt;      gd_layout      type slis_layout_alv,&lt;/P&gt;&lt;P&gt;      gd_repid       like sy-repid,&lt;/P&gt;&lt;P&gt;      gt_events      type slis_t_event,&lt;/P&gt;&lt;P&gt;      gd_prntparams  type slis_print_alv,&lt;/P&gt;&lt;P&gt;      gd_count(6)    type n,&lt;/P&gt;&lt;P&gt;      gd_outtext(70) type c,&lt;/P&gt;&lt;P&gt;      gd_lines       type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: gd_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET pernr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Infotype 0121 is used to store multiple contracts for personnel.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Field p0121-hpern contains the personnel number for the main contract.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PROVIDE * from p0121 between pn-begda and pn-endda.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Check if main contract&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if p0121-pernr ne p0121-hpern.&lt;/P&gt;&lt;P&gt;      reject.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  ENDPROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  add 1 to gd_count.&lt;/P&gt;&lt;P&gt;  concatenate 'Processing personnel data'(m10) gd_count into gd_outtext&lt;/P&gt;&lt;P&gt;            separated by ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Display indicator for employee count&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  perform progress_indicator using gd_outtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve datd from infotypes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  rp_provide_from_last p0000 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;  rp_provide_from_last p0001 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;  rp_provide_from_last p0002 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;  rp_provide_from_last p0006 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;  rp_provide_from_last p0008 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;  rp_provide_from_last p0014 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check post code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHECK p0006-pstlz IN so_pcode.  "cp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Post code&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_output-postcode = p0006-pstlz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Personnel number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_output-pernr = pernr-pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Personnel title&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE atext&lt;/P&gt;&lt;P&gt;    FROM t522t&lt;/P&gt;&lt;P&gt;    INTO wa_output-anredtxt&lt;/P&gt;&lt;P&gt;   WHERE sprsl EQ sy-langu AND&lt;/P&gt;&lt;P&gt;         anred EQ p0002-anred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;First name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_output-fname = p0002-vorna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Last name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_output-lname = p0002-nachn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Organizational Unit text (dept)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE orgtx&lt;/P&gt;&lt;P&gt;    FROM t527x&lt;/P&gt;&lt;P&gt;    INTO wa_output-orgtx&lt;/P&gt;&lt;P&gt;   WHERE sprsl EQ sy-langu AND&lt;/P&gt;&lt;P&gt;         orgeh EQ p0001-orgeh AND&lt;/P&gt;&lt;P&gt;         endda GE sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FTE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_output-fte = p0008-bsgrd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parking / travel deducted?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CASE p0014-lgart.&lt;/P&gt;&lt;P&gt;    WHEN '7180' OR '7181' OR '7182'.&lt;/P&gt;&lt;P&gt;      wa_output-parking = text-002.&lt;/P&gt;&lt;P&gt;    WHEN '7183'.&lt;/P&gt;&lt;P&gt;      wa_output-parking = text-001.&lt;/P&gt;&lt;P&gt;    WHEN '7171' OR '7172' or '7173' or '7174' or&lt;/P&gt;&lt;P&gt;         '7175' or '7176' or '7177' or '7178'.&lt;/P&gt;&lt;P&gt;      wa_output-parking = text-003.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Payslip Address&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  SELECT SINGLE sachn&lt;/P&gt;&lt;P&gt;    FROM t526&lt;/P&gt;&lt;P&gt;    INTO wa_output-payslip&lt;/P&gt;&lt;P&gt;   WHERE werks EQ p0001-werks AND&lt;/P&gt;&lt;P&gt;         sachx EQ p0001-sacha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PROVIDE * from p0105 between pn-begda and pn-endda.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Telephone numbers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if p0105-usrty = '0020'.&lt;/P&gt;&lt;P&gt;       wa_output-telno = p0105-usrid_long.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Email address&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    if p0105-usrty = 'MAIL'.&lt;/P&gt;&lt;P&gt;       wa_output-email = p0105-usrid_long.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  ENDPROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append wa_output to it_output.&lt;/P&gt;&lt;P&gt;  clear: wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*END-OF-SELECTION.&lt;/P&gt;&lt;P&gt; END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;describe table it_output lines gd_lines.&lt;/P&gt;&lt;P&gt;if gd_lines gt 0.&lt;/P&gt;&lt;P&gt;  perform build_fieldcatalog.&lt;/P&gt;&lt;P&gt;  perform build_layout.&lt;/P&gt;&lt;P&gt;  perform display_alv_report.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  message i003(zp) with 'No records found'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  PROGRESS_INDICATOR&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Displays progress indicator on SAP screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form progress_indicator using p_text.&lt;/P&gt;&lt;P&gt;  call function 'SAPGUI_PROGRESS_INDICATOR'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        PERCENTAGE = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           text       = p_text.&lt;/P&gt;&lt;P&gt;endform.                    " PROGRESS_INDICATOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  BUILD_FIELDCATALOG&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Build Fieldcatalog for ALV Report&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form build_fieldcatalog.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'PERNR'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Personnel No.'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 0.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 10.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-emphasize   = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-key         = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-do_sum      = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-no_zero     = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'ANREDTXT'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Title'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 1.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'FNAME'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'First Name'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 2.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'LNAME'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Last Name'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 3.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'ORGTX'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Department'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 4.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'FTE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'FTE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 5.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'PARKING'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Parking/Metrocard'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 6.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'PAYSLIP'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Payslip Add.'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 7.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'TELNO'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Telephone'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 8.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'EMAIL'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'E-mail'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 9.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname   = 'POSTCODE'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Post code'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 10.&lt;/P&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt;endform.                    " BUILD_FIELDCATALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  BUILD_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Build layout for ALV grid report&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form build_layout.&lt;/P&gt;&lt;P&gt;  gd_layout-no_input          = 'X'.&lt;/P&gt;&lt;P&gt;  gd_layout-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;  gd_layout-totals_text       = 'Totals'(201).&lt;/P&gt;&lt;P&gt;  gd_layout-zebra             = 'X'.&lt;/P&gt;&lt;P&gt;endform.                    " BUILD_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  DISPLAY_ALV_REPORT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Display report using ALV grid&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form display_alv_report.&lt;/P&gt;&lt;P&gt;  gd_repid = sy-repid.&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            i_callback_program      = gd_repid&lt;/P&gt;&lt;P&gt;            is_layout               = gd_layout&lt;/P&gt;&lt;P&gt;            it_fieldcat             = fieldcatalog[]&lt;/P&gt;&lt;P&gt;            i_save                  = 'X'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            t_outtab                = it_output&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            program_error           = 1&lt;/P&gt;&lt;P&gt;            others                  = 2.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endform.                    " DISPLAY_ALV_REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 05:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953581#M392546</guid>
      <dc:creator>p291102</dc:creator>
      <dc:date>2007-02-21T05:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953582#M392547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;If you are using Logical database(se36),then you have to declare infotype number and you dont need to design selection-screen.&lt;/P&gt;&lt;P&gt;But fif you are getting data from tables without using LDB,then you have to design selection screen and table name.&lt;/P&gt;&lt;P&gt;Pernr(personel number) is the field name ,not table name and it is in pa001,pa008 etc .&lt;/P&gt;&lt;P&gt;Every infotype will be associated with one table&lt;/P&gt;&lt;P&gt;if infotype is 0001,then table is pa001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 05:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953582#M392547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T05:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953583#M392548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.... suppose I have more than one table pa0000 , pa0001,... and I want to declare pernr which table do I use to refer to pernr, do I do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF report,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &amp;lt;b&amp;gt;PERNR   TYPE p0000-PERNR,&amp;lt;/b&amp;gt;   ENAME   TYPE p0001-EMNAM,&lt;/P&gt;&lt;P&gt;   BEGDA   TYPE p0000-BEGDA,&lt;/P&gt;&lt;P&gt;   ENDDA   TYPE p0000-ENDDA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  END OF report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 08:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953583#M392548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T08:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953584#M392549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for declaration you can refer to any table, it won't create any prob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 08:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953584#M392549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T08:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953585#M392550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the declaration u made is perfect.&lt;/P&gt;&lt;P&gt;u can declare pernr as p0000-pernr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 08:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953585#M392550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T08:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953586#M392551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;refer this demo code - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZPPL_PREVEMPLOYERS                                          *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;                                                                     *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZPPL_PREVEMPLOYERS   message-id rp
                             line-size 250
                             line-count 65.

*Program logic :- This Report is used to Download all the Previous
* Employer (IT0023) records of the employees
* **********************************************************************

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Tables and Infotypes                                                *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
tables: pernr.

infotypes: 0000,
           0001,
           0002,
           0023.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Constants                                                           *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
constants: c_1(1)       type c               value '1'   ,
           c_3(1)       type c               value '3'   ,
           c_i(1)       type c               value 'I'   ,
           c_x(1)       type c               value 'X'   ,
           c_eq(2)      type c               value 'EQ'  ,
           c_pl03       like p0001-werks     value 'PL03'.


*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Selection-Screen                                                    *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
parameters: p_file  like rlgrap-filename default 'C:TempABC.xls',
            p_test  as checkbox default c_x               .

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Internal tables                                                     *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
* Internal Table for Output
data: begin of t_output occurs 0    ,
       pernr like pernr-pernr       ,
       nachn like p0002-nachn       ,
       vorna like p0002-vorna       ,
       orgeh_stext like p1000-stext ,
       plans_stext like p1000-stext ,
       begda like p0023-begda       ,
       endda like p0023-endda       ,
       land1 like p0023-land1       ,
       arbgb like p0023-arbgb       ,
       ort01 like p0023-ort01   .
data: end of t_output           .

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Variables                                                           *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*

data: o_stext like p1000-stext,
      p_stext like p1000-stext.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Initialization                                                      *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
Initialization.
* Initialize Selection-Screen values
  perform init_selction_screen.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; AT Selection-screen                                                 *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
at selection-screen .
* Check if Test run selected, download file name should be entered
  if p_test is initial.  "
    if p_file is initial.
      message e016 with 'Please enter file name'
                        'specifying complete path'.
    endif.
  endif.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Start-of Selection                                                  *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
Start-of-selection.

get pernr.

  clear t_output.

* Read Infotype 0
  rp-provide-from-last p0000 space pn-begda pn-endda.
  check pnp-sw-found eq c_1.
* Check if employee is active
  check p0000-stat2 in pnpstat2.      "pernr Active

* Read Infotype 1
  rp-provide-from-last p0001 space pn-begda pn-endda.
  check pnp-sw-found eq c_1.

* check if employee belongs to PL03
  check p0001-werks in pnpwerks.  "belongs to PL03
* Check if emp belongs to Active Group
  check p0001-persg in pnppersg.

* Read Infotype 2
  rp-provide-from-last p0002 space pn-begda pn-endda.
  check pnp-sw-found eq c_1.

* Read Org Unit Text.
CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
     EXPORTING
          OTYPE                   = 'O'
          objid                   = p0001-orgeh
          begda                   = p0001-begda
          endda                   = p0001-endda
          reference_date          = p0001-begda
     IMPORTING
          object_text             = o_stext
      EXCEPTIONS
          nothing_found           = 1
          wrong_objecttype        = 2
          missing_costcenter_data = 3
          missing_object_id       = 4
          OTHERS                  = 5.

*Read Position Text.
CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT'
     EXPORTING
          OTYPE                   = 'S'
          objid                   = p0001-plans
          begda                   = p0001-begda
          endda                   = p0001-endda
          reference_date          = p0001-begda
     IMPORTING
          object_text             = p_stext
     EXCEPTIONS
          nothing_found           = 1
          wrong_objecttype        = 2
          missing_costcenter_data = 3
          missing_object_id       = 4
          OTHERS                  = 5.

* Gather all the required information related to the emp
  move: pernr-pernr to t_output-pernr,
        o_stext to t_output-orgeh_stext,
        p_stext to t_output-plans_stext,
        p0002-nachn to t_output-nachn,
        p0002-vorna to t_output-vorna.

* Gather previous Employee details
  loop at p0023.
    move-corresponding p0023 to t_output.
    append t_output.
  endloop.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; End-of Selection                                                    *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
end-of-selection.

  perform print_report.

* Downlaod the file
  if not t_output[] is initial.
    if p_test eq space.
      perform download_file.
    endif.
  else.
    write: 'No records selected' color col_negative.
  endif.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Top-of-page                                                         *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
Top-of-page.

* Print Header
  perform print_header.

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  download_file
*&amp;amp;---------------------------------------------------------------------*
* Description :
*----------------------------------------------------------------------*
FORM download_file .

  DATA: full_file_name    TYPE string,
        z_akt_filesize    TYPE i     .

  full_file_name = p_file.

*  download table into file on presentation server
  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download
    EXPORTING
      filename                = full_file_name
      filetype                = 'DAT'
      NO_AUTH_CHECK           = c_x
      codepage                = '1160'
    IMPORTING
      FILELENGTH              = z_akt_filesize
    CHANGING
      data_tab                = t_output[]
    EXCEPTIONS
      file_write_error        = 1
      no_batch                = 2
      gui_refuse_filetransfer = 3
      invalid_type            = 4
      no_authority            = 5
      unknown_error           = 6
      header_not_allowed      = 7
      separator_not_allowed   = 8
      filesize_not_allowed    = 9
      header_too_long         = 10
      dp_error_create         = 11
      dp_error_send           = 12
      dp_error_write          = 13
      unknown_dp_error        = 14
      access_denied           = 15
      dp_out_of_memory        = 16
      disk_full               = 17
      dp_timeout              = 18
      file_not_found          = 19
      dataprovider_exception  = 20
      control_flush_error     = 21
      not_supported_by_gui    = 22
      error_no_gui            = 23
      OTHERS                  = 24.

*
  IF  sy-subrc               NE        0.
    MESSAGE e016 WITH 'Download-Error; RC:' sy-subrc.
  ENDIF.


ENDFORM.                    " download_file

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  print_report
*&amp;amp;---------------------------------------------------------------------*
*Description:
*----------------------------------------------------------------------*
FORM print_report .
  data: i       type i,
        w_count type i.
  sort t_output.

* Print the report
  loop at t_output.
    i = sy-tabix mod 2.
    if i eq 0.
      format color col_normal intensified on.
    else.
      format color col_normal intensified off.
    endif.

    write:/1     t_output-pernr          ,
           10     t_output-vorna(25)     ,
           35    t_output-nachn(25)      ,
           61   t_output-orgeh_stext     ,
           102  t_output-plans_stext     ,
           143  t_output-begda           ,
           154   t_output-endda          ,
           168   t_output-land1          ,
           178   t_output-arbgb(40)      ,
           219   t_output-ort01          ,
           249   space              .

  endloop.

  uline.

  Describe table t_output lines w_count.
  Skip 2.

  Write:/ 'Total No of Records Downloaded: ' color col_total,
          w_count.

ENDFORM.                    " print_report

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  print_header
*&amp;amp;---------------------------------------------------------------------*
*Description:
*----------------------------------------------------------------------*
FORM print_header .

  skip 1.
  Uline.

  format Intensified on color col_heading.


  write:/1   'Pers. #'        ,
         10   'Last Name'     ,
         35   'First Name'    ,
         61   'Org Unit'      ,
         102  'Position'      ,
         143  'Beg Date'      ,
        154   'End Date'      ,
        168   'Cntry Key'     ,
        178   'Prev Employer' ,
        219  'City'           ,
        249   space          .


  format intensified off color off.

  uline.


ENDFORM.                    " print_header

*eject
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  init_selction_screen
*&amp;amp;---------------------------------------------------------------------*
*Description:
*----------------------------------------------------------------------*
FORM init_selction_screen .

  refresh: pnpwerks,
           pnppersg,
           pnpstat2.
  clear:   pnpwerks,
           pnppersg,
           pnpstat2.

  pnpwerks-sign   = c_i.
  pnpwerks-option = c_EQ.
  pnpwerks-low    = c_pl03.
  append pnpwerks.

  pnppersg-sign   = c_i.
  pnppersg-option = c_EQ.
  pnppersg-low    = c_1.
  append pnppersg.

  pnpstat2-sign   = c_i.
  pnpstat2-option = c_EQ.
  pnpstat2-low    = c_3.
  append pnpstat2.


ENDFORM.                    " init_selction_screen
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 08:41:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953586#M392551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T08:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953587#M392552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you....... I'm being asked to select all the employees such that stat2 = any number lets say 6...... so do I specify it when I declaring as the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF report,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERNR TYPE p0000-PERNR, &lt;/P&gt;&lt;P&gt;STAT2   TYPE p0000-STAT2 = '6',&lt;/P&gt;&lt;P&gt;ENAME TYPE p0001-EMNAM,&lt;/P&gt;&lt;P&gt;BEGDA TYPE p0000-BEGDA,&lt;/P&gt;&lt;P&gt;ENDDA TYPE p0000-ENDDA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END OF report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 08:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953587#M392552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T08:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: help please</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953588#M392553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u shud refer the perform init_selction_screen  in my code which i gave above.&lt;/P&gt;&lt;P&gt;there i have appended values for stat2 = 3.&lt;/P&gt;&lt;P&gt;and then in get pernr i m checking this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and u shud reward answers which r solving ur problem.&lt;/P&gt;&lt;P&gt;if u can go thru and understand my code then u need not to ask further questions like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 09:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-please/m-p/1953588#M392553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T09:25:32Z</dc:date>
    </item>
  </channel>
</rss>

