Cumilitave salary for next hire date

plz help me regarding this
In a single select query display ename, job, sal, hiredate, no of days between next hire within the department.
thnak you

Homework?
How about showing us what you've tried?

Similar Messages

  • Report to get next inspection date from msc2n

    Dear All ,
    I am trying to create a report for materials batches and the next inspection dates in msc2n . Is there a report of this type available in standard SAP ?
    Secondly
    From msc2n it gives the field as QNDAT in table MCHA . However I notice that when the dates in msc2n are manually changed or many other times the fields QNDAT in MCHA are completely blank . I have how ever noticed that the field QNDAT in MCH1 gives all the next inspection dates . How ever it is not mentioned in msc2n > How could this be explained .
    Ram~

    Hello Ram,
    No there is no such STD trx available that can give you your desire list for 'Next Inspection data'.
    Regards,
    Shyamal
    Edited by: Shyamal Joshi on Dec 23, 2008 11:48 AM
    Yes As correctly suggested by Ashok the table is MCH1, from where you can find all the details you need. along with the changed (Updated record) through MSC2N.
    Edited by: Shyamal Joshi on Dec 23, 2008 2:24 PM
    Dear Ram,
    BMBC will not help you to see the 'Next Inspection Date' in list form for all the batches in one screen. You will need to go to the Batch detail Change-Display for each batch to meet the requirement. While the table MCH1 is 100% satisfactory one for your requirement.

  • Report to pull next call date for all equipment

    Hello,
    Is there a report in SAP to get all the next call date for all of our equipment within our company?
    Thanks

    hi
    in IP24 use the multiple selection to select all the equipment and in the selection screen under maintenance dates select maintenance status as W/ and execute system will display the next planned date for the equipment selected -But with all the call object which are on hold
    regards
    thyagarajan

  • Next release date for C++ Parser- URGENT-

    What is the next release date for the C++ Parser??
    The bug in 2.0.3.0.0 regarding broken DOS filenames is preventing us from shipping a build to Apps that is required next week.
    Otherwise what is the most recent C++ build that offers:
    a) A fix for entity reference parsing(&apos,&quot)correctly.
    b) DOS filename compatibility(i.e c:\cleo.xml).
    This is very urgent so your response is much appreciated.
    null

    It is scheduled to be released by the end of this week.
    Oracle XML Team
    null

  • To get Current,Last, Next months data for Efashion report

    To Create a report with the user input prompt on Year and Month:
    If user select year as 2005 and month as 2 (Feb), revenue should be displayed for previous Month (Jan) and next month (March) of selected year.
    Sample output should looks as below.
    Year : 2005
    State
    Prev Month - Jan
    Current Month - Feb
    Next Month - Mar
    AAA
    $100
    $100
    $600
    BBB
    $200
    $400
    $200
    CCC
    $300
    $300
    $300
    I have created dimensions in universe premonth=(@Select(Time period\Month) -1) & Nextmonth=@Select(Time period\Month) +1) & taken 3 dataproviders from efashion universe .these are not working for year ends

    Hi
    solution found, taken 3 data providers & added below filters for 2 &3 data providers
    DP2
    @Select(Time period\Year)=iif(@Prompt('Enter Month','N','Time period\Month',,)=12,@Prompt('Enter Year','A','Time period\Year',,)+1,@Prompt('Enter Year','A','Time period\Year',,))
    @Select(Time period\Month)=iif(@Prompt('Enter Month','N','Time period\Month',,)=12,1,@Prompt('Enter Month','N','Time period\Month',,)+1)
    DP3
    @Select(Time period\Year)=iif(@Prompt('Enter Month','N','Time period\Month',,)=1,@Prompt('Enter Year','A','Time period\Year',,)-1,@Prompt('Enter Year','A','Time period\Year',,))
    @Select(Time period\Month)=iif(@Prompt('Enter Month','N','Time period\Month',,)=1,12,@Prompt('Enter Month','N','Time period\Month',,)-1)
    Thanks

  • Query Hire date in a PCR

    Hi,
    Could you help me in querrying hire date in a PCR.
    I need to differentiate b/w EEs who joined from 1st-15th of a month to the ones who joined in the later part of the month.
    Any help is highly appreciated.

    Hi,
    what about this quick idea - use VARSTREDAY in PCR rule and make 01, 02, . . . .31 as a result from query. Continue with wtriting the rows and choose some time type. Store the value 1 into the time type. Then put a HRS query with the chosen time type before the VARST - it will prevent the rule to check itself over again. Store the time type into SALDO. If you generate qoutas according to some time types, then the time type can also be stored in the PCR rule with Varst. Then you need to solve roll-over if the qouta needs to be generated the next year.
    ex.
    HRS=BZZZ1
    HRS?1
    = nothing
    VARSTREDAY
    01 HRS=1
    01 ADDDBZZZ1
    01 HRS=1
    01 ADDDBQBAS (time type for qouta base)
    It is not some smooth solution but it should work.
    Cheers
    xDracula

  • Query to return next 7 dates

    Hello,
    is there a way to return the next 7 dates just using a query... for example, I need a query that returns:
    select (I don't know that put here) from dual
    Date
    2012-10-05
    2012-10-06
    2012-10-07
    2012-10-08
    2012-10-09
    2012-10-10
    2012-10-11
    If possible, I would like to know if there's a way to pass a date and based on it, the query returns the next 7 dates based on the passed date... for example:
    select (I don't know that put here) from dual where date > '2012-10-15'
    Date
    2012-10-16
    2012-10-17
    2012-10-18
    2012-10-19
    2012-10-20
    2012-10-21
    2012-10-22
    I really appreciate any help
    Thanks

    Sven W. wrote:
    I don't like connect by. That is fair enough, it is just your opinion.
    It is slow and shouldn't be used for real production code.This however, is absolute garbage.
    Changing the query to return 10,000 dates takes a little over 1s
    SQL> select date '2012-10-15' + level - 1 from dual
      2  connect by level <= 10000;
    <snip>
    28-FEB-40
    29-FEB-40
    01-MAR-40
    10000 rows selected.
    Elapsed: 00:00:01.26>
    In your case you can simply do this
    with inputdata as (select to_date('2012-10-15','yyyy-mm-dd') startday from dual)
    select startday+1 from inputdata union all
    select startday+2 from inputdata union all
    select startday+3 from inputdata union all
    select startday+4 from inputdata union all
    select startday+5 from inputdata union all
    select startday+6 from inputdata union all
    select startday+7 from inputdata ;
    Running your alternative for 10,000 dates took quite some time to create, needed to be put in a file to execute and has been running now for about 15 minutes
    select date '2012-10-15' + 1 from dual union all
    select date '2012-10-15' + 2 from dual union all
    <snip>
    select date '2012-10-15' + 9996 from dual union all
    select date '2012-10-15' + 9997 from dual union all
    select date '2012-10-15' + 9998 from dual union all
    select date '2012-10-15' + 9999 from dual union all
    select date '2012-10-15' + 10000 from dual
    ;It is much more code, takes more time to write, is proven to be incredibly slow and shouldn't be used for real production code.
    Edited by: 3360 on Oct 5, 2012 9:52 AM
    Sorry it took only 12 minutes, it seemed a lot longer when waiting for it
    29-FEB-40
    01-MAR-40
    01-MAR-40
    02-MAR-40
    10000 rows selected.
    Elapsed: 00:12:01.35

  • HR-PA Personnel Administration Adjusted Hire date not in std extractor?

    All,
    Does anybody know if the dates in PA0041, like adjusted hire date, Original hire date, Severance date, etc are available in extractors?  I have been doing BW for some time, but am new to HR.  I don't want extend the 0employee data source with these dates unless I have to.  Any advice would be greatly appreciated.
    Kind Regards,
    Chris

    Savornin,
    Thank you very much for your reply.  It was very helpful to me.
    Kind Regards,
    Chris

  • Next inspection date is not updated in batch / prposed at the time of UD

    Hi
    I have configurted the system for retest of batches, the system successfully creates the inspection lot but when does not propose next inspection date at the time of UD nor it updates in Batch Master.
    I entered inspection interval days in QM View, the system entered the first inspection date correctly. Also Batch Restriction is working properly.
    Kindly help.
    regards
    Mobashir

    Hi Shaymal & VRMP
    I have checked the system, the only problem I am facing is that the system does not show next inspection date dialog box at the time of UD where I can see the next inspection date being set by the system
    Say, I use QA07 (Triggered Manually) on 19.jan.08. The Next inspection date was 26.jan.08 and Initial Run in Days was 10 (days), the system created inspection lot on 19.jan.08 successfully. At the time of UD it automatically set 29.jan.08 as the next inspection date (i.e. 19.jan.08 + 10 days)  istead of 06. Feb.08 (i.e. 26.jan.08 + 10 days) without showing dialog box / suggesting next inspectino date. 
    regards
    Mobashir
    Edited by: Muhammad Mobashir on Jan 19, 2009 7:11 AM

  • How to Get Previous Month Salary for a particular employee?

    Hi
    I am developing a report to get the Net Pay Difference from Previous month.
    I am using logical database pnp.
    My question is how can we get the last month (Previous from current selected month) salary of perticular employee. I read the thread which is related to this but I can't understand the reply's. I think it is due to that I am new in ABAP and my experience in only 22 days. If someone reply with code example then it will more helpful for me.
    Also If you can tell me the table name from where we can get the salary of particular month of particular employee then it will also helpful for me.
    Regards
    Iftikhar

    Hi,
    Payroll data is stored in cluster tables.
    You can either use macro for retrieving the data or Function module.
    1. Use FM -CU_READ_RGDIR for getting the RG directory values.Pass  
      employee Number and molga.You will get all the sequence Numbers from this
      FM.
        The last record will be the latest  one.
    2.  Then Use FM - PYXX_READ_PAYROLL_RESULT for getting the payroll  
         results table.Pass cluster ID- 'IN'  ,pernr ,sequence number for which period
          you want (In your case ,current period minus   1) and
          READ_ONLY_INTERNATIONAL            = 'X',
    3. You will get all the results from PAYROLL_RESULT                     = it_result
      Then you can loop this internal table like LOOP at it_result-inter-rt into wa..
    Get the net pay value(/560 wage type)
    Reward points if helpful.
    Regards,
    Manoj.

  • Deactivate creation of new next inspection date on re-GR

    Our user created GR (MIGO) against a PO and subsequently a new batch with a next inspection date was created based on inspection interval set to 730 days.
    The user agin after a few days did GR against the same PO and the next inspection date was again calculated based on this GR date and the interval. We do not want this re-assignment of the next inspection date once it has been set. Please help.
    Mrunal

    The problem is a user error.
    When you receipt a material that has a shelf life requirement, you must enter in the production date, (manufacture date), in the GR.  If you don't, it will default in the current date and usse that to calculate the expiration date.
    On the second receipt, the same thing will happen.  If the same batch is specified, if I remember correctly, the system should give a message that "batch has already been receieved" or some kind of warning.  For the production date, I believe it will still default in the current date.  I think there is another warning that the expiration date will be recalculated and a "do you want to continue" question.  If they blow through all these warnings, the system takes the new manufacture date and recalculates the new expiration date.  To the best of my knowledge you can't change this.  The users must be trained to ALWAYS enter in the correct prodcution date. 
    FF

  • How to set start of cycle/next planned date at the Maintenance Item level??

    Hi All,
    We are uploading a bulk of Strategy Maintenance Plans into the system. Each plan has multiple maintenance items and each maintenance item in a plan having different next due dates. Now if we set the Start of cycle at the Maintenance Plan level, then the next due dates of the maintenance items in that plan would be calculated on the basis on Start of Cycle (Common for all) and frequency as set in MPackages in an item Task list. Since each Maintenance item may have different Frequency and next due date, generating a call object while scheduling the plan correctly to satisfy at the Maintenance item level is not seeming possible.
    Can someone please suggest as to how do I set the Start of cycle or say Next Planned Date or Last Scheduled date at the Maintenance Item level either through configuration or programmatically.We are working on an SAP 4.6C version.It is urgent!!!

    hi
    i think specifying start of the cycle for each maintenance level is not possible ,since start of the cycle refers to maintenance plan only .
    for SAP standard kindly refer the following [link|http://help.sap.com/saphelp_46c/helpdata/en/94/43a968abc011d395bd00a0c93029cf/content.htm]
    it is better to create one maintenance item per maintenance plan,if you want to control each maintenance item independently
    regards
    thyagarajan

  • How to get the next working date?

    Hi,
    I need to extract data between the 2nd of the month, and second working date of the following month.
    Here is the code I have to check if the date is a weekend, and check if it is in the Holidays table (for UK Holidays):
    (This code is to check against Easter 2014, so Good Friday was on the 18th of April, Easter Monday was on the 21st, and the date I want returned is Tuesday the 22nd but I cannot get it working correctly).
    declare @LatestDate datetime
    set @LatestDate = DATEADD(m,-9,getdate()) -- cast('01/11/2014' as datetime) --dateadd(m,1,datediff(d,0,'01/11/2014'))
    set @LatestDate = DATEADD(d,13,@LatestDate)
    print @LatestDate
    if datepart(dw,@LatestDate) in (1,7)
    Begin
    while datepart(dw,@LatestDate) in (1,7)
    OR
    exists (select * from Hermes_Rep..Holidays where Holiday =right(CONVERT(CHAR(10), @LatestDate, 101),4) + '-' + left(CONVERT(CHAR(15), @LatestDate, 101),2) + '-' + SUBSTRING(CONVERT(CHAR(15), @LatestDate, 101),4,2))
    Begin
    set @LatestDate=DATEADD(d,1,@LatestDate)
    End
    End
    What I need is for my code to always return the 2nd working day of any month, taking into account weekends, and Holidays in the Holidays table.
    The Holidays table has dates in the format '2014-04-18 00:00:00' (for Good Friday 2014)

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI-ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI-ISO Standard SQL. And you need to read and download the PDF for: 
    https:--www.simple-talk.com-books-sql-books-119-sql-code-smells-
    >>Here is the code I have to check if the date is a weekend, and check if it is in the Holidays table (for UK Holidays): <<
    Do you know what a calendar table is?
    >> (This code is to check against Easter 2014, so Good Friday was on the 18th of April, Easter Monday was on the 21st, and the date I want returned is Tuesday the 22nd but I cannot get it working correctly). <<
    Catholic or Orthodox Easter?  This is one of many reasons we do not use computations in SQL. What you did is the wrong approach  done with bad programming. For example, we do not use the old Sybase getdate() now. The only display format allowed in
    ANSI/ISO Standard SQL, but you used a local dialect! 
    COBOL treats dates as strings like you did; SQL has a temporal data type. 
    >> What I need is for my code to always return the 2nd working day of any month, taking into account weekends, and Holidays in the Holidays table. <<
    The idea of a Holiday table is bad; why are these dates totally different entities from other dates? Would you split Personnel on sex and have “Male_Personnel” and “Female_Personnel”? 
    The Julian business day is a good trick. Number the days from whenever your calendar starts and repeat a number for a weekend or company holiday.
    CREATE TABLE Calendar
    (cal_date DATE NOT NULL PRIMARY KEY, 
     julian_business_nbr INTEGER NOT NULL, 
    INSERT INTO Calendar 
    VALUES ('2007-04-05', 42), 
     ('2007-04-06', 43), -- good Friday 
     ('2007-04-07', 43), 
     ('2007-04-08', 43), -- Easter Sunday 
     ('2007-04-09', 44), 
     ('2007-04-10', 45); --Tuesday
    To compute the business days from Thursday of this week to next
     Tuesdays:
    SELECT (C2.julian_business_nbr - C1.julian_business_nbr)
      FROM Calendar AS C1, Calendar AS C2
     WHERE C1.cal_date = '2007-04-05',
       AND C2.cal_date = '2007-04-10'; 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Purchase order not appearing as commitment for next fiscal year in KOB2

    Hi Experts
    Any help on this is highly appreciated.Our Fiscal year 2008 is ending on 27th september and fiscal year 2009 will start on 28th September.
    We have some purchase orders created with delivery date as 30th september which falls into next fiscal year. Somehow these purchase orders are not appearing as commitments in KOB2 report even with data ranges for next fiscal year.
    However we have many similar Purchase orders with delivery date in fiscal year 2008 with same internal order as account assignment and they are correctly appearing as commitments in KOB2 report.
    Can you please let us know what could be the reason for purchase orders with delivery date as 30th september not appearing in KOB2 report.
    Regards,
    Santosh

    Hi Ashok
    Thanks for your continued support on this. I was going through these notes today.
    One observation I made was cost elements in our system were valid till 27th september only when problematic POs were created.However their validity was subsequently extended after the creation of Purchase orders.This might be the reason for system not recognising these POs as commitments.
    SAP Note 534993 seems to suggest that we need to run report RKANBU01 for all such purchase orders to redetermine commitments.I am in the process of testing this out in our systems.
    Could you please let me know if my understanding is correct. Thanks again.
    Regards,
    Santosh

  • How to get a Monthly Depreciation Simulation for next fiscal year?

    I need a report that give me the depreciation simulation for next fiscal year, but I need it monthly wise. I run report S_ALR_87012936 with report date 31.12.2011 and evaluation period = month.
    The report gives the error message AA669 Fiscal year 2011 is already closed in Financial Accounting
    I read that this report doesn't work monthly wise for future years. Is there a workarround?
    Best regards!

    Hi,
    I'm sorry there is only RASIMU02. Note 396974 describes, this is a missing functionality and there  is no workaround.
    Reports on derived depreciation areas that do not post any values to the
    general ledger are allowed with the evaluation period year. An
    evaluation using month, quarter or half-year is not supported.
    In general, the depreciation forecasted by monthly in report RASIMU02 are only for depreciation area which posts depreciation to GL. For non-GL posting area, we recommend you simulate the depreciation 
    in 'fiscal year' mode. if you simulate the depreciation 
    Basically RASIMU02 is NOT designed to provide period simulation for these non posting areas. This because RASIMU02 uses for periods which have been posted already the created ANLP. But ANLP´s  are not created for non-posting areas. So in these periods where   a depreciation run had been executed already, RASIMU02 will not show
    values.                                                                               
    For AA 669 please see:
    Best Regards Bernhard
    Edited by: Bernhard Kirchner on Nov 25, 2010 9:20 AM

Maybe you are looking for

  • Problem with deleting PDF report in "Vew Log / Trace" Section

    Hello everyone I just hired as a peoplesoft programmer :) I have a question when I try to code a report generating program I need to delete the PDF file (report) in "View Log/Trace"Section after the AE program executed. (Actually I just want to hide

  • My Email attachments never open in Adobe Reader!

    Hi, my name is Tina. I'm not to computer savvy. But my problem is always when I get emails with attachments ending with ,docx. I got to download them and when I go to open them it always says: Adobe Reader could not open .docx because it is either no

  • PO: Default Account assignment category per material?

    Hello, The requierement of my company is that some materials are purchased for stock and some others for Cost center. But at some point they want to move some of the materials of "cost center" into "stock". So materials will be  "looking" the same in

  • Getting apache to talk to Tomcat

    I am trying to get apache to talk to tomcat and when I am compiling the mod_jk.so (Jakarta connectors kit) i am getting a few errors when i run make. I was hoping you can point me in the right direction to get the mod_jk.so binaries so that i can get

  • French accents in links

    I'm a new user of Dreamweaver, and I haven't found anything on this issue on the forums. On several of my pages I have the visited links set to be displayed with a certain color. They all work fine, except for those that have French accents in the li