Skip to Content
avatar image
Former Member

Get the Building in the transaction SU01

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 29, 2008 at 07:11 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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