Skip to Content
avatar image
Former Member

BP number and Username information

Hello,

I need to found the BP that has a Username assigned (this is valid only for BP role Employee).

Is there any table where this information is stored?

I will use this information to create segments in the segment builder tool, based on the filter username. Anyother solution besides using tables is welcome too!:)

Thanks a lot!

Susana Messias

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 10, 2006 at 03:10 PM

    Susana,

    You can use the following function Module:

    CALL FUNCTION 'BP_CENTRALPERSON_GET'

    EXPORTING

    IV_USERNAME = USERNAME

    IMPORTING

    EV_BU_PARTNER_GUID = REPGUID

    EXCEPTIONS

    NO_CENTRAL_PERSON = 1

    NO_BUSINESS_PARTNER = 2

    NO_ID = 3

    OTHERS = 4.

    Once you get the REPGUID, you will be able to find the BP Number.

    Thanks,

    Ranjan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Ranjan. thanks for your reply.

      I need to use this information on Segment Builder. I created an infoset query using table BUT000 and I add a field (USER) where I place the following code:

      CALL FUNCTION 'CRM_CENTRALPERSON_GET'

      EXPORTING

      IV_BU_PARTNER_GUID = BUT000-PARTNER_GUID

      IMPORTING

      EV_USERNAME = USUARIO.

      But when I try to select the BP with a filter based on that field USER, and I try to drag the filter into the segment application I get the error: no central person assigned to GUI 154612564GE46874R65646.

      Do you know how to solve it?!

      Thanks!

      Susana

  • avatar image
    Former Member
    Mar 03, 2010 at 02:21 PM

    Conclusion of issue.

    Add comment
    10|10000 characters needed characters exceeded