cancel
Showing results for 
Search instead for 
Did you mean: 

Get the Building in the transaction SU01

Former Member
0 Kudos

Hi Gurus,

We need to get the Building that is appearing in the transaction SU01.

Suggest the table name or Function module to get the Building by passing the User ID.

Regards

Paul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Paul,

Go to table USR21. Enter the user id and get the value for the field ADDRNUMBER.

Now pass this value of ADDRNUMBER field in table ADRC and get the value for the field building.

Hope it helps.

Thanks,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

When I check the table ADRC the Building is not getting updated with any value.

Suggest any FM similar like 'BAPI_USER_GET_DETAIL'

Regards

Paul

Former Member
0 Kudos

Hi Paul,

Try table ADCP..with Persnumber & Addrnumber from table USR21 as Input.

Rgds,

MJ

Former Member
0 Kudos

Hi Paul,

Try looking into the table ADCP. you need to enter both ADDRNUMBER and PERSNUMBER values which you will get from table USR21.

Or, you can try the function module BBP_USER_GET_DETAIL which is very similar to BAPI_USER_GET_DETAIL.

You will find the building field in the export parameter named ADDRESS or CPADDRESS.

Thanks,

Pradeep

Edited by: Pradeep Purushottam on Sep 29, 2008 1:16 PM