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.
Similar Messages
-
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 -
Conection between Infotype 2001 and 2006
Hello experts,
i´ve got the following problem: I had to book an absence in infotype 2006.
I want do this with via BAPI BAPI_PTMGRATTABS_MNGCREATION.
So far it works. My problem is that i don´t know the value for ABS_ATT_TYPE (it´s a value of infotype PA2001-SUBTY) but i only got the value of of infotype 2006 (PA2006-SUBTY). These 2 values are NOT the same and i don´t know how to match them. Is there any FM or BAPI which tells me the correct PA2001 value for my PA2006 vlaue?Hi Benjamin,
2001 -> Absences
2006 -> Absence Quota
From the look of it , BAPI_PTMGRATTABS_MNGCREATION seems to be used to create Absences and not Absence Quotas.
Have you tried using HR_INFOTYPE_OPERATION to create Absense Quotas ?
Also, have a look at table V_556R_B. It will give you the relation between 2006 and 2001.
Regards,
Jovito
Edited by: dsouzajovito on Jan 24, 2011 2:27 PM -
HR_BLP_SAVE_TIMEDATA and how to load high volume records onto Infotype 2001
Because of high data volume (estimated 1 million records each run) and short SLA time requirement (runs every 2 hours), we chose to use functions that are called by CAT6 (Skipping the CATS to HR info types loading process) to load the time records directly into Infotype 2001 and Infotype 2002.
Now we discover that some records (sporadically and randomly) don't get loaded onto the infotype and they don't return from the error message table either. We are wondering whether anyone has used these functions before, and how they resolve the issues of missing records / error handling.
We are also wondering if there is any other feasible solution to meet our customer's need.
The two functions we use are: HR_BLP_MAINTAIN_TIMEDATA and HR_BLP_SAVE_TIMEDATAHi Curt,
No, they are 32 bit RGB. I have just made an 8 bit RGB and it gives me the option. Thank you for your help -
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
ChristopherHello 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 -
How to add record in infotype 82 and correspondingly to infotype 2001?
Hi All,
I need to create leaves. I can do it by using "HR_INFOTYPE_OPERATION" and create records in infotype 2001.
But I also need to create corresponding records in infotype 0082.
I have the leave types as stored in infotype 2001, like PCPI, PVCL etc.
But I found that the SUBTY value stored in infty 2001 is different from that stored in infty 0082.
How can I find the relation between these two SUBTY so that I can create the records in both infotypes.
Please reply back if someone knows how to create the leaves in these 2 infotypes.Hi Ganesh,
I could get the relation between the SUBTY in infty 2001 and infty 0082 from the table T554S.
But I could not add the records to the two infotypes simultaneously. I am adding them one after another. -
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 PMHi,
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 -
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
madhuriHi,
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. -
HR ABAP Query - Simulated infotypes 2501 and 2502
Dear all,
I am developing a report based on Simulated infotypes 2502 (Quota Statuses) and 2501 (Employee Time and Labor).
Since my report provides an overview of all the reporting quota types and reporting time type to the end-user, I need to extract data from both the infotypes ( 2501 & 2502 ) simultaneously.
I created a report with (Logical Data Base) LDB PNP and the HR report category is also set as required. In other words the attributes is set as same as in standard report (RPTBAL00).
In the declaration part of the program I mentioned the source code as.
INFOTYPES:
*-----Infotypen
INFOTYPES:
0001, "Org. Zuordnung
2001, "Absence type.
2002, "Attendance
2500, "Personal Work Schedule (Simulated Infotype 2500)
2501, "Employee Time and Labor (Simulated Infotype 2501)
2502. "Quota Statuses (Simulated Infotype 2502)
In the START-OF-SELECTION.
GET PERNR *
GET pernr. (break point set at statement)
Here my problem is when I execute the report for multiple employees data from simulated Infotype 2501 is deriving wrongly. The data for the first employee will always correct. From the second employee onwards date fields BEGDA and ENDDA will be 00000000. After a detailed debugging (setting break point at GET PERNR statement) I found that the problem is occurring only with Infotype 2501 values and not with Infotype data 2502.
I also note that this will happen only when I use both 2501 and 2502 at same time in the declaration part
INFOTYPES:
2501, "Employee Time and Labor (Simulated Infotype 2501),
2502. "Quota Statuses (Simulated Infotype 2502)
Question is How to correct this date field values obtained through GET PERNR for Infotype 2501 when using both infotypes 2501 and 2502 simultaneously.
Per requests for testing this is:
I. Your system should be configured for reporting time types.
II. Time evaluation should be run for at least one time to transfer data to simulated infotypes.
III. Persons with less understanding of SAP HCM may have to take help of a functional consultant.
Please help me in with your valuable suggestions:Thanks a lot for all your suggestions,
I have tested with this still the same problem persists.
From the second employee onwards the value of P2501-begda and P2501-endda is 00000000.
Step 1: create a new program zhr_test.
Step 2: Assign PNP as the logical data base in the report attributes.
Step 3: Use XXXX2001 as report category.
Code for TEST 1: normal test case
REPORT zhr_test.
TABLES :pernr.
INFOTYPES:
2501, "Employee Time and Labor (Simulated Infotype 2501),
2502. "Quota Statuses (Simulated Infotype 2502)
START-OF-SELECTION.
GET pernr.
BREAK-POINT.
Code for TEST 2: suggeated by Venkat.O
REPORT zhr_test.
TABLES :pernr.
INFOTYPES:
2501 MODE n, "Employee Time and Labor (Simulated Infotype 2501),
2502 MODE n. "Quota Statuses (Simulated Infotype 2502)
START-OF-SELECTION.
GET pernr.
rp_read_all_time_ity pn-begda pn-endda.
BREAK-POINT.
In Both the cases, infotype 2501 records begda and endda values will be 00000000 from second employee.
You can test only if you have simulated infotypes configured in your system, atleast one time the time evaluation would have been run.
Thanks
Cibin -
Problem in updating infotype 2001
Hi Experts,
While i am updating infotype 2001 , using HR_INFOTYPE_operation FM it giving a error , because it calling a wrong sceen 2000 , instead of 2001 . can anybody can help on this ?
thanks and regards
Renjith MPHi Dude,
Go through the below code for 2002 infotype :
TYPES BEGIN OF text_version.
TYPES nummer TYPE x.
TYPES END OF text_version.
DATA: PERSONALDATAKEY LIKE BAPIPAKEY.
DATA: RETURN LIKE BAPIRETURN1.
DATA: P2002 LIKE P2002.
DATA: PSKEY TYPE PSKEY.
DATA: IT_TEXT TYPE HRPAD_TEXT_TAB .
DATA: LINE TYPE HRPAD_TEXT.
DATA: version TYPE text_version.
DATA: pcl1 TYPE pcl1.Input Parameters:
PARAMETERS: PERNR LIKE PA2002-PERNR DEFAULT '1004511',
AWART LIKE PA2002-AWART DEFAULT 'LW',
BEGDA LIKE PA2002-BEGDA DEFAULT SY-DATUM,
ENDDA LIKE PA2002-ENDDA DEFAULT SY-DATUM,
BEGUZ LIKE PA2002-BEGUZ,
ENDUZ LIKE PA2002-ENDUZ.
START-OF-SELECTION.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = PERNR
IMPORTING
RETURN = RETURN.
IF RETURN-NUMBER IS NOT INITIAL.
EXIT.
ENDIF.
* ADD DATA
CLEAR: P2002.
P2002-PERNR = PERNR.
P2002-SUBTY = AWART.
P2002-ENDDA = BEGDA.
P2002-BEGDA = BEGDA.
P2002-BEGUZ = BEGUZ.
P2002-ENDUZ = ENDUZ.
P2002-AWART = AWART.
P2002-ITXEX = 'X'.
* WRITE DATA
CLEAR: RETURN, PERSONALDATAKEY.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '2002'
NUMBER = PERNR
SUBTYPE = AWART
VALIDITYEND = BEGDA
VALIDITYBEGIN = BEGDA
RECORD = P2002
OPERATION = 'INS'
NOCOMMIT = ''
TCLAS = 'A'
IMPORTING
RETURN = RETURN
KEY = PERSONALDATAKEY
EXCEPTIONS
OTHERS = 0.
IF RETURN-NUMBER IS INITIAL.
COMMIT WORK AND WAIT.
ELSE.
ROLLBACK WORK.
EXIT.
ENDIF. -
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çalvesHi,
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 -
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
DesyProgram (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 ? -
Disable Delete Button for infotype 2001 subtype 0025
I want to Disable Delete Button for infotype 2001 subtype 0025 only in PA30/61.
Is there any EXIT availableHi
Try it .
Somebody already given this type of answers.
Pls first use Search then post.
Well FYI,
<b>There is a standard User Exit for PA30 / 40 for PBO and PAI events.
ZXPADU01 for PBO and
ZXPADU02 for PAI events.
By writing proper code in here for the IT2001, you can write your rules.
PBAS0001 ( PA: Pers.Admin./Recruitment: Default values and checks ),</b>
Manoj Shakya. -
Hi Experts,
we are using portal 7.3 version,Our requirement is addition
of a new field “Leave Details” in the LTA screen with dropdown values from Infotype
2001 subtype ITEL. From the current calendar year in ESS.The new field should
be available only for the claim type LTA claim or claim against advance.
please find the below screen shot and details.
Current View
Component: HRESS_CLMS_WD_EMCR
Personalization: 4370750342A6297CC184E2B07FE6D13E
Window: W_CLM_DYN_UI
View: V_CLMS_DETAIL
Application Component: PY-XX-RS
Kindly help me how to add this field and in which method can i implement code.
Thank you in advance
Regards,
VanithaHi Shankar Reddy,
Business requirement is the new field should display the list entry in Infotype 2001 for the calendar year as selection option for employee. they would like to know ITEL subtype claim,
Example.employee no: EE#9941
As per screen shot you may see for EE#9941 there are 2 Leave requests.
So in the leave details the selection drop down menu option or any other way should be display 2 lines.
Regards,
Vanitha -
Infotype 2001 Record 00000000 000000000000000000000000000 does not exist Message no. PG225
Hi,
I am trying to create a record in infotype 2001 but getting error
Record 00000000 000000000000000000000000000 does not exist
Message no. PG225
This error not come before. I have created many records for the last few months.
Please suggest how to resolve.
Regards,
PathiHi Pathi,
I guess this is because of Activity Allocation and Cost Assignment. Plz check the Number range assignment:
PA05 for Number range assignment for additional time data
PT12 for HR document posting
Thanks'
Gautam
Maybe you are looking for
-
Why won't the 10.6.8 update install?
I am doing a free install on a large hard drive. I previously ran Leopard o my old mac, bought snow leopard, then upgraded to mountain lion. That worked fine. Now i have put a 640gb hard drive in my mac, installed 10.6.3, works fine. Now i want to up
-
Premiere does not appear as an available app in my manager - why?
premiere does not appear as an available app in my manager - why? just downloaded the manager - want to try premiere before signin up, but it is not in my list. trial information specifically states I can try "every" app. running windows 8
-
Does anybody have Cutover Planning/Strategy document for PI/XI? I do have the ASAP standard.. but I feel there must be one with lot of good information.. please send it to my gsvas81at gmail dot com
-
Help - Problem defining a new queue
I'm sure that this is a really easy one (but too hard for me!). I'm simply trying to add a new queue to the WLS 9.2 examples domain through the WebLogic console. I've added the queue and added a JNDI name, and added it t
-
Need user name in header data when posting f-65
Hi all, I had a problem while posting accounting Document through Workflow. Whever i am posting the document manually my user name is entered in the header data of posted document. But whenever i am posting it through workflow i am getting the entere