Update multiple infotypes for an employee

I have a requirement to update some fields in various PA infotypes like 0002, 0006, 0008, 0015, 0021 and a few custom PA infotypes (9xxx) for a given set of employees.
Is there any method by which I would be able to update the required fields of all the above listed infotypes for an employee in one go? Is it possible to update all the infotypes of  all the given set of employees in one go?
Please let me know the FM that could be used to meet the requirement. An example would also be helpful.
Thanks,
Jiten

Please check if there is already personnel actions defined with all the infotypes you are trying to update. If you have them, then you can use HR_INFOTYPE_OPERATION or HR_MANTAIN_MASTERDATA very easily with one single call. For that please refer the logic of PA48 transaction, simple one.
If the personnel action is not defined, then you need to call the FM HR_INFOTYPE_OPERATION separately for each infotype. Or HR_MAINTAIN_MASTERDATA at once for all of them.
From the list of standard infotypes mentioned, only IT0008 is having repetitive structure, handle it as a special case else others looks very similar.
Note : I don't see IT0000 mentioned in the list, hence i presume that there are no personnel actions defined for this set. But you can get it confirmed from your functional folks.
Regards
Ranganath

Similar Messages

  • How to make RECORD for saving multiple rows for each employee..

    Hi,
    How can I create a record for saving multiple rows for each employee... (parent child relationship)
    I have created all required fields, then created a record, and then created a page. in that page i dragged-n-dropped a scroll area on that page and dropped all required fields from record into that scroll-area.
    whats is happening that its saving ONE (the first) record fine, but for the second record its not storing EMPLID for that row..
    Will I have to make some change at RECORD level ?
    OR Will i have to make some configuration in parent component ?

    Hi, the problem is solved. The record will be created in same way. just create more then one keys (allowing to make composite key in DB table)

  • Headcount report when multiple position for an employee at particular time

    Hi
    I have to develop a headcount report which will show the employee count by each personal area. Now i can simply bring in headcount data from the R/3 by standard source system. My problem is that one employee can have multiple position at a time. In standard routine every record is assigned headcount by 1. Now problem is that there are multiple records for an employee as multiple position are assigned at the same time which will lead to wrong headcount.
    Thanks
    Kamal

    Hi Kamal,
    Can you write your report off of 0EMPLOYEE or did you change the key to include position?  Just include employee group and employment status to determine who your active employees are. 
    Brian

  • Update multiple row for different values

    hi,
    Please provide me the sql query to update multiple row in a table with different values.
    i need to change the old date to new date
    we have only 3 column id,name,old date.now i need to update the old date to new date
    ID name old date new date
    1 A 2012-12-20 12/7/2012
    2 B 2012-12-20 12/9/2012
    3 c 2012-12-20 12/5/2012
    thank you.

    Here are two ways to do this. Thanks to ranit for the table creation script, which I adapted.create table test_x
    as
    select 1 id, 'A' name, to_date('2012-12-20','yyyy-mm-dd') old_date
    from dual UNION ALL
    select 2 id, 'B' name, to_date('2012-12-20','yyyy-mm-dd') old_date
    from dual UNION ALL
    SELECT 3 ID, 'C' NAME, TO_DATE('2012-12-20','yyyy-mm-dd') OLD_DATE
    from dual;First method using MERGE:MERGE INTO TEST_X O
    USING (
      select 1 id, to_date('12/7/2012','mm/dd/yyyy') new_date
      from dual UNION ALL
      select 2 id, to_date('12/9/2012','mm/dd/yyyy') new_date
      from dual UNION ALL
      SELECT 3 ID, TO_DATE('12/5/2012','mm/dd/yyyy') NEW_DATE
      FROM DUAL
    ) n
    ON (O.ID = N.ID)
    WHEN MATCHED THEN UPDATE SET OLD_DATE = n.NEW_DATE;Second method using UPDATE:UPDATE TEST_X SET OLD_DATE =
      CASE WHEN ID = 1 THEN TO_DATE('12/7/2012','mm/dd/yyyy')
           WHEN ID = 2 THEN TO_DATE('12/9/2012','mm/dd/yyyy')
           WHEN ID = 3 THEN TO_DATE('12/5/2012','mm/dd/yyyy')
      END
    where id between 1 and 3;
    You probably don't want to use these methods.*
    You say the "user" will enter these values. Will he always enter exactly 3 values?
    The "user" will enter values into a screen I suppose. What language is the user interface programmed in?

  • Add 2 infotypes for the employee sub group .......

    hi all,
    i got hold by a issue. as per the business requirement i have to add 2 infotypes for a infogroup . the main issues here is the those infotype should appear only for one of the employee sub group not for all. kindly do the needful.
    grab the points for the solution.
    thanks
    vikram

    hai vikram,
    we can do it by using IGMOD feature.
    Reward with points.
    Regards,
    Chiran Reddy.

  • Multiple entries for single employee in salary posting document

    Hi All,
    Require your help badly in sorting out an issue.
    For a particular provision, for ex - Prov for LTA, it is observed that multiple entries appear in salary posting document for a single employee. It is the case for other provisions too like LTA, Gratuity for numerous employees.
    Account Number with Text                  Wage Type   Pers.No.       Credit Amount      Crcy
    14520      PROV FOR LTA-CY            9LTA LTA      700002         11,902.00             INR
    14520      PROV FOR LTA-CY            9LTA LTA      700002         12,984.00             INR
    14520      PROV FOR LTA-CY            9LTA LTA      700002           3,636.00             INR
    Could you pl help me identify the reason and sort out the same.
    Thanks
    Amitava

    Hi,<br>
    How have you configured the 9LTA's provision? Is it any standard functionality for PY-IN or custom?
    Good luck<br><br>
    Thanks,
    Amosha
    <br><br>"Known is a drop & unknown is an OCEAN!"

  • MULTIPLE POSITIONS FOR SINGLE EMPLOYEE

    HI EXPERTS,
                     I AM AN ABAPER AND NOW I AM WORKING WITH HR DEPT .I HAVE TO BRING MANY POSITIONS TO A SINGLE EMPLOYEE.
    EX) RAM WILL BE THE AAST MANGAER FOR FINANCE AND BUSINESS EXECUTIVE AND WILL BE ONE AMONG THE BOARD OF DIRECTOR.
    SO WHEN WE CREATE ACTIONS WE CAN CREATE ONLY ONE POSITION AT A TIME .
    SO HOW TO CREATE MULTIPLE POSITIONS FOR A SINGLE EMPLOYEE.???

    Hi,
    You can assign multiple position to single employee, based on the Employment Percentage in IT001, you can assign multiple position.
    This concept is especially called Concurrent Employment. Assigning of multiple position, in Concurrent Employment, SAP has developed in such a way that, it will synchronize your Work schedule and show it one screen and payroll will calculate the amount from various assignment.
    I have posted the Wiki about the Concurrent Employment in the Wiki section. If you want go through that, you will get little idea.
    Good Luck
    Om
    Reward it, if u feel helpful.

  • Creation of Multiple Activities for same Employee,same day and same time

    Hi Experts,
    In CRM 2007 I am creating an Activity(e.g Customer Visit) for a particular day for a particular employee. I am selecting the Option "Whole Day".
    When again I am creating another Activity same day and for same employee the ideally system should not allow me to create further activities as I have already scheduled for the whole day but its is allowing me to create as many activities i want irrespective of Time frame.
    I want to block overlappped activities created for  same emloyee same time.
    Can you please suggest me with your ideas inorder to achieve same???
    Regards
    Arup

    Hello,
    If there is no standard solution you can implement the BADI : CRM_ORDERADM_H_BADI
    Here you can see when a new activity is created, and then maybe you can cancel the creation or even replace the new activity by the existing one.
    Regards,
    Benoî

  • Updating multiple infotypes

    Hi,
    We have a custom infotype which updates many other infotypes the code was written for PA30. We now for various reasons (ESS etc.) have to migrate the code and make the code decoupled.
    I have read SAPHELP -> [Developing an Infotype in Personnel Administration -> ...Modify Existing Records|http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/a503b963161bbfe10000000a1553f7/frameset.htm]
    and fully understand how to do this through containers - even have a good example with itype 0045  (CL_HRPA_INFTY_0045) which updates itype 0078.
    To achieve the above the attribue a_masterdata_buffer has to be instantiated. The condition for this is if Legacy_Mode = false.(CL_HRPA_MASTERDATA_FACTORY=>Delayed_constructer( ) instantiates a_masterdata_buffer)
    The only way i can see this happening is if Concurrent Empoyment is activated.
    CALL METHOD cl_hrce_masterswitches=>check_released is true (note 520965)
    and the following entries  are activate in table T77S0
      CCURE MAINS  the master switch
      CCURE GLOPY  payroll of global employees
      CCURE GLEMP  management of global employees
    Is there another way? Can containers be used another way?
    if not
    What is the implication of turning on concurrent employment - given we dont want to use any of the features?
    cheers
    JSP

    Hi Ian,
    Sorry to ask using your thread..But, were you able to answer your question? I'm having the same issues. I plan on updating infotype 2003 (SAP_PT) and 0007 (SAP_PA). I need to update either one of them but not both and I'm getting error in HCM Process and forms.
    Thanks!

  • Multiple Positions for One Employee (OrgChart Campaign)

    I am trying to determine if the OrgChart campaign offering will meet the needs of my client.  They have an interesting setup where they assign one employee to multiple positions (example:  50% to one position, 50% to another position, etc).  I want to confirm that the OrgChart campaign offering will pick this up and reflect each position and its holder even if the holder is represented in another org unit attached to another position.  I assume this is possible since it uses the O-S-P relationship search but since we have trouble with some of the standard SAP reports returning only one position I just wanted to check.
    Thank you!

    Hi there,
    Before I start you may wish to use TVN OrgChart 2.1 which was recently released on Service Marketplace as it contains all the functionality of the Accelerated Campaign offering with a bit more functionality and some bug fixes from TVN2.0.
    OrgChart's standard functionality in this area is to show a node (box) for each position. Where two or more people sit in the same position it shows a node for each of these employees.
    In your scenario where a person sits in two positions within different orgunits, OrgChart will represent this as two nodes - one in each orgunit.
    I hope that helps!
    Luke

  • Multiple BPs for an employee in CRM

    Hi,
    We have ECC-HR (6.0) integaration with CRM (6.0)for employee data . We have triggered initial download and all the Organizational units, positions and employees downloaded and relationships created without any issues.  Now a days we are getting some issues like some times the CP-BP relationship isgetting deleted and when we try to download the employee once again into CRM through PFAL(update mode) transaction in ECC, a new BP is getting created that is linked to the CP in CRM. By this we are missing all the previous transactions made by this employee in CRM (as earlier the employee was linked to other BP and now that is no more valid).
    Please let me know how can we overcome this situation? What are the cases where CP-BP relationships will be deleted in CRM?
    Any help will be highly appreciated.
    Thanks,
    Rajinikanth G

    Hi,
    the issue of deleted CP-BP relationship may be related to a low level of support packages of component SAP_ABA. You may keep your system up to date by istalling available support packages or check related notes of note 934372 and apply available correction instructions.
    If new BPs already have been created you have to remove the CP-BP relationship from table HRP1001 using report RHRHDL00 by specifying the id of the CP and the relationship A/B207 (not sure if A or B).
    After this you have to find the BP which has been created originally (searching by name) and use a report to restore the link from theCP to the this BP - the report has to be created from a note linked to note 934372 (short text mentioning ...help reports). The new BP created on error can then be deleted .
    Hope  your issue can be solved,
    Michael

  • Update multiple infotype records

    Hi experts,
    Is there any FM which can be used to update/insert/delete multiple records at a time in PD infotypes? IF so, could you please provide me the name of the FM.
    Thanks,
    Rahul.

    try to use: RH_PNNNN_MAINTAIN

  • Maintained infotypes for an employee

    Hi
    please fetch me the aprogramme or trasation code to find infotypes which are maintained toa employee
    Thanks in advance
    Sri

    Hi Sr!^^,
    You can check the  Program HRPBSUSACTION.
    Regards,
    Shiv
    Edited by: Shivram SAP on Oct 31, 2008 10:29 AM

  • Update HRMD_A infotypes from inbound Idoc

    Hi again all,
    I am trying to send inbound HRMD_A06 idocs to SAP to update infotypes for employees. The idocs are received by SAP, processed by the correct application and stored in the database for the employee. But the values already stored in the infotypes should be delimited based on the new data, and it is not!
    The new value, ie. IT0105 subty 0010 (email) has the previous values:
    BEGDA: 20040101
    ENDDA: 99991231
    INFTY: 0105
    SUBTY: 0010
    USRTY: 0010
    USRID_LONG: [email protected]
    The idoc sent to SAP contains the following values (which are stored successfully in the database):
    BEGDA: 20050201
    ENDDA: 99993112
    INFTY: 0105
    SUBTY: 0010
    USRTY: 0010
    USRID_LONG: [email protected]
    The new values are stored correctly for the correct employee, but the previous values are not delimited! SAP only adds the new value to the list of infotypes for the employee. The previous values should be set so ENDDA = 20050131.
    Currently there is no way to know which value is the valid one, as both values are currently valid. We are using time constraint 2 (only one value valid at any time), but this seems not to be functioning.
    Does anyone have any experience with this?
    Any help is highly appreciated.
    Br,
    Kenneth

    Hi Senthil,
    That was apparently a typo from me... The ENDDA is set as 99991231. But according to OSS note 134085 the inbound HRMD_A idocs are bypassing all consistency checks and time constraint checks. But I have managed to overwrite the previous value if the new BEGDA and ENDDA at least covers the previous BEGDA and ENDDA, and BEGDA >= hire-date. Even though I can't delimit records, I can live with this solution.
    Thanks for your reply.
    -Kenneth

  • Not able to generate multiple lines for headers in report

    Hi,
    I am new to BI publisher and not able to generate multiple lines for headers. Please help me to resolve.
    I am using RTF template, data source as PS Query and XML file (system generated from the data source)
    When I am using system generated 'First XML' file, I am getting output in the follwoing format.
    TEAM_MEMBER, PROJECT_ID, NAME, START_DT
    e.g.
    EMP1 , 71000, Sample, 01-Jan-2010
    EMP1 , 72000, Sample, 01-Feb-2010
    EMP1 , 73000, Sample, 01-March-2010
    But I want the report to be generate with multiple projects for one employee like below format , for that I used 'Second XML' file but I am getting blank report.
    In short if there is one to many case, how to show in reports??? Please correct if I am going wrong.
    TEAM_MEMBER
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    PROJECT_ID, NAME, START_DT
    e.g.
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    **********First XML**************System generated XML ****************************
    <?xml version="1.0"?>
    <query numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <row rownumber="1">
    <TEAM_MEMBER>TEAM_MEMBER </TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    <row rownumber="2">
    <TEAM_MEMBER>TEAM_MEMBER</TEAM_MEMBER>
    <PROJECT_ID>PROJECT_ID samp</PROJECT_ID>
    <NAME>NAME sample data</NAME>
    <START_DT>2010-08-25</START_DT>
    </row>
    </query>
    **********Second XML**************Manually created XML and using to show multiple projects for one employee****************
    <?xml version="1.0"?>
    <TEST numrows="2" queryname="SY_EMP_PROJECT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="">
    <TEAM_MEMBER rownumber="1">
    <TEAM_MEMBER>1</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLE</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    <TEAM_MEMBER rownumber="2">
    <TEAM_MEMBER>2</TEAM_MEMBER>
    <EMPLOYEE_NAME>SAMPLEC</EMPLOYEE_NAME>
    <PROJECT>
    <PROJECT_ID>1111</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01012010</START_DATE>
    </PROJECT>
    <PROJECT>
    <PROJECT_ID>1112</PROJECT_ID>
         <PROJECT_DESCR>SAMPLE</PROJECT_DESCR>
    <START_DATE>01022010</START_DATE>
    </PROJECT>
    </TEAM_MEMBER>
    </TEST>
    Edited by: ganeshtw on Aug 25, 2010 12:14 AM

    Hi,
    With your first xml you can print like
    EMP1
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010While creating the RTF template you can use the Group by option.
    <?for-each-group:ROW;./columnname> then print the column name
    <?columnname?>
    --Then your table format
    71000, Sample, 01-Jan-2010
    72000, Sample, 01-Feb-2010
    73000, Sample, 01-March-2010
    <?end for-each-group?>
    Thanks.

Maybe you are looking for