Restrict OM Infotype start date as 12/31/9999

Hello Experts,
I want to restrict OM infotype start date on entering start date as 12/31/9999.
One of the OM infotype is accepting and saving that record when entered start date as 12/31/9999.
Please let me know how to restrict doing that.
Thank you.
Regards,
Saurabh

Hi Saurabh ,
Implement BADI definition HRBAS00INFTY  . In Method  AFTER_INPUT or IN_UPDATE , code as :
READ TABLE new_image INTO  w_new_image  INDEX 1.
if  w_new_image-begda = '99991231' .
*Throw a Error Message as "Start Date cannot be  12/31/9999'  .
endif .
Thanks ,
Sucharita Das

Similar Messages

  • Org.Assignment Infotype start date and End date is getting wrong.

    Hi, When i create a new employee in PA40, in Org. Assignment infotype start date and end date is getting wrong. for eg. When i create an employee on 01.04.2014.    In org. assignment infotype its getting like this. 01.01.2014  to  31.03.9999  and 01.04.9999 to 31.12.9999  Two date entries are creating by default.

    Hi
    Check in the Table - T588Z : Dynamic Actions ,is there any custom routines causing the defaulting dates functionality.
    Thanks,
    Sreeram

  • Hiding Infotype Start Date in the header

    Hi
    I need to hide the infotype start date begda for a particular infotype 8.
    I tried all these tables but could not find an option to hide bedga
    T588m
    V_582A_B
    V_T588I
    T588J
    Looking forward for some inputs
    Thanks

    Hi Raj
    Every single infotype won't have each  Header screen.
    V_582A_B this the table headers assigned For infotype 0008 header is 03;
    If you change that header it will effect othere screens too.
    To avoid this you need to create one more header and add it here
    Or write pice of code in user exit
    Please check
    Best Regards

  • How to control the default infotype start date when executing an action?

    Dear all,
    I have a custom Infotype, which start date should always before the hiring date and so we want to leave the start date blank which creating the relative Infotype.
    I have already done the configuration in V_T582A such that the start date provides no default value when creating the new Infotype in PA30. However, the hiring date is still being defaulted when the Infotype when being created in an hiring action. Before I go to user exit programming, is there any place I can do relative configuration?
    Thanks,
    Steven

    Hi Chris,
    In our personnel action, IT0022 Education is included, and I've noticed that the system can provide no default start date even it is created through PA40. I have checked the dynamic action configuration that IT0022 is not included in the standard list, so I guess there may be a place to do such configuration.
    Steven

  • Infotype Start Date Query

    Hi,
    Is there any way to have the start date of any Infotype for example IT 0167 etc show quarterly date such as 1st Jan, 1st July, 1st October etc rather showing the current date. Other than Dynamic action is there a way in terms of customization aspects to attain the above stated scenario.
    Thanks in advance.

    Hello Happy,
    Try using enhancements 'PBAS0001' or BADi 'HRPAD00INFTY'.
    Regards,
    Ahmad

  • Restriction of Validity start date in Scheduling agreement

    Hi,
    I am not able to convert the message 06 170( Start of validity period is in the past) in error message , when i am going to define attributes of system messages in purchasing and converting this message into error , system still does not give error message when i am selecting  back  validity start date in the header of Scheduling agreement (me32l)
    What can be the possible reason.
    Regards
    Sachin

    Hi,
    I believe the message 06-170 is hard-coded in Include "MM06EFRP_EKKO-KDATE" in the Program SAPMM06E
    Laufzeitbeginn in der Vergangenheit -
        IF ekko-kdatb < sy-datlo.
          MESSAGE w170 INTO gl_dummy.
          mmpur_message 'W' '06' '170' '' '' '' ''.
    Please consul your ABAP Team on this to change it to Error.
    But SAP does not recommend changing standard Programs, so please discuss this and see that its really required and will not have any effects to your business process, because there may be instances wherein you might require to create scheduling agreements with a past validity date sometime in future based on business requirement.
    Regards
    Chandra Shekhar

  • Restriction of Validity start date in Info record ME11/12

    Hi,
    Can anybody suggest how can we put a check in validity start date of conditions so that back date is not selected while putting the price/conditions in info record.
    Regards
    sachin

    hi..
    When u create info-record for any comabination of material and vendor..u go to condition tab ..where ehile defining condition type and their details u can specify their validity....
    and after saving this..if u again want to see that condtion type then it prompt u for "choose validity" for which u want to see the condition type...
    Hope it works,,
    Thanks..

  • Error when sending infotype 2 via ALE - start date

    Hi all,
    we are facing the following error when using the standard method for HR distribution: changes in infotype 2 cannot be processed in the receiving system; each change results in a 51 error in the iDoc, with message "PA0002 could not be updatedu201D (msg number 5-108).
    For some background: we're using message type HRMD_A06 and the standard configuration as described in the "ALE Quickstart" document. We've sent the full set of employee data via report RHALEINI, and use RBMDIDOC and change pointers to send changes on a daily basis. All infotypes are updated correctly except 2.
    From our tests, it seems that the problem is the following:
    - the initial send via RHALEINI created infotype 2 records with start date 01.01.1900. The sent iDocs had at the level E1P1TYP for infotype 2, start date 01.01.1800
    - the daily report RBMDIDOC is sending the infotype 2 records with their real start date (i.e. birthdate of the employee). Since this is later than 01.01.1900, the replacement of one infotype by another in the receiving system fails. By manually changing the start date of infotype 2 in the receiving system, the next update is successful --but we do not want to manually update all records in the receiving system.
    Has anyone else faced this or a similar issue with RHALEINI and infotype start dates?
    Thanks in advance,
    Mariana
    Edited by: Mariana Lasprilla on Feb 5, 2009 10:35 AM

    The mystery has been solved: customer system had a conversion rule for message type HRMD_A in order to send a fixed value of BEGDA for all infotype 2 records.
    ALE conversion rules are set via table TBD30.

  • Can i restrict apple mail client from downloading all emails...and allow it to pick a start date for gmail mail to sync? i am flooded with old emails, thousands on them ...eating hard drive space of my macbook pro and un necessary overhead

    can i restrict apple mail client from downloading all emails...and allow it to pick a start date for gmail mail to sync? i am flooded with old emails, thousands on them ...eating hard drive space of my macbook pro and un necessary overhead

    The genius bar technicians can check your MBP for possible hardware problems and specific software issues that you may have.  The diagnosis will be free.  Any extensive repairs will not be free.
    If you have minor software problems, you essentially will have to deal with them yourself.  Examine these two comprehensive documents for possible problem definition and solutions.  If you encounter problems that you are unable to cope with, start a new discussion and there will be persons willing to assist you in solving them.
    https://discussions.apple.com/docs/DOC-3521
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • HR Abap - How to grey out infotype 416 'Start' date on screen 2

    Hi,
    For infotype 416 I want to force the user to enter the Start date on the initial PA30 screen. Therefore I have to grey out the 'Start' Date field that appears in the second screen '2000' when creating a record.
    Any ideas on how to do this?
    Regards,
    Warren.

    Hi,
    In order to add additional functionality and checks to the PBo & PAI of HR infotypes you need to
    implement enhancement 'PBAS0001' using CMOD . Once you
    have done this you need to go to  the function modules EXIT_SAPFP50M_001 & EXIT_SAPFP50M_002
    and create the includes within them i.e.  ZXPADU01 and ZXPADU02. You can now enhance the
    functionality of HR infotype PBO and PAI by simply adding code to these includes. See
    example below:
    HR Infotype User exits
    Include ZXPADU01 for the PBO module
    Incldue ZXPADU02 for the PAI module
    *Example code.
    CASE innnn-infty. "Infotype?
      WHEN '0001'.  "infotype 0001
    Processing code
      WHEN '0008'.  "infotype 0008
    Processing code.
             etc.
      WHEN OTHERS.
    ENDCASE.
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • Dateofbirth and start date not same for infotype 2

    Hi Gurus,
    Recently we have applied supportpacks for 4.6c  in development.I am testing for hiring action.What i observed is end date for these infotypes changed to 31.12.1999 instead of 12.31.1999 and in infotype 2 employee dateofbirth  and start date is not same which is suppose to be same.Startdate of infotype 2 is taken as employee hire date.Infotype 2 has timeconstraint 1.when i am trying to enter  date of birth, for some dates it give me an error invalid date. what could be the cause?Help is appreciated
    Thanks

    Hi,
    Please go to SU3 and check for the Date Format under the Defaults tab.
    Hope this helps,
    Reward points if helpful,
    Thank You,

  • How to maintain history in infotype 2 in ECC6 if the start date is DOB defa

    Hi,
    I have to change the status of some female employees as they are now married and their surname is aslo changed.
    But in ECC6 in infotype 2 the default start date is date of birth,  Copy option is not working as the start date will change which is the Date of Birth by default , if i directly change it history wont be maintain.
    How to go for this ?
    Regards

    Hi,
    The default start date as DOB willl be for first record.
    You can chage the data by specifying validity dates. it wont be any problem.
    Regards,
    Shankar.

  • Start date personnel number infotype 0002 (Personal data)

    Hi gurus,
    I have the following problem in SAP ECC6.
    I created a personnel number with transaction PA40 with start date 200208.
    In infotype 0002 (Personal data), after that I have filled various field, if I save, the start date changes from 200208 to 01011900.
    Could you help me please?
    Thanks in advance
    Regards
    Raffaele

    Hi
    Adding to what Mr. Sai Naraynan has said.
    See whatever happening at your end is absolutley correct you have to understand the logic behind that.
    See Personal data infotype will contain the master data of an employee like name, ***, complete name, form of address etc... whuich is same from his birth so there is no need to have a validity starting from the date of hiring because this data is same from his birth thats why system automatically stamps a Birth date out there.
    Hope it clarifies your doubt.
    Regards,
    Bhupesh Wankar

  • PPOME - New Tab & Infotype - How to find "start date" of preview period

    Hi all,
    I have successfully created own Infotype and add as new tab in PPOME.
    But now I need in my modulpool program to read field "start date" of preview period (from heading of screen in PPOME). I can't find right field. Has anybody any idea?
    Thanks a lot.
    Dusan
    Message was edited by:
            Dusan Skokanek

    Hi ramprasad74,
    According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
    report will return the first day of FPeriod.
    To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
    In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
    On the toolbar, click Design to toggle to Query mode.
    On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
    In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
    In the Dimension column, choose a value from the drop-down list.
    In the Hierarchy column, choose a value from the drop-down list.
    In the Default column, from the drop-down list, select a single value.
    Click OK. 
    In query designer dialog box, type the mdx query like below:
    with member [Measures].[FirstChild]
    as
    [Date].[Fiscal].currentmember.parent.firstchild.name
    select {[Measures].[FirstChild]} on 0,
    [Date].[Fiscal].[Date].members on 1
    from
    ( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
    from
    [Cube]
    Here are relevant threads you can reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Position 1000001 not available for the start date of the infotype record

    Dear Experts/Gurus,
    I am getting the following error message "Position 1000001 not available for the start date of the infotype record" while trying to upload employees HR Master data in PA40.
    I know the reason why because the position is created on 01.05.2009 & employee DOJ is 01.02.2006 both are mismatch & the position date has to be changed earlier date than DOJ but i don't know how to do.
    Please let me know how to sort out this issue asap.
    Rgds,
    Vikrant

    Dear Friend,
    Use  PP02, select the position no, select infotype 1000 (Object), select planning status & validity(date) and then use the copy function to change the start date.
    Regards,
    Aks

Maybe you are looking for