Infotype 0002 for Taiwan

Hi Expert,
I am trying to create a new record in infotype 0002 with marital status since equal to future day.
Then I got the below error:
"date is less than birth date or great than system current date"
Could you please let me know how to deactivate this checking?
Million thanks,
WF

Hi William,
This message is not tied to a configuration step.
The message is popped up as follows:
SE51 - Screen maintenance.
Module pool: MP000200
Screen : 2042
Flow logic: FIELD P0002-FAMDT MODULE CACL_FAMTW_FROM_FAMDT ON REQUEST.
Double click MODULE CACL_FAMTW_FROM_FAMDT - Double click perform MODULE CACL_FAMTW_FROM_FAMDT .
There go to the following line:
IF P0002-FAMDT LT LOW_DATE .....
MESSAGE E096(30).
ENDIF.
Message 096 belonging to message class 30 is that specific message.
The only thing that comes to my mind is to copy screen 2042 to your own screen and change thins coding accordingly.
Regards,
Dilek

Similar Messages

  • Field: PERID Infotype 0002

    Hi
    I have set up Infotype 0002 for South Africa which accepts the South African numeric ID, i am now setting up for Botswana and in my feature i put the return value to be 16(South Africa). Botswana ID number is Alpha numeric and the field does not accept alpha numeric ID num. How can i get it so that it allows for numeric as well as alpha numeric ID input into field: PERID in Infotype 0002.
    Kind regards

    The field itself will accept characters.  But there is normally a check behind PERID varying  from country to country.  Is there a supported Botswana check that you know of? (Check MP000200). It sounds like you are doing the check for South Africa also for Botswana - and the 2 apparently have different rules for perid. 
    Kirsten

  • Calling infotype 0002 in ALV  report for showing employee photo

    Hi all,
    The requirment from business side is a report in which employees personal data shuold be shown with employee photo, I had tried for employee photo in ALV report but it didnt sucessed, then I went for other solution like calling transaction in ALV report.
    In this case I am calling Infotype 0002 but the issue is that the transaction PA20 is coming with PERNR but I am not able to go directlly to infotype which shows employee Photo,please suggest any solution.
    Thaks.
    JAY

    Hi Jay,
    It is possible. Please refer the syntax for the CALL TRANSACTION
    CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
                        | [USING bdc_tab [bdc_options]] }.
    You can do a recording till the required page comes & call the transaction accordingly. Hope, you are aware about the same.
    For example, I just had a solution to go to the roles tab in the user profile and I did as below:
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0050'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_CURSOR'.
        wa_bdcdata-fval   = 'USR02-BNAME'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'USR02-BNAME'.
        wa_bdcdata-fval   = g_value.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = 'SHOW'.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-program  = 'SAPLSUU5'.
        wa_bdcdata-dynpro   = '0100'.
        wa_bdcdata-dynbegin = k_ok.
        APPEND wa_bdcdata TO it_bdcdata.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam  = 'BDC_OKCODE'.
        wa_bdcdata-fval   = '=ACTG'.
        APPEND wa_bdcdata TO it_bdcdata.
        g_opt-dismode = 'E'.
        g_opt-defsize = k_ok.
    *** if user click on the User Name, call SU01
        CALL TRANSACTION 'SU01' USING it_bdcdata
                    OPTIONS FROM g_opt.
    Regards,
    Selva K.

  • Add button in transaction transaction PA20 for Infotype 0002

    Hi All,
    Hope all are doing good progress in their works... I had one question.
    Has anyone added a button in the transaction PA20 for the Infotype 0002. I need to add a button in this screen so that the User can navigate from this screen in PA20 to the transaction CV04n.
    Helpful answers will definetly be rewarded..
    Thanks,
    Susanth Kumar.

    Hi,
    Package name PBAS.
    Check in SMOD with F4 help and give pakage name.
    We can find the exits. But for your requirement we need to have a screen exit or menu exit.
    FM exit-
    HRPBAS01-User Exit for HR Master Data-EXIT_SAPLRPIN_001.
    User exit-
    PBAS0002-PA: Enhancements for Personnel Administration - Menu-EXIT_SAPMP50A_001.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Employee photo upload in portal and to be saved in infotype 0002

    Hi Everyone,
           I got an requirement where in ESS Portal, through "Change Own Data" link, employee is uploading his photo and it has to be saved in infotype 0002. Below are the doubts i have,
    1. There is no field for photo in infotype 0002, so how it will be saved in 0002.
    2. After uploading and clicking preview button, error was raising saying 'Error when archiving the photo'.
    3. I seen in many forums that the employee photo is visible from PA30. how it will be visible in that tcode ?

    Hi  Chris McNarney,
          Sorry for long delay for replying.. According to you,
    1. I checked the service under /default_host/sap/bc/conentserver/ it was activated and moreover below is the logon data,
            Client           500
         User             XXXXXX
         Language
         Password Status  Set
    and what is the use of this logon data..
    2. According to your link [https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false|https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false],
    there it has  4.7 version in that they told to create A2 repository with Tcode: OAC0 with details,,
         While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
        With that screen im am not able to find table name field to put 'SDOKCONT1' as input and moreover SAP system database is there instead of getting R/3 database for storage type. Screen detilas below,
    Content Rep.    A2                               Active
    Description
    Document Area
    Storage type
    Version no.     0046   Content Server version 4.6 as the table name.

  • Issue adding records to Infotype 0002

    Hi All,
    I am trying to insert records into Infotype 0002. I am using HR_INFOTYPE_OPERATION to do this. It works fine for all the employees but fot the ones who have Reference Personnel numbers. The system lets me to add the record to those employees through PA30 online or through BDC program with a warning message "No record with the same key for personnel number xxxxxxx",  but if I use the FM HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA, it sometimes gives me hard error message " The Social Insurance number already assigned to another employee" in the foreground and when executed in background I get a short dump with exception " CX_HRPA_INVALID_BUFFER_ACCESS".
    I debuged the standard code and the exception occurs in Include UP50RU02 in method IF_HRPA_MASTERDATA_BUFFER~INSERT.
    Short dump:
    The exception 'CX_HRPA_INVALID_BUFFER_ACCESS' was raised, but it was not caught
      anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
      'CL_HRPA_MASTERDATA_BUFFER=====CP' has to be
    terminated.
    Please let me know if I am doing something wrong.
    Thanks,
    Danny.

    Hi Daniel,
    I would not worry about using FM 'HR_INFOTYPE_OPERATION' or 'HR_MAINTAIN_MASTERDATA' for the purpose of inserting PA infotype records for employees. I had developed a generic module last year to insert any PA infotype record which will use the standard PA business logic framework i.e. include all standard checks and validation, calls all Exits/BAdIs before inserting the record as it would when you are saving the infotype record via PA30. I basically created a wrapper FM to simplify the calling of some other standard FMs. Use it if you like (and if it works in your system keeping in mind config is different in every system) but please do handle all the Exceptions after the call (by reading the Message Handler Interface IF_HRPA_MESSAGE_HANDLER) to confirm there was no data inconsistency or other problems at the time of the update. Below is the sample code:
    The generic customer Function Module
    FUNCTION zpa_insert_any_infty_record.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(IS_PNNNN) TYPE  ANY
    *"     REFERENCE(IT_TEXT_TAB) TYPE  HRPAD_TEXT_TAB OPTIONAL
    *"     REFERENCE(IV_NO_AUTH_CHECK) TYPE  BOOLE_D DEFAULT SPACE
    *"     REFERENCE(IV_LOCK) TYPE  SPRPS DEFAULT TRUE
    *"  EXPORTING
    *"     REFERENCE(EIF_MESSAGE_HANDLER) TYPE REF TO
    *"        IF_HRPA_MESSAGE_HANDLER
    *"     REFERENCE(EV_OK) TYPE  BOOLE_D
    *"  EXCEPTIONS
    *"      EX_PERNR_LOCKED
    * FUNCTION...... ZPA_INSERT_ANY_INFTY_RECORD                           *
    * FUNCTION GROUP.ZPA_FG_EMP_LEAVE_BOOKING                              *
    * TITLE......... Insert any PA infotype record for an employee         *
    * AUTHOR........ Sougata Chatterjee                                    *
    * DATE WRITTEN.. 23/08/2010                                            *
    * SAP RELEASE... ECC 6.0                                               *
    * SPECIFICATION. N/A - Reuseable Object                                *
    * =====================================================================*
    * DESCRIPTION... This function is a generic module that will insert    *
    *                a PA infotype record into the employee master data as *
    *                per the import structure IS_PNNNN. This module wil be *
    *                particularly useful when requirement is to create     *
    *                other infotype records for the same employee within a *
    *                User-Exit or a BAdI.                                  *
    * ASSUMPTIONS... Infotype record to be updated is a PA Infotype.       *
    * =====================================================================*
    * MODIFICATION HISTORY                                                 *
    * Date       Userid       Change No & Description                      *
      DATA:
        lif_msg_handler  TYPE REF TO if_hrpa_message_handler,
        lo_msg_handler   TYPE REF TO cl_hrpa_message_list.
    * instantiate the message handler object
      CREATE OBJECT lo_msg_handler.
    * assign a reference to a rereference variable using the CAST operation
      lif_msg_handler ?= lo_msg_handler.
    * insert the infotype record into the employee master data
      PERFORM insert_infotype USING    is_pnnnn
                                       it_text_tab
                                       iv_no_auth_check
                                       iv_lock
                                       lif_msg_handler
                              CHANGING ev_ok.
    * pass back the message handler to the calling program if it was requested
      CHECK eif_message_handler IS REQUESTED.
      eif_message_handler = lif_msg_handler.
    ENDFUNCTION.
    For some reason I couldn't format the subroutine code here in SDN as it is scrambling the whole page but you could use the link here to find the [subroutine code|http://www.mediafire.com/file/9923qui7dm4xqpg/Form%20Insert_Infotype.html] and an [example code|http://www.mediafire.com/file/ihg83agkf0mbc9k/z_calling_program.html] for the program calling this FM including exception handling etc.
    Let me know if the links are not working...I'm happy to email them to you if you want.
    Hope this helps.
    Cheers,
    Sougata.

  • Sending the enhanced Infotype 0002 outside SAP via an IDOC

    Hello Friends,
    We have added couple of Z fields to the standard 0002 Iinfotype table PA0002.
    I can see the custom fields in the trans : PA30 screen for infotype 002.
    Now, we want to send these custom fields value outside SAP via an IDOC.
    Here are the steps I followed :
    I created a Z Segment in an extended idoc with the structure PA0002.
    I went in transaction PM01 for Infotype 0002 and added the above created Z segment as a 2nd IDOC segment.
    In transaction PA30 for 002, I made changes to the custom field value for a person 12039.
    Created an idoc via BD21.
    IDOC generated with the Z Segment but it doesn't contain any  Z  custom fields.
    Which step am I missing here? Do I have to have a user-exit or BADI to achieve this OR can it be done without writing any code?
    Basically I
    I will really appreciate your help.
    Regards,
    Pooja Pandey

    Pooja,
    you need to fill each field manually.
    check this code i am filling ZHCMS_PI_SEMENT
    data: sgmnt_e1pityp type e1pityp.
      field-symbols: <wplog> type any.
      field-symbols: <wplog1> type any.
      data: ixxxx type e1pityp, iyyyy type e1plogi,sgmnt_hcms_pi type zhcms_pi_segment,wa_idoc_data_x type edidd, ls_idoc_data type edidd.
      data: lv_p0001 type standard table of p0001 ,lv_p0002 type standard table of p0002 ,lv_p0007 type standard table of p0007 .
      data: lv_p0521 type standard table of p0521 ,lv_p0710 type  standard table of p0710 ,lv_p2001 type  standard table of p2001 .
      data: ls_p0001 type  p0001,ls_p0002 type p0002,ls_p0007 type p0007 ,ls_p0521 type  p0521 ,ls_p0710 type  p0710 ,ls_p2001 type p2001 .
      data: row_index type sy-tabix,del_index type sy-tabix.
      data: lcx_root type ref to cx_root.
    fILL THE E1PITYP
    try.
    Keep the segments which have changed date greater than last run date in update mode
        read table idoc_data into wa_idoc_data_x with  key segnam = 'E1PITYP'.
        assign wa_idoc_data_x-sdata to <wplog> casting type e1pityp.
        ixxxx = <wplog>.
        loop at idoc_data into wa_idoc_data_x where segnam = 'E1PLOGI'.
          row_index = sy-tabix + 1.
          assign wa_idoc_data_x-sdata to <wplog1> casting type e1plogi.
          iyyyy = <wplog1>.
          sgmnt_e1pityp-plvar = ixxxx-plvar.
          sgmnt_e1pityp-otype = ixxxx-otype.
          sgmnt_e1pityp-objid = iyyyy-objid.
          sgmnt_e1pityp-infty = '0001'.
          sgmnt_e1pityp-begda = ixxxx-begda.
          sgmnt_e1pityp-endda = ixxxx-endda.
          clear ls_idoc_data.
          ls_idoc_data-segnam = 'E1PITYP'.
          ls_idoc_data-sdata = sgmnt_e1pityp.
          insert ls_idoc_data into idoc_data index row_index.
    APPEND t_idoc_data .
    Get the ZZSWISSREID
          sort lv_p0001 by begda descending.
          read table lv_p0001 into ls_p0001 index 1.
          sgmnt_hcms_pi-zzswissreid = ls_p0001-zzswissreid.
    Get the custom data from IT0002
          sort lv_p0002 by begda descending.
          read table lv_p0002 into ls_p0002 index 1.
          sgmnt_hcms_pi-zzglobalid = ls_p0002-zzglobalid.
          sgmnt_hcms_pi-zzsource_id = ls_p0002-zzsource_id.
          sgmnt_hcms_pi-zzlegacy_emp_id = ls_p0002-zzlegacy_emp_id.
          ls_idoc_data-segnam = 'ZHCMS_PI_SEGMENT' .
          ls_idoc_data-sdata = sgmnt_hcms_pi.
          row_index = row_index + 1.
          insert ls_idoc_data into idoc_data[] index row_index.
          clear : lv_p2001[] , lv_p0001[] , lv_p0002[] , lv_p0710[] ,lv_p0007[], lv_p0521[], ls_p2001 , ls_p0001 , ls_p0002 , ls_p0710 ,ls_p0007, ls_p0521 .
    APPEND t_idoc_data.
        endloop.
    Thanks
    Bala Duvvuri

  • Iam getting any error in infotype 0002 while doing enhancement ...

    Dear all
                could any one let me know why iam getting this error ,
       " TABL HRTIM00WS_PWS_INFTIES was adjusted
      Check table HRTIM00WS_PWS_INFTIES (SFCD07/13.06.07/11:34)
      Enhancement category for table missing
      Enhancement category for include or subtype missing
      Field name TIME is reserved (Do not use structure as include in DB table)
      Table HRTIM00WS_PWS_INFTIES was checked with warningsif iam doing
    enhancement for infotype 0002 ....
    i have just added an one custom field ...(zzname , data element is zzname type char 20)as per the business requirement.
    regards
    vamsi

    Iam getting any error in infotype 0002 while doing enhancement .
    " TABL HRTIM00WS_PWS_INFTIES was adjusted
    Check table HRTIM00WS_PWS_INFTIES (SFCD07/13.06.07/11:34)
    Enhancement category for table missing
    Enhancement category for include or subtype missing
    Field name TIME is reserved (Do not use structure as include in DB table)
    Table HRTIM00WS_PWS_INFTIES was checked with warningsif iam doing
    enhancement for infotype 0002 ....
    when iam activating .................the structure i got the above error...........please urgent i have just added only one field

  • Infotype 0002 problem

    Hi All,
    I have couple of problems in infotype 0002.
    1. field ANZKD(number of children) is missing in infotype.
    2. marital status key in structure P0002 and in dynamic actions is FAMST but in Infotype marital status key is FATXT.
    I am using country grouping 10 for USA. Is there different screens available? If yes how to change screen.
    We have done no screen exits so far!!
    Thanks in Advance.
    Vivek.

    Hi,
    You should work on view T588M via t-code sm30.
    You can either change screen or control the screen fields there.
    1. ANZKD is alreay there in 2010, just choose the entry to set it to the value other than hide.
    MP000200     2000               10     2010     0
    2. Just go ahead with FAMST, FATXT is the text display on screen. But FAMST stored in database.
    Hope helps,
    Chen Jian

  • Missing of Gender field in infotype 0002

    Hi All,
    Recently we have upgraded the patch level from 0026 to 0037.  The problem is I am unable to see the Gender field(GESCH)  in Infotype 0002. I have checked in Std screen of P0002 there also i am unable to find the field. But in the database table the field is available.Previously it was available in infotype 2.
    Due to the missing of  standard field Gender (GESCH) in Infotype 0002 I am unable to upload the data and also unable to take the std copies of PF form 5 and form 10 where system is automatically taking the Gender column as F(female) instead of M(Male).As per the standard code it checks this field GESCH for "1" and outputs gender as "M" if "1" and "F" otherwise.
    Any help in this regard will be highly appreciated.
    Regards,
    Anjenaya Prasad

    Hi,
    Activate the field in the table T588M Q0002-GESCH to standard.
    Path: PM->PA->Customizing user interfaces-> Change screen Modifications
    Regards
    Devi

  • ALE - IDOC  Infotype 0002   additonnal fields...

    hello all
    We have add 2 customers fields in the infotype 0002, and we would like to sent the infotype 2 with these
    2 new fields.
    So we have created an extension which contains a segment with these 2 fields. But  unfortunately
    with the pfal transaction , these 2 fields are not filled by values.
    Has someone have an advice ?
    thank you

    hello  all
    thx for your contribution
    it works  well for a specific message  that we have updated with an extension which include the segment Z1P0002  , but in our case we have a lot specific message . so  we update table Table T777d  in order to include specific segment Z1P0002 ( the 3rd  after E1P0002, E1Q0002 )
    but unfortunately, the fact to update T777d , occurs error for all the message  they are not concerning with this extension.
    Maybe an another way exists ?
    Thx for help by advance.

  • Need to upload employee photos against infotype 0002

    Hi,
    We have an urgent reqirement to load the photos of all the employees agianst the infotype 0002 which need to be accesed by the employees and managers via enterprise portal.
    Can anybody help me....
    Thanks in advance
    Krishna

    The steps provided you are very appropiate , but you can also check the following settings incase you dnt achieve your requirements.
    Q. How to attached the Photo in IT0002
    1.Create a number range for SAP Archive Link :
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.
    Tcode OANR. Create range 01 from 0000000001 to 9999999999 without the external number flag.
    2.Document type HRICOLFOTO must exist with document class JPG.
    IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.
    Table TOAVE, Tcode OAC2.
    3.Document type HRICOLFOTO must be linked to object type PREL and IT0002.
    IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.
    View V_T585O, no Tcode. In all three columns there ara minuses, don’t put a flag in the check box.
    4.Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.
    Table TOAOM_C, Tcode OAC3
    5.Create this content repository with storage type FILE archive.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.
    Tcode OAC0
    Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C:\).
    6.Link photo to personnel number.
    Menu>Tools>Business Documents>Miscellaneous>Stored Documents. Tcode OAAD.
    Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo.
    To delete archived document :
    Tcode OAAD, click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon.
    thnkx
    bhanu

  • Upgrade from 4.6C to ECC 6.0 - change text of infotype 0002 screen

    Hello Guru,
    My client is upgrading from 4.6C to ECC 6.0. In 4.6C the field RUFNM text in infotype screen for 0002 is "Know As"  where in ECC 6.0 is now "Nickname". The field is P0002-RUFNM? If I want to change the text in ECC 6.0 from 'Nickname' to "Know As". What is the best option? Modify the screen? or change the Data element? or any better way?
    Thanks

    Hi Bob,
    To change the Field Text, Data Element would be the better option.
    Good Luck
    Om

  • Region in Infotype 0002

    Hi Gurus
    This is regarding infotype 0002 (personal data) while implementing for india country grouping 40 is given in the parameter (su01).Eventhough when hiring a person US related Region is coming in the dropdown list in personal data update
    any one can give me a guidance to face this challange
    with regards
    partha

    hi
    Got the answer byself
    Thanks and regards
    partha

  • PA30 ( Infotype 0002)

    hi,SAP SIRS,
    Pls     do    find   the  solution  for   changing text   "Birth Name" into    "Middle Name"   in infotype   0002   in   PA30.
    helpme .com
    saty

    Hi Sati ,
    Their Is Two Ways To Do IT.
    1st Method.
    Go For T588M Table
    Or
    Go To VIew V_T588M
    Or
    In IMG
    U Go For
    Personal Management,
    ->Personal Adminstration,
    ->Customizing User Interfaces,
    ->Change Screen Modifications,
    Select MP000200 And The Coreesponding Screen Number
    Change The Field Last Name By Birth Name.
    2nd Method.
    Go To Tcode PM01
    And Your Infotype.
    Screen (Correponding Screen Number)
    In The Layout Editor
    Using Access Key
    Change the Text Last_name__ By Birth_name.
    Generate All Objects.
    Thanks & Regards,
    Shiva vs.
    Thanks & Regards,
    Shiva vs.

Maybe you are looking for