on 07-17-2009 6:00 AM
Hi All
Is there any BAPI to delimit the Infotype 0017? Is yes, please provide me with a sample code of what all values to pass.
I tried searching on the forums but couldn't get it.
Thanks in advance.
Harsh
Hi Harsh
Infotypes will delimit using the Time-Constraints.In HR using the Time-Constraints,we can delimit any of the Infotypes.
Regards,
Sreeram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harsh,
You can delimit infotype 17 for a set of employees using BDC also.
regards,
Brinda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As Sreeram said, Delimitiation is based on time Constraint Concept.
IT0017 is of Time Constraint 2.
means, Only one record may be available at one time, but time gaps are permitted.
So, could you please be clear about how your records will be maintained.
If you want to make only one record at a time and no gaps are allowed, we can simply change the Time Constraint of the Infoptype as per your needs and this will serve your Purpose.
Hope you got my point.
regards,
Satya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satya
My requirement is such that i want to deactivate the travel privilidges of that particular person. He should not be able to create a travel request/expense report on the portal ones he's deactivated. For eg: As of now the Infotype 0017 exists from 01.01.2005 to 31.12.9999. I need to change it to exist from 01.01.2005 to 23.07.2009. So that he can create the request/expnse report for today but tomorrow he is not.
I hope i am clear with my requirement.
Provide me with a sample code.
Regards
Harsh
Note: We are not using the BDC for creating/modifying the records.
Hi Harsh,
As i have mentioned in my previous post. If you want to delimit the infotype 17 for a set of employees, you can use BDC.
If you want i can give you the steps to do the same. IT is simple and this method what i would be suggesting can be done even by the functional constultants.
You can also take the help of an abaper to do the same.
I have done this earlier. Do let me know if you want the procedure to run BDC.
Regards,
Brinda
Hi Harsh,
check this out
http://saphruser.com/sap-hr-reports/
try this.
regards,
Brinda
Edited by: BrindaL on Jul 24, 2009 7:47 AM
Hi,
1.Check the time Constraint of infotype 17.
2.You can use Function Module -
call function 'HR_INFOTYPE_OPERATION'
exporting
infty = '0017'
number = employeenumber
validityend = validityend ( delimit date
validitybegin = validitybegin
record = p0017 (infotype 17 record)
operation = 'MOD'
tclas = 'A'
importing
return = ls_return
key = lv_emplcommkey.
exceptions
others = 0.
Or operation 'LIS9'
Regards,
Manoj.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.