Infotype 82 linked to infotype 2001
Hi everibody,
can someone tell me whether it is possible to customize infotype 2001, linked to infotype 82?
In fact in the infotype only fields AWART, BEGDA and ENDDA are displaied, and in this context we can only manage the "full day" vacation.
We'd rather like to manage the single vacation hours, using the input field STDAZ in the table control of the infotype 2001, linked to infotype 82.
Can someone give me suggestions about this?
Thank you in advance
Cinzia
If i understand correctly, you want to be able to input hours instead of full days in infotype 82 right ? In order to be achieved this will definitely need some coding.
I have created an infotype in a client for work accidents, similar to 82 but with table control for the absences associated to an accident, so the accident itself is in infotype 9127 (in this case) and then the absences associated with this accident are in 2001 and this association i used a field in 2001 that wasn't used for anything (AWREF i think). So i generated a unique number through an interval and saved it in infty 9127 and then in the corresponding absence in 2001 in field AWREF.
In your case, since you want to use this standard infotype, on way to do this might be creating an adittional field in infotype 82 using PM01 to enhance the infotype. This field would be "hours". Then using BADI HRPAD000INFTY you can get the creation of infotype 2001 for this absence and use that value through seting a parameters or passing it in the PSPAR structure for example. There are a few ways to achieve this, but still it will need some coding.
Edited by: Pedro Guarita on Oct 13, 2010 2:08 PM
Similar Messages
-
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 -
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. -
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 -
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 -
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. -
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 PMHello,
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 -
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, GillThanks 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 -
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
Thankshi,
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 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. -
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
Maybe you are looking for
-
My internal microphone has stopped working on my HP TouchSmart 600-1150 PC.
I tried all possible solutions and nothing has worked Please Help
-
How to registor database provider in oracleAS portal
hi, problem occur when i register a database provider into oracleAS portal.i create database provider by using locally built provider in oracleAS portal. i Register the name of the schema containing the provider implementation and don't no package th
-
How to do a corba call in jsp ?
hello sir, i m developing distributed application. JacORB is java orb used as middleware, jsp and tomcat used as web interface. i hava a difficulty how to call corba client method from jsp ?
-
Me Skype Account is blocked/deleted
Hello, I don't know where i can whrite to you. Please, Unban me skype account: xblasterr I need this account!! It's 2 weeks blocked or deleted... Please, Help me Regards, Nick Verhaaren
-
Data retrival from standard transaction with in a report
hi all, i have a requirement like i need to pass the selection screen selections to a standard transaction ca80 and need to get the material list from there to my report for furthur processing. is it possible with bdc or a bapi for this. can anyone