cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch BP number from Email id

SrihariNerella
Participant
0 Kudos

Hi ,

I am fetching the business partner from ADR6 table by passing email id but same data is not available in BUT051.  How to fetch the BP number from email id and How to fetch the origanization unit .

Thank you.

Srihari

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Srihari,

I just now came across a FM that might help  you with first question.

FM: BUPA_SEARCH_2. SAP uses this FM for the incoming calls in IC role.

Though you have solved this already, it will help others

Former Member
0 Kudos

Hi Srihari,

  Check following FMs. i guess first one will help you.

   BP_BUPA_SEARCH_BY_USER

   BP_CENTRALPERSON_GET

SrihariNerella
Participant
0 Kudos

Hi Loks,

Thanks for your reply .

I need to get the Business partner  from EMAIL ID and organization unit of the business partner .

Former Member
0 Kudos

Hi Srihari,

Do you mean Sold to party BP or any other partner function BP ?

For organization unit, do you mean where he assigned in PPOSA_CRM

Regards,

Logu

SrihariNerella
Participant
0 Kudos

Hi,

Any other partner function of BP.  I have the email id and I need to get the BP . Yes In PPOSA_CRM.

SrihariNerella
Participant
0 Kudos

HI ,

How to get the BP number form the user email address .How to get the org unit from PFCG role .

former_member210661
Active Contributor
0 Kudos

Hello Srihari,

you can get bp number by using this function module in persons table u will get all information related that mail.

lv_mail = 'urmail@mail.com'

         CALL FUNCTION 'BUPA_PARTNER_CONTACT_SEARCH'

           EXPORTING

             e_mail  = lv_mail

           TABLES

             persons = lt_persons.


Try this u will get bp number and you can check in but000 u will get those details.


Thanks & Regards,

Srinivas K.

SrihariNerella
Participant
0 Kudos

Hi Srinivas,

Thank you for your replay.

This function module is unreleased function module . We can't use this one . What's the table for storing business partner email id .

Regards

Srihari

former_member210661
Active Contributor
0 Kudos

Hello Srihari,

hoo no i'm  using that function module OK no issues use this function module CRM_BUPA_MOB_SEARCH_GETLIST this will also give partner details based on email id input field.

email ids are stored in ADR6 table..

Thanks & Regards,

Srinivas K.

SrihariNerella
Participant
0 Kudos

Hi Srinivas,

Thanks for your reply .

How to get the org unit for this partner , Org unit service team  partner 0000056 and Employee responsible .

Regards

Srihari

Former Member
0 Kudos

Hi Srihari,

I have hint here.

1.  Check with  FM RHGA_READ_ATTRIBUTES. this FM basically provides info about org data.

      MY guess you might find any reusable FM in this function group

2   Check this utility class as well in Se24 cl_crm_orgman_services

3.  You might also Click F1 in the PPOMA_CRM transaction and find any field related to that and dig further using where used functions

4. Google and SDN!

Regards

Logu