on 08-18-2009 4:29 AM
Is there a Function module or a BAPI available to get the Buisness partner for an employee or vice versa. ?
thanks
amit
Hi Amit,
You may use FM BP_CENTRALPERSON_GET.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This FM can be used for cProjects BPs to find their corresponding PERNRs and vice versa.
If you'd like to mark the BP as inactive, there is a flag called 'Central Block' within BP data. This flag gets envoked if the exit action of the employee is run and is marked as inactive. HR integration is a pre-requisite for this feature. Else, you can block the BP manually as well.
Regards,
Vivek
How the block indicator is set automatically , when the employee in HR is set as inactive or withdrawn. Is there any program ?
OR we have to develop it ???
I executed the FM, but i am not getting the BP
what values to be given below :
Let's say, employee no is 75, BP created is EM00075. How to get the link ?
Import parameters Value
IV_PERSON_ID 00000000
IV_BU_PARTNER_GUID 00000000000000000000000
IV_EMPLOYEE_ID 00000000
IV_USERNAME
Hi
This is std functionalilty
Which version you are in
The Solution:
check in table HRP1001 for relation A209
Im sure there is no relation between Person and CP
If it not there, the deactivation or Block will not be set
Create a new Hiring and then replicate to BP then check the link in table maintained.
If so, run separation and then check BP
BP exists but will not be there in search result
If you want to to know BP from Person use
funtion module: BUP_PERNR_TO_PARTNER_CONVERT
If you want to to know Person from BP use
funtion module: BUP_PARTNER_TO_PERNR_CONVERT
Niranjan
Let me know if it works
Edited by: Niranjan Dandekar on Aug 18, 2009 10:12 AM
Is there a Function module or BAPI, which gives the below result.
From Table : HRP1001
OTYPE : P
OBJID : 9329 ( Employee Number : PERNR)
SCLAS : CP
You will get the CP for PERNR as SOBID: 11536
Now again got the Table : HRP1001
OTYPE : CP
OBJID : 11536 ( Central Person Number obtained from Precious step)
SCLAS : BP
YOu will get the BP for CP as SOBID: EM00009329
User | Count |
---|---|
4 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.