HR-ABAP-regarding infotype 0041-dates specifications

Hi All,
               Can any body help in this problem that.
I am retrieving one particular date from infotype 0041 by passing the date type U9.
I want to know from which dardt(date type field in PA0041) i.e., dar01 or dar02 or dar03- - - - dar12, the date is coming .
Pls let me know urgently this.
Andvance thanks for all of your efforts.
Thanks&Regards,
Jeevakala.

Hello,
The option i have implememted for a similar scenario is as follows
data: v_darxx like p0041-dar01,
         v_datxx like p0041-dat01.
select single * from pa0041 into int_pa0041 after passing key fields
do 12 times
varying v_darxx from i_it41-dar01 next i_it41-dar02
varying v_datxx from i_it41-dat01 next i_it41-dat02.
if v_darxx = 'U9' and v_datxx gt v_dat.
"You have your required date
endif.
enddo
the same has been discussed in the following link,
Reading dates from infotype 41
Hope the suggestions gave you some idea
Reward if helpful
Regards
Byju

Similar Messages

  • DAte not available in infotype 0041(date specification)

    Hai All,
    In our place we are using 4 type of "date type"
    Z1 Hired date.
    Z2 Seperation Date
    Z3 Leave quota start
    Z4 Service entry date
    for all employees date specification maintain by dynamic action.
    for some employees date specification is not maintain by the system.they are having only Z1 Hiring date only. others not available.
    how can i rectify this problem?
    Kind regards.
    Dinesh.

    Hi
    You have to check your Dynamic action.
    While querying dynamic ation how did you quaried, on which grouping you quried ?
    The employee who dont get the details are members in that group are not?
    if you give it in feature you must have all 4 dates to all the employees, otherwise you will be in trobuble
    becuase SAP wont allow you fill the type only without date in infotype 0041
    Regards
    Adi

  • Infotype 41 (Date Specification)

    Hi,
    Can anybody explain clearly what is the difference between Date Type 01 (Technical Date of Entry) and Date Type 07 (Hire Date) in infotype 41 (Date Specifications).
    Thanks in advance.
    Regards
    Sudarsan

    Hi,
    Hope this explanation helps
    Day Type is an indicator that a certain calendar day is payment-relevant, that is, an employee is paid for working that day.
    An employee's scheduled attendance can differ from the employee's daily work schedule.
    Example
    Two day types are defined in the standard SAP System. Day type "0" or "blank" indicates a paid workday and day type "1" indicates days that are paid but no work is performed. Therefore, public holidays are assigned the day type "1."
    If a calendar day is assigned the day type "1," than the day is considered "off" and is paid, although the employee usually works on that day according to the employee's daily work schedule. This is the case, for example, when a public holiday is a Thursday.

  • IT 0041-Date Specifications Quick / Fast entry

    Hi Friends,
    Is there a quick way of creating IT0041 for existing employees (Not through Actions)
    How about Fast Entries?? - How to maintain for IT 0041-Date Specifications, through fast entries?
    Please advice, it's bit urgent...
    Regards,
    TG

    Hi ,
    I dont have any document regarding this , although i can guide you writing step by step
    Run the transaction <b>scat.</b>
    After that it ask you transaction code to reocord.
    After that do the same procedure you use for recording then
    After recording jsut click on end on processing or <b>F12.</b>
    Component you have to mention what ever is yours you can give here something <b>py-au.</b>
    double click on<b> SE11</b>
    and again double click on SAP....
    now it again shows all screen what u recorded here you have to reocrd which field you require now do the step by step <b>press F6</b> which field required .
    Goto export all the fields.
    Choose save .
    <b>Parameter F7 .</b>
    <b>Remove the default fields.</b>
    save run
    Hope your problem solved.
    Manoj Shakya.
    Techno-Fuctional Consultant
    SAP-HR
    <b>******(Useful answers should be rewarded)        </b>

  • IT 0041 Date Specifications - Can we add more fields?

    Currently, one can only have up to 12 date types / dates in IT 0041.  We are tracking subsitute start date assignments for each substitute teacher - which can result in multiple entries of this customer date type we created.  I saw on SAP help that the screen can be modified.  Can one just go to MP004100 in the infotype screen control and copy entries to add more fields to enter these date specifications?

    Hi,
    To meet your requirements you need to enhance infotype with help of an abaper. The steps are
    Go to Transaction PM01.
    Enter the Infotype number which you want to edit
    select single screen tab
    Select Customer Include ra
    Select the u2018PS Structure Infotypeu2019.
    Create a PS structure CI_INCLUDE and create your fields
    Save and Activate the PS structure
    Go back to the initial screen of PM01.
    Hope this will be of help
    Regards,
    guds

  • Infotype 0041  - Date type field in display mode always

    Hi All,
    Please help in find out solution for the below enhancement
    In infotype 0041 we have date type and date field. We need to make the date type field to be display mode always.
    Thanks for your help in advance.
    Thanks,
    Karthikeyan

    Hi Karthikeyan ,
    Please find the resolution as below :
    Userexit - EXIT_SAPFP50M_001 . In Include ZXPADU01. Write the below code .
    DATA: w_P0041 TYPE P0041.
    IF  ipsyst-massn <> space AND
      ( ipsyst-ioper = 'INS'  OR
        ipsyst-ioper = 'INSS' OR
        ipsyst-ioper = 'COP'  OR
        ipsyst-ioper = 'MOD').
    CASE innnn-infty.
    WHEN '0041'.
    *convert prelp to pnnnn structure
    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
    EXPORTING
    PRELP = INNNN
    IMPORTING
    PNNNN = w_P0041 .
    *Here you can have more conditions like for which Action Types you want the
    IT0041 to default .
    w_P0041-dar01 = 'Z1'.
    w_P0041-dar02 = 'Z2'.
    w_P0041-dar03 = 'Z3'.
    *convert pnnnn to prelp structure
    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>pnnnn_to_prelp
    EXPORTING
    PNNNN = w_P0041
    IMPORTING
    PRELP = INNNN.
    *Display mode
    LOOP AT SCREEN.
              IF screen-name = 'P0041-DAR01' OR
                 screen-name = 'P0041-DAR02'  OR
                 screen-name = 'P0041-DAR03'  .
                CLEAR screen-group2.
                screen-input = 0.
                MODIFY SCREEN.
              ENDIF.
            ENDLOOP.
    WHEN OTHERS.
      ENDCASE.
    ENDIF.
    Thanks ,
    Sucharita Das

  • Reading infotype 0041 in PCR

    I need to read the date of joining in PCRs. i am maintaining date specification infotype 41. how to get this date from IT 41 in PCR. What operation i need to use.. Or is there any operation which can directly give hiring date of person without maintaining 41 infotype.
    pls tell its urgent.
    Thanks in Advance.

    I sent you this information, words in bold I think would help you
    Evaluating Date Specifications in Payroll
       Object
         Operations NUM, AMT and RTE evaluate date specifications for the
         calculation of deadlines. Retrieval takes place using the function
         DATES.
         Two dates are determined. These are interpreted as the start and end
         dates of a period. The evaluation of deadlines can return incorrect
         results if the second date lies before the first date. Therefore, for
         deadline calculation purposes, the first date should always be smaller
         than the second date.
         Date types with the following short names can be used for the
         evaluation. All date types other than 'X' are only taken into account if
         they are before the end of the current payroll period.
         In the operations NUM, RTE und AMT, specification of the date type
         follows the operand F directly.
         A, B  First entry from infotype 0000
         C    Last entry, or reentry
         D  Last change of individual working time from infotype 0041
             In table T530, if the field KUNBZ (indicator for irregular payments)
             is 05, then the start date of the work center is taken for D.
         E    Last change of capacity utilization level from infotype 0008
         F    Last change of weekly working hours from infotype 0007
             A comparison is carried out with date type C for the date types D, E
             and F. If the value determined for C is greater than the values
             determined for D, E or F (that is, a later date), the value of C is
             used for D, E or F. Any changes in the capacity utilization level or
             the like before the last reentry are not evaluated. The date of the
             last reentry is taken instead of this date.
         G    Birth date from infotype 0002
         W    Reentry
             The last reentry date is entered in this date specification. If no
             reentry data exists, the initial entry date is used. This date has
             the short name 'A' in the evaluation.
         X     Employee leaves after the end of the period in accordance
         with infotype 0000
             The system checks whether there is a record for infotype 0000
             (Actions) has a record where the Stat2 field has the value 0 (=
             left). The start date (BEGDA) of this record is the leaving date.
             This date type always has an entry. If an employee leaves after the
             end of the period in question, this date will be used. If no leaving
             date exists, the date December 12, 9999 is used.
         Z     Leaving before the end of the period in accordance with infotype
         0000
             The system checks whether there is a record for 0000 (Actions) where
             the Stat2 field has the value 0 (= left). The start date (BEGDA) of
             this record is the leaving date.
             This date type always has an entry. If an employee leaves before the
             period in question, this date is used. If no date is given, the date
             December 31, 9999 is used.
         nn    Date type 'nn' from the Date Specifications infotype (0041)
             Date types are taken from table T548Y.
       Syntax
         The operands are constructed as follows:
             Operation NUM= is taken as an example: Processing is identical for
             RTE and AMT:
          NUM=Faaesb
              F          Fixed indicator for deadline calculation
               aa           Date type: Start date of period to be
                            calculated; if the date type is not 'nn,'
                            the second position is left blank.
                 e          Unit, in which the duration is calculated:
                            T = days
                            W = week
                            M = months
                            C = complete months
                            K = complete calendar months
                            N = complete calendar months (rounded up)
                            J = Years
                            Y = Complete years
                           The difference between the individual
                           units is explained in
         Calculation Examples
                           in more detail.
                  s         End date of period to be calculated:
                            (blank)  End of current payroll period
                            J        End of current calendar year
                            A        Start of current calendar year
                            B        Start of WPBP period
                           No other specifications are possible.
                   b        If the date type specified in parameter aa
                            does not exist for the person in question,
                            an alternative fixed identification is
                            selected. If 'SPACE' is entered, the
                            date 31.12.9999 is used. However, you can use
                           one of the date types listed above as
                           an alternative or enter 0
                           0 to set the alternative value to 0.
       Example
         NUM=FA_M_
               F         Identifier for deadline calculation
               A             Date type A, initial entry from infotype 0000
                _            Blank; placeholder for 2-character
                             date type from infotype 0041
                 M           Deadline calculation is in months
                  _          Blank; key date for deadline calculation
                             End of payroll period
                   _         Blank; If no specification exists for date
                             type A, the date 31.12.9999 is used as an
                             alternative.
         NUM=F01M_A
             F                Identifier for calculation deadline
              01              Date type for technical entry date from
                              infotype 0041
                M             Deadline calculation in months
                 _            blank, key date for calculating the
         deadline
                              End of payroll period
                  A           Alternative date: if no specification exists
                              for date type 01, the first entry from
                              infotype 0000 is used.
         Under Calculation Examples for Evaluating Date Specifications you can
         find more information and case studies regarding how to calculate the
         period between a start and end date for the operations NUM, RTE and AMT.
    Regards. Manuel Campos

  • Infotype 0041 - Issue regarding entry date, leave date and retire date

    Hi experts out there,
    I'm trying to achieve information concerning:
    1. Entry date
    2. Leave date (employee has resigned or will resign) -> Last day of work
    3. Retire date
    4. Last day of pay
    Can I get this information from infotype 0041?
    Another problem I have is if I do a <i>Pre-Hire Action</i> (Tcode: <b>PA40</b>) and enter a future date for a new hired employee then I cannot find the corresponding record in PA0041. Do I do something wrong?
    Any advise would be very appreciated.
    Many thanks in advance.
    /hw

    Hadi,
       You can get that information from Infotype 0041, but it depends if the user that executed the action entered the <b>date type</b> and corresponding <b>date</b> when reached infotype 0041, if he/she didnt so, it just wont be there. It is not entered automatically.
    "<i>It's actually not the answer of my questions because I've been wondering why I cannot find the corresponding record of a Pre-Hire Action (TCODE: PA40) in PA0041 (regardless of if I use SE16 or function modules)"</i>
    You will find the records of the actions that were excuted for the employee in infotype 0000 (table PA0000). Infotype 0041 is used to store special dates for the employees (such as date of hiring, next promotion and the like), but it is up to the user if they are stored or not.
    Hope that helps

  • Multiple date instances in infotype 0041

    Has anyone configured infotype 0041 using delimted dates to track original hire date, termination date, and the re-hire date.  For example, the orignal date specification for orginal hire date to the termination date, and then another date specification for a re-hire date and termination date for as many times as an individual came back.

    Hi
    You have to check your Dynamic action.
    While querying dynamic ation how did you quaried, on which grouping you quried ?
    The employee who dont get the details are members in that group are not?
    if you give it in feature you must have all 4 dates to all the employees, otherwise you will be in trobuble
    becuase SAP wont allow you fill the type only without date in infotype 0041
    Regards
    Adi

  • How to know if a date was modified in the infotype 0041

    Hi everyone,
    I have to validate if there was a modification in a date in the infotype 0041. The problem is when you change the value, I can't see in the table the way to know if it was modified.
    Thanks in advance!

    AEDTM (Last changed date) will change if any if any field of the Infotype changes.
    If you need to check it fieldwise then you can go for RPUAUD00 report which read data from PCL4 cluster.
    to get the data out of Below tables RPUAUD00 has to be configured
    1. V_T585A
    2.V_T585B.
    3.V_T585C
    Some [additional|http://www.hrexpertonline.com/article.cfm?id=1825] info.
    Regards
    Shital

  • How to create a day type in Infotype 0041 (Want to maintain EE Retirement date)

    Dear Consultants,
    Can any buddy tell how to create a day type (Retirement date) in Infotype 41,
    My client want to maintain employees retirement date in Infotype 0041, please share your Ideas.
    Thanks & Regards,
    Navesh

    Hi Sridevi,
    Thanks for quick reply.
    Regards,
    Navesh

  • Relieving date from infotype 0041.

    Hi Friends,
                    I have to retrive date for a relieving letter(smartform), from IT 0041. But there exists more dates like for hiring
                   and so on.... But we don't know where reliving date will come(order). For that when I am retrieving date             from       0041-DAT01 . How can we know that where it is (relieving date).  If different employee have different reliving dates in different order. Can u please suggest me from where I have to retrieve and how?
                             Thanks in advance.
    shafi.

    Hi ,
    In Infotype 0041, the date can be stored in any order. So u should use a DO statement to get the appropriate date type(DARXX) and the corresponding date(DATXX).
    DO 12 TIMES VARYING datetype FROM p0041-dar01 NEXT p0041-dar02
                VARYING date FROM p0041-dat01 NEXT p0041-dat02.
       CASE datetype.
           WHEN '  '.
       ENDCASE.
    ENDDO.
    Ranganathan.

  • Regarding infotype 0580 (It's contain the prevoius year date )

    Dear Friends,
                              I am using the infotype 0580(Preveoius emplyee tax detail) but in that infotype to date field contain the wrong date it's contain the previous year date and also this to date field is disabled mode also we not able to change the date .It's gives the error End date precedes start date .
    Kindly guide me from where it taking the previous year date from the configuration .
    thanks
    sandeep

    Hi,
    The IT 0580, actually works on fiscal year, that is the reason its showing previous year date, let me know the emp joining in current fiscal year or previous fiscal year...
    If the emp joins in the Mid of fiscal year, the IT0580 shows "to date as disabled".
    please check the dates, its a game of dates only....
    Hope you can find the sol within the IT.
    - Ashish

  • Dynamic action defalting IT0041 date specification

    Hi., Every one
    I am strucking up bringing default values to date specification (IT0041).
    Requirement: Based on the Hiring date (ex: 1.1.2007) system should calcuate (adding 6months) the other date specification and should default in the date field.
    If the Hiring date is 1.1.2007 system should default 1.7.2007 (adding 6 months) in the date specification field.
    My configuration follows below:
    0000                   04     332     P     T001P-MOLGA='40'
    0000                   04     334     P     P0000-MASSN='I1'
    0000                   04     338     I     INS,0019,Z0
    0000                   04     339     W     P0019-TERMN=P0000-BEGDA
    0000                   04     340     W     P0019-VTRAN='6'
    0000                   04     341     W     P0019-VTRZH='012'
    0000                   04     345     W     P0019-VTROP='+'
    0000                   04     350     I     INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)
    0000                   04     352     W     P0041-DAR05='Z0'
    0000                   04     354     W     P0041-DAT05=P0019-TERMN
    I tried storing the value (1.7.2007) in IT0019, and tried default that value in IT0041 date specification., but its not working in that way..
    Would appreciate your help., if any one fix this problem.
    Madhu. K

    Hi
    Its very much possible i have done it in my earlier company you have to take the help of the abaper and guide him with your Actions codes and the day type codes.
    Award points if helpful
    Regards,
    Bhupesh Wankar

  • Re:Infotypes 0041&0019

    Dear Friends,
    Could you please explain about 0041&0019 Infotypes.
    How we can use these two infotypes and which stage it requires.
    Is there any Dynamic actions required for this.
    Awaiitng for reply.
    Regards:
    Kumar reddy.G

    Yes, IT 41 is used for storage of important dates, you're right.
    IT 41 is generally generated through a dynamic action.
    The following is an example of dynamic action that creates a date info in IT0041 as soon as employee is hired. The date of retirement is 58 years after the hire date.
    0000 04 10 *** CREATE INFOTYPE 41 WHEN HIRING****
    0000 04 61 P P0000-MASSN='06'
    0000 04 62 I COP,0041,,,,
    0000 04 63 W P0041-DAR12='08'
    0000 04 64 W P0041-DAT12=P0000-BEGDA
    0000 04 65 W P0041-VTRAN='58' number
    0000 04 66 W P0041-VTRZH='013' time unif from table T538T
    0000 04 67 W P0041-VTROP='-' operation '+' or '-'
    The above code should be added to T588Z table.
    You can enhance the code according to your requirements.
    In terms of IT19 you may again add a similar dynamic action or can add it to the hiring info group.
    For customization goto SPRO -> Personnel Management -> Personnel Administration -> Evaluation Basis -> Monitoring of Tasks & -> Date Specifications
    Regards,
    Dilek

Maybe you are looking for

  • Dll Error

    I'm using Windows 8.1 and Firefox 25.0.1.  After an aborted attempt at updating Adobe Flash Player, I uninstalled it (using the Adobe uninstaller) and tried afresh. Each time I receive the following error: Script Error Line: 883 Char: 37217 Error: Er

  • Integrating WebSphere Portal Server with Sun Java System Access Manager

    Hi All, Is it possible to Integrate WebSphere Portal Server with Sun java System Access Manager?. If so plz send me any doc or web site link for the same. Thanks in Advance Rgds, Lessly J

  • Font Size Gone Wild

    I'm having this weird problem on the site I'm building. Every so often, when I put something in italic, the font size for the word I've italicized ends up way bigger than the words around it. I have been marking the word I want to italicize and using

  • Mail Issues

    OK, so after nearly three years of being a happy Mac owner and having little or no issues with hardware or software, I'm freaking out because Mail is letting me down. Beginning yesterday (3.25.09), Mail began quitting unexpectedly after I emailed a "

  • [svn:osmf:] 10655: Removing the hack we came up with for using the MAST plugin in the Flex unit tests .

    Revision: 10655 Author:   [email protected] Date:     2009-09-28 13:52:01 -0700 (Mon, 28 Sep 2009) Log Message: Removing the hack we came up with for using the MAST plugin in the Flex unit tests. Modified Paths:     osmf/trunk/framework/MediaFramewor