Adhoc Report-Employee leaving data

Hi
I tried to get a report in Adhoc  Query regardig Employees Date of Leaving data for Resigned/separated employees.  In the out put the data of Date of Leaving coming as blank.  .  In the Dev client in one user group I got the report where as in the Production in the same user group report is generating without the date of leaving data
How to get the report any logic
EKP Yadav

Hi E K P,
This may be an authorization problem.
Pls. check whether your account's PFCG data is same for both systems.
Regards,
Dilek

Similar Messages

  • Adhoc Query: Absence Leave report

    Hi All,
    I am trying to create a Query in Adhoc query for ABSENCE LIST.
    so i have added few columns:
    PERNR Value
    PERNR TEXT
    Personnel area Value
    Personnel area Text
    Personnel sub-area Value
    Personnel sub-area Text
    Company code Value
    Company code Text
    Postion name Text
    Attendance or absence type value
    Attendance or absence type Text
    1. Here when i pick the Position from infotype 0001 it is displaying some default position along with the position
    2. I need the list of employee who has taken leaves, and leave types are picked from infotype 2001. Here i am getting complete list of employees(employees who has not taken leaves)
    So can we prepare a report employees who went on leaves based on the above requirement.
    Please find the attachment.
    Regards,
    Prasad

    On a more serious note,
    A query is a simple spitting out of all the data, based on the fields you have selected, So if atleast one field has a valid value, and "Personnel Number" is one such field, you will get an output in the report.
    What you will have to do is to assign certain key fields as selection fields as well as output fields, when designing the Ad-Hoc query.
    Then use selection criteria to get out only the results you want, for example Absence Type = Annual Leave( don't want to type the abbreviation here), date range of BEGDA - 01.01.2014 - 30.04.2014, for example. Using Employment Status as a Selection field but not an Output field can help with ensuring inactive employees (i.e people with default positions) are not selected.
    I often find that in any case, one always has to download the query output into Excel and do some final manipulations using filters and pivots etc.
    Also, play around with the Key Date  field,  in the query design screen - see what happens if you use "Today" rather than a wider date range.
    Hope this helps.

  • Query about Leaving date,Reason for leaving fields in R3 report of HR Modul

    Hi Experts,
              I have a report in R3 for HR. In the report i am getting fields like leaving date,reason for leaving .
    When I  clicked F1 on the leaving date and reason  i came to know the field name as FIREDATE and MGTXT...
    I checked in DD03L table with these field name and found no related tables for that.....
    but i found some structures only.........
    In order to create a generic datasource with these fields included then how data will get for these fields....
    But i find no relevant tables regarding these fields.....in the report of r3 when checked f1
    Text
    Leaving date
    Definition
    Date, on which an employee leaves the company.
    Dependencies
    The following infotypes are taken into account when the value is created:
    P0000 - Actions
    P0001 - Organizational Assignment
    But the above P0000 ,P0001 are structures .... how can the leave date get populated in the generic datasource.which i may have to create ?
    Thanks
    Vamsi

    The easiest way to accomplish that would be to add some logic in a custom controller (i.e some java code). Which is a little more complex than regular personalizations.

  • Leaving date is not available in the Query report

    Hi,
    I had a problem that the leaving date is not generated while running a report from the sap standard report.
    Note:
    I has assigned the leaving action config as
    Coustomer Specific : 3
    Employment: 0
    Specific Payment: 0
    Should we look into ADMIN LDATE switch
    Anything to do with Feater "LEAVE"
    Or anyother issue pls.
    Thanks for the community.
    Regards
    sekhar

    Hi,
    Run the report RPLMIT00 and in the selection criteria select employment statusis not equal to 3.
    Execute the report .
    You can find the leaving date.
    Warm Regards,
    Kapil Kaushal

  • Problem in Fetching value from Employee Master Date in Crystal Report

    Hi All,
    I am using the SAP Standard report for Sales Quotation and now my client needs a new requirement.
    That is, for certain sales employee they need a manger and the manager name, email, mobile no from employee master data should be fetched.
    I tried this way,
    Assigned the Manager name in the OSLP, memo field and tried to equate the employee name in the OHEM table by using a parameter and tried to fetch the fields but i am not able to view any of the fields from the OHEM table.
    How to fetch the fields from the OHEM table?
    Help me solving this issue.
    Regards,
    Jananisuba S

    hi.
    Janani..
    Fetching means what .
    i am not able to understood...
    linking you are not able to understood or any other.
    in crystal report are u getting the problem.
    First in sql it slef are u able to get the problem..what just explain...

  • Adhoc Reporting using Data Sources instead of Report Model

    Hi Gurus,
    I'm working on SSRS 2008. I'm trying to create Adhoc Report using Report Builder 3.0. To select Data Source, both *.rsds and *.smdl are listed. I selected a Data Source which points to a SQL database. When I add New datasets, I'm able to add the fields and
    it automatically detect relationships (Joins) using Primary Key and Foreign Key defined in the tables. I'm also able to edit the query. I ran the report and it ran successfully.
    My question is I couldn't find any documentation regarding using Data Source for Adhoc Reporting. MS SQL documentation and forums insists that Report Model is required for Adhoc Reporting.
    Please let me know if someone tried to create Adhoc Report using Data Source instead of Report Model. While I understand there are more benefits using Report Model (define entities/attributes, show/hide entity/attributes, organize entities/attributes etc.),
    I just want to know if this is possible.
    Are there any known limitation using this method?
    Thanks In Advance!

    Hi Ereswaran,
    Yes, we can create ad hoc report using report using data source instead of Report Model. Ad hoc reports typically are used to answer a specific question at appoint in time, so consequently people don’t spend a lot of time arranging and formatting the data
    in a precise way. Other report development tools are available in Reporting Services to support more sophisticated reporting requirements.
    Using Report Builder, we can build a simple report that display data form a single data source as defined by a report model. This tool is most useful for business users who need access to information but lack the skills to write a SQL query. If we have full
    experience of SQL query, of course we can use data source instead of Report Model.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Need Report Ran Date on Adhoc Reports

    Hi All,
    I need the report execution date on adhoc report (SSRS 2005/ Report Builder 1.0).
    I was trying to use formula in text box, But, unfortunately it did not worked.
    Kindly update if it is possible to show report ran date on adhoc report.
    Thanks in Advance.
    Regards
    Kumud 

    Try SSRS Ad Hoc Web Reporting. It is super easy to use and even a ten year old kid can create SSRS reports with it. You can also use it to create and modify SSRS reports from your mobile devices such as IPad, IPhone, Android Phone or Surface.
    See this youtube on how easy SSRS reports can be creates.
    http://www.youtube.com/watch?v=CxQLX5UxIik
    You may try it yourself.
    http://www.ssrsreporting.com

  • Report on Leave request (with HTML ) using ITS version

    we are using ITS version of ESS and MSS version EP 6.0 and SAP R/3 5.0.
    Our client wants a report on Leave Request(with HTML). the worflow used is WS20000081. my question is there any standard report to check the Leave Request which are approved or rejected. In SAP there is one standard report
    RPTARQDBVIEW where in when we execute no output exists.
    Please help me whether is there any report to view the leave requests.
    Regards
    Santosh Ghanwar

    Dear Claude;
    Thanks for your kind assistance... I was out for sometime & got up in some other urgent tasks...
    Sorry for delay...
    I had created the loop Payroll? with following conditions
    &Employee.ControlRecordState&     =          1     or
    &Employee.ControlRecordState&     =           2     or
    &Employee.ControlRecordState&   =          3     or
    &Employee.ControlRecordDate&     <           %Current Date%         
    but result is always "True"
    Please help me out...
    Best Regards,

  • I need the Log Report for the Data which i am uploading from SAP R/3.

    Hi All,
    I am BI 7.0 Platform with Support Patch 20.
    I need the Log Report for the Data which i am uploading from SAP R/3.
    I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item.   In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
    I capture the FS item from the Z table then update this FS item to Infobject FS item.
    Now i  need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
    Please suggest.
    Regards
    nilesh

    Hi.
    Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
    In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
    Regards
    Jacob

  • Report using logical data base

    Hello friends,
    please give me a sample report program using logical database with explanation where logical databse used and how it works?

    See the program given below, it uses logical database PNP.
    DESCRIPTION : TO GENERATE SIMPLE REPORT USING HR ABAP
                   LOGICAl DATABASE- PNP .
    REPORT Zdemop_HR_prog_1
    LINE-SIZE 200 .
    *Database Table
    TABLES: PERNR,           " Pernr structure for Logical database
           PA0001,           " Actions
           PA0002.           " Personnel Info
    *Infotypes
    INFOTYPES: 0001,         " Actions
               0002.         " personnel info
    *Variable Declaration
    DATA: FORM_NAM LIKE P0001-ENAME,
          V_AGE(5) TYPE C,       "variable for calculating age in days
          V_CTR1 TYPE I VALUE 0, "counter
          V_CTR2 TYPE I VALUE 0, "counter
          VAR(5) TYPE C ,        " variable to store btrtl
          VAR1(5) TYPE C  .      " variable to store werks
    *Internal Table Decalartion
    DATA: BEGIN OF I_TAB1 OCCURS 0,
           WERKS LIKE PA0001-WERKS,  "personnel area
           BTRTL LIKE PA0001-BTRTL,  "personnel sub area
           PERNR LIKE PA0001-PERNR,  "employee number
           ENAME LIKE PA0001-ENAME,  "employee name
           BEGDA LIKE PA0002-BEGDA,  "employee join date
           PERSG LIKE PA0001-PERSG,  "employee group
           PERSK LIKE PA0001-PERSK,  "employee sub-group
           PLANS LIKE PA0001-PLANS,  "position
           GBDAT LIKE P0002-GBDAT,   "date of birth
         END OF I_TAB1.
    *START-OF-SELECTION
    START-OF-SELECTION .
    GET PERNR .                    
      RP-PROVIDE-FROM-LAST P0001 SPACE PN-BEGDA PN-ENDDA .   " Macro for IFT-0001
      RP-PROVIDE-FROM-LAST P0002 SPACE PN-BEGDA PN-ENDDA .   " Macro for IFT-0002
    **--> Populate internal table
      MOVE P0001-WERKS TO I_TAB1-WERKS .
      MOVE P0001-BTRTL TO I_TAB1-BTRTL .
      MOVE P0001-PERNR TO I_TAB1-PERNR .
      MOVE P0001-ENAME TO I_TAB1-ENAME .
      MOVE P0002-BEGDA TO I_TAB1-BEGDA .
      MOVE P0001-PERSG TO I_TAB1-PERSG .
      MOVE P0001-PERSK TO I_TAB1-PERSK .
      MOVE P0001-PLANS TO I_TAB1-PLANS .
      MOVE P0002-GBDAT TO I_TAB1-GBDAT .
    **--> Append data to internal table
      APPEND I_TAB1 .
      CLEAR I_TAB1 .                                       " Clear header I_TAB1
    *END-OF-SELECTION
    END-OF-SELECTION.
    *****sorting the internal table on Personnel Area & Personnel Sub-Area
      SORT I_TAB1 BY WERKS BTRTL.
    *TOP_OF_PAGE
      PERFORM TOP_OF_PAGE.
    *Output Display
      LOOP AT I_TAB1.
    *for calculating the age in days
        V_AGE = SY-DATUM - I_TAB1-GBDAT.
    *control break on Personal Sub Area
        AT NEW BTRTL .
          IF SY-TABIX NE 1.
            FORMAT COLOR COL_NORMAL ON.
            WRITE:/5 'Total Number of Employees for personnel Sub-Area:',
            VAR  , 'is ',
            V_CTR1.
            CLEAR V_CTR1.
            FORMAT COLOR OFF.
          ENDIF.
        ENDAT .
    **Control Break on personnel Area
        AT NEW WERKS.
          IF SY-TABIX NE 1.
            FORMAT COLOR COL_TOTAL ON.
            WRITE:/5 'Total Number of Employees for Personal Area: ',
             VAR1 ,'is    ', V_CTR2. "color col_total.
            CLEAR V_CTR2.
            SKIP 1.
            FORMAT COLOR OFF.
          ENDIF.
        ENDAT .
        WRITE:/5 I_TAB1-PERNR,   "personnel number
              16 I_TAB1-ENAME,   "emp name
              47 I_TAB1-BEGDA,   "join date
              60  V_AGE,         "age in days
              74  I_TAB1-WERKS,  "P area
              84  I_TAB1-BTRTL,  "P sub Area
              94  I_TAB1-PERSG,  "emp group
              104  I_TAB1-PERSK, "emp sub group
              114  I_TAB1-PLANS. "position
        V_CTR1 = V_CTR1 + 1.
        V_CTR2 = V_CTR2 + 1.
        VAR = I_TAB1-BTRTL .
        VAR1 = I_TAB1-WERKS .
      ENDLOOP.
    *&      Form  top_of_page
          Header Output
    FORM TOP_OF_PAGE.
      FORMAT COLOR COL_HEADING ON.
      WRITE:/5 'Employee',
            16 'Employee',
            47 'Join Date',
            62 'Age',
            74 'Personal',
            84 'Personal',
            94 'Employee',
            104 'Employee',
            114 'Position ',
          /5 'Number',
          16 'Name',
          60 '(In Days)',
          74 'Area',
          84 'Sub-Area',
          94 'Group',
          104 'Sub-Group'.
      FORMAT COLOR OFF.
      SKIP 1.
    ENDFORM.                    " top_of_page
    Regards,
    Joy.

  • Issue in AdHoc Report result

    Hi Guys!
    This is the AdHoc Report SS_PH0_48000513. When two different person runs this report based on same selection criteria then for one person the result shows 2400 hit list and for other person it shows only 200 hit list. Does anyone have any solution to this problem.
    The selection criteria is employee sub group and company code and output field is pernr.
    Regards,
    Arul Joseph Isaac

    Hi,
    Please compare the authorizations of these two persons'.
    Generally, this kind of issues end up to be auth. issues.
    Regards,
    Dilek

  • How to move all the standard and adhoc reports from cube to multi provider

    How to move all the standard and adhoc reports from the basic cube to multi provider?
    i created this multiprovider to do the maintenence on the basic cube. for example the infocube physical partition, line item dimension and compression.
    what we decided to do is move all the Standard and ad-hoc reports from the basic cube to the multiprovider. How to do it? and make a copy of the basic cube and do the maintenence on the cube. please help.
    Thanks in advance sdn experts!

    Hi Les,
    This sounds good and one thing we try to always keep in mind when undertaking such activities is to always minimise the impact to the user and make the process as transparent to them as possible. So lets say you have your multiprovider and copied queries up in Prod, these queries will still pick up the data from the base cube.
    Now you need to make a copy of the base cube for some changes to the cube model, I would suggest that you copy the cube and make your changes on the copied cube itself. Then 9depending on the changes done) you can load data from Original Cube to New Cube. When this is being done, make sure that you change your queries to add a restriction on 0INFORPOV by Original Cube.
    After the load to the new cube is complete you can run reports restricted to each cube to verify the numbers. Then change the 0INFOPROV restriction in the queries to point to the New Cube and disengage the old cube from the multiprovider.
    Hope this helps...

  • Restricting time dependent records on employee master data in BW

    Experts,
    We have a Future hire report which gets data from 0Employee. Now whenever hire date of an employee is getting assigned in case of new hire  record get's created in BW.
    Now, due to some reason this new hire employee is not able to join on the hire date first assigned to him and new hire date is updated in PA30 for this employee in ECC.
    This would create a new record in BW with new hire date for this employee which is valid in BW from the date it moved into BW till 9999 and the previous record 'Valid To' date is changed to previous date of the "Valid From" date of newly entered record.
    Now all these records has moved into Multiple Cubes also therefore we cannot delete these records from Master data until transaction data is delete.
    Client HR team is saying that previous records of all such employees are not valid , so they should not appear in BW reports even if they are running this report on historical dates.
    0Employee is time dependent master data. So it makes sense to have one records for any actions done for an employee in HR system.
    Cleaning up a master data for all such employee would be a tedious task and need lot of effort.
    Is there any way , we can restrict previous records of all such employee , so that they do not appear in BW report in case users are going to run the report previous dates.

    We were doing this activity as part of weekly house keeping job. Weekly we get list of invalid PERNR records from ECC team.
    While deleting particular PERNR (say 10015824) from 0EMPLOYEE, and the log (SLG1)says, SID exists in DIM table (like /BIC/D0PA_C011).
    First delete that PERNR (10015824) from cube (0PA_C01)
    Use Tcode RSRV --> Tests in Transaction RSRV  --> All Elementary Tests --> Transaction Data --> Entries Not Used in the dimension of an InfoCube (Dbl Click)
                 From the right side window, expand “Entries Not Used in the Dimension of an InfoCube” Node &
                 Enter InfoCube (like 0PA_C01), click “Transfer”
                 Now, click “Execute” (Toolbar)… and the results displayed in the right side window..
                 Now, click “Correct error” (Toolbar)
    Now, try to delete same PERNR from 0EMPLOYEE, and if the log says SID used in some other DIM table, follow the above process.
    If the log says, the SID used in DSO/Cube, then goto manage (of DSO/Cube) and do the selective deletion.

  • How to display Employee Attendance Data in Crosstab Format?

    Hi all,
    I have the data in sql server 2005 like below, which saves the employee in date and in time and entry type 
    How can i create a cross tab query for the above records in sql server 2005. and i need the record in the below format:
    where 1, 2, 3 are indate days, and below is intime, out time and the difference of hours per employee...
    How can i achieve it as i have to make report for it... need sql query or stored procedure for the format required.
    Thanks in adv.

    One could argue that the crosstab is best produced in the presentation layer and that SQL Server should only return the raw data. But if you like to hurt yourself...
    First you need an unpivoting query to put starttime, endtime and length in a single row. Since all columns in a row needs to have the same data type, this requires some care.
    We take this CTE:
    WITH CTE AS (
      SELECT t.EmpID, u.n, datepart(day, t.starttime) AS day
             substring(convert(char(23),
                CASE u.n WHEN 1 THEN t.starttime
                         WHEN 2 THEN t.endtime
                         WHEN 3 THEN dateadd(ss, datediff(ss, t.starttime, t.endtime), '19000101')
                END, 108), 11, 5)
      FROM   tbl
      CROSS  JOIN (SELECT n = 1 UNION ALL SELECT 2 UNION ALL SELECT 3)
      WHERE  t.starttime >= @month + '01'
        AND  t.starttime <  dateadd(month, 1, @month + '01')
    I assume here that @month is on the form YYYYMM.
    Before I go on, I like to point out that something you need to consider is what output you want if there are multiple entries the same day. And even worse, what output do you want if the intervals are overlapping? To keep this post down in complexity, I
    will ignore this situation, but I like to stress that unless you have the appropriate triggers and constraints in place, you will have that sort of data in a real production scenarion. Bad data knows how to creep in.
    With the CTE above, we can now pivot the data per day. It is kind of boring to write:
    SELECT EmpID,
           MIN (CASE day WHEN 1 THEN data END) AS [1],
           MIN (CASE day WHEN 2 THEN data END) AS [2],
           MIN (CASE day WHEN 31 THEN data END) AS [31]
    FROM   CTE
    GROUP  BY EmpID, n
    ORDER  BY EmpID, n
    Note: all code here is untested. If you want a tested solution, you need to supply the CREATE TABLE statements for your table and sample data as INSERT statements.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Failure in the SOAP Runtime: Employee Master Data Replication Using IDoc OTM_EMPL

    During employee master data replication from ECC to CfTE, we encountered the following error:
    Unexpected element -el=OTM_EMPL ns=urn:sap-com:document:sap:idoc:soap:messages
    We are using the 1402 WSDL for Replication of Employee Master Data with Employment Details (humancapitalmanagementmasterd2). The payload was not received in CfTE.
    Can anybody please advise how to resolve this issue?
    Thank you.

    Dear Joselito,
    This issue need deeper investigation in customer system.
    Kindly report an incident for SAP Support for further help.
    Regards,
    Rahul Mishra

Maybe you are looking for

  • We already know you're fashionabl​e, but did you know we have stylish tech accessorie​s to help?!

    That's right, if you're like me and you like to accessorize just about everything, you should definitely take a look at our Liz Claiborne line of electronic accessories.  Black leather or colored plastic skins are okay for efficiency, but Liz Claibor

  • Video transfer/copy to PC

    I can transfer photos without problems from my iPhone 4 to my PC.  However, it will not copy/transfer my videos taken with my iPhone.  Is my PC missing some software that will allow me to do this?

  • Synchronization logs

    Are synchronization errors when in cache mode just a way of life. I have never been able to find out what causes them. I see there is a registry entry to suppress them. I thought when I retired Exchange 2003 and went purely to Exchange 2010 they woul

  • FTP basic questions

    I have read the FTP is not really working at the moment, but to be honest I do not know much about web design. What is FTP supposed to do? and in theory is Iweb 09 "trying" to allow the user to make more then one site? I made 2 web pages using a fami

  • Automator says running OK but not displaying quicktime movie

    When I play an automator script that is meant to play a quicktime movie, it reports that it is running correctly but the movie is not displaying.