BAPI to Retrive the Partner Function in Customer Master

Dear All,
I wand to read the parner function list of an customer thorugh BAPI. please help me out.
Kannan .S

Hi,
I think these will work for your scenario,
BAPI_BPCONTACT_CHANGE
SD_SALES_PARTNER_MAINTAIN.
Regards,
Ravi shankar

Similar Messages

  • BAPI to add additional partner functions in customer master(KNA1)

    Hello All,
    I wanted to add additional partner functions(2) to the list of partner functions which gets added by default while creating a customer. I am currently using BAPI_CUSTOMER_CREATEDATA1 to create the customer master. There i do not find any option to add my partner functions.
    NOTE: I need to update KUNN2 field as well while adding my partner functions.
    Could anyone please help here?
    Regards,
    Jay

    Hi,
    No you should not feel confident with SD_CUSTOMER_MAINTAIN_ALL.
    It is used for only one very special case. The maintenance of consumer. And this should only be true from the transaction itself.
    There exists other cases, one of the oldest one is the BAPI_CUSTOMER_CREATEFROMDATA1. But is is exclusively reserved for SAP Online store.
    Despite the fact CMD_EI_API is quite difficult to use, it has the main benefit that is it supported if being triggered directly.
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    The only valid solutions are :
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See note 384462
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • Creation of partner functions for customer master with LSMW

    Hello,
    I try to create partner functions together with a customer via Batch Input in LSMW.
    Object: 0050, method: 0000, program name: RFBIDE00, program type: B.
    I use the structure BKNVP (Customer master partner functions) to create a new partner and set values for the fields KTONR and PARVW.
    When I start the batch input the fields are filled in correctly in a new dynpro. After the confirmation of these values the dynpro changes back to the partner functions sscreen, but the value for KTONR isn'n being transferred. So I get an error message.
    Is it only possible to update partner functions with that BI or what is going wrong ?
    Thanks in advance and regards
    Alex

    Hi Alex,
    Could you specify what error message you are getting?
    Thanks!
    Rudra

  • Account Group and partner functions in customer master records

    Hi Gurus,
    I need your help to confirm the following understand if correct:
    1. To create customer master record for partner function Ship-To, need to create a customer master record using the uniquely assigned account group for Ship-To , that is, 0002 . In this ship-to master record, define in its partner function tab, the other partner functions related to it. 
    2. To create the above, it cannot be achieved by just assigning the partner functions in the partner function tab of SOLD-To customer master record , created using account group 0001.
    Question:
    1. How does the system know or allow what codes a user can select (f4) or enter manually when defining in customer master record's partner function tab, the partner functions and their respective codes?
    How is this controlled? Is it by user authorization? or will user / sales administrator be able to select any codes tied to a partner function?
    2. Lets say there are 2 partner functions : Sales employee VE and 9E called Sales Representative. Both of these partner functions are of Partner Type PE.
    When defining in customer master record's partner function tab, how does the system know what codes is selectable for the administrator for each of these partner functions?
    best regards
    M Russo

    hi russo,
    this is to inform you that,
    1. yes you are right.
    2. you need to follow the steps as you said.
    Question:
    1. that you can find in the search basing on account group for partners.  that assignment we should know russo which SH to be assigned to which SP.  no need to have authorization for that, make a note of the list of SH and SP to be assigned that's all.
    yes, he will able to select any SH from the list but make sure that we assign the correct SH to the list of SP.
    2. that you will be defining it in Partner Determination Procedures.  at the time of CMR creation you have to select the correct code that will get populated in sales order.
    hope this clears your issue.
    balajia

  • How to update partner functions in customer master

    Hi all,
    I want to update the partner functions for the customer master using transaction code XD02. I created the LSMW by means of recording but it doesn't work because the partner functions for the customer changes.
    for example , certain customers have shipto paty, sold to party , bill to party payer and forwarding agent. some customers wont have all the above mentioned category.they may have only ship to party, sold to paty & bill to party.
    Is there any other alternative way to update the partner functions for the customer. 
    Regards,
    A.Rathinaprakash

    Hi A.Rathinaprakash,
    Please use the FM 'SD_CUSTOMER_MAINTAIN_ALL' to maintain the partner functions in the customer.
    Pass the partner details in the TABLES parameter T_XKNVP.
    Regards
    Chetan

  • RE:Business partner functions in customer Master creation

    Do we need to send the Business partner functions while creating record in R3 thru MDM.
    For any account group i pass the Idoc is expecting all Business partner functions to be defined for the account group to which am trying to create Customer.(As SH,BP,PY..)
    Can anyone please explain me in brief the Business partner function -Problem in my scenerio............................Concept of  Business Partner function while creating Customer.

    In ECC partner functions are used when you have multiple addresses for the same customer.  The partner function links those address records together.  You could have multiple unique customer numbers on the KNA1 table, but in the KNVVP table (partner functions) you maintain the linkage between the main table records. 
    Partner functions are not recommended in MDM.  These are generally not considered to be "enterprise level attributes" and therefore shouldn't reside in your customer repository in a central create scenario.  Additionally, some of the complexity required to model partner functions can't be modeled in MDM at this time.  When 7.1 comes out, there is a new data type called "tuples" which supports deeply nested structures, and therefore you could model a true partner function table inside the sales area table.

  • LSMW problem with Partner functions in Customer Master

    Hi All,
    Requirement is to load the Customer Master Data using LSMW.
    Loading General data is ok, But when I am planning to load the
    partner function using the recording method in LSMW, How do I upload
    more than '1' Ship to party partners and more than '1'
    Bill to party partners using LSMW.
    Normally in table control there is a "+" button at the end of the
    table control which when pressed enters one line in table control,In
    Partner function screen , there is no such button available, so how
    can I determine which line am I supposed to enter data using LSMW.
    One partner can have multiple no of BP and SH partners like more than 10
    of both types. How do I upload these partner functions in SAP using LSMW?
    Regards,
    Ajay

    That a customer master has several business partners is just usual, a customer can have as well several company codes and sales areas. So where exactly is the problem?
    Most problems come with recordings, recordings should be the last option, not the first.
    What import method do you use?

  • Add partner functions to customer master

    Hello,
    how can I add new partner functions to a customer master. Is there an IDOC available for that ? With DEMAS / DEBMAS06 I can only change the standard partner functions.
    Thanks for your help.
    Regards
    Alex

    Hi,
    No you should not feel confident with SD_CUSTOMER_MAINTAIN_ALL.
    It is used for only one very special case. The maintenance of consumer. And this should only be true from the transaction itself.
    There exists other cases, one of the oldest one is the BAPI_CUSTOMER_CREATEFROMDATA1. But is is exclusively reserved for SAP Online store.
    Despite the fact CMD_EI_API is quite difficult to use, it has the main benefit that is it supported if being triggered directly.
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    The only valid solutions are :
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See note 384462
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • Partner functions in Customer master

    Hi,
    Can we maintain partner functions with out maitain customer sales area data, we need to maintain only general and company code data.
    Business scenario - 1. We have some certain customers like carrying only address purposses we dont need maintain company code and sales area, so is sytem creates partner functions once save this type of customers.
    2. same as said in point one some customers need general and company code data, dont need sales area, can system creates partner functions for this.
    regards
    Satish

    Hi Satish C,
                As already expressed by all other friends,
    Just would like to add,
    SAP has given 3 levels to maintain cusotmer relevant data ( General , Company Code & Sales area) & you are already aware of the same.
    But each level has its own importance & it can be based on how you would like to use the respective partners in specific transactions.
    for eg:
    in Billing- Bill to / Payer is required to have Company Code data & Ship to doesnt need to have Company Code data.
    In FI transactions- Customer doesnt need to have Sales area data.
    similarly, it all depends on how you want to use.
    NOte: if any partners using in Sales documents, should have General & Sales area data is mandatory. Company data is in billing.
    Just to maintain the address, if its ok with your client, you can go for different partner function ( if required in sales transactions) & add in sales area data.
    Regards,
    Reazuddin MD

  • Upload partner functions to customer master using LSMW

    Dear Friends,
    I'm trying to uplaod customer partner functions data through LSMW. I have tried to upload the data using recording method in LSMW(Tr. code: XD02).
    As per the business requirement, I need to upload multiple number(For example: 10 records) of SP(Sold to) partners to a single customer.
    While executing session, instead of adding all 10 records of partner functions, only the last record(i.e 10th records) is adding in the customer master.
    Your response will be highly appraciated.
    Regards
    Satish

    Hi Satish,
    You can't use XD02 to upload multiple partner functions by recording the transaction. It will not create multiple entries, always it will replace the existing ones with the new entry. you need to use the standard BI program or Idoc method do the same.
    I know the scenarios for the vendors it didnot work in that way for me at that time I used Standard BI method to create the multiple partner associations.

  • Partner function for customer through IDOC

    Hi All,
    I have a requirement in which I need to create the customer master through IDOC. I am using DEBMAS basic type for that. In its functionality, I need to assign different partner functions to it.
    When I create customer without giving any partner details,  4 entries get created by default with partner functions as BP, SP, PY, SH and KUNN2 value as INTERNAL or the same customer number which is getting created. But I want that the customer number provided by me should be assigned as partner function. Is there any way to change the default entry which is getting created so that I can replace the INTERNAL customer number with the one provided by me.
    I identified the segment as E1KNVPM in it at hierarchy level 3. I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field. But I am getting error Customer INTERNAL already exists for function <Partner function>.
    Am I missing something. Any msgfn or any other input.
    Please help me on this.
    Thanks
    Natasha

    Hi,
    Im facing similar problem
    Im trying to create the customer master through IDOC.
    I am using DEBMAS06 Idoc. 
    I need to assign two partner functions to it.
    When I create a customer with  giving  two partner details, 
    6 entries get created by default with partner functions as BP, RP, EM, SH and KUNN2 value as INTERNAL,
    two others entries (ZC,ZV) are created because this partner roles i defined to be created but KUNN2 hasnt assined value and request to fill it.
    I identified the segment as E1KNVPM in it at hierarchy level 3.
    I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field.
    But I am getting error when  "Customer INTERNAL already exists for function <Partner function>".
    Am I missing something. Any msgfn or any other input.
    How can avoid this error?
    Please help me on this.
    Thanks
    Armand

  • Uploading the partner function for the business partner

    Hi Experts ,
    I wish to upalod the partner function fields like
    partner function
    sales area
    division
    channel etc .
    Can anyone suggest me how to uaplod this via a BAPI in ECC system ?
    regards
    Abhi.

    HI ,
    Pls check Kindly check
    BAPI_CUSTOMER_CREATEFROMDATA1
    regards,
    PD

  • BAPI function create Customer master(T-code XD01)??

    Hi All,
    i want to create BDC program using BAPI function create Customer master(upload  customer master),but i do not know which BAPI function for create Customer master.
    Does anyone know,please tell me which BAPI function i can use?
    Thanks.
    Van Dung

    Hi Amit Gujargoud,
    I can use LSMW  upload the data from legacy system to sap system., but my manager he did not want to use LSMW.He wants to use BAPI function for upload customer master.
    I saw this BAPI function create customer master : BAPI_CUSTOMER_CREATEFROMDATA1,
    BAPI_CUSTOMER_CREATEFROMDATA,
    it is not enough field for input data.
    example : if i want input : customer code,company code, Sales organiration,Distribution channel,Division.
    So This BAPI function have not paramaters input this field.
    Thanks for your answer
    Van Dung.

  • Partner function relationship customer - employee not replicated

    Hi Gurus,
    We are working on the HR-CRM scenario and we are replicating employees from ECC to CRM. For our purposes we created in ECC 3 custom partner functions.
    In CRM we have created and mapped these partner functions, in particular in CRM we have:
    u2022Created the relevant custom Relationship categories
    u2022Defined the 3 partner functions
    u2022Made the mapping for the distribution from ECC to CRM and viceversa
    After this we have proceeded as follows:
    u2022Replication of the employees from HR to CRM: it works properly
    u2022Re - launched the BUPA_REL object in order to update the CRM system
    We have used one of these custom partner functions for one customer and as for now these partner functions are not replicated from ECC to CRM.
    For instance, in ECC we have a customer with the custom relationship u201CHas the Sales Manageru201D to the employee 90000003.
    That employee has been replicated in CRM but the relationship between him and the customer has not been updated in CRM.
    Is this the normal behavior? Or there is something missing/wrong in the configuration done?
    Thanks a lot.
    BR,
    Stefano

    Hi Dinesh
    For automatic partner determination in customer master data you need to make the configuration setting . For that you go to>SPRO>SD>Basic Function> Set UP Partner Determination --> Set up Partner determination for Customer master Data, there you need to do the configuration . For  details configuration  Please search the forum.
    Hope it is helpful for you
    Thanks
    Ashok

  • How to get access to the partner Functions of a PO header in BADI

    Hi All,
    I have a scenario where I need to get access to the PO Header Partner Functions to get the Vendor number, in the PROCESS_ITEM method of BADI ME_PROCESS_PO_CUST. I could not find any method to get the partner functions. Is there any way I can get this data in my BADI implementation. I'm talking about ME21n transaction code, and the PO is not created yet, hence the PO number is not available in the BADI.
    If the above is not possible, is there any other function module which I can call in the PROCESS_ITEM method of the BADI to get partner functions and their respective vendor numbers.
    Any pointers would be appreciated and points awarded. Thanks for your time and help.

    Hello,
    Use the methods of the class: CL_PO_ITEM_HANDLE_MM, in the method: PROCESS_ITEM of the badi:
    ME_PROCESS_PO_CUST, for example to access the po lines. the code is as follows:
    data: it_mepoitem type mepoitem.
    **Get the po lines.
      it_mepoitem = im_item->get_data( ).
    To look at the methods available: Go to SE24, Input the class:
    CL_PO_ITEM_HANDLE_MM
    Hope this helps.
    PS: Award points if my answer is helpful.
    Rajeev

Maybe you are looking for