HR-ABAP.How to Find the Employees assigned to the Appraisal Template

Hi ,
Please help me out.how to find the employees assigned to the Appraisal template.
Ex. 7825232 is a appraisal template id and i want to know in the system how many employees assigned to it..
Please let me know if the post is missing something.
Suggestion also appreciated ...
Thanks Inadvance!
Law.

check this fm HRHAP_DOCUMENT_GET_LIST_XXL
Thanks
Bala Duvvuri

Similar Messages

  • Function to return Job History from the Employee Assignment Form (EBS)

    Hi All,
    I was hoping to get some help from some SQL and PL/SQL experts on a problem which I’ve been battling to solve, without lots of subquery and self joins and performance problems.
    I would ideally like to create a PL/SQL function that would return an Assignment Effective Start Date from an employees record in HR eBusiness Suite based on a few conditions.
    I find it easiest to explain with the below table example, which is for a single person, lets say person_id = 3546:
    *<PRE> ID Effective Start Date Effective End Date </PRE>*
    <PRE> 01 01-DEC-2009 31-DEC-2009 </PRE>
    <PRE> 01 *01-NOV-2009* 30-NOV-2009 </PRE>
    <PRE> 88 01-OCT-2009 31-OCT-2009 </PRE>
    <PRE> 01 01-SEP-2009 30-SEP-2009 </PRE>
    <PRE> 67 01-AUG-2009 31-AUG-2009 </PRE>
    Above are all the assignments for person_id 3546 with the ID of the Job/Grade they have been assigned. What I need to achieve is, that if I run a report as of the 15-DEC-2009, I would like see the 'Effective Start Date' of '01-NOV-2009' for the most recent ID that has been assigned to the person, in this case ID 01. It shouldn't group ID 01 and give the the date of '01-SEP-2009'.
    Some more examples:
    If I change the as of date to '10-NOV-2009' and run the report, i would get an 'Effective Start Date' of '01-NOV-2009' for ID 01.
    If I change the as of date to '15-OCT-2009' and run the report, i would get an 'Effective Start Date' of '01-OCT-2009' for ID 88.
    If I change the as of date to '29-SEP-2009' and run the report, i would get an 'Effective Start Date' of '01-SEP-2009' for ID 01 .
    Have i explained enough?? And has anyone some ideas?
    Many thanks,
    Lance

    The logic behind this, is that for an employee I need to determine how long that employee has been in there current job for. In the example I gave, the ID relates to the job ID and walking through the assignments this is what happens.
    At '01-AUG-2009' the employee was at job id 67.
    At '01-SEP-2009' the employee changed jobs and therefore their new ID was 01.
    At '01-OCT-2009' the employee was temporarily promoted to job D of 88.
    However at '01-NOV-2009' they returned to the previous grade ID of 01.
    Therefore if I ask the question, as of today’s date, how long has the person been in their current job for. I would need to calculate the days from today - '01-NOV-2009'. I wouldn't take '01-DEC-2009' into consideration, because the employee was in the same job the previous month/assignment as well, therefore I need to take the min of these two dates to show the date of when the person first had a job ID of 01.
    With regards to the logic shown below, this is similar to the date track function found across HR eBusiness forms. Depending on that 'As of Date' is entered, should return the date when that person was first in their current job.
    as of 15-DEC-2009 should give 01-NOV-2009
    as of 10-NOV-2009 should give 01-NOV-2009
    as of 29-SEP-2009 should give 01-SEP-2009
    Within the long winded SQL I have written, it contains the following condition: 'As of Date' >= 'Effective Start Date'. This is acting as my date track feature to only show assignments available to the employee at a particular date. The below code is taken from Oracle’s view called hrfg_job_history. I have had to use this to get my data, but at a cost of performance.
    SELECT /* unique attributes */ bgrt.NAME business_group_name,
            peo.full_name person_name, job.NAME job_name,
            ass.effective_start_date effective_start_date,
            hr_discoverer.check_end_date
                                       (asf.effective_end_date)
                                                               effective_end_date /* foreign key resolutions */,
            peo.employee_number employee_number,
            ass.assignment_number assignment_number /* ids */,
            ass.assignment_id assignment_id,
            ass.business_group_id + 0 business_group_id, ass.job_id job_id,
            ass.person_id person_id
      FROM hr_all_organization_units bgr,
           hr_all_organization_units_tl bgrt,
           per_jobs job,
           per_people_x peo,
           per_assignments_f asf,
           per_assignments_f ass
    WHERE ass.job_id = job.job_id
       AND ass.person_id = peo.person_id
       AND ass.business_group_id + 0 = bgr.organization_id
       AND bgr.organization_id = bgrt.organization_id
       AND bgrt.LANGUAGE = USERENV ('LANG')
       AND ass.assignment_type = 'E'
       AND NOT EXISTS (
              SELECT NULL
                FROM per_assignments_f ass1
               WHERE ass1.assignment_id = ass.assignment_id
                 AND NVL (ass1.job_id, 9.9) + 0 = NVL (ass.job_id, 9.9) + 0
                 AND ass1.effective_start_date =
                        (SELECT MAX (ass2.effective_start_date)
                           FROM per_assignments_f ass2
                          WHERE ass2.assignment_id = ass1.assignment_id
                            AND ass2.effective_start_date <
                                                          ass.effective_start_date)
                 AND ass1.assignment_type = 'E')
       AND ass.assignment_id = asf.assignment_id
       AND asf.effective_end_date =
              (SELECT MAX (assf.effective_end_date)
                 FROM per_assignments_f ass3, per_assignments_f assf
                WHERE ass3.assignment_id = ass.assignment_id
                  AND ass3.assignment_id = assf.assignment_id
                  AND NVL (ass3.job_id, 9.9) + 0 = NVL (ass.job_id, 9.9) + 0
                  AND assf.assignment_type = 'E'
                  AND ass3.assignment_type = 'E' /* check for end of time dates */
                  AND (   (    assf.effective_start_date =
                                                          ass.effective_start_date
                           AND ass.effective_end_date =
                                              TO_DATE ('31-12-4712', 'DD-MM-YYYY')
                           AND assf.effective_end_date = ass.effective_end_date
                          ) /* check for rows which have changes after */
                       OR (    ass3.effective_start_date >=
                                                          ass.effective_start_date
                           AND (assf.effective_end_date =
                                   (SELECT MIN (ass4.effective_start_date) - 1
                                      FROM per_assignments_f ass4
                                     WHERE ass4.assignment_id = ass.assignment_id
                                       AND ass4.effective_start_date >=
                                                         ass3.effective_start_date
                                       AND ass4.assignment_type = 'E'
                                       AND (NVL (ass4.job_id, 9.9) + 0 <>
                                                          NVL (ass.job_id, 9.9)
                                                          + 0
                          ) /* check for rows which do not have changes after */
                       OR (    ass3.effective_start_date =
                                                          ass.effective_start_date
                           AND NOT EXISTS (
                                  SELECT NULL
                                    FROM per_assignments_f ass7
                                   WHERE ass7.assignment_id = ass.assignment_id
                                     AND ass7.effective_start_date >
                                                         ass3.effective_start_date
                                     AND ass7.assignment_type = 'E'
                                     AND (NVL (ass7.job_id, 9.9) + 0 <>
                                                          NVL (ass.job_id, 9.9)
                                                          + 0
                           AND (assf.effective_end_date =
                                              TO_DATE ('31-12-4712', 'DD-MM-YYYY')
       AND ass.business_group_id + 0 =
                     NVL (hr_general.get_business_group_id, ass.business_group_id)Any more ideas?
    thanks,
    Lance

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

  • How to find last inserted record in the table.

    Version: Oracle 10g
    I have a table called "Manufacture" and 3 columns as mfno,itemname,quantity.
    How to find last inserted record in the table "Manufacture".
    As i come to know that Rowid is not result perfect results. Please provide your inputs.

    user13416294 wrote:
    Version: Oracle 10gThat is not a version. That is a product name. A version is 10.1.0.2 or 10.2.0.4, etc.
    I have a table called "Manufacture" and 3 columns as mfno,itemname,quantity.
    How to find last inserted record in the table "Manufacture".Not possible as your data model does not cater for it. That simple.
    If there is a need to determine some order or associate some time to an entity, then that should be part of the data model - and a relationship, or one or more attributes are needed to represent that information. Thus your data model in this case is unable to meet your requirements.
    If the requirements are valid, fix the data model. In other words - your question has nothing to do with Oracle and nothing to do with rowid, rowscn or other pseudo columns in Oracle. It is a pure data modeling issue. Nothing more.

  • How to find which function module write the relevant idoctype?

    Dear All,
    how to find which function module write the relevant idoctype?

    Hi,
    Generally the function modules of the idoc types are having a naming convention as IDOC_INPUT for inbound processing and IDOC_OUTPUT for outbound processing followed by the idoc type name
    for example : For IDOC type ORDERS
    the inbound function module will be IDOC_INPUT_ORDERS and for outbound IDOC_OUTPUT_ORDERSP
    In this way you can find the function module for a particular IDOC
    P.S: Hope this is what you have asked for
    Regards
    Sarves

  • How to find user exit implemented in the program

    how to find user exit implemented in the program or standerd transaction

    try this program to get the list of all the user exits for a transaction...
    *& Report  Z_USER_EXIT                                                 *
    *REPORT  Z_USER_EXIT                             .
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
      TABLES : tstc,     "SAP Transaction Codes
               tadir,    "Directory of Repository Objects
               modsapt,  "SAP Enhancements - Short Texts
               modact,   "Modifications
               trdir,    "System table TRDIR
               tfdir,    "Function Module
               enlfdir,  "Additional Attributes for Function Modules
               tstct.    "Transaction Code Texts
    *& Variables
      DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
      DATA : field1(30).
      DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
      SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
      SELECTION-SCREEN SKIP.
      PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
      SELECTION-SCREEN SKIP.
      SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
      START-OF-SELECTION.
    Validate Transaction Code
        SELECT SINGLE * FROM tstc
          WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM tadir
             WHERE pgmid    = 'R3TR'
               AND object   = 'PROG'
               AND obj_name = tstc-pgmna.
          MOVE : tadir-devclass TO v_devclass.
          IF sy-subrc NE 0.
            SELECT SINGLE * FROM trdir
               WHERE name = tstc-pgmna.
            IF trdir-subc EQ 'F'.
              SELECT SINGLE * FROM tfdir
                WHERE pname = tstc-pgmna.
              SELECT SINGLE * FROM enlfdir
                WHERE funcname = tfdir-funcname.
              SELECT SINGLE * FROM tadir
                WHERE pgmid    = 'R3TR'
                  AND object   = 'FUGR'
                  AND obj_name = enlfdir-area.
              MOVE : tadir-devclass TO v_devclass.
            ENDIF.
          ENDIF.
    Find SAP Modifactions
          SELECT * FROM tadir
            INTO TABLE jtab
            WHERE pgmid    = 'R3TR'
              AND object   = 'SMOD'
              AND devclass = v_devclass.
          SELECT SINGLE * FROM tstct
            WHERE sprsl EQ sy-langu
              AND tcode EQ p_tcode.
          FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
          WRITE:/(19) 'Transaction Code - ',
          20(20) p_tcode,
          45(50) tstct-ttext.
          SKIP.
          IF NOT jtab[] IS INITIAL.
            WRITE:/(95) sy-uline.
            FORMAT COLOR COL_HEADING INTENSIFIED ON.
            WRITE:/1 sy-vline,
            2 'Exit Name',
            21 sy-vline ,
            22 'Description',
            95 sy-vline.
            WRITE:/(95) sy-uline.
            LOOP AT jtab.
              SELECT SINGLE * FROM modsapt
              WHERE sprsl = sy-langu AND
              name = jtab-obj_name.
              FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WRITE:/1 sy-vline,
              2 jtab-obj_name HOTSPOT ON,
              21 sy-vline ,
              22 modsapt-modtext,
              95 sy-vline.
            ENDLOOP.
            WRITE:/(95) sy-uline.
            DESCRIBE TABLE jtab.
            SKIP.
            FORMAT COLOR COL_TOTAL INTENSIFIED ON.
            WRITE:/ 'No of Exits:' , sy-tfill.
          ELSE.
            FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
            WRITE:/(95) 'No User Exit exists'.
          ENDIF.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'Transaction Code Does Not Exist'.
        ENDIF.
    Take the user to SMOD for the Exit that was selected.
      AT LINE-SELECTION.
        GET CURSOR FIELD field1.
        CHECK field1(4) EQ 'JTAB'.
        SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
        CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • How costs and revenus are assigned to the projects

    Hello,
    Can somebody elaborate me how costs and revenus are assigned to the projects?
    Thanks

    It’s great. Thank you so much Vivek for this widget.
    Le 8 janv. 2015 à 22:36, VivekPassan <[email protected]> a écrit :
    http://widgets-musethemes.businesscatalyst.com/tb032.html <http://widgets-musethemes.businesscatalyst.com/tb032.html>

  • FM to know which is the first employee assigned and the last

    Is there any FM to know which is the first employee assigned and the last in a sap r/3 system?
    thanks.

    Hi robertoc20972128,
    What functionalities were you looking for specifically? JotForm has always been a leader in form building, but recently we've been making waves with some really exciting new features. Plus, we're making your switch from Adobe FormsCentral remarkably easy with our new import tool.
    A few key features with JotForm:
    Completely free for fewer than 100 submissions per month
    The most advanced Form Designer of any competitor
    A Theme Store that features something for everyone
    Includes skip logic
    Let me know if you have any questions or troubles!

  • How  can I get the employee code in the customer master

    Hi
    What are the settings that I do so that I can get the employee code in the customer master?
    We want to create a sales order on a employee , we have HR and SD in the same box.
    regards
    Pravin

    Hi
    I tried xd02 it asks me for the customer , ifi click the search icon it opens up the search where thre is a tab named "Customer by Personnel Numbeer" when i try to search it does not show any employees even thoughi havemanyhired in HR
    Please tell me  what i need to do
    regards
    Pravin

  • Function module to Delimit the roles assigned to the user

    Hi All,
    I am working on security role automation process abap report.My requirement is to delimit the roles assigned to the user on account of employee termination or retirement. I have used the function module "BAPI_USER_ACTGROUPS_ASSIGN"  to delimit the role assigned to the user.
    Passing the importing parameter "username" and in the Tables parameter"ACTIVITYGROUPS"  passing the respective parameters AGR_NAME(Role), FROM_DAT(Start Date),TO_DAT(termination date - 1). When I passing the parameters as mentioned above,the role assigned to the user is getting deleted,instead of delimitation of the role assigned to the user.
    Is there any other function module we can use to delmit the roles assigned to the user?  Please help.
    Regards,
    Krishnan

    hai,
    please try this.
    /VIRSA/RE_BAPI_CREATE_ROLE- Create Roles
    /VIRSA/ROLE_ASSIGN_CUA_NH
    /VIRSA/RE_BAPI_ROLE_TO_USERS
    ASSIGN_USERS_HIERARCHY - User Assignment to Role - this is a Normal FM
    try this bapis this may work
    BAPI_USER_LOCK
    - BAPI_USER_PROFILES_ASSIGN
    - BAPI_USER_LOCPROFILES_ASSIGN
    - BAPI_USER_LOCACTGROUPS_ASSIGN
    - BAPI_USER_CHANGE
    - BAPI_USER_UNLOCK

  • Can we change the employee number on the employee master data form ?

    Hi,
    Simple question but can we change the employee number on the employee master data form ? We need to use the same employee numkbers from another system but just cannot interact with the employee no. in SAP 2007 ?
    Thank you,
    MB

    You canu2019t modify the employee number. It is assigned by the system sequentially.
    But you can define a user defined field to store the other systemu2019s identifier or use (and even rename) some other field to store this information.

  • I can access my employers web site, but when i try to access the employees section of the web site it says that i need netscape, can someone help

    Hi, My employer has a web site & as a part of the service to the employees, the employees can access personal details through the web site. I can access my employers web site not a problem, BUT - when i try to access the employees part of the web site it tells me "This browser is not supported.
    You must be running Netscape 7.1 or greater."
    Can someone please help?

    It is possible that the server gets confused by the user agent that is modified by your Ubuntu distribution and adds Ubuntu/10.10 (maverick)
    Mozilla/5.0 (X11; U; Linux i686; en-AU; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13
    You can try to reset the pref general.useragent.extra.* that add that part.<br />
    See [[Web sites or add-ons incorrectly report incompatible browser]]

Maybe you are looking for

  • Using a Family Members Upgrade, Question on the Process

    I plan to pre-order the phone on my brother's line since he is eligible, he's away at college though. When I swap the ESN's or whatever, will I need any info from him or need him to get involved at all? Or can I just do it all myself? Also, my brothe

  • Mismatch in  Accounts Receivable Balance and A/R Aging Balance due

    Hi All, I am working on SAP 2007 A PL09 and facing a issue in which Balance in Accounts Receivable in chart of account does not matches with the total amount in Balance due field in Customer Receivables Aging report. Kindly help Thanks

  • LAPAC1750 Access Point Problem

    I have a device (Sony Xperia Z1 Compact) which cannot connect to the Access Point. The device can connect to other Access points (tried Motorola, Fritzbox, Cisco) without any problems. It does not matter what setting I configure on the LAPAC1750. It

  • OAS 10.1.2.0.2 J2EE Support

    Here: http://www.oracle.com/technology/tech/java/oc4j/1013/OracleAS-NF-1013.pdf is a document that specifies OAS 10.1.3 support for J2EE. I'm trying to find documentation about OAS 10.1.2.0.2 support for J2EE (what apis/packages and what versions are

  • WEB Elements Usage

    <p>Can WEB elements be used by reports that are not viewed through Infoview?  For example a report being produced via a .NET application?  If so are there examples of this available? </p>