Create infotype 0105 records

Hi All,
I am trying to use HR_MAINTAIN_MASTERDATA to create IT 0105 records for 2 subtypes namely '0010' for e-mail and '9000' for external id.
I am able to create a record for both by populating the PROPOSED_VALUES table and passing it to the FM.
But when I check the infotype, I see that the e-mail address for the subty '0010' is stored in the USRID field and not the USRID_LONG field. I tried different things but havent been able to figure out how I can populate the value in the USRID_LONG field instead of USRID field.
this is how i am populating the PROPOSED_VALUES table
p0105   p0105-begda  '20080603'  '01'
p0105   p0105-endda  '99991231'  '01'
p0105   p0105-usrty  '0010'  '01'
p0105   p0105-usrid  'abc@ yahoo dot com'  '01'
NOTE: when i use USRID_LONG above, the FM returns an error message saying 'Required fields missing'.
p0105   p0105-begda  '20080603'  '02'
p0105   p0105-endda  '99991231'  '02'
p0105   p0105-usrty  '9000'  '02'
p0105   p0105-usrid  'ABC'  '02'
I tried using HR_INFOTYPE_OPERATION and no luck there either.
All your suggestions are greatly appreciated.
Thanks!
Sandeep

Hi Pradeep,
I did what you mentioned and it still does not work.
When a hiring action is carried out through PA40, the e-mail id is stored in USRID_LONG field when a value is entered (as expected).
But when I try to create a record using the function module that is when the problem occurs.
Any other suggestions are greatly appreciated.
Thanks!
Sandeep

Similar Messages

  • Infotype 0105 creates usr01 when running HRALXSYNC

    After Hiring new employee (pa48) and creating infotype 0105 the system creates user for the employee of type 'C' (communication date).
    We do not want every employee to has user in the system.
    therefor we want to prevent the automatic creating of user.
    Is there any way to prevent that process?
    best regards.
    Yotam.

    Hi Yotam,
    No, a user is needed in E-Recruiting. That's the reason why we create a random user if you don't have IT0105 filled.
    Regards,
    Nicole

  • PP02: Create Qualification Management (infotype 1055) record for a job

    Hi Experts,
    I would like to create Infotype 1055 records via PP02 for a job (Otype: C). I'm able to create Object type 'Qualification' and Object id 'XXXXXXXX'. There is another field Proficiency which is disabled. But we do want to maintain Proficiency at this point.
    When I checked the code behind the screen, I found that this field is enabled for input only when the OTYPE is 'QB' (Qualification Block).
    How do I enable this in order to maintain it. Any user exit/config setting to enable it would be highly appreciated.
    Regards,
    Ramesh

    Suresh/Om, Thanks for the quick replies. My screen MP105500 (screen 2000) is not available in T588M. So I thought I cannot use this method.
    Gary, I do not want to use PPPM as it is difficult to manage it via BDC or LSMW and the most important thing is that PPPM creates relationships but I want to create entries in HRP1055.
    Any other ideas/thoughts ? My first thoughts are to use an enhancement. But couldn't find one.

  • Infotype 0105 not updated via HRUSER

    Hi there
    I'm currently implementing ESS for SAP R/3 4.7 and running into issues running the HRUSER transaction. I can see a specific employee who has no user account setup but a personnel record in the system. When I select to setup the User ID the program successfully runs in the background but the User ID isn't created and the Personnel Record isn't updated with the Infotype 0105 record. I've ran an authority check and there aren't any failure messages so I'm struggling to see why the Infotype isn't being updated. If anyone could point me in the right direction it would be very much appreciated.
    Regards
    Nathan

    Check for the hiring dates of the personnel record. i.e. The employee record is valid on the ID creation date.

  • How to set authorization for only Create infotype record

    How can I set the authorization so that the user can only create Infotype 14,15,2010,2001,2006 but cannot change and delete the record for these infotypes.
    But user has the authorization to create,change and delete other infotypes.

    Hi irene,
    1. For this we have to use the
       authorisation object
      P_ORGIN
    2. It has got the following fields, on which authorisations can be controlled.
    AUTHC     Authorization level
    INFTY     Infotype           
    PERSA     Personnel Area     
    PERSG     Employee Group     
    PERSK     Employee Subgroup  
    SUBTY     Subtype            
    VDSK1     Organizational Key 
    regards,
    amit m.

  • Infotype 0002 record being created with language 'Z1' and not 'EN'

    Approximately 50% of our Infotype 2 records exist with the language field value as 'Z1'.
    This wasn't captured manually, and our config is set up for 'EN'.
    Please advise how this could have occured.

    Look at T-code RZ11 with system  parameter "zcsa/system_language"  OR search for  "system_language".  I think, it got setup with wrong language i.e. Z1
    ^ Saquib

  • Delimit Infotype 0105 Subtype 0001

    Hi All
    I am new to ABAP so need help.
    We need to delimit Infotype 0105 subtype 0001 records.
    I tried vai a number of ways but facing issues in someway or the other.
    When I try to do the same via FM: BAPI_HRMASTER_SAVE_REPL_MULT, it creates a new entry for the same record with end validity day as system date (the old record which has end validity date as 31.12.9999 remains).
    When i try to do the same via FM: BAPI_EMPLCOMM_DELIMIT, it throws an error 'EPG                  009No data stored for 0105 in the selected period' even though the record exists.
    CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
      EXPORTING
        employeenumber       = '00000049'
        subtype              = '0001'
        objectid             = 'P'
        lockindicator        = ''
        validitybegin        = '20100701'
        validityend          = '99991231'
        recordnumber         = '000'
        delimit_date         = '20120219'
    *   NOCOMMIT             =
    IMPORTING
       RETURN               = return.
    *   EMPLCOMMKEY          =
    Not sure how to go about it. I searched the forum which suggested to use Function Modules, but even then the issue isn't getting resolved.
    Please help.
    Martin

    Hi
    Your problem is the parameter OBJECTID It doesn't make sense to pass a 'P'.
    Other than that, you just have to lock and unlock the Personnel Number accordingly.
    Regards
    data: return type BAPIRETURN1.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        number        = '00000224'
    * IMPORTING
    *   RETURN        =
    CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
      EXPORTING
        employeenumber       = '00000224'
        subtype              = '0001'
        objectid             = ''
        lockindicator        = ''
        validitybegin        = '20070101'
        validityend          = '99991231'
        recordnumber         = '000'
        delimit_date         = '20120219'
    *   NOCOMMIT             =
    IMPORTING
       RETURN               = return.
    *   EMPLCOMMKEY          =
    BREAK-POINT.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
      EXPORTING
        number        = '00000224'
    * IMPORTING
    *   RETURN        =

  • When i am running the RBDMDOC it will not genarated the idoc for the infotype 0105

                   Hi experts,
                            I am run a pa40 action and change the record of 0105 infotype, in bd64 as part of data filtering I am also mentioned 0105 . but when I am run the RBDMIDOC  the idoc is not generated of the infotype 0105 .
    Thanks in Advance .
    Venkateswara Rao.

    Hi Venkat Narayan,
       Thank for giving such a help,
    1.   I am created record for the infotypes  i.e :0,1,2,6,105.
    2    In bd64 I done a data filtering for above infotypes , its fine , but when I am running the bd21   Tcode the idoc is generated for    0,1, 2,6,. it is not generated for p0105.
         please find the following screen shorts.  
    Thanks.
    venkat

  • Error when creating a employee record with Bapi BAPI_HRMASTER_SAVE_REPL_MUL

    Hi All,
    I am trying to create employee record using BAPI 'BAPI_HRMASTER_SAVE_REPL_MULT',
    I am getting bellow error messages from BAPI.
    Object 01,P,00026746 does not exist: infotype 0006 cannot be created
    Object 01,P,00026746 does not exist: infotype 0017 cannot be created
    Object 01,P,00026746 does not exist: infotype 0105 cannot be created
    Does this require any prior configuration?
    Please advice.

    hi,
    try to execute in foreground then you wil come to know where the error is.
    thanks,
    vasu.

  • How to define default subtypes for Infotype 0105 on entry

    Hello;
      I have spend an entire day trying to look into PA configuration to determin how to make specific Subtype of the 0105 Communication Infotype automatically appear when an HR person is entering in a new employee.
    Currently we have the 0001, 0010, and ADP subtypes automatically appear in the Communication Infotype screen when the person is entering in a new employee.  I was asked to create three new Subtypes for Infortype 0105 and have these new subtypes automatically appear on the data entry screen for Infotype 0105.
    I can not find anywhere in configuration how to do this.  I ahve burnt an entire day searching configuration and have about had it with this garbage.
    Can someone please point me to specific spot in configuration where these subtypes of and Infotype can be identified as default data entry screens.
    I would greatly appreciate any help ... since I am not a HR Configurator ... just a plain old ABAP'er who has lost our configurators.
    Scott.

    Hi Scott,
    To create subtypes follow:
    Tcode: SPRO
    Path: Personnel Management>Personnel Administration>Communication>Create Communication Types
    Half the job is done. Then include those subtypes in your hiring action. To do so:
    Tcode: SPRO
    Path: Personnel Management>Personnel Administration>Customizing Procedures>Actions>Define infogroups>Info group
    Select your hiring infogroup and create new entries with operation INS for 105 and the three subtypes.
    You are all set!
    Cheers,
    Donnie

  • ABAP HR How to create infotype with table control in it like Infotype 0008

    Hi Experts.
    I need help from u guys. My client requirement is to create custom infotype just like 0008 infotype which contain table control to save amount and wage types. I try to create infotype with table control using PM01, but that table control is in display mode only, i almost search every where to create custom infotype with table control but what ever threads in forum all are they unanswered and most of the threads for creating infotype. But i already done with infotype , but my main problem is table control.
    If any one have some suggestion for this please share with me.
    <removed by moderator> i am looking for positive reply.
    Edited by: Thomas Zloch on Aug 30, 2011 12:54 PM

    Hi
    I've created several infotypes with a Table Control and it is always the same story. You have to create a custom Z table to store the Table Control data (if you can have unlimited records), so in the PSXXXX structure you need to add a TABNR field to link the PAXXXX table and the Z one, just like the type table OM infotypes.
    Then in your code you have to control every possible operation, INS, MOD, DEL... and update the Z table accordingly (the standard code won't do that)
    If your TC fields appear in display mode, take a look at the Groups 1 and 3 in your fields, the must be set with the usual values for a PA infotype.
    If you have more questions, just ask,
    Regards

  • How to create infotype while creating another infotype

    Hi All,
    I have below requirement...
    Whenever user create infotype 0008, infotype 0014 should be created for the wages available in a  Z table.
    I created a dynamic action and call function HR_INFOTYPE_OPERATION. When i debug the routine function successfully executed with sy-subrc eq 0. But when i check the database table, there will be no data for infotype 0014. I am writing the below piece of code, i put the hard code value for testing purpose...if you  have any idea please let me know
    IT_P0014-PERNR = '1000005'.
    IT_P0014-ENDDA = '99991231'.
    IT_P0014-BEGDA = '20071111'.
    IT_P0014-LGART = '1003'.
    IT_P0014-BETRG = 1003.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
    NUMBER = '1000005'
    IMPORTING
    RETURN = RETURN.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    INFTY = '0014'
    NUMBER = '1000005'
    VALIDITYEND = '99991231'
    VALIDITYBEGIN = '20071111'
    RECORD = IT_P0014
    OPERATION = 'INS'
    TCLAS = 'A'
    IMPORTING
    RETURN = RETURN
    EXCEPTIONS
    OTHERS = 0.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING
    NUMBER = '1000005'.
    Please let me know if i am missing any thing.

    Use INSERT command instead of HR_INFOTYPE_OPERATION.It has some issues while calling from Dynamic Actions.

  • Sap Username Infotype 0105

    Hello,
    i wrote a report to extract HR Data. I#m looking for a way to extract the information about the corrsponding SAP user which is configured in infotype 0105 (sy-name). I defined the following passage in my coding, but that's the way to extract the last user who did changes in that infotype:
    *sapUsername
    attributes_wa-attr_tab = 'EMPLOYEE'.
    attributes_wa-attr_field = 'SAPUSERNAME'.
    if p0105-uname NE ' '.
      attributes_wa-value = p0105-uname.
      append attributes_wa to attributes.
    else.
      attributes_wa-value = ' '.
      append attributes_wa to attributes.
    endif.
    What field i have to youse to extract the information about the corresponding user in infotype 0105?
    Please help!

    Hi,
    The SAP User id of the Employee is maintained in the USRID field of Infotype 0105 subty 0001.
    If you are looking for the user who changed the record, the field is UNAME.
    Regards,
    Suresh Datti

  • Idoc hrmd_a  doesn't create infotype 0003 automatically

    Hello !
    When a new Person is created in One R3 system -
    we send It's infotypes to another R3 system
    with idoc hrmd_a.
    We send only these infotypes :
    0000,0001,0002,0006,0105,0041,0900.
    We expect infotype 0003 to be created automatically in the new system ,
    but it does not happen and for that reason
    The Person is not created fully in the target system.
    only 0000,0001,0002 are created and for each of the other infotypes we got a message like this :
    "You have tried to create infotype XXXX for the following object: plan version 01, object type P, object ID 00XXXXXX. However, the object does not exist.
    PA objects exist if infotypes 0000, 0001, 0002, and 0003  have been created. "
    How can we make 0003 infotype to be created automatically
    without sending it by the Idoc ?
    Is there a flag in the idoc declarations or
    a customization we can fill to make this happen ?
    Thanks ,
      Nitzan S.

    Hi Nitzan,
    I don't think there is any easy way to get 0003 infotype being created automatically on idoc input. At least I have none in Release 4.6 c.
    Why not send it? IMHO there is no sensitive data in it? Besides there are ways to manipulate that data when replicated via ALE.
    If you really need that infotype to be created, you could check EXIT_SAPLRHA0_003 of RHALE001 via transaction CMOD. There you can code your requirements in ALE-user-exit.
    Regards
    Herbert
    Message was edited by: Herbert B.

  • Create locked HR record in BDC - possible???

    Is it possible to create a locked infotype record via a BDC session?
    Let me be more specific: We have a strange calculation for benefits eligible salary. So we use a program that performs that calculation and updates insurance records (it0168) with the correct coverage amount in the COVOV field in a BDC session. Now we have a new requirement that places a limit on the coverage amount w/o EoI. The BDC session will need to create two records for persons over the max - one with the limit amount, another locked record with the calc'd amount and EoI indicators. Both records will have the same start and end date.
    I've tried a number of different things, but the infotype key for both records (except for the lock indicator) is identical. So, one record just overwrites the other.
    Any help is greately apreciated.
    - George

    Hi George,
    1. Either we use BDC, or HR_INFOTYPE_OPERATION
       we cannot create duplicate records.
       ( i have tried the same)
    2. The Primary Key fields for any infotype table are
    SUBTY
    OBJPS
    SPRPS
    ENDDA
    BEGDA
    SEQNR
    3. If it is mandatory that BEGDA and ENDA (start and enddate)
    have to be the same, then the only option left is
    using the remaining field combination
    ie. SEQNR
    4. But SEQNR is probably not avaialble in BDC,
    5. For that purpose the other option is using
      FM HR_INFOTYPE_OPERATION
       (specify the SEQNR )
      This will definitely create a new record.
      ( i have tried the same)
    6. ANOTHER MOST IMPORTANT THING IS
       Will sap HR take into consideration this
      new record with SEQNR = 1 or SEQNR = 2
      in its standard business process.
       Or will it ignore it ,etc .
    7. So Before just dumping new record
      with new SEQNR, it is very crucuial to
      identify the problems.
    Hope the above helps.
    Regards,
    Amit M.

Maybe you are looking for