EXAMPLE_PNP_GET_PAYROLL

Hi all,
I try to understand  the example_pnp_get_payroll program , especialy what the read_result method of the cl_pay class does.
I was puting a breakpoint after this method .
If i fill a person number X and period : 01-2005 to 04-2007 : The internal table my_lsit is filled with Y records.
If i fill the same  person number X and period : 01-2005 to 04-2999 : The internal table my_list is filled with Z records , (Z < Y ).
who can explain me this ? i expected to get more results, because  i maked the period larger.
someone can explain me what the method does ?
Regards,
Message was edited by:
        Adel Yacoubi

thats starnge.. Ideally you should see what you expected..I would check for the Payroll results of this Pernr using Tcode PC_PAYRESULT & see if any results were voided after the payperiod 042007.
~Suresh

Similar Messages

  • How to get the data from pcl2 cluster for TCRT table.

    Hi frndz,
    How to get the data from pcl2 cluster for tcrt table for us payroll.
    Thanks in advance.
    Harisumanth.Ch

    PL take a look at the sample Program EXAMPLE_PNP_GET_PAYROLL in your system. There are numerous other ways to read payroll results.. Pl use the search forum option & you sure will get a lot of hits..
    ~Suresh

  • Payroll Reports

    Program name                                                          Report title                                                      
    1.     CACS00_PMNT_BLOCK_RESET           Unlock Payment                                                    
    2.     CACS_PMNT_BLOCK_RESET               Lift Payment Locks                                                
    3.     CCARDEC_CHECK                            Check: Payment Card Encryption                                    
    4.     CONTEXT_S_HR_PAY_CH_ABREH           HR-CH: Context for Payroll Units                                  
    5.     DFKZ2F00                                      FORM Routines FBZP/Payment Methods                                
    6.     EWUMPOHD_40                                  Payment Order History: Fill WRBTR and WAERS, HSWAE as of Release 4
    7.     EXAMPLE_PNP_GET_PAYROLL             Example Program for Reading Payroll Results Using GET PAYROLL     
    8.     F111CONS                                           Constants for Payment Request Payment Program                     
    9.     F111MAIN                                      Main Program of Payment Run                                       
    10.     F111SFIE                       Data for the PR Payment Program: Field Groups                     
    11.     F111SINT                       Payment Request Payment Run: Structures and Internal Tables       
    12.     F111SMAC                       Macro Definitions for the PR Payment Run                          
    13.     F111STOP                       Data Pool of Payment Run for Payment Requests                     
    14.     F111TYPE                       Types for Payment Request Payment Run                             
    15.     FITP_GENERAL_READ_TRVCC        Read Characteristic TRVCC (Determination of Payment Method)       
    16.     FIWTPY10                       Withholding Tax at Point of Payment                               
    17.     H01PLOGA                       Payroll Log for Company Pensions                                  
    18.     H01PLOGT                       Routines for Payroll Log                                          
    19.     H02PLOG0                       Subroutine Pool for International Payroll Log                     
    20.     H02PLOG1                       HR-CH: Macros for Payroll Log                                     
    21.     H02PLOGERR                     HR-CH: Error log: Payroll Switzerland                             
    22.     H03PLOG0                       Subroutines Pool for Payroll Log Austria                          
    23.     H04PLOG0                       Subroutines Payroll Log Spain                                     
    24.     H06PLOG0                       Subroutine Pool for Payroll Log (France)                          
    25.     H07PLOG0                       Subroutine-Pool for Payroll Log Canada                            
    26.     H07PLOG1                       Include H07PLOG1: Macro of Payroll Log Error Messages
    27.     H07PLOGA                       Include H07PLOGA: Payroll log functions for Absence Processing    
    28.     H07PLOGD                       Include H07PLOGD: Payroll log functions for function ADDCU        
    29.     H07PLOGE                       Include H07PLOGE: Payroll log for tax calculation and vacation pay
    30.     H07PLOGM                       Include H07PLOGM: Payroll log functions for - messages            
    31.     H07PLOGS                       Include H07PLOGS: Payroll log functions for tax calculation       
    32.     H08PLOG0                       Subroutines Payroll Log Great Britain                             
    33.     H08PLOG0PBS                    Subroutines Payroll Log Great Britain Public Sector (HR PS GB)    
    34.     H10PLOGC                       Include H10PLOGC - Constants for US Payroll Log Message Passing   
    35.     H10PLOGO                       Include H07PLOGD: Payroll log functions for function ADDCU        
    36.     H10PLOGP                       Payroll log messages for general payroll                          
    37.     H13PLOG0                       Subroutine Pool for Payroll Log Australia                         
    38.     H14PLOG2                       Include for SOCSO - Payroll Log                                   
    39.     H14PLOG3                       Include for STD TAX - Payroll Log                                 
    40.     H14PLOG4                       Include for Zakat - Payroll log                                   
    41.     H16PLOG0                       Payroll Log Subroutines for South Africa                          
    42.     H20PLOGA                       Payroll log subroutines for absence handling                      
    43.     H20PLOGE                       Payroll log for missing data (tables, infotypes, etc.)            
    44.     H20PLOGG                       Payroll log for deductions                                        
    45.     H20PLOGH                       Payroll log subroutines for hol. allowance and garnishment        
    46.     H20PLOGS                       Payroll log for Norwegian specific tables (SCRT, RETT, RETP, ...) 
    47.     H20PLOGT                       Payroll log subroutines for tax and employers contributions       
    48.     H23PLOG0                       Subroutinepool for Payroll Log (SE)                               
    49.     H23PLOG_CAR                    Payroll Log Subroutines for company car                           
    50.     H25PLOG1                       Include for new Payroll log (Infotypes - Singapore)               
    51.     H25PLOG3                       Include for new Payroll log (Tables- Singapore)                   
    52.     H26PLOG0                       Subroutine pool for Payroll Log - TH   
    53.     H26PLOG4                       Error Routines - Payroll Log                                      
    54.     H27PLOG1                       HR-HK: Payroll log data definitions                               
    55.     H27PLOG6                       HR-HK: Payroll log common forms                                   
    56.     H37PLOG21                      Payroll log - Retrocalculation (old BRRET and labor debits)       
    57.     H42PLOG6                       Include for Payroll LOG Taiwan                                    
    58.     H43PLOG0                       Subroutine Pool for Payroll Log New Zealand                       
    59.     H99CMLI0                       Cash Breakdown for Cash Payment Based on Payment Method           
    60.     H99PLOG0                       Subroutine Pool for International Payroll Log                     
    61.     H99PLOG6                       Subroutine Pool for International Payroll Log                     
    62.     H99PLOGPF                      Subroutine Pool for Pension Fund Payroll Log                      
    63.     H99PLOGS                       Subroutine Pool for Payroll Log for Special Payments              
    64.     H99PLOGT                       Subroutine Pool for International Payroll Log, Gross Part         
    65.     H99PLOGY                       Subroutine pool for Benefits Payroll Log: International           
    66.     H99UGSP0                       Splits in Payroll                                                 
    67.     H99U_CONVERSION_CA             Converting Cluster CA for Archived Payroll Results                
    68.     H99U_PYINFTY_CC_XPRA           Payroll IT: Main XPRA report for country grouping conversion in 4.
    69.     H99_DISPLAY_PAYRESULT_OLD      Display Payroll Results                                           
    70.     H99_FORMSTEMPLATE_PAYDIM_02    HR Forms: Template for Local Class (Payroll)                      
    71.     H99_FORMSTEMPLATE_PAYR_02      HR Forms: Template for Local Class (Payroll)                      
    72.     H99_SELECT_PERNR               Select Personnel Numbers for a Payroll Process (PY)               
    73.     H99_SELECT_PERNR_INTERFACE     Select Personnel Numbers, Interface Without Payroll Driver        
    74.     H99_SELECT_PERNR_PU12_GROSS    Payroll number selection for payroll run and export               
    75.     HARCALC0                       Payroll accounting program Argentina                              
    76.     HARCKTO0                       Payroll account                                                   
    77.     HARCLJN0                       Payroll journal                                                   
    78.     HARLIBR0                       Legal Payroll Payments Book: Law 20.744 Art. 52 - Forms version   
    79.     HARLIBR1                       Legal Payroll Payments Book: Law 20.744 Art.52 - SapScripts versio
    80.     HBPPLOG0                       Payroll log Benfit Point                                          
    81.     HBRCALC0                       Payroll accounting program  - Brazil                              
    82.     HBRCKTO0                       Payroll accounts                                                  
    83.     HBRPAYR0                       Payroll Monthly Report                                            
    84.     HBRSALM0                       Maternity Pay data sheet                                          
    85.     HCNCALC0                       Payroll Driver, Version China                                     
    86.     HCNCDTA0                       Preliminary Program - Data Medium Exchange for Several Payment Run
    87.     HCNCKTO0                       Payroll Accounts     China                                        
    88.     HCNCLJN0                       Payroll Journal     China                                         
    89.     HFICALC0                       Payroll driver (Finland)                                          
    90.     HFICDTA0                       Preliminary Program - DME for Several Payment Runs (Finland)      
    91.     HFICKTO0                       Payroll Accounts                                                  
    23.     HFICLJN0                       Payroll Journal - Finland                                         
    24.     HFIIABP0                       Batch Input for Vacation Bonus Payments Finland                   
    25.     HFILHPA0                       Holiday Pay Accrual                                               
    26.     HFILTVR0                       Pay Scale Reclassification data for Parake employees              
    27.     HHKCALC0                       Payroll Driver Hong Kong                                          
    28.     HHKCKTO0                       Payroll Accounts                                                  
    29.     HHKCLJN0                       Payroll Journal - Hong Kong                                       
    30.     HHKCLST1                       Payroll Results for Cluster HZ  -  Hongkong Payroll Projection    
    31.     HHKCLSTR                       Payroll Results for Cluster HK                                    
    32.     HHKCREC0                       Payroll results check tool                                        
    33.     HHKUREC0                       Payroll results check tool: Generation                            
    34.     HHKUREC5                       Payroll results check tool: Display                               
    35.     HIDCALC0                       Payroll Driver, Version ID (Indonesia)                            
    36.     HIDCANN0                       Payroll Annual Display                                           
    37.     HIDCDTC0                       Preliminary Program - Data Medium Exchange for Several Payment Run
    38.     HIDCKTO0                       Payroll Account                                                  
    39.     HIDCLJN0                       Payroll Journal                                                  
    40.     HIDCLSTR                       Display Payroll Results (Cluster IS) Indonesia                   
    41.     HIECALC0                       Payroll Calculation Driver for Ireland                           
    42.     HIECDTA0                       Preliminary Program - DME for Several Payment Runs (Ireland)     
    43.     HIECDTB0                       Preliminary DME Program for Separate Payment Run                 
    44.     HIECEDT0                       Payslip - Ireland                                                
    45.     HIECKTO0                       Payroll account                                                  
    46.     HIECLJN0                       Payroll journal for Ireland                                      
    47.     HIECLSTR                       Display cluster IE (Payroll results Ireland)                     
    48.     HIEUDIR0                       Create Directory for Payroll Results (Cluster IE)                
    49.     HINCALC0                       Payroll Driver, India                                            
    50.     HINCANN0                       Payroll Annual Display - India                                   
    51.     HINCDTA0                       Preliminary Program - Data Medium Exchange - Post Payroll - India
    52.     HINCKTO0                       Payroll Account - India                                          
    53.     HINCLJN0                       Payroll Journal - India                                          
    54.     HINCLSTR                       Cluster Display IN ( Payroll Results, India )                    
    55.     HINUULK0                       INLK Payroll Tables T558B and T558C  Upload                      
    56.     HINU_M40_FFOD                  Create DME (Print Payment advice note)                           
    57.     HKRCALC0                       Payroll Driver, Version for South Korea                          
    58.     HKRCDTA0                       Preliminary Program - Data Medium Exchange for Several Payment Run
    59.     HKRCKTO0                       Payroll Accounts                                                 
    60.     HKRCLJN0                       Payroll Journal     South Korea                                  
    61.     HKRCLSTR                       Payroll Results for Cluster KR (South Korea)                     
    62.     HKRPLOG0                       Payroll messages South Korea                                      
    63.     HMXCINO0                       Payroll tax report                                                
    64.     HMXCKTO0                       Payroll account                                                   
    65.     HMXCLJN0                       Payroll journal                                                   
    66.     HMXCLSTR                       Payroll accounting results (Cluster MX)                           
    67.     HMXUACTPBSF2                   Subroutines for Change in Pay                                     
    68.     HNZCALC0                       Payroll Driver, Version NZ (New Zealand)                          
    69.     HNZCDTA0                       Preliminary Program - Data Medium Exchange for Several Payment Run
    70.     HNZCEDT0                       Editing Payroll Results (New Zealand Version)                     
    71.     HNZCLJN0                       Payroll Journal     International                                 
    72.     HNZCLSTR                       Display Payroll Results (Cluster NZ) - New Zealand                
    73.     HNZDLN10                       Advance Pay Cluster(N1) Display and Deletion Program for New Zeala
    74.     HNZLDET0                       HR-NZ: Employee Pay Details Report                                
    75.     HNZLEXC0                       HR-NZ: Payroll Exception Report                                   
    76.     HNZLSUM0                       HR-NZ: Employee Payroll Summary Report                            
    77.     HNZUCDC0                       Convert Payroll Results for Conversion to > 2 Decimal Places      
    78.     HNZUCLR0                       Payroll Results (RQ) - Original and differences from retro periods
    79.     HPHCALC0                       Payroll Driver - Philippines                                      
    80.     HPHCAWS0                       13th Month Pay                                                    
    81.     HPHCDTA0                       Preliminary Program - Data Medium Exchange for Several Payment Run
    82.     HPHCLJN0                       Payroll Journal - Philippines                                     
    83.     HPHCLSTR                       Display Payroll Results (Cluster PH) - Philippines                
    84.     HPHCMP00                       HR-PH: Advance Payment Multiple Runs                              
    85.     HPHUALR0                       Payroll Results (PH) - Actual/most recent result for CRT          
    86.     HPHUCDC0                       Convert Payroll Results for Conversion to > 2 Decimal Places      
    87.     HPHUCLR0                       Payroll Results (PH) - Original and differences from retro periods
    88.     HTHCALC0                       Payroll Driver, Version 9 (Thailand)                            
    89.     HTHCDTC0                       Preliminary Prog - Data Medium Exchange for Several Payment Runs
    90.     HTHCKTO0                       Payroll Accounts Thailand                                       
    91.     HTHCLJN0                       Payroll Journal - THAILAND                                      
    92.     HTHCLSTR                       Payroll Results for Cluster TH                                  
    93.     HTWCALC0                       Payroll Driver for Taiwan                                       
    94.     HTWCDTA0                       Preliminary Program - Data Medium Exchange for Several Payment Ru
    95.     HTWCKTO0                       Taiwan Payroll Accounts                                         
    96.     HTWCLJN0                       Payroll Journal      Taiwan specific                            
    97.     HTWCLSTR                       Payroll Results for Cluster TN                                  
    98.     HTWCTXW0                       Tax Certificate Report & Media Form (Payday)                    
    99.     HVECALC0                       Payroll accounting program (Venezuela)                          
    100.     HVECEDT0                       Payslip and severance payslip                                   
    101.     HVECKTO0                       Payroll account                                                 
    102.     HVECLJN0                       Payroll journal                                                 
    103.     IBKKARCHLOG_FIBA_ITEM          Data Declarations for Archiving Payment Items                   
    104.     IBKKARCH_FIBA_ITEM             Data Declarations for Archiving Payment Items                   
    105.     IBKKARCH_FIBA_ORDER            Data Declarations for Archiving Payment Orders                  
    106.     IBKKCOGPAYMNOTE                Public Constants of Payment Notes                               
    107.     IBKKCONPAYMNOTE                Internal Constants of Payment Notes                             
    108.     IFIFMKAO                       IS-PS: Constant Declarations for Payment Requests               
    109.     IHC_BCAREVPO_ALV01             List of Cross-Bank Area Payment Orders                          
    110.     J_1AF011                       Payment Notice (AR)                                             
    111.     J_1AF012                       Payment Notice (AP)                                             
    112.     J_1AINFK                       Inflation Adjustment of Open Payables in Local Currency         
    113.     L0FVTI01                       F4 Help for Incoming Payment Method                             
    114.     L0P02O01                       PBO Module for Restricting Payments/Deductions                  
    115.     L3HKEU01                       Long Service Payment and Severance Payment for Hongkong         
    116.     L3HKFU03                       Print function for EOY Payment, Hongkong                        
    117.     L3HKFU05                       Print function for EOY Payment, Hongkong                        
    118.     L3NZ0U08                       New Zealand Payroll Messages                                    
    119.     L3TH0U04                       Function to return the Begin Date and End Date for a given Payrol
    120.     LACC3U02                       Check BAPI: Account, incoming invoice (Load Payable)            
    121.     LACC3U03                       Check BAPI: Account, incoming invoice (Load Payable)            
    122.     LACCSU02                       Derivation of Payment Flow from SD Document (Quotation, Order)  
    123.     RPCOIFU6                       Delete Interface Results forward using Payroll Area and Pay Perio
    124.     HFILTVR0                       Pay Scale Reclassification data for Parake employees             
    125.     LHRFPBS4U02                    Derive Amount from Pay Scale group, Pay Scale level              
    126.     LHRFPBS4U05                    Read Pay Scale, Pay Area, Pay Groups from Corps or Corps and Grade
    127.     RHPAYSC0                       Display Pay Scale Structure                                      
    128.     RPIPSR00                       Pay Scale Reclassification                                       
    129.     RPISTLVP                       Pay Scale Reclassification due to change in job code             
    130.     RPITIG00                       Pay Scale Reclassification                                       
    131.     RPITIGVP                       Pay Scale Reclassification                                       
    132.     RPITUM00                       Pay Scale Reclassification acc. to Age or Pay Scale Membership Per
    133.     RPITUMH0                       Pay Scale Reclassification acc. to Age or Pay Scale Membership Per
    134.     RPLPSCJ0                       Time Spent in Pay Scale Group (Japan)                            
    135.     RPLTRF10                       Defaults for Pay Scale Reclassification                          
    136.     RPU510N0                       Simple Pay Scale Increase for Wage Types Determined Indirectly   
    137.     RPU510Q0                       Pay Scale Increase for the Family-Related Bonus                  
    138.     RPUEHBD0                       Table conversion:  Valuation of Pay Scales for Statistics        
    139.     RPUEMU00                       Currency Changeover EMU for Pay Scale and Pay Grade Structures   
    140.     RPUT510BPBS                    SAP-HR Belgian Public Sector : Generation of Pay Scales (T510)   
    141.     Y0PXIRLPRANGE                  Upload Pay Scale Range                                           
    142.     ZPMIRAS1                       Program to Fill Pay Scales for Annual Salaries Table (T510N)     
    143.     ZPMIRSC1                       Program to Fill Pay Scale Group Table (T510)                     
    144.     ZT510LOAD                      Program to Fill Pay Scale Group Table (T510)  
    145.     RPISTLVP                       Pay Scale Reclassification due to change in job code       
    146.     RPUSADU0                       Data Definition for Salary Calculation                     
    147.     RPUSALU0                       Salary Calculation Subroutines                             
    148.     RPUSCC00                       Compare Schemas                                            
    149.     RPUSCCA0                                                                               
    150.     RPUSCCA1                                                                               
    151.     RPUSCCB0                       Checkprogramm for Scheme (Belgium)                         
    152.     RPUSCCB1                       Checkprogramm for Personnel Calculation Scheme's (Belgium) 
    153.     RPUSCCC0                       Schema Check for Payroll - Swiss Country Version           
    154.     RPUSCCC1                                                                               
    155.     RPUSCCD0                       Schema Check for Payroll - German Version                  
    156.     RPUSCCD1                                                                               
    157.     RPUSCCE0                       Schema check for payroll - Spain                           
    158.     RPUSCCE1                                                                               
    159.     RPUSCCF0                       Check schemas for France ( generated by RPUGSC00 )         
    160.     RPUSCCF1                                                                               
    161.     RPUSCCG0                                                                               
    162.     RPUSCCG1                                                                               
    163.     RPUSCCH0                       Schema Prüfungsprogramm - Ungarn                           
    164.     RPUSCCH1                       Schema Prüfungsprogramm - Ungarn                           
    165.     RPUSCCI0                                                                               
    166.     RPUSCCI1                                                                               
    167.     RPUSCCJ0                       Schema Check for Payroll Accounting - Japanese Version     
    168.     RPUSCCJ1                       Check Program for Schemas (Japan)                          
    169.     RPUSCCK0                       RPUSCCK0

    hi Suresh,
    thank u so much.
    been searchin for this for some time.
    Regards,
    Hari Kiran

  • HR-ABAP Payroll report

    Hi Gurus,
       I have to display payroll report ( With PNP logical data base ), where in I have to compare indicator 'P' & 'A' records of each personal number for given period.
      sample code & useful links will be  rewarded with points.
    Thanks,
    U.S.Raju

    refer program
    EXAMPLE_PNP_GET_PAYROLL.
    It might be useful to u....

  • HR REPORT about GET PAYROLL ISSUE!

    HI
    i using LDB pnp to report about PY data!
    i get PY data using GET PAYROLL!
    one case occurs as follow:
    search  one person(99005500) using personid number i will get result ok!
    all other condition not change! just in personid(pernr-pernr) condition,  i put mass person id!
    in these person, some id < 9900500, in this time, the person id 99005500 some period py data
    can't display out!
    i have to check period list using call method pay->read_result
                                                           IMPORTING
                                                                 list = mylist. in GET PERNR !
      i find mylist have different!
    in first scene:
        mylist data contain all data about this person: begin with 20060110
    but in last scene:
        mylist data contain data just begin with 20080804
    so i think miss py data cause by mylist change !
    i in SAP demo code:EXAMPLE_PNP_GET_PAYROLL i have saw:
    You can use the methods of class "pay" to read and modify
    the list of payroll result that is going to be processed at
    the <get payroll> event. However, these method calls might
    change with the next release.
      CREATE OBJECT pay.
    pay->LDB = 'SAPDB_MY_OWN_LDB'. "only if you copied the LDB PNP
      CALL METHOD pay->read_result IMPORTING list = mylist.
    "delete mylist index 2. "For example: Remove an unwanted payroll result
      CALL METHOD pay->write_result EXPORTING list = mylist.
    what happend in LDB PNP! how to get mylist i want?
    because using CALL METHOD pay->read_result IMPORTING list = mylist. will cause error!
    help!!!!!!!!!!!!!!
    thank you advance!

    Hi,
    Refer this link https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3180. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Flavya

  • HR payroll result

    hello friends i have requirement taht i have to genarate report like that in the first row i have ot give employee current payroll data. in the second row i have to give data for wage type '1003'.
    and in which i have to mprovide thhe data from prvious and current employee all diff such as hi PF AND ALL  with current one.
    will u plz give me the flow i know PYXX_READ_PAYROLL_RESULT BUT FOR EACH I need seqnr of that pernr for that pyroll indicator which is tadious process.
    is thr any one other then it.
    Thanks in Advance.
    Rajan.

    Hi,
    Please find standard report it is much easier and flexible.
    EXAMPLE_PNP_GET_PAYROLL
    Please appreciate if helpful.
    Regards,
    Ameet

  • Program with Top includes

    Hallo,
    I hope someone can help me.
    I would like to know if is it allowed this program under ?
    Program with Top Includes.
    Type 1 Exucutable Program.
    Developement class $TMP - Temporary Objects.
    Logical Database ABS. ABAP Book: Customer and bookings.
    (DB Selection Screen 1000)
    If it is allowed where can I use Events GET in flow logic ?
    Thank in advance.
    Kindest regardes.
    Claudia

    Hi Claudia,
    Welcome to SDN Forum. Don't forget to read the [rules of engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement].
    Take a look at Report "EXAMPLE_PNP_GET_PAYROLL" it demonstrate how to use Logical database and GET events.
    Logical database      PNP                   HR Master Data
    Selection screen      900                   Selection screen on payroll results
    * These three tables need to be declared for the selection screen-.
    * Currently, the declarations of  pyorgscreen, pytimescreen HAS to
    * be done in addition to setting selection screen = 900 .
    TABLES: pernr.
    * Declare the country specific structure:
    * payXX_result with  XX = country code, e.g. payDE_result for Germany
    * Country = 99 is an exception: If this structure is used, the
    * international part of every payroll result is returned regardless
    * of country code. In the other case, pernr's whose country code do
    * not fit the structure are skipped.
    NODES: payroll TYPE pay99_result.
    DATA: wa_wpbp LIKE LINE OF payroll-inter-wpbp.
    GET pernr.
    WRITE: / 'Currently working on:'(021), pernr-pernr.
    GET payroll.
      LOOP AT payroll-inter-wpbp INTO wa_wpbp.
        WRITE:   / 'Personal Area ='(018),  wa_wpbp-werks,
                   'Sub Area ='(019),  wa_wpbp-btrtl.
      ENDLOOP.
    Don't forget to close this thread and all yours previous when your question be answered !
    Best Regards.
    Marcelo Ramos

  • Cash flow report in FI  ***very very urgent***

    Techie's,
    Please help me, getting a ABAP report for "cash flow" for funds in FI.
    Its quite urgent.
    Please revert as soon as possible !!
    Regards,
    -=Virendra=-

    Hi,
    Run S_ALR_87012271 (menu path A/C-FA-GL-Info System- GL Reports - BS/PL/Cashflow-general-cash flow)
    In the screen enter the year & Company code, & execute. you will reach to another screen.
    Click on the "FORM" & you will reach another screen having various forms. The form related to Cash flow is already highlighted.
    Go to EDIT-General Data Selection - Change the financial statment version pertaining to your company
    Then, click on each line item in the form which is being displayed and enter corresponding GLs.
    Save it & execute S_ALR_87012271
    . CACS00_PMNT_BLOCK_RESET Unlock Payment
    2. CACS_PMNT_BLOCK_RESET Lift Payment Locks
    3. CCARDEC_CHECK Check: Payment Card Encryption
    4. CONTEXT_S_HR_PAY_CH_ABREH HR-CH: Context for Payroll Units
    5. DFKZ2F00 FORM Routines FBZP/Payment Methods
    6. EWUMPOHD_40 Payment Order History: Fill WRBTR and WAERS, HSWAE as of Release 4
    7. EXAMPLE_PNP_GET_PAYROLL Example Program for Reading Payroll Results Using GET PAYROLL
    8. F111CONS Constants for Payment Request Payment Program
    9. F111MAIN Main Program of Payment Run
    10. F111SFIE Data for the PR Payment Program: Field Groups
    11. F111SINT Payment Request Payment Run: Structures and Internal Tables
    12. F111SMAC Macro Definitions for the PR Payment Run
    13. F111STOP Data Pool of Payment Run for Payment Requests
    14. F111TYPE Types for Payment Request Payment Run
    15. FITP_GENERAL_READ_TRVCC Read Characteristic TRVCC (Determination of Payment Method)
    16. FIWTPY10 Withholding Tax at Point of Payment
    17. H01PLOGA Payroll Log for Company Pensions
    18. H01PLOGT Routines for Payroll Log
    19. H02PLOG0 Subroutine Pool for International Payroll Log
    20. H02PLOG1 HR-CH: Macros for Payroll Log
    21. H02PLOGERR HR-CH: Error log: Payroll Switzerland
    22. H03PLOG0 Subroutines Pool for Payroll Log Austria
    23. H04PLOG0 Subroutines Payroll Log Spain
    24. H06PLOG0 Subroutine Pool for Payroll Log (France)
    25. H07PLOG0 Subroutine-Pool for Payroll Log Canada
    26. H07PLOG1 Include H07PLOG1: Macro of Payroll Log Error Messages
    27. H07PLOGA Include H07PLOGA: Payroll log functions for Absence Processing
    28. H07PLOGD Include H07PLOGD: Payroll log functions for function ADDCU
    29. H07PLOGE Include H07PLOGE: Payroll log for tax calculation and vacation pay
    30. H07PLOGM Include H07PLOGM: Payroll log functions for - messages
    31. H07PLOGS Include H07PLOGS: Payroll log functions for tax calculation
    32. H08PLOG0 Subroutines Payroll Log Great Britain
    33. H08PLOG0PBS Subroutines Payroll Log Great Britain Public Sector (HR PS GB)
    34. H10PLOGC Include H10PLOGC - Constants for US Payroll Log Message Passing
    35. H10PLOGO Include H07PLOGD: Payroll log functions for function ADDCU
    36. H10PLOGP Payroll log messages for general payroll
    37. H13PLOG0 Subroutine Pool for Payroll Log Australia
    38. H14PLOG2 Include for SOCSO - Payroll Log
    39. H14PLOG3 Include for STD TAX - Payroll Log
    40. H14PLOG4 Include for Zakat - Payroll log
    41. H16PLOG0 Payroll Log Subroutines for South Africa
    42. H20PLOGA Payroll log subroutines for absence handling
    43. H20PLOGE Payroll log for missing data (tables, infotypes, etc.)
    44. H20PLOGG Payroll log for deductions
    45. H20PLOGH Payroll log subroutines for hol. allowance and garnishment
    46. H20PLOGS Payroll log for Norwegian specific tables (SCRT, RETT, RETP, ...)
    47. H20PLOGT Payroll log subroutines for tax and employers contributions
    48. H23PLOG0 Subroutinepool for Payroll Log (SE)
    49. H23PLOG_CAR Payroll Log Subroutines for company car
    50. H25PLOG1 Include for new Payroll log (Infotypes - Singapore)
    51. H25PLOG3 Include for new Payroll log (Tables- Singapore)
    52. H26PLOG0 Subroutine pool for Payroll Log - TH
    53. H26PLOG4 Error Routines - Payroll Log
    54. H27PLOG1 HR-HK: Payroll log data definitions
    55. H27PLOG6 HR-HK: Payroll log common forms
    56. H37PLOG21 Payroll log - Retrocalculation (old BRRET and labor debits)
    57. H42PLOG6 Include for Payroll LOG Taiwan
    58. H43PLOG0 Subroutine Pool for Payroll Log New Zealand
    59. H99CMLI0 Cash Breakdown for Cash Payment Based on Payment Method
    60. H99PLOG0 Subroutine Pool for International Payroll Log
    61. H99PLOG6 Subroutine Pool for International Payroll Log
    62. H99PLOGPF Subroutine Pool for Pension Fund Payroll Log
    63. H99PLOGS Subroutine Pool for Payroll Log for Special Payments
    64. H99PLOGT Subroutine Pool for International Payroll Log, Gross Part
    65. H99PLOGY Subroutine pool for Benefits Payroll Log: International
    66. H99UGSP0 Splits in Payroll
    67. H99U_CONVERSION_CA Converting Cluster CA for Archived Payroll Results
    68. H99U_PYINFTY_CC_XPRA Payroll IT: Main XPRA report for country grouping conversion in 4.
    69. H99_DISPLAY_PAYRESULT_OLD Display Payroll Results
    70. H99_FORMSTEMPLATE_PAYDIM_02 HR Forms: Template for Local Class (Payroll)
    71. H99_FORMSTEMPLATE_PAYR_02 HR Forms: Template for Local Class (Payroll)
    72. H99_SELECT_PERNR Select Personnel Numbers for a Payroll Process (PY)
    73. H99_SELECT_PERNR_INTERFACE Select Personnel Numbers, Interface Without Payroll Driver
    74. H99_SELECT_PERNR_PU12_GROSS Payroll number selection for payroll run and export
    75. HARCALC0 Payroll accounting program Argentina
    76. HARCKTO0 Payroll account
    77. HARCLJN0 Payroll journal
    78. HARLIBR0 Legal Payroll Payments Book: Law 20.744 Art. 52 - Forms version
    79. HARLIBR1 Legal Payroll Payments Book: Law 20.744 Art.52 - SapScripts versio
    80. HBPPLOG0 Payroll log Benfit Point
    81. HBRCALC0 Payroll accounting program - Brazil
    82. HBRCKTO0 Payroll accounts
    83. HBRPAYR0 Payroll Monthly Report
    84. HBRSALM0 Maternity Pay data sheet
    85. HCNCALC0 Payroll Driver, Version China
    86. HCNCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
    87. HCNCKTO0 Payroll Accounts China
    88. HCNCLJN0 Payroll Journal China
    89. HFICALC0 Payroll driver (Finland)
    90. HFICDTA0 Preliminary Program - DME for Several Payment Runs (Finland)
    91. HFICKTO0 Payroll Accounts
    23. HFICLJN0 Payroll Journal - Finland
    24. HFIIABP0 Batch Input for Vacation Bonus Payments Finland
    25. HFILHPA0 Holiday Pay Accrual
    26. HFILTVR0 Pay Scale Reclassification data for Parake employees
    27. HHKCALC0 Payroll Driver Hong Kong
    28. HHKCKTO0 Payroll Accounts
    29. HHKCLJN0 Payroll Journal - Hong Kong
    30. HHKCLST1 Payroll Results for Cluster HZ - Hongkong Payroll Projection
    31. HHKCLSTR Payroll Results for Cluster HK
    32. HHKCREC0 Payroll results check tool
    33. HHKUREC0 Payroll results check tool: Generation
    34. HHKUREC5 Payroll results check tool: Display
    35. HIDCALC0 Payroll Driver, Version ID (Indonesia)
    36. HIDCANN0 Payroll Annual Display
    37. HIDCDTC0 Preliminary Program - Data Medium Exchange for Several Payment Run
    38. HIDCKTO0 Payroll Account
    39. HIDCLJN0 Payroll Journal
    40. HIDCLSTR Display Payroll Results (Cluster IS) Indonesia
    41. HIECALC0 Payroll Calculation Driver for Ireland
    42. HIECDTA0 Preliminary Program - DME for Several Payment Runs (Ireland)
    43. HIECDTB0 Preliminary DME Program for Separate Payment Run
    44. HIECEDT0 Payslip - Ireland
    45. HIECKTO0 Payroll account
    46. HIECLJN0 Payroll journal for Ireland
    47. HIECLSTR Display cluster IE (Payroll results Ireland)
    48. HIEUDIR0 Create Directory for Payroll Results (Cluster IE)
    49. HINCALC0 Payroll Driver, India
    50. HINCANN0 Payroll Annual Display - India
    51. HINCDTA0 Preliminary Program - Data Medium Exchange - Post Payroll - India
    52. HINCKTO0 Payroll Account - India
    53. HINCLJN0 Payroll Journal - India
    54. HINCLSTR Cluster Display IN ( Payroll Results, India )
    55. HINUULK0 INLK Payroll Tables T558B and T558C Upload
    56. HINU_M40_FFOD Create DME (Print Payment advice note)
    57. HKRCALC0 Payroll Driver, Version for South Korea
    58. HKRCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
    59. HKRCKTO0 Payroll Accounts
    60. HKRCLJN0 Payroll Journal South Korea
    61. HKRCLSTR Payroll Results for Cluster KR (South Korea)
    62. HKRPLOG0 Payroll messages South Korea
    63. HMXCINO0 Payroll tax report
    64. HMXCKTO0 Payroll account
    65. HMXCLJN0 Payroll journal
    66. HMXCLSTR Payroll accounting results (Cluster MX)
    67. HMXUACTPBSF2 Subroutines for Change in Pay
    68. HNZCALC0 Payroll Driver, Version NZ (New Zealand)
    69. HNZCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
    70. HNZCEDT0 Editing Payroll Results (New Zealand Version)
    71. HNZCLJN0 Payroll Journal International
    72. HNZCLSTR Display Payroll Results (Cluster NZ) - New Zealand
    73. HNZDLN10 Advance Pay Cluster(N1) Display and Deletion Program for New Zeala
    74. HNZLDET0 HR-NZ: Employee Pay Details Report
    75. HNZLEXC0 HR-NZ: Payroll Exception Report
    76. HNZLSUM0 HR-NZ: Employee Payroll Summary Report
    77. HNZUCDC0 Convert Payroll Results for Conversion to > 2 Decimal Places
    78. HNZUCLR0 Payroll Results (RQ) - Original and differences from retro periods
    79. HPHCALC0 Payroll Driver - Philippines
    80. HPHCAWS0 13th Month Pay
    81. HPHCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Run
    82. HPHCLJN0 Payroll Journal - Philippines
    83. HPHCLSTR Display Payroll Results (Cluster PH) - Philippines
    84. HPHCMP00 HR-PH: Advance Payment Multiple Runs
    85. HPHUALR0 Payroll Results (PH) - Actual/most recent result for CRT
    86. HPHUCDC0 Convert Payroll Results for Conversion to > 2 Decimal Places
    87. HPHUCLR0 Payroll Results (PH) - Original and differences from retro periods
    88. HTHCALC0 Payroll Driver, Version 9 (Thailand)
    89. HTHCDTC0 Preliminary Prog - Data Medium Exchange for Several Payment Runs
    90. HTHCKTO0 Payroll Accounts Thailand
    91. HTHCLJN0 Payroll Journal - THAILAND
    92. HTHCLSTR Payroll Results for Cluster TH
    93. HTWCALC0 Payroll Driver for Taiwan
    94. HTWCDTA0 Preliminary Program - Data Medium Exchange for Several Payment Ru
    95. HTWCKTO0 Taiwan Payroll Accounts
    96. HTWCLJN0 Payroll Journal Taiwan specific
    97. HTWCLSTR Payroll Results for Cluster TN
    98. HTWCTXW0 Tax Certificate Report & Media Form (Payday)
    99. HVECALC0 Payroll accounting program (Venezuela)
    100. HVECEDT0 Payslip and severance payslip
    101. HVECKTO0 Payroll account
    102. HVECLJN0 Payroll journal
    103. IBKKARCHLOG_FIBA_ITEM Data Declarations for Archiving Payment Items
    104. IBKKARCH_FIBA_ITEM Data Declarations for Archiving Payment Items
    105. IBKKARCH_FIBA_ORDER Data Declarations for Archiving Payment Orders
    106. IBKKCOGPAYMNOTE Public Constants of Payment Notes
    107. IBKKCONPAYMNOTE Internal Constants of Payment Notes
    108. IFIFMKAO IS-PS: Constant Declarations for Payment Requests
    109. IHC_BCAREVPO_ALV01 List of Cross-Bank Area Payment Orders
    110. J_1AF011 Payment Notice (AR)
    111. J_1AF012 Payment Notice (AP)
    112. J_1AINFK Inflation Adjustment of Open Payables in Local Currency
    113. L0FVTI01 F4 Help for Incoming Payment Method
    114. L0P02O01 PBO Module for Restricting Payments/Deductions
    115. L3HKEU01 Long Service Payment and Severance Payment for Hongkong
    116. L3HKFU03 Print function for EOY Payment, Hongkong
    117. L3HKFU05 Print function for EOY Payment, Hongkong
    118. L3NZ0U08 New Zealand Payroll Messages
    119. L3TH0U04 Function to return the Begin Date and End Date for a given Payrol
    120. LACC3U02 Check BAPI: Account, incoming invoice (Load Payable)
    121. LACC3U03 Check BAPI: Account, incoming invoice (Load Payable)
    122. LACCSU02 Derivation of Payment Flow from SD Document (Quotation, Order)
    123. RPCOIFU6 Delete Interface Results forward using Payroll Area and Pay Perio
    124. HFILTVR0 Pay Scale Reclassification data for Parake employees
    125. LHRFPBS4U02 Derive Amount from Pay Scale group, Pay Scale level
    126. LHRFPBS4U05 Read Pay Scale, Pay Area, Pay Groups from Corps or Corps and Grade
    127. RHPAYSC0 Display Pay Scale Structure
    128. RPIPSR00 Pay Scale Reclassification
    129. RPISTLVP Pay Scale Reclassification due to change in job code
    130. RPITIG00 Pay Scale Reclassification
    131. RPITIGVP Pay Scale Reclassification
    132. RPITUM00 Pay Scale Reclassification acc. to Age or Pay Scale Membership Per
    133. RPITUMH0 Pay Scale Reclassification acc. to Age or Pay Scale Membership Per
    134. RPLPSCJ0 Time Spent in Pay Scale Group (Japan)
    135. RPLTRF10 Defaults for Pay Scale Reclassification
    136. RPU510N0 Simple Pay Scale Increase for Wage Types Determined Indirectly
    137. RPU510Q0 Pay Scale Increase for the Family-Related Bonus
    138. RPUEHBD0 Table conversion: Valuation of Pay Scales for Statistics
    139. RPUEMU00 Currency Changeover EMU for Pay Scale and Pay Grade Structures
    140. RPUT510BPBS SAP-HR Belgian Public Sector : Generation of Pay Scales (T510)
    141. Y0PXIRLPRANGE Upload Pay Scale Range
    142. ZPMIRAS1 Program to Fill Pay Scales for Annual Salaries Table (T510N)
    143. ZPMIRSC1 Program to Fill Pay Scale Group Table (T510)
    144. ZT510LOAD Program to Fill Pay Scale Group Table (T510)
    145. RPISTLVP Pay Scale Reclassification due to change in job code
    146. RPUSADU0 Data Definition for Salary Calculation
    147. RPUSALU0 Salary Calculation Subroutines
    148. RPUSCC00 Compare Schemas
    149. RPUSCCA0
    150. RPUSCCA1
    151. RPUSCCB0 Checkprogramm for Scheme (Belgium)
    152. RPUSCCB1 Checkprogramm for Personnel Calculation Scheme's (Belgium)
    153. RPUSCCC0 Schema Check for Payroll - Swiss Country Version
    154. RPUSCCC1
    155. RPUSCCD0 Schema Check for Payroll - German Version
    156. RPUSCCD1
    157. RPUSCCE0 Schema check for payroll - Spain
    158. RPUSCCE1
    159. RPUSCCF0 Check schemas for France ( generated by RPUGSC00 )
    160. RPUSCCF1
    161. RPUSCCG0
    162. RPUSCCG1
    163. RPUSCCH0 Schema Prüfungsprogramm - Ungarn
    164. RPUSCCH1 Schema Prüfungsprogramm - Ungarn
    165. RPUSCCI0
    166. RPUSCCI1
    167. RPUSCCJ0 Schema Check for Payroll Accounting - Japanese Version
    168. RPUSCCJ1 Check Program for Schemas (Japan)
    169. RPUSCCK0 RPUSCCK0

  • Infotype and Include Structures in HR - ECC50

    Hi,
    I would like to know what are the changes in each and every infotype like different include structures or added fields or modified or deleted fields.  How do you compare 46C version with ECC50.
    Is there any way apart from remote version management option?
    Thanks,
    Kiran.

    Hi,
    I don't know what your actual requirement is.. but the event GET PAYROLL already exists. PL take a look at the Program EXAMPLE_PNP_GET_PAYROLL to get an idea. You can also see the same at this <a href="http://help.sap.com/saphelp_47x200/helpdata/en/33/62ac39d22d11d396e700a0c9306433/frameset.htm">SAP help</a>
    Regards,
    Suresh Datti

  • Seek the ccns of retroactivity

    Hello to everybody:
    I want insert in the program example_pnp_get_payroll, the code abap for seek los ccns of retroactivity.
    How do I doing?
    Thanks for your help

    Thank you, but i did the the copy to a program Z.
    The question is:
    That code i need for see he ccns only retroactivity
    thanks

  • How to run a payroll

    hi all,
    could anyone explain me how to  run a payroll for a particular pernr.
    Thanks in advance.

    Check the program.
    EXAMPLE_PNP_GET_PAYROLL
    Also chk this thread...u have sample code..
    Payroll tables

  • Meaning of % in Form/parameters names

    Hi.
    I've seen the string "%_" in the names of Forms and parameters.
    For example there is an SAP standard program "EXAMPLE_PNP_GET_PAYROLL" and during Debug in the
    GET pernr
      logic db the Form name spells "%_GET_PERNR" and there is no such Form in the program.
    Does it have any special meaning in SAP?
    thanx
    ayal.

    Hi,
    There wont such form.
    % is wildcard and the formname will be generated dynamically.
    Check it while debugging. You may get the correct from name.
    Hope it helps
    Regards,
    Shashank

Maybe you are looking for