on 04-24-2006 2:10 PM
Hi All,
I have still not got solution for this BDC for CNR2 or RH_DELETE_INFTY .
please do tell me which one to use either BDC or RH_DELETE_INFTY function module for deleting the persons from the workcentres using tcode CNR2.
If so just give little brief explanation abt how to go. I tried doing BDC , The problem is when u click Tcode CNR2 -> then enter work center-> click HR assigment --> next screen Click person '+', choose the person and delete,.
But in BDC when i choose the person it records as cursor , not the field name , so i can realte this to the text field.
if i choose the other function RH_DELETE_INFTY how do i use this, i checked couple of threads but not useful.
if there is any other method to resolve this. please pour in ur views.
Thx in adv,
Shuja
Hi Shuja,
Instead of deleteing, you should probab;y try to delimit the relationship using RH_CUT_INFTY or RH_CUT_INFTY_1001_EXT.
Regards,
Suresh Datti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use FM 'HR_INFOTYPE_OPERATION'.
Example:
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '0015'
number = tab_p0015-pernr
subtype = tab_p0015-subty
objectid = tab_p0015-objps
lockindicator = tab_p0015-sprps
validityend = tab_p0015-endda
validitybegin = tab_p0015-begda
recordnumber = tab_p0015-seqnr
record = tab_p0015
operation = 'DEL'
tclas = 'A'
dialog_mode = '0'
nocommit = 'X'
IMPORTING
return = return1.
Regards.
Hi Suresh,
I was trying to use the function RH_CUT_INFTY_1001_EXT and RH_CUT_INFTY_1001_EXT_GENERIC to delimit a relationship between Cost Center and Position. This relationship has a time constraint 3 assigned to it.
With first I get ERROR_DURING_CUT and with second I get a message 'This relationship cannot be delimited ..."
While I tried using same functions to update P-S relationship it worked fine. Do you know of any restrictions that apply? Specially when TC is 3, I should be able to delimit.
Regards,
Rishi
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.