Skip to Content
author's profile photo Former Member
Former Member

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

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2011 at 04:36 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.