cancel
Showing results for 
Search instead for 
Did you mean: 

How to know what particular Customer that corresponds to Business Partner?

Former Member
0 Kudos

Hi Experts,

I have a requirement in the CRM object that I'm developing right now to get the Customer Number that corresponds to the Business Partner that was inputted in the selection-screen.

The scenario is this, in my BSP application I will have selection-screen wherein there will be two input fields, one for Business Partner ID and one for Product Lines ID and a button. When I input a Business Partner ID in the selection-screen and tick on the button, I should get all the details for a Customer to print it out in a smartforms.

All your help will be very much appreciated.

Thanks and Regards.

Monica.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The business partner that you key in to the custom field would have some relation with customer say contact person/payer/ship to/sold to etc.. Check relationship tab of that business partner and see if there is some relation...

If this relation is already not set then what is the business logic between the business partner and the customer?

Ideally this should not be a transaction data but a master data and should be maintained in t-code BP.

If relationship exists then you can use FM BUPA_RELATIONSHIPS_GET to fetch related customer. You have to pass your current business partner and relation category( functional person can help you with this ). In return you would get customer.

Regards,

BJ