Data Display in HR reporting

Hi all,
I have one report in HR.
When an employee executes that report he only sees data related to him...
If a manager executes the same report, manager has to see his data and other employees'(who report to him) data...
How can we achieve this...
Srinivas

You could have a hierarchy for the same and have authorizations on hisrarchy nodes to display relevant data...

Similar Messages

  • Date display in a report

    Hi to all
    I am working in  PA module in HR ,In my Report i have to count total number of trainee and lateral in given Date range that <b>From date to To Date , Before that i have to calculate a Total Employee Strength before one day of From date</b> , suppose user enter a 1st of April 2007 to 1st of jun 2007 , so Employee strength should be calculated on the 31march 2007, for that i have written custome exit , now i am getting a value also , for Display that date have a created a text variable with customer exit , but i am not able to get that date , it should be display strength as on 31march2007 , instead of it is displaying Strength as on 00.00.0000.I am giving a cod also
    ls_range-sign ='I'.
        ls_range-opt = 'EQ'.
        ls_range-low = 'EB1A'.
        append LS_Range to e_t_range.
      WHEN 'ZPA_DATE'.
        if i_step = 3.
          READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'ZPA_DATE'.
          IF SY-SUBRC = 0.
            ZTEST = L_S_VAR_RANGE-LOW.
            ztest1 = ZTEST - 1.
            export p = ztest1 to MEMORY ID 'VALUE'.
          ENDIF.
        endif.
      WHEN 'ZFRMDAT'.
        if i_step = 3.
          ls_range-sign ='I'.
          ls_range-opt = 'EQ'.
          ls_range-low = ztest.
          append LS_Range to e_t_range.
        endif.
      when 'ZPA_CDAT'.
        if i_step = 3.
         ztest1 = ztest - 1.
          ls_range-sign ='I'.
          ls_range-opt = 'EQ'.
          ls_range-low = ztest1.
          append LS_Range to e_t_range.
        endif.
      when 'ZPA_VAR3'.
       if i_step = 3.
         ztest1 = ztest - 1.
        import p = ztest1 from memory id 'VALUE'.
        concatenate ztest16(2) ztest14(2) ztest1+0(4) into date separated by '.'.
        move date to temp.
         move 'Hello' to temp.
        ls_range-sign ='I'.
        ls_range-opt = 'EQ'.
        ls_range-low = temp.
        append LS_Range to e_t_range.
       endif.
    Please help me to come out
    Thanks

    Hi
    I think it is the problem in the exit which u have written. Do u have abap knowledge?
    Try to debug the routine once
    Khaja

  • Data display error in reports

    Hi,
    I've a serious problem. I've developed a new database.I've imported a .dmp backup file into my user from my previous database which was same although only certain new options have been added in the new database. The problem is I'm able to view all data but when i try to retrieve old data through reports, they aren't being displayed.If i enter any new data, they are displayed through reports but not the old data that were in the .dmp files.
    What could be the error?

    What happens If you try to run the same query from your reports in sql?

  • Data displayed on the report in disc plus when used "GROUP BY"

    Hi,
    I have created a cusom folder, in which the query has group by on 3 columns. So the report in Discoverer plus is showing as
    Accounting Period     Market      Account     name,     Total billed
    200812     xyz     12345     xxxxx,     $12,345.00
              yyyyy     $12,345.00
                   zzzzzz     $13,985.00
                   aaaaa     $18900.00
    200812     abc     12345     xxxxx,     <$56,789.00>
    200901     xyz     12345     xxxxx     $12,345.00
    200901     ghf     12345     xxxxx     $12,345.00
    200901     abc     12345     xxxxx     <$56,789.00>
    200902     xyz     12345     xxxxx     $12,345.00
                   qqqqq     $12,345.00
    200902     abc     12345     xxxxx     <$56,789.00>
    but the user want to see data in each row, all the rows should be populated.
    Is there a way I can show that in the report?
    Thanks,
    Srini
    Edited by: user10593912 on Jul 9, 2009 11:11 AM

    Hi,
    You need to change the sort on Accounting Period Market from a group sort to a normal sort.
    Rod West

  • Udf Data is not being displayed in the report

    Hi all,
    i have designed one report in which i am displaying some udf fields along with other system fields.
    i have not used any selection criteria.
    when i run report it doesn't display udf data of some random rows in the report even if data is peresent in that udf field.
    If i open sales order and press 'Shift-F2'  and update the document and now if i run report then i get that udf value in the report.
    why this happening. data is there in the udf field only its not displayed in the report with out updating the that udf.
    pls suggest some solution.
    regsrds,
    Chetan.

    Hi Ashish,
    I ran the "ZPS/!ZPS" in RSRT where ZPS is the infoset name. In Dev, it displayed the values. In QA, it displayed the below messages:
    ECharacteristic 0TCAKYFNM does not exist. Check authorizations
    WThere are calculated elements. These results are bracketed [  ]
    and below that, it displayed the values for Number of records. But, it has not displayed the values for the other figures.
    Does this has any impact in QA.
    Thanks & Regards,
    AVN Rao.

  • Display data in smartforms using report

    hi,
    i want to display data from smartform using report.
    i have a preview buttons in report when i select preview buttons displays in smarts
    regards
    amit

    design the smartform as per ur need and get  the function module generated by smartform and pass it to ur report programas below..
    case sy-ucomm.
    when 'smartform'.
    pass the f.m that is generated by system in smartforms
           CALL FUNCTION '/1BCDWB/SF00000265'
        EXPORTING
        ARCHIVE_INDEX              =
        ARCHIVE_INDEX_TAB          =
        ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         =
        MAIL_APPL_OBJ              =
        MAIL_RECIPIENT             =
        MAIL_SENDER                =
        OUTPUT_OPTIONS             =
        USER_SETTINGS              = 'X'
          DATE_L                     = s_fkdat-low
          DATE_H                     = s_fkdat-high
          PLANT_L                    = s_werks-low
          PLANT_H                    = s_werks-high
      IMPORTING
        DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            =
        JOB_OUTPUT_OPTIONS         =
        TABLES
          IFINAL                     = ifinal1[]
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endcase.

  • Date display in report

    Dear all,
    In SAP we have date in the dd.mm.yyyy format in the data whereas the Bi report displays date in the mm.dd.yyyy format. - how can this be corrected to display the date in dd.mm.yyyy format in BI.
    Regards,
    M.M

    Hello,
    Could be one of two problems.
    Your date format in user profile System>User Profile> own data Defaults tab Date format set incorrectly.
    Or the regional and language settings in Windows.
    Regards
    Peter

  • How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?

    I'm creating reports in Crystal XI.  The information being displayed in the reports comes from data tables where the text is formatted in HTML.
    I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser.  Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
    Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags.  Here's that workaround:
    <!--
    stringVar TableName := ;
    TableName := Replace (TableName, "<ul>","<br> <br>");
    TableName := Replace (TableName, "<li>", "<br>   &bull; ");
    TableName := Replace (TableName, "</li>", "");
    TableName := Replace (TableName, "</ul>","<br> <br>");
    TableName := Replace (TableName, "<a", "<u><font color='blue'");
    TableName := Replace (TableName, "</a>", "</font></u>");
    TableName
    -->
    QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports?  If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?

    Hi Steven,
    To display html text in Crystal Reports follows these steps.
    1. Right click on the field and select Paragraph tab.
    2. Under 'Text Interpretation' select 'HTML Text' and click OK.
    I have tried using the way,but it never works.So reply me if there is any way to solve the issue

  • Displaying date/time in the report of last updating data?

    Hi,
    I have produced a report over a multiprovider. The multiprovider is built up from tow cubes. The data is being updated to one cube each hour and to the another cube one time daily.
    The date/time that display in the report is for the last updating data of the cube that updating one time daily.
    I want that the date\time be updated each hour, in another words, to display the date\time of last updating data to the second cube.
    Any suggestions?

    Hi Mohamad,
    Please read through this discussion for a solution:
    ROLLUPTIME of a multiprovider
    Hope this helps...

  • Displaying HTML data in the xml report

    hi
    can anybody help me out on how to display the HTML data in XML report, for example the data in the table is in the following format with HTML tags attached to it
    *&lt;b&gt;Test Good display as normal text&lt;b&gt;*
    +&lt;i&gt;Test Italicized &lt;i&gt;+
    i would like to display the above data in the XML report as a following with "Test Good display as normal text" as BOLD and "Test Italicized" as Italicized
    Test Good display as normal text Test Italicized
    if anybody came across similar issue please help me out.
    Regards
    Hemi.

    Hi..
    Check out this link..hope this helps..
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html

  • SSRS tablix not be visible when no data is selected to display on the report

    In an SSRS 2008 r2 existing dashboard application, I display a tablix (as a header) based upon the following selection criteria:
    =iif(Len(First(Fields!CustomerNumber.Value, "Main")) = 0, true, false).
    The CustomerNumber value is passed between the various SSRS reports in the dashboard application. There are times when the Fields!CustomerNumber.Value is selected for a particular report and there is no detail data to display. What happens with the existing
    reports, is the space that would be allocated for the tablix is shown.
    When there is no data to display, there is a NoRowsmessage that can be displayed on the report.
    Basically when there are no detail records to display on the report, I would like the tablix report header not to display when there is no detail data for the report.
    Thus can you tell me how to code the tablix report header not to display when there is no detail data?

    Sorry, I overlooked Katherine's simple solution, partly because the header doesn't go away, it is just replaced with something that cannot be differentiated from the report background. Keep in mind that the space the tablix is in is still occupied by the
    tablix as you can see below:
    Sample report with no data and an empty rows message of "  ".
    Above is the same report without a no rows message but with the header row hidden using thisformula: =IIf(Count(1)>0, false, true). You can see that the space that the header normally occupies is collapsed away when hiding the header whereas the spaces
    ("  ") occupy that space when using the no rows message.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Data display grid font selection

    Does anyone know how to change the font that's used on the "Data" tab when displaying the content of rows in a table?
    I'm trying to view chinese characters which are stored in UTF-8 unicode in the database. I have all the necessary fonts loaded on my machine and the correct NLS_LANG settings.
    I can see western characters, arabic, russian, greek OK in the data-grid, but not chinese or other far-eastern languages. Instead I see little squares instead of the symbols.
    I've checked for font setting in Tools -> Preferences but the only setting I can find is under the "Code Editor" section. This is set correctly (to Arial Unicode MS) and if I copy the "little squares" from the data grid and paste them into a code-edit tab I see the characters correctly displayed.
    So it seems that the "Font" setting for the code-edit tabs isn't used by the data-display tabs.
    Is there a way of making both code-editor window and data-display tab use the same font?

    i would create a standard report.
    i presume the air pressure and humidity are from one field? if not create a formula to display that.
    create groups
    1- a/p humidity field or formula
    2- time
    3- ref-measure- error
    not sure if they are the same field or different.
    you can then place your data in the groups (formulas calcs etc)
    then underlay the groups so they appear on the same line
    then draw boxes around them.
    hope this helps

  • Unable to refresh the data on a cached report.

    Hi,
    I am using the CR4E component on a Tomcat server.
    I am having real difficulty to getting a cached report to refresh. Basically when the report is first displayed it is okay, then some further data is added to the database, and when the report is redisplayed (with the same parameters) it is still displaying the cached information. This is specific for the subreports. I basically always want my reports to refresh when they are displayed.
    I know this must be simple but I just can't get to work, or find any example code.
    I have tried a couple of options:
    Option 1:
    clientDoc.open(rptName, OpenReportOptions._openAsReadOnly+OpenReportOptions._refreshRepositoryObjects);
    This said it could not be implemented before loging in....and the documentation says this only work for the RAS.
    Option 2:
         CrystalReportViewer reportViewer = null;
         try {
              HttpSession session = request.getSession();
              reportViewer = PrepareSignetManifestReport(aryCrates, dateFrom, dateTo, dateSent, session, serContext, false);
              //if (session.getAttribute("refreshed") == null) {
                   reportViewer.refresh();
                   //session.setAttribute("refreshed", "true");
              reportViewer.processHttpRequest(request,response,serContext,out);
         finally
              if (reportViewer != null) {
                   reportViewer.dispose();
    When I add the 'reportViewer.refresh()' i then get the following error:
    "Some parameters are missing values "
    Any pointer in the right direction would be gratefully received.
    Thanks
    Matt.

    Hi,
    On looking into this issue it is just the sub-report that does not refresh when loaded from the session. The main report is okay. We are using JDBC with Oracle 10g.
    Even if I change the parameters the main report refreshes okay, but the subreport doesn't.
    Is there a work-around for this problem?
    My code is pretty much based on the standard code generated by the system in the CRJavaHelper class so I am confident that my code is okay.
    I really appreciate some help here as I have a client not trusting their continuity because it doesn't display in the report and I don't want to have to close the report each time because of the performance. I have tried reseting the parameter fields
    Thanks
    Matt.

  • Regarding planning data not available in reports

    HI SdN,
    In my reports I'm populating actual data and planning data.But as of now we have only actual data display's in our report.what we are doing is we are populating data in BW and analysing on the base of the product cutomer (compounded) combination which is coming from r/3.(groups and sub-groups which we are entering at r/3 )
    So our report shows us on the base of groups and sub groups which we are entering at r/3 level.That all is working  fine but our customer wants that planning data is also displays in the reports as of now it is showing not assigned values in report.
    so my question is ,To display planning data for group and sub groups provided by r/3 on the basis of product and customer (though other reports are showing planning data)  , I know that I need to include this compounded infoobject in bps cubes but shall I also need to consider this in the BPS functions?I'm confused here and not sure about this.
    And is that mandatory to have that componded infoobject mapped from underlying ods for customer.Because as of now planning cube is only updated with BPS functions?
    Could you pls advice?
    R

    Hi Rubane
    If the actuals and planning data are in seperate cubes then you will need to create a multi over both cubes to report on them together. However your BPS planning must be done against the same infoobject for you to be able to report on them together. If you are planning against the same IO the groupings from R3 will apply.
    Also include the infoobject 0REQUID as a characteristic restriction and restrict it to variable 0S_RQMRC (Most Current Data)
    Josh

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

Maybe you are looking for

  • How can I get the scroll bars to be more visible/contrasting?

    The scroll bars are difficult for me to differentiate from their background. Can I change their colour or darkness to make them more visible?

  • How to copy line item details in Service PO from service contract

    Hi Team, i am using service contract with account assignment U and when i am creating a PO with reference of contract then in PO at Item Overview is coming data ok, but at item details in services there is not picking data automatically from contract

  • 'Profile Server Not Available' error when trying to access Profile Manager

    Hello all, I'm totally, totally new to OS X Server, but I have a class full of new iMac's and MacBook's that I want to be able to manage all in one go. Don't really mind about File Sharing, access from anywhere in the world etc. but I just want to be

  • All About ADAPTER

    Dear All, Please tell me about ADAPTER in XI -Is it a tool/program? -We require to purchase it seperately? -how does it work? thanks, RP

  • Home File Sharing

    I am at uni and share a network with a lot of people, even though I have file sharing turned off on my computer and home sharing turned off in Itunes 9 I still get random people's libraries under the 'home sharing' section...