Change infotype 2003 when changing infotype 2001

Hi,
When changing some infotype 2001, I need to make a change for the same date in infotype 2003. So, I'm using BADI HRPAD00INFTY, method BEFORE_OUTPUT so I can change infotype 2003.
I already can change the infotype in that BADI, but after changing infotype 2001, which means on PAI, it seems that the old value of infotype 2003 is saved in memory, so it does not assume the new value there, and it gives me a warning message that I want to avoid with this development.
When I leave the transaction, infotype 2003 is updated, so that is working.
Do you have any idea how can I save the change in infotype 2003 in memory, so when changing 2001 it will recognize it?
Thanks in advance.
Best regards,
Sónia Gonçalves

You can try using the function call 'HR_INITIALIZE_BUFFER'.
Arya

Similar Messages

  • Reporting changes to Infotype 2001 data

    Can anyone advise me how write a program to report Additions, Amendments and Deletions of Infotype 2001?  I know this must be held somewhere because the report Logged Changes in Infotype Data (S_AHR_61016380) shows this but I can't see where this data is held or how to report it. 
    I'm fairly new to ABAP so the more help (& code?) you can give me the better.
    Thanks in advance, Gill

    Thanks for the replies.
    Rich - When we delete a record in 2001 the corresponding record in PA2001 is also deleted. 
    We need to be able to see any deletions (& amendments & additions).  Is there a way to see this
    in PA2001 - perhaps there's some config we need to do? 
    Suresh - I hadn't thought of using the output of the RPUAUD00 report but you're right - we could
    use this - I just hoped we could get the data in a more easily useable format.  e.g. if we could
    get it directly from a table as Rich suggests that would be easier than reformatting the output of
    RPUAUD00.  Do you know how we could access the tables behind RPUAUD00 directly?
    All the best, Gill

  • FMLA standard hours infotype 2001 not editable when working with date range

    Hi All,
    The issue described below arises at the Juncture between FMLA Workbench and Absence Infotype IT2001.
    When we try to tie a FMLA Request to Absences the process takes us to the Infotype PA2001 screen wherein we would like the Absence Hours Field to be Editable so that we could enter Hours (less than full day).
    The process works fine when the FMLA absence is for a single day, i.e. if an employee availed a FMLA leave on a day (whether full day or part of a day) the Absence Hours field (PA2001-STDAZ) is editable and the user can enter any number of hours of his choice.
    But the process faces a glitch when the FMLA absence spans over a period of time (i.e. an employee availed a FMLA leave for over a period wherein each day may or may not be a full day absence, in this scenario it would be best if the system allow the user to enter Absence Hours so that the User could enter the exact number of Absence hours correctly. But unfortunately, when an absence spans multiple days the Infotype 2001 screen dynamically turns the Absence Hours field (PA2001-STDAZ) uneditable (grayed out) and the system forcefully enters hours equal to the sum of the work schedule hours for each working day covered in the span of period for which we are trying to enter FMLA Absence Hours.
    I have used the USER EXIT and the BADI route and tried to change the Screen Table to editable, but with no luck.
    Wondering, if anyone of you could help me out of this glitch.
    Thanks in Advance.

    Hi,
       I don't think this is possible.
       You cannot make the Hours field editable for a date range.
       I don't think its feasible to enter absence hours on a day basis given a date range.
       Better think of creating a custom infotype to enter absence hours .
       (Design would be : based on the date range entered , say 01.01.2011 to 05.01.2011 , you should get five input enabled
         boxes(dynamically) for five days to enter the absence hours , this is not possible in standard infotype ..... )
    Regards,
    Srini.

  • LDB for infotypes 2001,2002 , 2003 ...04 ?

    Is there any LDB for the infotypes 2001,2002,2003,2004 ...
    Thanks,
    JR.
    Edited by: jeeva raj on Mar 13, 2009 12:00 PM

    Hi,
    I am not sure if I get your issue right, but from what I understand you can not do what you want. I do not think you are able to write a record in IT2001 or 2002 running RPTIME00, because it is absolutely the other way. RPTIME00 through the schema (TM00 in this case) gets the information for the infotype to be processed, but then to write back something in infotype I think is impossible.
    Hope it helps.
    Regards,
    Edoardo

  • How to retrieve time data from infotypes 2001 and 2002 when we use PNPCE

    Hello Everyone,
       I am new in using PNPCE ldb.In the requirement i have to retrieve time data from infotypes 2001 and 2002 between the begda and endda.I tried using the macro RP-READ-ALL-TIME-ITY to retrieve data.But its not supporting.Can some body help me in doing this.
    THanks in Advance..
    Regards,
    Chinni.

    Hi
       Try the following code:
    REPORT  ZHRTM41.
    nodes peras.
    Tables: PERNR.
    Infotypes: 2001.
    start-of-selection.
    get peras.
    rp_read_all_time_ity pn-begda pn-endda.
    end-of-selection.
    loop at p2001.
    write:/ p2001-abwtg,p2001-stdaz.
    endloop.
        It worked for me when using PNPCE. let me know if you have any problem
    Thanks,
    V.Nagaraju

  • INFOTYPE 2001 AND 2002

    When i book absence in infotype 2001 or book an attendance in infotype 2002, if i put 6.51, the system automatically changes it to 6.52 hrs. I just want the system to take 6.51. How is this possible. Can this be done through configuration. Please help
    Thanks

    hi,
    This Absence Hours is changing automatically to accomodate the absence start Time and End Time.
    Say in your eg,
    I assume Personal workshedule start Date - End date iis 8.00 - 17.00.
    You are trying to input6.51,system will automatically change to 6.52 to get the correct start Time and End Time.(eg: 08:00 - 15:31)
    Manoj.

  • PCL4 TABLE LOG FOR INFOTYPE 2001 IS NOT WORKING IN QUA 070 CLIENT

    Heloo,
    Could some one let me know the ways to capture the log of infotype 2001.
    I have used PCL4 table to capture all the changes made to INFTY 2001.
    This is working fine in DEV 070.
    But not working in QUA 070.
    Could someone let me know what is the problem and the solution.
    Thanks a lot for your efforts.

    Hi Lata!
    I created the absences (T554S):
    Ps grouping, Absence type text
    04,0100 VACATION WORKIN DAYS (quota working fine)
    34,0100 VACATION NATURAL DAYS
    When I check your steps I have this information
    1. Absence type screen no. should be 2001.
    I have checked in table T554S.
    Screen number quota working fine: 2001
    Screen number quota working bad: 2001
    2. Quota deduction should be selected in V_554S_Q table
    Check quota deduction quota working fine: is checked
    Check quota deduction quota working bad: is checked
    3. Check that in counting rule you have assigned correct deduction rule.
    Counting rule for quota working fine: is 010
    Counting rule for quota working bad: is 030
    The counting rule 030 is created for me, maybe this is the problem is a similar copy of the rule 010. It has different conditions because in Psgroup "04" the vacations are working days but in group "34" the vacations are natural days.
    4. In deduction rule check whether correct quota no. you have maintained.
    In deduction rule working fine the absence quota type is 10, standar leave, days
    In deduction rule working bad the absence quota type is 30,                        ,days
    I've checked the absence quota type and are similars:
    In 10 absence quota type
    ESG Time quota types: 1
    PS Grpg tm Quota Typ: 01
    Absence quota type: 10
    Time/measurement unit: Days
    Time constraint class: 02
    In 30 absence quota type:
    ESG Time quota types: 3
    PS Grpg tm Quota Typ: 02
    Absence quota type: 30
    Time/measurement unit: Days
    Time constraint class: 02
    What's wrong?
    Kind regards,
    Julian

  • How to extend IDOC type "HRMD_A" for infotype 2001?

    Hi,
    I'm trying to send infotype 2001 to another SAP system via ALE and since it is not part of message type "HRMD_A" I have tried to create an extension. I've already created a new segment(we31) and put this segment into the extension(we30). And I've assigned the extension to the message and basic type (we82) but it still doesn't work. Is there anything else I have to do?
    Many thanks in advance
    Christopher

    Hello Christopher,
    I don't think any coding is required in your case if I understand your issue correctly.
    Just create a Z segment (say Z1P2001...make it same structure as P2001) then insert it as a child segment type of E1PITYP in your customer extension which should be attached to Basic Type HRMD_XX (as per your SAP release).
    Make sure in the partner profile you have specified the name of your customer extension and in table T777D you have maintained the value of your Z segment (Z1P2001) in the field IDOC segment.
    Now, as long as you have change pointers activated globally as well as for the message type you are using, change pointers will be auto triggered for infotype 2001 and when you run BD21 to process the change pointer, you'll see the system has automatically populated your customer segment Z1P2001.
    Let me know if it solved your case.
    Cheers,
    Sougata.
    Edited by: Sougata Chatterjee on May 23, 2008 1:41 PM

  • DOubt ABAP HCM infotype 2001.

    Hi Gurus.
    I'm started a process in SAP portal to change pernr in infotype 2001 ,but it don´t worked (but is showed message ok ).
    In my rfc is called the 'HR_INFOTYPE_OPERATION' .
    I need understand ,why don´t worked.
    maybe could have any MP... program with wrong logic?
    what the programs MP to infotype 2001?
    You have any suggest for solution this case? thanks.

    Thanks for Reply Jozef.
    I guess I did not explain properly.
    I'm working with a HCM portal and I have a problem when I go to change the data for the time bank employee.
    If I change the field action (in my language is "acão") then it does not change and back to the value it was before.
    Then in debug it pass by 'HR_INFOTYPE_OPERATION' .
    I need undesrtand why don´t change de action of bank employee.
    I think could be a MP... program with z code like exit , but i need know how find it
    inside standard code of 'HR_INFOTYPE_OPERATION'.
    The parameters of HR_INFOTYPE_OPERATION' :
    infty = 2001
    number = 00029381
    subtype = 0599
    validityend = 20140801
    validitybegin = 20140801
    objectid = space
    lockindicator = space
    recordnumber = space
    record  - with structure with data
    operation = MOD

  • Query in infotype 2001(Absenses)  and 2005(Overtime)

    Dear Freinds,
                   I have one query in infotype 2001(Absenses) when iam entering the  the absence hours  as 2 hours it is defaulting the start date time (beguz) 9.00 and end time (enduz) 11.00 ....which my user is not accepting ......they wantedn it to act like the overtime (2005) it is deducting the end of the time 18.00 (6.00p.m) as the Beguz as 18.00 pm and Enduz as 20.00 pm..........i would like to know can we change for the 2001 also in this way .......by using the concept of 2005 in the user exit EXIT_SAPFP50M_002  or in the BADI BAdI HRPAD00INFTY , however i am unable to change , could any one please let  me know if you  has implemented please let me know .
    thanks & regards
    madhuri

    Hi,
    i don; think we can modify IT2001, since we have IT2005 to enter Overtime.
    It is better to use IT2005 for overtime. One more thing here, how can we treat absence hours as Ovetime hours?
    thanks,
    vasu.

  • Absence amount in infotype 2001 without taking wrok schedule into account

    Hello
    We are using CATS. For the purpose of available hours of an employee only the total of a week is needed. So for instance 25 h/week. We set up a week workschedule 25h/week with day schedule of 5 hours per day (hours evenly spread over the 25 hour week). However, I run into the problem that when I want to enter a leave in infotype 2001 for a certain day only 5 hours is allowed. But I need/want to enter 8 hours in infotype 2001 (user works 8, 8, 4, 5, 0).
    If it works in infotype 2001 then it will also work in CAT2 and CAT6. Can anyone explain me how to set this up. I checked the following:
    V_001P_D- Group Personnel Subareas for Attendances and Absences
    V_T554S-Define Absence Types
    V_554S_O - Determine Entry Screens and Time Constraint Classes
    V_T551C - Define Counting Classes for the Period Work Schedule
    V_503_E -Group Employee Subgroups for Time Quotas
    V_001P_I - Group Personnel Subareas for Time Quotas
    V_556R_B- Deduction rules for absence quotas
    T556C- Counting rule
    V_554S_Q - Assign Counting Rules to Absence Types
    V_554Y_B and table V_T554Y
    But I got lost somewhere in the tables above, the entries seem fine. I thought I had it with table V_554S_O where I set the availability on 9, but that did not help.  The field "whole day" (P2001-ALLDF) is grayed out next to the field number of absence hours (P2001-STDAZ). We only us HR for CATS purposes.
    I think I'm overlooking something for a particular setting in one of the above tables? I'm not an HR consultant so .... tabel V_556R_B is a very cryptic one for me. Further in table T556C I checked and unchecked "Work according to daily work schedule", but still no effect, also other combinations..... Also this table T556C I do not understand....
    What I only need is specfic settings so that I can enter more absence hours in 2001 then in the workschedule is permitted. No updates in any other infotypes are necessary. From the help documentation it seems possible, but I don't seem to get it working....
    Thanks in advance.
    Kind regards
    Mirko
    Edited by: Mirko Polisini on Feb 8, 2009 9:50 PM

    Hello,
    We need to implement HR as lean en mean as possible, so time evaluation is no issue. Just want to post 0190 (Leave) in infotype 2001, 8 hours for a workschedule day that for instance only has 5 hours. Else user needs to create 2 lines in CAT2, 5 hours and another on same day with 3 hours. During CAT6 I get the problem that the 3 hours cannot be posted, besides the fact that this workaround is very userunfriendly.
    Hoping that setting up infotype 2003 is not necessary, makes just things more complex (HR is just a means to an end for using CATS). Does it mean that I then need to create and absence type that is attached to infotype 2003? How does it work?
    Thanks in advance for your help.
    Kind regards,
    Mirko

  • User-exits - Infotype 2001

    Hi,
    Can anyone tell me which user-exits exist when creating an infotype 2001?
    I need to make a validation when saving one infotype 2001, so I need to know which user-exits can I use.
    Thanks in advance for your help.
    Best regards,
    Sónia Gonçalves

    Hi,
    You must implements the function EXIT_SAPFP50M_002 (the include ZXPADU02) for After Input. In this Include you can check if the infotype is going to be saved (ex. sy-ucomm = UPD and somethings like this).
    There is another possibility with an object of the interface method IF_EX_HRPAD00INFTY~IN_UPDATE. This method is called when you are going to save.
    We make normaly these checks in 2001, 2002 and 2003 and all works properly.
    Kind Regards
    Jaime

  • RE:ABAP HR infotype 2001 document number

    Hello All,
    When we save a record in infotype 2001 (Absence) in Pa30 it creates internally a document  number.I wanted to know is there any Tcode where we can see this document number? I know the BAPI name but i want the tcode where we can see the document number. Please help me regarding this.
    Thanks and Regards.
    Salish.

    Hi,
    The document number generated for each record would get stored in the database table PA2001 under the field AWREF for that record.
    Hope this helps.
    Thanks,
    Harini
    Edited by: Harini Gopinath on Oct 20, 2009 6:17 PM

  • IT2001 error, no time constraint reachion for infotype 2001 with tm const00

    Dear Seriors,
    When I try to add any absence, it show the below given error message (red colour), but if I hit the enter button it allows me to mark absence.
    no time constraint reachion for infotype 2001 with time constraint class 001
    What might be the reason?
    Regards
    ET

    The time constraint class is used to check for collisions between Time Management infotypes (2001 to 2012). It allows you to specify different regulations for checking for collisions between individual subtypes.
    The views Time Constraint Reaction to Time Management Infotypes (V_554Y_B) and Global Time Constraint Reaction (V_T554Y) contain rules for the collision check.
    Please explore on this.

  • Leave approved in Portal is not getting updated in Infotype 2001

    Hello,
    I am using the standard WF - WS12300111 for Leave Request in the Portal.
    The workflow is working fine in the portal; Manager could approve / reject the leave request in MSS and it is updating the portal Team calendar and ESS Employee Leave details.
    However the approved leave is not getting updated in the Absence infotype 2001 in the back-end system.
    Could you help ? 
    Kind Regards
    Desy

    Program (SE38) - RPTARQPOST has to be scheduled in order to update the status of leave requests and post to PA2001 after they have been approved.
    Is there any other way ?

Maybe you are looking for

  • Video playback lagging while buffering

    Having a problem with video in my iPad app. The video is loaded from a server into an FLVPlayback component. While the video is buffering, the video playback is extremely choppy (like 1-2 FPS), but as soon as the buffering is complete, it plays smoot

  • Back charges scenario in SAP

    Hello friends, I need help to map below scenario in SAP: We have third party business process, where vendor V1 is supplying material to customer. When customer receives material; V1 invoices us and we make payments to V1.At this point PO is closed fo

  • About how to code  for below mentioned requirement

    Hi, i need code for this....      GPC Data (logic to get GPC code is as follows:) •     Read AMPL with BMATN = material number and sy-datum GE datuv and sy-datum LE datub If record found, set GPC Code = ampl-ematn Else.       Select mara where bmatn

  • Not printing - HP Photosmart 5510

    I just put in all new ink cartridges today. The first page printed odd color with extremely ight black. Then a word document did not get printed at all...its just blank! I have cleaned the print head mutliple times as well as the ink smear. And I've

  • Sony's Android Software Strategy 2010-2012

    2010 - Launches phones on Android 1.6 Doghnut and received mass criticism for installing an old OS on new phones. Later, the company updated some of the phones to 2.1 Eclair. 2011 - Launches most phones on the then latest OS version, Android Gingerbr