cancel
Showing results for 
Search instead for 
Did you mean: 

how to read data from centeral person?

Former Member
0 Kudos

Hallo All,

the user specific settings via Web transaction BBPUM02 are saved in the central person and not in SU01 user. I need to read from this data for example Building, Room etc., which has been mainted by the User himself.

But, how to read the data from centeral person? Any FM ? Any Table? Where is it actually saved in SRM?

Thanks & Regards

PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Also try this ->

<b>Use the Function Modules -></b>

using any of these function modules

BBP_PARTNER_ADDRESS_GET_COMPL

BBP_PARTNER_DETERMINE_ADDRESS

BBP_UM_UI_GET_LIST

BBP_UM_UI_GET_PERSON

BBP_UM_UI_GET_EMPLOYEE_LIST

BBP_UM_UI_GET_USERS

Database tables ->

<u>

HRP1001

BUT100

BUT020

BUT020

BUT100</u>

 SELECT f~partner2
         INTO TABLE lt_cperson_ext
         FROM but050 AS f
         INNER JOIN but100 AS g
                    ON g~partner = f~partner2
         FOR ALL ENTRIES IN lt_cperson
         WHERE f~partner2 = lt_cperson-table_line
           AND f~reltyp   = 'BUR001'  "is contact person of ...
           AND g~rltyp    = 'BUP001'. "has role 'contact person'

<u>Related link -></u>

Hope this will help.

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Dear PM,

Use FM:

BP_CENTRALPERSON_GET Reading assigned IDs

Get address from Tables:

BUT020 BP: Addresses

BUT021 BP: Address usages

BUT021_FS Time-Dependent Address Usage

BUT052 BP Relationship: Addresses

Regards,

Naveen.

Former Member
0 Kudos

Hallo Naveen,

it doesnt seems to work with the tables you have mentioned, i can only read the Adress Nummer of the BP. But the Adress Data to Cerntral Person is stil not possible to read.

Thanks & Regard

PM

Former Member
0 Kudos

Hi

Which SRM version are you using ?

<b>Use the standard SRM function modules -></b>

BP_CENTRALPERSON_GET

HR_CENTRALPERSON_GET

CRM_CP_GET_POSITION

BBP_CP_GET_POSITION

BUCP_BUPA_BUS000EMPL_GET

BUCP_BUPA_PERSDATA_GET

BUCP_EMPLOYEE_ROLE_GET

Hope this will definitely help.

Do let me know.

Regards

- Atul

Former Member
0 Kudos

Hi Atul

the FMs you have mentioned gives me only the Employee-ID, User-ID assigned to the Central Person. But i need to read the address data, such as Building, Floor, Room Number etc.

Thanks & Regards

PM