Infotype 0002 - personel data

Hi All
While Creating a IT 0002 , the field  "Gender"  is showing the default value as  "Unknown"  .
Now i want to set this field with the default value as  "Male"
Please let me know the solution .
I would appreciate for an earliest response .
Thanks in advance .

Hi,
For IT 0002 there is no feature available for defaulting gender specific.
But may be based on Form of Addr it is defaulting as unknown. When you create a record intially form of address will be blank, so based on that condition it is defaulting unknown.
Ask your tech consultant for defaulting Male instead of unknown.
Reg,
Srini

Similar Messages

  • 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

  • IDOC HRMD_A for Infotype 0002 (Personal Data)

    Hello,
    I'm trying to send the modifications that I make in a person in the transaction PA30 in the table PA0002 automaticly. But when I go to thew program "RBDMIDOC" and select the message type "HRMD_A" (HR: Plan data and HR master data) it says that it doesn't have anything to send. But when I modify a Object (o, c, s), and I execute the program it send information. The object(o,c,s) has sent correctly. But when I want to send the Personal Data (P), it doesn't send anything. I have the trigger activated.
    Have I selected the message type correctly?
    PM

    updating id for malasian employee is not working.
    Q0002-perid. it come only for malasian employee.
    screen no 2044
    Use transaction PA30,
    Enter infotype number 2 or select Personal Data (0002) on the Personal Data tab
    You can use any Malaysian employee #
    Click on change button
    Enter in an ID number.  (There is no validation on ID number field.)
    Click either the enter or save button.  The ID number disappears and a message says ‘No change found’.

  • Infotype 0002: Exception INTERNAL_ERROR after saving

    Hi All
    This error we are getting when we Applied Service package 18. 
    within a hiring action, after you save infotype 0002 ("Personal Data"), the exception INTERNAL_ERROR occurs with the runtime error RAISE_EXCEPTION.
    The exception is triggered in the method CHECK_AUTHORIZATION in the class CL_HRPAD00AUTH_CHECK_STD.
    So if any body is getting this error then please Apply this SAP Note 1366651 which is released By SAP on 20 July 2009.
    Thanks & Regards
    Gaurav Mittal
    Technical Consultant - SAP HR
    Edited by: Gaurav Mittal on Jul 21, 2009 3:13 AM

    What are the logs saying? You will most likely have a bit of code that is incorrect.
    Log into the Coldfusion administrator and have a look at application.log or coldfusion-out.log. It should tell you what the error is and possibly the line number.

  • 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

  • Infotype: Japan infotype 0002 update

    Hi Experts,
    Can any one help me in creating/Updating infotype 0002 - Personal Data.
    System is not accepting anything in the field "Katakana:P0002-LNAMK"
    In the screen i am not able to trace what is Kanji, Katakana, Romaji.
    Thanks in advance
    TK

    Thanks for the quick responce Sikindar,
    My requirement is what exactly the fields requirement, i am looking for the process, i want to know the link between 0002 and 0148.
    Thanks your reply it is partly answerd my query.

  • 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.

  • 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

  • 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

  • Infotype 0002

    Hello,
    Is any one could help me on these infotype, I'm looking to hide the date of birth. I would like to give access to display only without this infortype BUT when I'm doing this the users can't do any search by names any more !! Not handy ! The purpose is to give the user access to PA20 so he could see the name and address for instance but it shoudn't see the date of birth it's a sensitive subject at this moment !!!Help !
    All suggestion will be more than welcome
    Regards,
    Martine

    Hi,
    If you want the give him the access for the search only then.
    Give Infotype 0002 with Authorization Level M only.
    It should work
    Hope this helps
    Manohar.

  • Infotype 0002 persional ID not updating

    I need to update persional ID.
    i Used transaction PA30,
    Enter infotype number 2 or select Personal Data (0002) on the Personal Data tab
    You can use any <b>Malaysian</b> employee #
    Click on change button
    Enter in an ID number.
    Click either the enter or save button.  The ID number disappears and a message says ‘No change found’.
    help me regarding this.

    Hi vijayan,
    1.   Enter in an ID number.
    2. Which field are u talking about in infotype 0002.
      ( i could not find such field)
    regards,
    amit m.

  • 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

Maybe you are looking for