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

Table for BP in Contract

HI Guys

Could you please explain how to get BP number (sold-to-party) from contract header table. we are doing some development in ABAP, as i would like to know the logic for this to get right BP from it.

full points would be awarded for quick solution

thank you

shankar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 21, 2008 at 09:12 AM

    Hi Shankar,

    All the partner details of contract will be stored in DB table CRMD_PARTNER, you can use following query to find out sold to party:

    SELECT partner_no

    fFROM crmd_partner

    INTO ls_bpguid

    WHERE guid = <contractheader_guid> AND

    partner_fct = '00000001'.

    By using BP guid get BP number from BUT000 or use FM :BAPI_BUPA_GET_NUMBERS

    hope this will help.

    Regards,

    Arjun

    Pl do reward points

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2008 at 09:54 AM

    use the function module BAPI_BUSPROCESSND_GETDETAILMUL

    CALL FUNCTION 'BAPI_BUSPROCESSND_GETDETAILMUL'

    TABLES

    guid = lt_msg_guid

    partner = lt_partner

    return = lt_return.

    lt_msg_guid is the list of guid ,

    lt_partner is list of partner

    -


    the table of lt_partner is TABLE OF bapibus20001_partner_dis,

    in the lt_partner , choose partner function with the id

    '00000001'

    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.