Skip to Content

The Function Module CRM_ERMS_FIND_BP_FOR_USER is used for this purpose.

Sample Code:

DATA:l_partner TYPE bu_partner.

**** Get Current User’s Business Partner No.

  CALL FUNCTION ‘CRM_ERMS_FIND_BP_FOR_USER’

    EXPORTING

      IV_USER_ID       = sy-uname

      IMPORTING

        EV_BUPA_NO       = l_partner.

The field l_partner contains a 10 digit Business Partner Number.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply