How to get personnel numbers based on personal subarea?

Hi Experts,
Please give me the fuction module name to get the personnel numbers list based on personal subarea wise.
Best regards,
Narasimha.

Hi experts,
i dont want to write select queries . I am enhancing the standard . So we are looking for FM.
'RP_CHECK_PERNR' - This function module is giving the personnel subarea  as the exporting parameter and pernr as the importing parameter. But i want personnel subarea as the importing parameter and pernr as the exporting parameter.
please let me know how to process the same.
Best regards,
Narasimha.

Similar Messages

  • How to get Personnel Numbers from Organizational Unit ?

    Hello All,
    I have a requirement in the HR module to get a list of all the personnel numbers maintained for a Organizational Unit.
    Is there any Function Module to find out the Personnel Numbers assigned to a Organizational Unit for HR module ?
    Thanks,
    Ketan.

    Hi Ketan,
        I'm not sure that there is any Function Module available for finding the Personnel Numbers. I have listed some Tables in HR Module try whether this will help you in finding Personnel Numbers for Organizational Unit.
    DD01L Domains 
    DD02L SAP tables 
    DD03L Table Fields 
    DD03T DD: Texts for fields (language dependent) 
    DD04L Data elements 
    DD04T R/3 DD: Data element texts 
    DD05S Foreign key fields 
    DD06L Pool/cluster structures 
    DD20L Matchcode Ids 
    DD24S Fields of a matchcode ID 
    T000    Clients 
    T001    Company Codes 
    T001E  Company code-dependent address data 
    T001P  Personnel Areas/Subareas 
    T012    House banks 
    T012K House bank accounts 
    T012T House bank account names 
    T500L Personnel Country Grouping 
    T500P Personnel Areas 
    T500T Personnel Country Groupings 
    T501    Employee Group 
    T501T Employee Group Names 
    T502T Marital Status Designators 
    T503    Employee Groups / Subgroups 
    T503K Employee subgroup 
    T503T Employee Subgroup Names 
    T504A Benefits - Default Values (NA) 
    T504B Benefit Option Texts (North America) 
    T504C Benefit Type (NA) 
    T504D Benefit Credit Group Amount 
    T504E Benefit Amount 
    T504F Benefit Costs 
    T508A Work Schedule Rules 
    T508T Texts for Employee Subgroup Groupings for Work Schedules 
    T510   Pay Scale Groups 
    T510A Pay Scale Types 
    T510F Assign Pay Scale > Time Unit, Currency 
    T510G Pay Scale Areas 
    T510H Payroll Constants with Regard to Time Unit 
    T510I Standard Working Hours 
    T510J Constant Valuations 
    T510L Levels 
    T510M Valuation of pay scale groups acc. to hiring date 
    T510N Pay Scales for Annual Salaries (NA) 
    T510S Time Wage Type Selection Rule 
    T510U Pay Scale Groups 
    T510Y Special Rules for Wage Type Generation 
    T511    Wage Types 
    T512R Cumulation Wage Types in Forms 
    T512S Texts for Cumulation Wage Types in Forms 
    T512T Wage Type Texts 
    T512W Wage Type Valuation 
    T512Z   Permissibility of Wage Types per Infotype 
    T513    Jobs 
    T514S Table Name Texts 
    T514T Field Name Texts 
    T51D2 Wage Type Classes 
    T51D3 Reduction Rules 
    T51D4 Cumulation Rules 
    T527X Organizational Units 
    T528B Positions - Work Centers 
    T528C Wage Type Catalog 
    T528T Position Texts 
    T529A Personnel Event 
    T529F Fast Data Entry for Events 
    T529T Personnel Event Texts 
    T52BT Texts For HR Objects 
    T52C0 Payroll Schemas 
    T52C1 Payroll Schemas 
    T52C2 Texts for Personnel Calculation Schemas 
    T52C3 Texts for Personnel Calculation Schemas 
    T52C5 Personnel Calculation Rules 
    T52CC Schema Directory 
    T52CD Schema Directory 
    T52CE Directory of Personnel Calculation Rules 
    T52CT Text Elements 
    T52CX Cross References via Generated Schemas 
    T52D1 Valid Processing Classes 
    T52D2 Valid Values for Processing Classes 
    T52D3 Valid Evaluation Classes 
    T52D4 Permitted Values for Evaluation Classes 
    T52D5 Wage Type Groups 
    T52D6 Wage Type Group Texts 
    T52D7 Assign Wage Types to Wage Type Groups 
    T52D8 Valid Processing Classes - Texts 
    T52D9 Valid Values for Processing Classes - Texts 
    T530 Reasons for Events 
    T530E Reasons for Changes 
    T530F Reasons for Changes 
    T530L Wage Types for Special Payments 
    T530T Event Reason Texts 
    T531 Deadline Types 
    T531S Deadline Type Texts 
    T533 Leave Types 
    T533T Leave Type Texts 
    T539A Default Wage Types for Basic Pay 
    T539J Base Wage Type Valuation 
    T539R Events for Standard Wage Maintenance 
    T539S Wage Types for Standard Wage Maintenance 
    T548 Date Types 
    T548S Date Conversion 
    T548T Date Types 
    T548Y Date Types 
    T549A Payroll Areas 
    T549B Company Features 
    T549C Decision Trees for Features (Customers) 
    T549D Feature Directory 
    T549L Date modifiers 
    T549M Monthly Assignment: Payroll Period 
    T549N Period Modifiers 
    T549O Text for date modifier 
    T549P Valid Time Units for Payroll Accounting 
    T549Q Payroll Periods 
    T549R Period Parameters 
    T549S Payroll date types 
    T549T Payroll Areas 
    T549M Monthly Assignment: Payroll Period 
    T549N Period Modifiers 
    T549O Text for date modifier 
    T549P Valid Time Units for Payroll Accounting 
    T549Q Payroll Periods 
    T549R Period Parameters 
    T549S Payroll date types 
    T549T Payroll Areas 
    T554S Absence and Attendance Types 
    T554T Absence and Attendance Texts 
    T554V Defaults for Absence Types 
    T554Y Time Constraints in HR TIME 
    T555A Time Types 
    T555B Time Type Designations 
    T559A Working Weeks 
    T559B Name of Working Week 
    T572F Event Texts 
    T572G Allowed Values for Events 
    T572H Event Value Texts 
    T582A Infotypes 
    T582B Infotypes Which Are Created Automatically 
    T582S Infotype Texts 
    T582V Assignment of Infotypes to Views 
    T582W Assigns Infotype View to Primary Infotype 
    T582Z Control Table for PA Time Management 
    T584A Checking Procedures - Infotype Assignment 
    T588A Transaction Codes 
    T588B Infotype Menus 
    T588C Infotype Menus/Info Groups 
    T588D Infogroups for Events 
    T588J Screen Header Definition 
    T588M Infotype Screen Control 
    T588N Screen Modification for Account Assignment Block 
    T588O Screen Modification for Assignment Data 
    T588Q Screen types for fast entry 
    T588R Selection Reports for Fast Data Entry 
    T588S Screen Types for Fast Entry 
    T588T Menu and Infogroup Designations 
    T588V Business object type 
    T588W Event types for infotype operations 
    T588X Cust. composite definition of event types for IT operations 
    T588Z Dynamic Events 
    T591A Subtype Characteristics 
    T591B Time Constraints for Wage Types 
    T591S Subtype Texts 
    T596F HR Subroutines 
    T596G Cumulation wage types 
    T596H _Cumulation wage type texts 
    T596I Calculation rule for cumulation wage types 
    T596U Conversion Table 
    T599B Report Classes 
    T599C Report Classes 
    T599D Report Categories 
    T599F Report Classes - Select Options 
    T777A Building Addresses 
    T777T Infotypes 
    T777Z Infotype Time Constraints 
    T778T Infotypes 
    T778U Subtypes 
    Error Messages tables 
    T100 Messages 
    T100A Message IDs for T100 
    T100C Control of messages by the user 
    T100O Assignment of message to object 
    T100S Configurable system messages 
    T100T Table T100A text 
    T100V Assignment of messages to tables/views 
    T100W Assign Messages to Workflow 
    T100X Error Messages: Supplements

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • How to get total numbers and total price in query reports

    Hi,
    how to get total numbers and total price in query reports.for example:
    particular item is issued 3 times a week...I need total quantity of item issued
    my query...
    SELECT T0.[DocNum], T1.[ItemCode], T1.[Quantity], T1.[Price] FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode]  Like '%%[%1]%%'  and  T1.[U_WOType]='[%0]'

    Hi,
    Try this:
    SELECT T1.[ItemCode], SUM (T1.[Quantity]) as [Total Quantity], SUM (T1.[Quantity] * T1.[Price]) as [Total Price] FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry WHERE T1.[ItemCode]  Like '%%[%1]%%'  and  T1.[U_WOType]='[%0]'
    Group By T1.[ItemCode]
    Beni.

  • How to get fiscal period based on date and Fiscal year?

    Hi Guys,
               Can anybody tell me how to get Fiscal period based on date and Fiscal Year or fiscal year variant?
    Thanks,
    Gopi.

    Hi,
    Please refer the code below:
    *: Report:  ZFISCALYR                                                  :
    *: Date  :  2004                                                       :
    *: Description: Demonstrates how to return the corresponding fiscal    :
    *:              year and posting period for a company code and posting :
    *:              date or posting date and fiscal year variant.          :
    REPORT  zfiscalyr NO STANDARD PAGE HEADING.
    TABLES: ekko.
    PARAMETERS:     p_bukrs TYPE ekko-bukrs,
                    p_bedat TYPE ekko-bedat.
    DATA: gd_fiscalyr  TYPE bapi0002_4-fiscal_year,
          gd_fiscalp   TYPE bapi0002_4-fiscal_period.
    DATA: gd_fiscalyr2 TYPE T009B-BDATJ,
          gd_fiscalp2  TYPE bapi0002_4-fiscal_period.
    DATA: gd_periv     TYPE t009-periv.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    * get fiscal year and period - (requires date and company code)
      CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    * Alternative fiscal year function module
    * - (requires date and fiscal year variant code from T009 table)
    * gets first entry in fiscal year variant table (will need to choose
    * correct one from table rather than just using first entry)
      SELECT SINGLE periv
        FROM t009
        INTO gd_periv.
    * get fiscal year and period
      CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    *END-OF-SELECTION.
    END-OF-SELECTION.
      WRITE:/ 'From function module: BAPI_COMPANYCODE_GET_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr,
            / 'Fiscal period is:', gd_fiscalp.
      SKIP.
      WRITE:/ 'From function module: DETERMINE_PERIOD',
            / 'Fiscal year is:', gd_fiscalyr2,
            / 'Fiscal period is:', gd_fiscalp2.
    Thanks,
    Sriram Ponna.
    Edited by: Sriram Ponna on Apr 17, 2008 8:59 PM

  • How to Create Personnel Numbers in FI?

    Hi All,
    Hope you're well.  Sorry to bother you,
    I am currently working as SAP support in FI/CO and 1 of my tasks is to create personal No's for staff so when an expense invoice is being posted into FI, the AP clark could have the option of filling the Personnal No for an employee so we could then run a report to show all journeys/expenses the employee has taken.
    I have my own number range which I would like to use.  Also all employees have vendor accounts opened under there names.
    I would need to create a vendor range for employees or do I just use the preivious employee numbers?
    Could you kindly help me by explaining the steps I need to take from the start.  Including Tranaction Codes if possible.
    Your help is much appriciated,
    Many thanks in advance
    Alex

    Hi,
    Personnel numbers are created in HR module of SAP and to supplement the expense related postings we create employee vendors in FI module.
    To make this happen we should use the transaction PRAA which automatically copies the HR master data from HR tables and fills it up in the employee vendor master record.
    However the program only copies client level data, that is, name address and all.
    The company code level data still needs to be updated in the employee vendor master record. This data comes from the reference vendor which you need to mention in the PRAA selection screen.
    When you execute the program PRAA for creating employee vendors for the selected Personnel Numbers, the program copies recon accounts, payment terms, house bank etc froom the reference vendor.
    For using PRAA transaction, the following details must be filled up in the corresponding HR master record:-
    1.) Actions (Infotype 0000)
    2.) Organizational Assignment (Infotype 0001)
    3.) Personal Data (Infotype 0002)
    4.) Permanent Residence (Infotype 0006 Subtype 1)
    5.) Bank Details (Infotype 0009 Subtype 0 or 2)
    If these are not present, the program will give you an error and tell you what information is actually missing.
    Now regarding the number range, you should create a separate account group for employee vendors and assign a number range to it.
    If you want the personnel no=vendor number then you will have to make the number range as external and adjust the user exit routing 'SET_VENDOR_NO_BY_USER' (in include RPRAPAEX_001).
    Please read the PRAA documentation (which is given in the blue coloured "i" button on the PRAA screen next to execute button).
    Using PRAA also helps in cases where exmployee is getting transferred from one company code to another. It gives better control to the system.
    You should avoid using FK01 and XK01 for creating employee vendors.
    Best of luck,
    Nitish

  • How To Get Row numbers in matrix report

    Hi All
    i created an matrix dril down report
    in which i have to get row numbers 
    my requirement is something like
    state          City                           RowNumber                 
    Apr                          May                  
    Jun                Jul        Aug
    AP +            Vij                                 
     1                               300000                
    5666
                      Guntur                            
     2                                70000                    
    8888
                      Hyd                                  
    3                                 0000                    
    555
    MP+               RJA                              
    4                               7770                           
    0
    KL+             Kollam                            
    5                              80000                           
    555
                       Trv                                   6                             
    50000                       666
    SP+              Trj                                  
    7                               666                         
    666
    JP+               mka                                
    8                             6667                           
    66668
    RP+              Rja                                  
    9                               899
    like that above i have to get
    i used                  RowNumber(Nothing)                And Also RowNumber("Group")
    iam not getting like above   iam getting either randomly   or sum of all months
    means for each month it is taking 1
    so total iam getting 12,24,36,48..................like that
    but i want the above requirement
    so any one suggest how get that in matrix report..........

    Hi Mr.SMK,
    Per my understanding you want to get the row number based on the row group of "City", right?
    I have tested on my local environment and you can using the expression below to do this:
    Right click the city column and select the "Insert Column" and select the "Inside group-right"
    Add below expression to get the row number:
    =RunningValue(CountDistinct("DataSetName"),Count,"DataSetName")
    Preview result like below:
    If you still have any problem, please try to provide some sample data and more details information.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to get personnel number of the user in the wd java code in Leave reques

    Hi all,
    we are using the standard Leave Request Applicatin ESS.
    can any one please tell me how to get the personnel number of the user in the WD java code?
    cause i have pass the pernr number to a bapi and get the details.
    please help me its urgent.
    thanks in advance.

    Hi Madhu,
    Create a model for the particular bapi in wd java and acess it in your component. Then pernr parameter will be available in the context and u can pass value for the parameter (pernr) to the model and get the output.
    If you hav any doubt, please let me know.
    Regards,
    Jithin

  • How to get  current row(Based on Radio button check)  submit button Click

    Hi i hava Query Region Search(Based On Auto Customization Criteria).
    For Showing Results iam Using Table Region.
    Using Radio button How we get the row reference value using Submit button Click.
    Please Help on this .
    Thanks & Regards
    San

    Hi san ,
    Try this
    if ("EventID".equals(pageContext.getParameter(EVENT_PARAM)))
    String rowRef = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    OARow row = (OARow)am.findRowByRef(rowRef);
    VORowImpl lineRow = (YourVORowImpl)findRowByRef(rowRef); // Replace your vo name .
    Please refer this link , Let me know if its not clear .
    Single Selection in table Region in OAF .
    Keerthi

  • How to display page numbers based on group

    Hi All,
    I have a report and it consists two groups. First group is displaying 20 pages and the second group is displaying 30 pages. My requirement is to display the page numbers based on the group. That is, the second group output page numbers should start with 1 after displaying first group output. So, the page numbers should be as followed in the report output:
    First group page numbers:
    Page 1 of 20
    Page 2 of 20
    Page 20 of 20
    Second group page numbers:
    Page 1 of 30
    Page 2 of 30
    Page 30 of 30
    How do I achieve the above requirement.
    Thanks in advance.

    When you set the source to "Page Number" for a displayed field, an extra attribute appears on the property palette of "Page Numbering". If you click on this you'll see that you can cause it to reset on a group.

  • How to get po number based on billing document number

    Hi every body
          how to get a po number based on billing document number
    thanks in advance.
    sekhar.k

    Hi,
    Check this field VBRK-BSTNK_VF.
    Regards,
    Satish

  • How to get these substrings based on the string entered

    Hi friends
    i want the substring entered in the string
    the string is something like this: 1234,3653,7684,3254,8777,987,234
    now i want
    the substrings between commas
    can some one help me with it pls
    in the first substring i need 1234
    in the second i need 3653...
    so on till the end..
    what ever the string be until the last one
    pls help

    Hi,
    You can do something like this:
    SELECT     txt
    ,     REGEXP_SUBSTR (txt, '[^,]+', 1, 1)     AS part_1
    ,     REGEXP_SUBSTR (txt, '[^,]+', 1, 2)     AS part_2
    ,     REGEXP_SUBSTR (txt, '[^,]+', 1, 3)     AS part_3
    FROM     table_x
    ;If there are fewer than n parts, then the technique above will not raise an error; it will just return NULL for part_n.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
    Explain how you get those results from that data.
    What do you want if the input is like this"
    {code}
    'foo,,bar'
    {code}
    ? Do you want to consider this as 2 parts ('bar' is the 2nd) or a s 3 (the 2nd is NULL, and 'bar' is the 3rd)? Include examples in your sample data and results.
    Always say what version of Oracle you're using.

  • How to get previous values based on date filters

    Hi
    i have two fields gldate and startdate
    gldate values are like 1/31/2011,2/28/2011,3/31/2011,4/30/2011,5/31/2011 ...
    startdate values 1/1/2011,2/1/2011,3/1/2011,4/1/2011,5/1/2011 ...
    i need a condition like gldate<startdate
    if startdate is 11/1/2011 then i get all the values before 11/1/2011 values
    im using filter for date filed
    let us filter values is startdate--11/1/2011 and gldate is 11/30/2011 but that cond falls
    how to get this condition
    plz its urgent to me

    Hi
    i have two fields gldate and startdate
    gldate values are like 1/31/2011,2/28/2011,3/31/2011,4/30/2011,5/31/2011 ...
    startdate values 1/1/2011,2/1/2011,3/1/2011,4/1/2011,5/1/2011 ...
    i need a condition like gldate<startdate
    if startdate is 11/1/2011 then i get all the values before 11/1/2011 values
    im using filter for date filed
    let us filter values is startdate--11/1/2011 and gldate is 11/30/2011 but that cond falls
    how to get this condition
    plz its urgent to me

  • How to get page numbers using cl_gui_alv_grid

    dear all,
    I want to display page nos at every end of .iam using cl_gui_alv_grid.iam didving itab into no of pages,iam using code to display no of pages is
    CLASS LCL_EVENT_RECEIVER DEFINITIOn.
    PUBLIC SECTION.
    HANDLE_END_OF_PAGE
    FOR EVENT PRINT_END_OF_PAGE OF CL_GUI_ALV_GRID.
    PRIVATE SECTION.
    DATA: PAGENUM TYPE I.
    ENDCLASS.
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
    METHOD HANDLE_END_OF_PAGE.
    DATA: TABLENAME(30) TYPE C.
    ADD 1 TO PAGENUM.
    WRITE: /,'Event: PRINT_END_OF_PAGE'(003),
    'Number of pages so far: '(004), PAGENUM.
    ENDMETHOD. "handle_end_of_page
    Endclass.
    and iam wrting in PBO set_table_for_first_display
    CREATE OBJECT EVENT_RECEIVER.
    SET HANDLER EVENT_RECEIVER->HANDLE_END_OF_PAGE FOR GRID1.
    create object grid1.
    exporitng
    i_parent name = 'CONT'.
    GS_PRINT-RESERVELNS = 2.
    CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    I_STRUCTURE_NAME =
    IS_PRINT = GS_PRINT
    IS_LAYOUT = GS_LAYOUT
    CHANGING IT_OUTTAB = it_Tab.
    but this is not triggering when i dispalying output.i think this will trigeer when we will give print output.
    then how to get page nos at buttom of each page .
    thanks in advance
    shiv

    Hi,
    I think you have to define the page size because for each page if you have defined the page size(say N),  at first top of page will be triggered and after the N number of lines the end of page event is defined. Please check this if you have not defined all the page size it assumes all the lines in one page. Please check.
    Thanks.

  • How to get serial numbers for materials in stock.

    Dear all,
    I need the table / FM from which i can get the serial numbers associated with a specific Material Doc Number.
    Currently, I am going to mseg-> get MBLNR
    Pass MSEG-MBLNR it to SER03 -> get Object List
    Pass SER03-OBKNR to OBJK -> get serial numbers( SERNR )
    As this is a long process and it will take time to execute , Please mention some alternatives by which we can get the desired result.
    Thanking you in advance,
    Shankar

    Hi Shankar;
       I am unaware of any function module, I searched for it high and low a few months ago...  This website describes the process of getting the serial numbers using WM if it is of any help to you...
    http://www.sapgenie.com/sapfunc/serialnumbers.htm
    Cheers,
    John

Maybe you are looking for

  • How to read from a xml file(in String format) using a java program

    hi friends i have a string , which is xml format. i want read the values and display it.can any one suggest how to read a xml file of string format using a javaprogram thanks

  • How do I remove the birthday notifications from my lock screen?

    Basically all it says is its "XXXX's birthday in 4 hours at 12:00am" I don't care/ need to see that on my lock screen, I'd rather it was just empty and clean looking. I've tried going into settings > display > lockscreen > turn off notifications yet

  • Looking to get a mac for fall semester, have a few questions on which one I should get.

    Hello everyone, this is the first time im posting here and i hope i can get some help. Im in the need of a new computer; I have been wanting a mac for a long time and i figured since im a junior in college that i should get myself something decent to

  • Unable to print purchase order

    Dear all as per current setting, when i am going to save the purchase order ,system have to issue the printout automatically .everything is going fin but when i go to spool request detail i got error stating that Unable to establish connection to Ber

  • External manuf. filed in Vendor Master

    Hi, In XK01 under the TAB control field External manuf (EMNFR) is appearing as mandatory. I have checked filed status group overview in IMG where i do not found this field. I want to put this keep this field as optional, please guide me how to do it.