Hr Authorizations:Unable to read infotype 2001
Hi,
We have got an issue with the manager authorizations .
Manager 1(userA) ,Manager 2(UserB) reportee (UserX) .
The user X was reporting to Manager 1 (userA) from Jan 09 to Mar09 and after the org assignment changes he started reporting to Manager2(user B).
Now the Manager 1 (userA) unable to view the absences for reportee (user X) in portal from Team Calendar.
It shows that no read authorization for user X for the duration Jan09 - Mar09.
If we see the role assigned to the manager is having P_orgincon with R access for the info type.(2001,2006) (however manager is able to read for the other people who are with him earlier and now (jan09 to until date)so we do not suspect the manager role ).
Structural authorization is having validity until 1.1.1900 to 31.12.9999.
Structural auth is using Get manager function module.
Structural authorization profile is having Period as blank and the switch as PLOGI ADAYS is blank (unmaintained), AUTSW ADAYS is manitained as 15 days.
I feel these switches may not be relevant as the period is blank in structural auth .
Any help will be greatly appreciated.
Thanks
USER X is already moved to different ORG which belongs to Manager 2 (USER B).
now only USER B Can see USER X personal Master Data.
USER A Can't able to see his previous employess HR Personal master data ( Example :USER X) of time Jan 09 to Mar 09 since USER X is no longer belongs to USER A of Org Unit.
USER A doesn't have PD Profile which controls for Org unit belongs to USER X.
it is nothing to do with Role and Authorization object: P_orgincon : it belongs to PD Profile in order to see HR Master Data.
if USER A wants to see USER X personal HR MAster data make sure USER A is having PD Profile which belongs to new Org unit of USER X.
please do Correct me if i am wrong,
Thanks,
Riyazuddin Mohammed.
SAP Security/Basis Consultant
Similar Messages
-
Friends i'm writing a report. Which give employees qualification and desired and assessed profeciencies. I'm unable to read infotype 0025. Data is there, but pa0025 table is showing empty status.
Hi u wont find any entries in PA0025.
Try using this FM
HRWPC_RFC_QUALIFICATION_STAFF
In this FM U have to pass the Qualification ID
U can also have a look at
CALL FUNCTION 'RHPP_Q_PROFILE_READ'
EXPORTING
BEGDA = sy-datum
ENDDA = sy-datum
WITH_STEXT = 'X'
WITH_QK_INFO = 'X'
CHECK_NOTE = ' '
TABLES
OBJECTS = IT_P_OBJECTS
ERR_OBJECTS =
PROFILE = IT_QUALIFICATION_TAB
EXCEPTIONS
NO_AUTHORITY = 1
WRONG_OTYPE = 2
OBJECT_NOT_FOUND = 3
UNDEFINED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
raise nothing_found.
ENDIF.
~ BiSu
Message was edited by:
Biswajit Das
Message was edited by:
Biswajit Das -
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. -
System unable to read table in Adhoc Query
Hi Experts,
I am trying to extract a report based on Infotype 0022 through Adhoc query. Even after maintaining data for IT0022 for a few employees the system is unable to read the educational details of those employees.
I am unable to trace the defect . can anybody please tell me what could be the reason. I have checked the table PA0022, there the data is been stored.
Thanks & Regards,
SmithaHi paul and experts
actuall im reading data from 0022 infotype . im using macro
rp_provide_from_last p0022 '11' pn-begda pn-endda.
no data found for this.
but in pa30 for that particular employee data is there.
please help me out of this.
thanks a lot -
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. -
Unable to read payload from the message object in XI
Hello Guys,
Please help me about my problem in XI version 7.0.im quite new here.
im trying to test my config but error message occured. "Unable to read payload from the message object"
when i checked the comm channel this is the error message :
Error during database connection to the database URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://172.16.40.20:1433;databasename=TRAVEL:SelectMethod=cursor': com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "TRAVEL:SelectMethod=cursor" requested by the login. The login failed.'
when i tried my login in sql it works...but in this message the login is failed..what shall i do..
Please advice.
Thanks in advance
aVaDuDzHi
Check with the connection string & Authorization of user you have used.
MSSQL string is
jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
Thanks
Gaurav -
Unable to read payload from the message object
Hi
I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error
Unable to read payload from the message object
I have tested the XI payload in mapping. I have done all kinds of testing but it is still giving the same error.
One more strange thing is
I have done one BPM scenario where Data is coming from Source to BPM( which is asyn) and then from it will go from BPM to Target (which is sync) But when I am checking the SXMB_MONI... it showing the messages like this
Source to BPM
Target to BPM
Target to BPM.
But i think it should show message like
Source to BPM
BPM to Target
Target to BPM
why i am getting the floHi
Check with the connection string & Authorization of user you have used.
MSSQL string is
jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
Thanks
Gaurav -
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. -
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. -
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. -
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. -
Error importing Idoc - Unable to read segments
Hi experts,
I have some problems importing a custom built IDoc in IR.
The error I got was:
ZPATINFO_IDTY.ZPATINFO: Error
+Error: IDoc type ZPATINFO contains error (unable to read segments)
Import failed with 1 error.
I've tried to import standard IDocs and they were successful.
I tried to import the metadata in IDX2, and was successful. A popup saying "unable to read segment versions" but i could still see the structure in IDX2.
I've added roles to my user:
SAP_BC_MID_ALE_DEVELOPER
SAP_BC_MID_ALE_IDOC_ADMIN
SAP_BC_MID_ALE_IDOC_DEVELOPER
Please help.
Thanks!
RonFirst of all check if you have the proper authorizations;
From Note: 837595
Authorization object S_RFC
Field name RFC_TYPE value FUGR
Field name RFC_NAME value EDIMEXT, SDTX
Field name ACTVT value 16
Authorization object S_IDOCDEFT
Field name ACTVT value 03
Field name EDI_CIM value ' '
Field name EDI_DOC value TXTRAW01
Field name EDI_TCD value WE30
Authorization object S_CTS_ADMI
Field name CTS_ADMFCT value TABL
Authorization object S_TABU_DIS
Field name ACTVT value 03
Field name DICBERCLS value
Then check if the idoc and its segments have been released in R3. -
hi...
is there any RFC function modules for reading infotype details.........
thank
prabhakarBAPI_EMPLCOMM_GETDETAIL - Communication infotype - infotype 0105
BAPI_INTCONTROL_GETDETAIL - Internal cont - infotype 32
BAPI_PDOTYPES_GETDETAILEDLIST - PD infotypes
BAPI_ABSENCE_GETDETAIL - infotype 2001
BAPI_W4W5INFOUS_GETDETAIL - W4/W5 info of an emp - infotype 210
BAPI_DATESPECS_GETDETAILEDLIST - Date specifications -infotype 41
RFC_ABSENCETYPES_READ - RFC which Lists absence types
HR_BEN_READ_CREDIT_PLANS - RFC for reading credit plans
HR_BEN_READ_INSURE_PLANS - RFC for reading insurance plans.
HR_BEN_READ_HEALTH_PLANS_RFC RFC for Reading Health plans -
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
ETThe 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.
Maybe you are looking for
-
High Buffer Busy Wait due to Concurrent INSERTS
Hi All, One of my OLTP database is running on 11.1.0.7 (11.1.0.7.0 - 64bit Production) with RHEL 5.4. On frequent basis, i am observing 'BUFFER BUSY WAITS' and last time i tried to capture some dictionary information to dig the waits. 1. Session Wati
-
Entire Library Gone!!!!!
I am fairly new to Aperture and am hoping there is a logical explanation for this..... Over the past few days I have been building my Aperture library, first by importing my existing iPhoto library, and then building new projects. I've chosen to make
-
Hi, Could someone please explain to me whether you need to do anything differently in the mapping step if the partner/vendor to whom you send PO data to uses the cbXML format? We'll be using PI 7.0 which is the next version after XI 3.0. Thanks, Jerr
-
Final cut 7 operating slow on OSX 10.8.5
Hello there Wondering if anyone can assist me in troubleshooting a super slow FCP 7.0.3 on an iMac ( 3.4 GHz Intel Core i7, 4 GB 1333 MHz DDR3). The system seems to freeze up constantly when scrubbing through/playing/editing clips. Is there a bette
-
Constant crashing when trying to view video
Whenever I try to view a video, my computer will crash. It will also crash randomly when sleeping. After these crashes it suavely starts up okay again. However, sometimes I have to force it to turn off and start multiple times or else the display wil