Report pulling a incorrect data

The terminated empdata report is pulling the incorrect supervisor for our termed employees.  Currently, the program is looking at the System date and pulling in the current chief of the org unit the employee belonged to.  We need it to pull the chief position of the org unit the employee belonged to on the last day he/she was a holder of that position number
Manish

Hi,
If the employee is inactive or is terminated then identify the date of termination and read the infotype record hrp1001 for the terminated date.
Even if the supervisor is transfered the relationship will be present between position and employee at the time of his/her termination and you will get who is the supervisor at the time of termination.
Regards,
Divya

Similar Messages

  • Report Viewer shows incorrect data when viewing pages from last to first

    Post Author: Fmorales
    CA Forum: .NET
    Hello.
    I've made a huge report with Crystal Reports for Visual Studio 2005, and sometimes the Report Viewer show data with errors.
    If I see all pages of my report in order, 1 first, then 2nd, 3, 4... until the last one.... The report is always correct.
    If I see all pages in reverse order, 1 first (shown by default), then last one, then last one-1.... until 2nd.. All years show incorrect, except first one... 
    In an outer section, for every year, there is a final row which shows summarize calculated data. The error consists in that every value of the row is 0.
    It seems that Crystal Report calculates while showing, that's good.. but... Why does it ignore the data before when I see directly the last page?? It forces me to see all pages one by one in ascendant order to ensure data is correct.. I must fix that error.
    The way I calculate data in the problematic summarize row is a bit complicated, but I'll try... Let's focus in one only column (the other ones are similar). The summarize value is a formula which simply show a global value :
    WhilePrintingRecords;
    CurrencyVar margenActual;
    which is being increasing or decreasing along the group:
    WhilePrintingRecords;
    CurrencyVar actual:=actual+CurrentFieldValue; 
    if {PresupPeriodifMesesAux_DS.TIPO} = 'PAGOS' then         CurrencyVar margenActual:=margenActual-CurrentFieldValueelse    CurrencyVar margenActual:=margenActual+CurrentFieldValue;
    DefaultAttribute
    It is placed in the backgrond property of a CrossTab cell in a hidden pre-section... Well.. I know it's a bit complicated, but I have to do that way because it was the only trick I found to make a summarize file before printing data summarized (that's why the line "CurrencyVar actual:=actual+CurrentFieldValue;" appeared in formula). So I also wanted to use this formula to acummulate "margenActual".
    In the inner section I reset the actual value (this value always go fine):
    WhilePrintingRecords;
    CurrencyVar actual:=0; 
    Before end of year I reset the margenActual value:
    WhilePrintingRecords;
    CurrencyVar margenActual:=0; 
    I've tried multiple combinations (using WhileReadingRecords instead WhilePrintingRecords) but data is incorrect or I cannot get rid of visualization page's problem....
    Any idea?
    Thanks a lot

    quote:
    Originally posted by:
    ntsiii
    If you were previously using <mxXML> you WERE using
    e4x.
    So remove that tag, create an instance variable of the same
    name, typed as xml, and in your result handler, do as VarioPegged
    suggests, though I would cast/convert to xml first:
    companies = XML(event.result);
    trace(companies.toXMLString()); to look at your xml
    var xlCompanies:XMLList = xmlCompanies..company; //all such
    expressions return XMLList, never XML
    trace(xmlCompanies.length()); //
    Tracy
    Ok so the ID of the mxXML was being interpreted as an E4X
    variable at compile time?
    I tried changing the name of the ID of the HTTPService call
    from "marketData" to "MDATA" and assigning the variable marketData
    to the result of the HTTPService query, which if I understand you
    correctly should basically make everything work as it was before,
    but it seems to be a problem.
    when I try to run it puts an exclamation point on this line
    <toolbox:TreeMap id="treeMap" width="1200" height="800"
    dataProvider="{marketData}"
    labelField="@cname" weightField="@amount"
    colorFunction="{itemToColor}"
    toolTipFunction="{itemToToolTip}"/>
    That code refers to a SWC file. Apparently it wants
    marketData to be a data provider. If I change the dataProvider
    reference above to "MDATA" (the ID of the HTTPService) the App
    compiles, but I get two errors at runtime:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    ReferenceError: Error #1081: Property @age1 not found on
    mx.rpc.http.mxml.HTTPService and there is no default value.
    What should I change this reference to? It won't compile if I
    use the variable I made for the e4x results and it is reading
    gibberish if I have it read directly from the
    HTTPService....?

  • Incorrect date format in Crystal Report XI

    I have a problem with date in reports if Day in date (yyyy/mm/dd) less than 12.
    Problem is:
    I create a report (through application). If I check the instance of the report created on Crystal Server (in Central Management Console) it's correct. If I try to download (open or save) this report to workstation (through application) Day and month changed places and date become incorrect.
    Any attempts to play with regional settings in workstation did not help.
    What is the problem here and how I can resolve the issue?
    Any advices will be appreciated.

    Hi,
    Ok, here a link for an update maybe it helps
    [Click here|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    Regards,
    Clint

  • Crystal report showing Incorrect data against Bex Query

    I have created Crystal report on top of Bex Query, I have not done any calculations in the report, just dragging structure and key figure in the report, ran for one month, when I compare with Bex Query with same period, it is showing incorrect data.
    I don't know what can be wrong here?
    We are Business Objects 3.1 SP3.
    Thanks,
    Ravi

    HI,
    I would suggest you trace the workflow in Web INtelligence according to these notes:
    Tracing:
    Unix : Note 1235111
    Windows : Note 1260004
    and then post a link for downloading the trace files here.
    regards
    Ingo

  • BOXIR2 FP4.6 -WebI report with merged dimensions: Incorrect data

    Issue: BOXIR2 FP 4.6 -WebI report with merged dimensions: Max value of an object from second query is displayed in the report even when the formula is based on the object from the first Query.
    Data displays properly on BOXIR2 SP2.
    Steps to reproduce.
    1.Use u2018Island Resort Marketingu2019 Universe to create a WebI report.
    2. Create a Query with objects u2018Reservation Dateu2019 and u2018Future guestsu2019 and apply a query filter where the u2018Reservation Dateu2019 is between 1/1/2001 and 31/1/2001 an Run the query.
    3. Add a second Query with the same objects i.e. u2018Reservation Dateu2019 and u2018Future guestsu2019 and apply a query filter where the u2018Reservation Dateu2019 is between 1/1/2001 and 31/12/2001.
    4. Create a report variable MaxDate using the syntax "=Max([Query 1].[Reservation Date]) In Report"
    5. Use the objects u2018Reservation Date Query 2u2019, u2018Future guests Query 2u2019 and u2018MaxDateu2019 variable to create a table in the report.
    You will find the Maxdate column displays Max date values of u2018Reservation Date Query 2u2019 instead of u2018Reservation Date Query 1u2019.
    Could you please advice me on this issue.

    Hi Hiteshwar,
    MaxDate variable returns a maximum of Reservation date  from Query 1 i.e. 1/15/01 which is correct. If you put that variable separately it will display that date correctly but you are grouping it along with objects from the query2 thatu2019s why it is displaying correct value for Query 2 where it finds 1/15/01, but for other values WEBI canu2019t group this value as it refers its formula which contains Query 1 reservation date.
    Hence we canu2019t say it is displaying values from Query 2 it is taking values from Query1 itself  for 1/15/2001 and for remaining values it is taking non matching values from Query 2 with which it is grouping.
    If you put that variable with objects from Query1 it wonu2019t display 1/15/01 but all values reservation date from query 1 contains because it is grouping based on reservation date though it is single max value.
    Even when you write "=Max(Query 2.Reservation Date) formula and use it with objects from query 1 though it contains so many values it matches (Groups) only the values from reservation date from Query 1.and displays only those values i.e. 1/1/2001 and 1/15/01.
    MaxDate returns 1/15/01 as Maximum Date value from Query 1 but Query 2 contains value far more greater than 1/15/01 hense that will be more incorrect data if WEBI displays maxdate as 1/15/01 along with Query 2 objects.
    Here we can avoid this behavior by Custom SQL but MaxDate is a report level variable hence we canu2019t edit SQL.
    If your data contains some duplicate values WEBI will repeat MaxDate value like
    Reservation date     Restaurant           Future_Guests    Total Guests 
    1/1/01                          ABC                         3                   3     
    1/15/01                       XYZ                          4                   8    
    1/16/01                       XYZ                          4                   8  
    By default, WEBI Groups Total Guests based on the Restaurant and Reservation Date, but if we want we can group those values based only on Restaurant which will duplicate Total Guest values for Restaurant XYZ. But you report contains only one dimension with all unique Values we canu2019t group those.
    I hope this is clear.
    Thanksu2026
    Pratik

  • Cs3 Indesign problem - Pulling incorrect data from an .xlsm file.. please help

    Hello,
    I am hoping someone can provide me some answers here, as this problem has stumped me for a couple of days now.
    I am using Adobe Indesign Cs3 - and I have been pulling excel tables into the .indd file with no problem. However, I had to upragde my version of 2003 excel, to the newer 2007 version, which inlcluded having to update the base excel files to .xlsm from their previous .xls versions.
    I did not change anything else with the files.. simply used 'save as' to update the files.
    After the upgrade, I relinked all instances of tables for the .indd file, and all seemed to be fine. Except when I look at anything that was pulled in as a date, is now pulling in 4 years and one day behind what it is written as in the .xlsm file it is being pulled from.
    It doesnt make any sense to me how Indesign can be pulling in figures differently than how they are written in the Excel file it is pulling the data from.
    Hopefully this makes sense, and someone will be able to help me here
    Thanks
    J

    Aye.. the reason I have had to upgrade the excel files is because of the column limit in the .xls format. 2003 excel files will only allow columns up until the IV limit.. and my data now goes past that.
    Since Indesign seems to have a huge problem trying to draw excel data/tables from anything other than 1 worksheet in an excel file, Ive had to try and create an .xlsx or .xlsm file to give me the extra columns I need for my data.
    As for changing my source files.. that would be fine. Ive tried a few things with the dates, but nothing I've tried has worked so far. It reeks of a 1904 date system problem, becuase of the exact 4 years and one day off that indesign is pulling in (if you are familar with the 1904 date setting in excel, you will undertsand what Im saying) but why indesign is pulling in different data than what is visible in the source file is beyond me.
    Example, the source file has a date: July 15, 2010. Indesign is pulling in July 14, 2006.
    It is really bizzare.

  • Sub report using Stored Procedure returns incorrect data

    Post Author: rikleo2001
    CA Forum: Data Connectivity and SQL
    Guys,
    I am using CR 9 in ASP.net application.
    One simple report and one Sub report, sub report is basically linked with Stored procedure accepting one parameter and returns a select query.
    Main report is linked with that sub report using that parameter field.
    Sub report is on demand sub report.
    Now when I execute that main report and click on on demand sub report I am getting Wrong order information.
    Here is out put on main report
    Order 1                                          on demandDetail
    Order 2                                          on demandDetail
    Order 3                                          on demandDetail  
         NOW If I click on Order 3 (On demanddetail link, it displays rondom order details, some time correct on too), I am really stuck and don't know where I am going wrong.
    Please help me to solve this issues.
    Many Thanks

    Post Author: rikleo2001
    CA Forum: Data Connectivity and SQL
    Hi Yangster,
    Thank you so much for your reply.
    On DEMAND Sub report is located in main report, IN DETAIL SECTION
    I am passing Order ID from main report linked to  {?morderid} in subreport under command object, and if I run it in design mode, it works perfectly alright, so problem is isolated to ASP.NET and Crystal report post back method on Crystal report.
    The example I give to you this is a simple example to identify issues in my real application and report.
    My main report contains summary of data base on unique identifier. that summary have 4 differant types of details which has to be on the same report (as Crystal report doesn't provide Nested subreport), so I decided to use 4 subreports on main report and all subreport using Stored procedure command object.(Sub report has it own complex processing requirement to fulfill).
    Please help me with any further ideas? for the sample which I presented to you this is only using one SP on main report with a simple processing.
    Many Thanks

  • Report Printing Error - No Data

    I have a simple form that passes a variable (month and year) to a page item and then calls a package function from an application process. The function populates a temporary table with the desired report data. The application then branches to a Report Query to retrieve the data from the temporary table and uses an rtf file to create the report.
    The problem is that there are times when incorrect data is passed or no data at all. This usually occurs at the start of a new session. The application starts, you enter the parameters of the report and submit, but the initial report is blank or has parameters from a previous session. If you run the report again the following reports come out correct.
    Any ideas why this occurs? I'm guessing it has something to do with the page variables being used for parameters or the temporary table.

    Hi Denes and Scott,
    sorry, only when i select the values for all the 4 select list
    csv is working. default values are not restored in the session.
    How to restore the values in the session state after pressing the search button.
    i have set the default values for the select list and the query is working fine
    but when i see the session from the toolbar the default values are not present.
    but when i see the debug from the toolbar the values are set properly.
    @Denes
    In your example the session is showing the values of the select list and check box
    The same way i did, but in "session" values are not seen so again no data found is seen when printing csv .
    Bye
    Srikavi

  • BW Report Performance, Accuracy of Data

    Hi,
    Can someone help give explanations to following questions :
    1.) Does BW Report show how current is my data?
    2.) What are the reason why the performance of my BW Report is slow?
    3.) What are the reason why my BW Report is have missing data?
    4.) Why is my BW Report have incorrect data?
    5.) Why doesnu2019t my BW Report Data match SAP R/3 Data?
    Thanks,
    Milind
    Locked - duplicate post and very generic questions
    Report performance and data quality
    Edited by: Arun Varadarajan on Apr 9, 2010 2:07 AM

    Hi,
    1) Does BW Report show how current is my data?
    Yes, Last refresh of your data stat in query Properties.Run report and check the details for last refresh.
    2.) What are the reason why the performance of my BW Report is slow?
    Reason could be:
    Poor Design
    Business Logic (Transformations)
    Nav attributes used in the reports
    Time dependent MD
    Aggregates missing
    Data Vol in the Cubes or DSO's
    http://wiki.sdn.sap.com/wiki/display/BI/SomeusefulT-CodeforBIperformancetuning
    3.) What are the reason why my BW Report is have missing data?
      Check the source system data and check mapping in transformation with all the business logic.
    4.) Why is my BW Report have incorrect data?
    Depedns if you are loading from FF or R/3 or your are cleansing the data once it enters in to BW.
    5.) Why doesnu2019t my BW Report Data match SAP R/3 Data?
    Check the Source system data in RSA3 and pick one Document and run the same document in BI.
    Thanks!
    @AK

  • Report on Contact attached data

    Hi Experts,
    I am working on CRM 2007 Employee Interaction center. we have a requirement to pull call attached data into crm and later pull it to BI from crm to make reports out of it.
    So can anyone share a doc on how to pull contact attached data(CAD) to CRM(config steps) .
    Thanks in advance.
    Sudhakar

    Hi Sudhakar,
    Call-attached data is optional and comes in addition to data already delivered by the ICI-certified third-party CTI solution. This solution shoud already deliver on each incoming call - out of the box - caller number (ANI), which can be enough to have caller automatically identified.
    In case you need additional information to help identify caller, or to gather information that caller has keyed in on his phone during an automated dialog (Interactive Voice Response), then you have the possibility to transfer this extra information from the CTI solution to your SAP CRM system via ICI interface.
    What should appear in the CAD is something you have to define with the CTI vendor. Have you checked with your CTI vendor if they don't already have an analysis tool of IVR dialogs ?
    Let me present the example of what we did during an integration with a Cisco CTI, used in a service scenario where callers refer to service requests (creation, inquiry):
    We agreed with the CTI vendor that they set-up an IVR script where caller gets asked if he is calling about an existing service request or not. If yes, he is asked to enter the number of the service request. If not, he is asked to answer 2 questions that will already help the agent who gets the call to better qualify it. Relevant answers are also displayed in the IC alert area; they are clickable (e. g. to directly navigate to service request).
    We then agreed on following xml tags:
    <ItemAttachedData>
      <Application id="SAP-IC">
        <CV01>+321234567</CV01>          caller number (CLID)
        <CV02>+327654321</CV02>          called number (DNIS)
        <CV03>1</CV03>               OPEN TICKET OR NOT
        <CV04>7777777</CV04>          TICKET #
        <CV05>1</CV05>               ANSWER TO QUESTION 1
        <CV06>1</CV06>               ANSWER TO QUESTION 2
        <CV07/>
        <CV08/>
        <CV09/>
        <CV10/>
      </Application>
    </ItemAttachedData>
    In SAP CRM customizing, you can specify an XSL transformation to postprocess this CAD. It is interesting to note that SAP's implementation of the XSLT processor allows call of ABAP methods, where you can easily code evaluation of CAD, and even save CAD to a custom DB table.
    If you want to learn more about XSLT and ABAP, I recommend following book; it is a good investment!
    http://www.sap-press.com/products/XML-Data-Exchange-using-ABAP.html
    Hope I made this topic clearer
    Kind regards
    Walter

  • How to process reports with two different date fields

    Morning all,
    This question is somewhat similar to what I asked few days back. I created two different reports for two different departments (Credit Control and Free of Charge Control).
    These two reports pull data from two different date fields and has different status check ups.
    Few days back my director requested me if he can have both reports in one report. That is when I asked question from all of you regarding two reports.
    Anyhow, that was created by implementing two sub reports however, the director asked me to combine the two different reports into one in such a way that the output records should be added up with each other hence one single report with all combined data of Credit Control and Free of Charges (not two sub reports in one report).
    The problem here which I am getting is that, both reports uses two different date fields. I can live with two different statuses as that can be easily done within formula/RT however how to create a report with Report Selection Formula condition which looks in both date fields and produces results accordingly?
    I have tried this by not putting any condition in report selection formula and ran the report, it produced total results from past 6 years.
    Any ideas how to produce combined report which has two different date fields?
    Many thanks in advance
    Regards
    Jehanzeb
    What I

    Charliy,
    No the both dates are from two different databases, tables and fields. The Credit date field is from KLAB database under max table where as the FOC date field is from SAE database under maxmast table. Klab date is under credit2 table where as foc date is under order header table.
    So its more like this:
    Klab->Max-Credit2--->Credit_date
    Sae->Maxmast->Order_header---Date entered.
    two dates totally different tables, dbs
    however, I will try your idea too and see if that works.
    Regards
    Jehanzeb

  • Report Total Wrapping/Missing Data in CSV FIle

    PROBLEM:
    We have an application were the totals in the report region will wrap when the total is negative and formatted with a negative sign preceding the number (e.g. -43,567.99). The wrapping results in users being confused to wether or not a value is negative or positive. We want all non-numeric columns to wrap so that the user does not have to scroll horizontally.
    SOLUTIONS TRIED
    1. Set the CCS Style attribute of a column to white-space:nowrap.
    The value of CCS Style is inserted into span tags associated with a column value which in turn elliminates the wrapping in the detailed area of the report. However, I have no found a way to insert this type of span tag to the Total of a report region.
    2. Modifying the format mask to present negative numbers in brackets (e.g. <43,567.99>).
    This solves the wrapping issue . . . however results in a problem when outputting the report to a CSV file. When outputting to a CSV file the negative number that have been formatted using bracket are not included in the output. I believe that it interprets them as html tags <> and therefore eliminates them from the output.
    3. Create duplicate amount columns in the report and apply a number format that places a negative sign in front of negative numbers and make this column display conditionally for CSV output only Then change the original column format mask to use brackets. Although this will work it seem a bit clunky, results in unnecessary pull of excess data and will require a lot of re-work/re-testing of our system.
    REQUEST
    Does anyone have any ideas on how I might either:
    1. Add white-space:nowrap to the totals of the report region
    2. Overcome the exclusion of negative numbers containing brackets from the CSV output.
    3. HAve another approach to resolving this wrapping issue.
    Thanks,
    David

    According to this article http://www.cs.tut.fi/~jkorpela/html/nobr.html this is a known wrapping issue with Internet Explorer. Wrapping will occure when the following characters exists -()[]{}«»%°·\/!?. The author of the article suggest that the only way around this issue is too place -a or use white-space:nowrap in a [td] or [tr] tag.
    This would suugest that I need to find a way to add html to the total column in the htmldb report . . . which I don't believe I can do . . . Does anyone know of a way to insert html into these total columns similiar to how we can be done using the CCS Style or HTML Expression attributes.
    Thanks,
    David.

  • Unable to stop incorrect date exports

    How do we set up a form in Adobe Acrobat XI that allows dates to be formatted a certain way (mmm/dd/yyyy) and exported in the same way to Excel and always be recognized as a "proper" date in Excel?
    Currently the following does not work (Attempt #1):
    Set up a field; Set the format category as date; Set up a Custom format of "mmm/dd/yyyy"
    Create a distribution file
    When users fill out the form if they type in an incorrect date, eg., "August 27 2013", the form automagically shows the date on the PDF as "Aug/27/13" - Great!
    When the users submit the form and it's brought into the response file the dates are shown in a default date format of mm/dd/yyyy - Fine, once the form owners understand this
    When the form owners export the information the data exported is the same as the original users entered it, not as it was automagically formatted to. For instance, if submitters originally entered "August 27, 2013" then that's what goes across to Excel. And some of these formats Excel doesn't know how to convert. - Understandably frustrating for form owners
    Attempt #2: As a workaround we set up special formatting that has a mask of "AAA/99/9999". This at least provides forces the users to use the same formatting, but is confusing the submitters when they need to enter dates from 1-9 and we've also found that the conversion of this format to a date in Excel doesn't work, but at least it's consistent! Javascript was also added to force users to use specific month abbreviations.
    d = new Date(event.value.replace(/-/g, " "));
    if (!Date.parse(d)){app.alert("Please enter in a proper date.\n\nThe month abbreviations are: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec");}
    Attempt #3: The last attempt was to continue to use the set up as Attempt #1, but to also use the javascript from Attempt #2. The theory being that if a user entered in "August 27 2013" the javascript would complain. Alas, the javascript appears to run after Adobe automagically does its date format conversion.
    Does anyone know how to get around this or have any other ideas to either enforce a usable date format or have Adobe export the dates as they've been automatically formatted to? We've tried to find a way to turn off the automatic date conversion that Adobe's running, but haven't found a way yet. Another option seemed to be to allow a masking that allowed for optional characters (so that the "0" wouldn't be needed for the dates 1-9) but there doesn't seem to be one.
    Thanks in advance!

    Since there was no clear way to ensure that the date formatting was correct prior to exporting, we're going to get the respondants to use drop downs to ensure the formatting is correct. Not the most convenient for the users though as they're accustomed to being able to type in the values to select it (e.g., for the date of 23 they would expect to enter 2 then 3 for 23) based on other applications, but the Adobe pull downs don't "group" what's been entered (e.g., 2 then 3 will select 30, not 23) and so it will take them a bit to get used to it. I still can't believe that Adobe wouldn't simply export what it's been formatted to though... after all that's what we set the form up for.

  • Crystal Reports not displaying all data

    We have a simple report pulling from 3 tables on a sql server. For some reason, data from one table does not fully display. The table is called Referral, and we have some clients that have a Referral record tied to them. Out of a report of 20 records, we will have 3-4 that won't display the referral data (even though I can see it in the database), but the other 16 records will. If I go into the database, and change the data on one of the non-displaying referral records and save, it will start displaying. If I then change the data back to the original, it will also display. Being new to Crystal Reports, I don't know if this is a Crystal issue or a problem at the data source, but thought I would put it out here in case someone is familiar with this problem. Our Crystal Reports version is 2011.
    Thanks.

    Hi
    This could be either table join problem in your crystal reports designer or when you are linking the tables it is unable to match the records.
    -- Go in Crystal reports designer and refresh the report and go in Database Menu--Show SQL query and copy the SQL and run the same at database end and check.
    Also you said you are able to see all records at database end, if you are extracting data through SQL you can very well copy that SQL in crystal reports under 'Add Command'  option and create your report.
    You will find Add command option under your Database connection while creating a report.
    Thanks,
    Sastry

  • XL reporter pull month name

    Dear all,
    Can XL reporter pull out period name as "Nov 2007" for date range 01/11/2007- 30/11/2007 instead of period code "200711"?
    Regards
    Thomas

    Hi
    I did it as follows
    1) =MONTH(RIGHT(ixParam("PER"),2)) in cell A1
    2) =YEAR(RIGHT(ixParam("PER"),2)) in cell A2
    Format cell A1 - Custom Type MMM
    Format cell A2 - Custom Type YY
    Then where you want the date to display - =Concatenate(A1,A2)
    Daan

Maybe you are looking for