Skip to Content
0
Former Member
Aug 10, 2010 at 01:24 PM

porblem in PYXX_READ_PAYROLL_RESULT

15 Views

hi experts...!

i have problem in retrieving betrg amount basic pay 0001 from that moudule........some one help me....!

my code is


 select  info~pernr info~abkrs info~persg bas~endda bas~begda
    into corresponding fields of table itab
                from pa0001 as info inner join pa0008 as bas
                on info~pernr eq bas~pernr
                where
                     info~pernr in s_pernr and
                     info~abkrs in s_payrol and
                     info~persg in s_empgrp and
                     bas~begda ge s_begda and
                     bas~endda le s_endda  .

sort itab by pernr.

    loop at itab.

      select single ename plans into (itab-ename, itab-plans)
        from pa0001
        where pernr eq itab-pernr.

        translate itab-ename to upper case.

        select single plstx into itab-plstx
          from t528t
          where plans eq itab-plans and
          sprsl eq 'EN'.

          translate itab-plstx to upper case.

        modify itab.
      endloop.
  endform.

Edited by: BFawad26 on Aug 10, 2010 3:25 PM