on 06-13-2013 3:10 PM
Hello
I want to get either Business Partner # or BUPA GUID based on the SAP user ID.
I mean, i will pass SAP user ID and i want to have either BUPA GUID or Business partner number (which is a exporting param in FM BUPA_NUMBERS_GET)
I tried in SE37 and SE24 by putting *BUPA* wild card search, but no use
Thank you
Hi,
Try using FM HRWPC_AP_GET_EMPLOYEE_FOR_USER to get the pernr and pass the pernr in BUT000 table to get BP number.
Hope it helps.
Thanks,
Runjhun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The relationship of BP(Employee) to Username is as follows:
Tcode: SE16 , In Table HRP1000
Field OTYPE = CP
Field UNAME = Provide Employee username (Should be maintained in Tcode BP, Role= Employee in tab identification)
You'll get OBJID.
Use the OBJID from above in table HRP1001.
OTYPE = CP
OBJID = OBJID (from HRP1000)
RELAT = 207
You'll get the BP number in field SOBID.
I hope this helps.
(Note: We have HR integration with CRM)
use FM BP_CENTRALPERSON_GET to get BP from USERName and vice versa.
Regards
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
should be following one, which is used to build up the my_task dashboard in PPM ( start from user-id, get the bupa_guid and find involved tasks).
* get business partner GUID for user id
call function 'BP_CENTRALPERSON_GET'
exporting
iv_username = iv_user_id
importing
ev_bu_partner_guid = lv_bupa_guid
exceptions
no_central_person = 1
no_business_partner = 2
no_id = 3
others = 4.
Kind regards,
Zhenbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try these FM to get the pernr
RP_GET_PERNR_FROM_USERID
HR_GETEMPLOYEEDATA_FROMUSER
HR_GET_EMPLOYEES_FROM_USER
not sure..it this helps
Thanks,
Runjhun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
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.