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

Similar Messages

  • Partner Function for Vendor through IDOC

    Hi All,
    I have a requirement in which I need to create the vendor master through IDOC. I am using CREMAS basic type for that. In its functionality, I need to assign different partner functons to it. I identified the segment as E1WYT3M in it at hierarchy level 3. I passed the partner function like OA or PI in the PARVW field of it and provided the vendor number which I want to assign as partner function in the LIFN2 field.
    Vendor is getting created but Partnering details are not getting updated when I am seeing in the XK03 Txn. Am I missing something.
    Please help me on this.
    Thanks
    Natasha

    Hi All,
    Moving further, I got another issue in changing the partner details of a vendor. Changing includes assigning another partner function to an existing vendor or deleting any already assigned partner function. I am doing this through IDOC. I am getting an error message 'Deletion of mandatory partner function 'VN' is not possible.'
    I tried changing the msgfn also.
    How should I proceed here.
    Thanks
    Natasha Garg

  • 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

  • How to maintain Partner Function for Customer

    Hi Guys,
                  I create customer using SD_CUSTOMER_MAINTAIN_ALL.
    Is there any provision to maintain partner type as well in this FM or any FM I can use to maintain partner type after creation ?
    Thanks

    I got it fixed my self.
    here is the solution.
    in user exit :EXIT_SAPMM06E_012.
    call below FM: MM_CALL_UPDATE_PARTNERS
    Trick is pass the partner values the one you wanted to below table: x_mmpa and xuekpa.
    you can calculate partner records from wyt3 table depends on your logic/requirement.
    CALL FUNCTION 'MM_CALL_UPDATE_PARTNERS'
         EXPORTING
           ebeln       = wa_ebeln
           bstyp       = 'F'
    *     knuma       = wa_knuma
           application = 'P'
         TABLES
           x_mmpa      = it_mmpa1
           y_mmpa      = it_mmpa2
           xuekpa      = it_uekpa1
           yuekpa      = it_uekpa2
           i_mmpa      = it_mmpa3
           u_mmpa      = it_mmpa4
           d_mmpa      = it_mmpa5.
    Thanks,
    Mahesh

  • Partner functions for a specific customer not seen in XD03 but appears in XD02

    Hello SAP Gurus,
    I have a situation where a partner functions for a specific customer not seen in XD03 but appears in XD02, In XD03 only one partner function (Ship to) appears but in XD02 (Sold to, Ship to, Bill to and payer appears), from the customer master I can see that account group for this customer has been changes to Sold to (Z001) from Ship to (Z002).
    I checked in settings for OB20 transaction for display customer centrally, it is in Display mode as required and not suprresed would like your inputs as to why this is happening and what can be done to fix this.
    Thanks and Regards
    Mohammed Roshan

    Hi ROshan,
      Open customer master in XD02  sales view and save it then check in XD03 it should display the partner functions.
    As you said the account group has been changed I think the records needs to be saved again.

  • Function module to give all partner functions for given customer

    Can anyone tell me function module name which gives all partner functions for a customer. For ex if we give customer number and sales area then it should give the list of all partner functions of this customer.
    I know 'CUSTOMER_PARTNERFS_GET' function module. But I want other than this.

    Hi,
    U can join VBAK and VBPA table and get the parrtners of the customer..
    Regards,
    Nagaraj

  • Updating and deleting Partner functions for functional location

    Hi ,
    I am having a requirement of updating and deleting partner function for functional location .
    If anyone can suggest some BAPI or function module for same .
    Thanks n Regards
    Manik

    Hi Fritz,
    Thank you for your response,
    My need is to create a PARTNERS for the FUNCTIONAL LOCATION.
    LET ME DESCRIBE IT.
    WHEN I AM CREATING A FUNCTION LOCATION USING IL01, AS I ENTER A FUNCTIONAL LOCATION AND PRESS ENTER IN THE NEXT SCREEN.
    AND
    I NEED TO ENTER THE PARTNERS FROM THE DROP DROWN MENU  GOTO ->PARTNERS
    WHICH TAKES ME TO THE NEXT SCREEN WHERE I NEED TO FILL THE INFORMATION IN THE TWO FIELDS : FUNCT & PARTNER.
    I need a partner for the functional location that i mentioned above.and i need to upload that information in through Emigall.
    So my query was that can we customize that partner for this functional location and if yes, what should the constraints,
    what are steps required? Do we require a custom service module?
    Regards,
    Robert.

  • 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

  • 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

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Order Partner Functions for VENDORs

    Hi All,
    We are using CRM 5.0 and ECC 6.0. We successfully replicated all the VENDORs from ECC to CRM BPs with BBP000-VENDOR role as this features is supported from CRM 5.0.
    We are now trying to get the VENDOR Partner functions replicate from ECC sales order to the Partner Functions for the CRM ORDERS. Looks like SAP doesn't support this feature yet. I am getting the Partner Functions (say Z1 - Freight Carrier ) but the partner data is BLANK. So i am working on a workaround.
    My Issue I am using ORDER_SAVE BADI to enter a BP from CRM to this Partner Function that is coming empty to CRM. For some reason my code is not working. Below is my code
    Data declarations for VENDOR Partner Function*********
      data: lt_partner_ref           type CRMT_PARTNER_EXTERNAL_WRKT,
              ls_partner_ref          type CRMT_PARTNER_EXTERNAL_WRK,
              lt_partner                type CRMT_PARTNER_COMT,
              ls_partner               type CRMT_PARTNER_COM,
              lt_partner_act          type CRMT_PARTNER_COMT,
              lt_partner_attributes type CRMT_PARTNER_ATTRIBUTE_COM_TAB,
              ls_partner_attributes type CRMT_PARTNER_ATTRIBUTE_COM.
      data:lt_header_ref   type crmt_object_guid_tab,
             guid                type crmt_object_guid.
      guid =  iv_guid.
      insert guid into table lt_header_ref .
      call function 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = lt_header_ref
        IMPORTING
          et_partner            = lt_partner_ref                 
        EXCEPTIONS
          document_not_found   = 1
          error_occurred            = 2
          document_locked       = 3
          no_change_authority  = 4
          no_display_authority  = 5
          no_change_allowed   = 6
          others                      = 7.
    Start of the code to VENDOR PARTNER FUNCTIONS for ORDER Heafer/Item ***********
        Read table lt_partner_ref into ls_partner_ref with key partner_fct = 'Z0000007'.
        if ( sy-subrc = 0 ).
            ls_partner-kind_of_entry = 'C'.
            ls_partner-partner_fct = 'Z1'.
            ls_partner-partner_no = '0010060331'.
            ls_partner-display_type = 'BP'.
            ls_partner-no_type = space.
            ls_partner-REF_HANDLE = '100'.
            INSERT ls_partner INTO TABLE lt_partner.
            ls_input_names-fieldname = 'KIND_OF_ENTRY'.
            ls_input_names-changeable = ' '.
            INSERT ls_input_names INTO TABLE ls_input_field-field_names.
            ls_input_names-fieldname = 'PARTNER_FCT'.
            ls_input_names-changeable = ' '.
            INSERT ls_input_names INTO TABLE ls_input_field-field_names.
            ls_input_names-fieldname = 'PARTNER_NO'.
            ls_input_names-changeable = ' '.
            INSERT ls_input_names INTO TABLE ls_input_field-field_names.
            ls_input_names-fieldname = 'DISPLAY_TYPE'.
            ls_input_names-changeable = ' '.
            INSERT ls_input_names INTO TABLE ls_input_field-field_names.
            ls_input_names-fieldname = 'NO_TYPE'.
            ls_input_names-changeable = ' '.
            INSERT ls_input_names INTO TABLE ls_input_field-field_names.
            ls_input_names-fieldname = 'REF_HANDLE'.
            ls_input_names-changeable = ' '.
            INSERT ls_input_names INTO TABLE ls_input_field-field_names.
            ls_input_field-ref_guid = ls_partner_ref-ref_guid.
            ls_input_field-objectname = 'PARTNER'.
            ls_input_field-ref_handle = '100'.
            ls_input_field-logical_key = '0000'.
            ls_input_field-ref_kind = 'B'.
            INSERT ls_input_field INTO TABLE lt_input_field.
          Endif.
      call function 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_partner           = lt_partner                         "I added this for VENDOR PF
        CHANGING
          ct_input_fields   = lt_input_field
        EXCEPTIONS
          error_occurred         = 1
          document_locked    = 2
          no_change_allowed = 3
          no_authority           = 4
          others                   = 5.
    endmethod.
    Could anyone check my code and suggest any changes?
    Thanks,
    Karuna.

    Hi ROshan,
      Open customer master in XD02  sales view and save it then check in XD03 it should display the partner functions.
    As you said the account group has been changed I think the records needs to be saved again.

  • Unable to find partner function for SPL screening

    Hi Guys
    We are trying out the SPL functionality for our Client, We are in the Preliminary stages and have just started the Intial Configuration
    The problem comes is the Document in ECC is getting blocked and is working as per functionality
    But when in come in the GTS system and check the Documents via (SPL > Display all Documents) in the overview menu, and go ahead and check the Log, it shows an error stating
    "Unable to find partner function for SPL screening"
    I have checked the configuration and The partner structure, Functions and Assignment are all done
    Can the experts help in getting a small checklist which I should do a check through in the configuration/user side, which can trigger this error message?
    Thanks
    Regards
    Carl Ray

    Hi Carl,
    Did you load the SPL List for Screening? Prior to SPL Screening, we have to create Index for SPL Screening. Please follow the following steps and then re-check the document
    SAP GTS Area Menu (/SAPSLL/MENU_LEGAL) -> Sanctioned Party List Screening -> Master Data. Perform the below steps in sequence.
    Step 1: Reset Buffer
    Step 2: Generate Comparison Terms
    Step 3: Aggregate Comparison Terms
    Step 4: Comparison terms for Business partners
    After doing the above steps, then do the following step
    SAP GTS Area Menu (/SAPSLL/MENU_LEGAL) -> Sanctioned Party List Screening -> Logistics -> Check against updated Sanctioned Party Lists -> Check Business partner addresses
    After performing the above steps, then re-check the document.
    Let me know if the above solution help or not
    Regards
    Pradeep

  • How will i configure partner determination for customer master

    how will i configure partner determination for customer master data.

    hi
    Check this
    BUSINESS PARTNERS AND PARTNER DETERMINATION
    In the partner determination procedure you can determine whether partner functions can or should occur in a partner object (Customer Master, Sales Document, Item Category etc.) For each object, in which partner function can be created, you can define partner procedures. This also means that
    For Customer Master
    For Sales Documents
    For Sales Documents and Billing Documents: for items
    We can define our partner determination procedure for each of these levels as shown below. In Blue are given the ones wherein the Partner Procedures are assigned to the Partner Objects
    Customer Master Account Group
    Sales Document Header Sales Document Type
    Sales document Item Item Category in sales
    Delivery Delivery Type
    Billing Header Billing Type
    Billing Item Billing Type
    Sales Activity Sales Activity type
    By assigning a procedure you determine for which account groups (for the customer master), which sales document types (for sales documents) and for which item categories this procedure would be valid.
    In the partner determination procedure you can determine for each partner function
    whether the partner function is an obligatory partner function
    whether the partner function can be changed in the document
    BUSINESS PARTNER FUNCTION
    By assigning a business partner function to a partner you can determine which functions the partner fulfils in the business process. Partner Functions are classified using partner type. The partner type represents the roles played by the business partner within the business transaction.
    Following partner functions exist in the standard process of Sales and Distribution
    Partner Type Customer
    Sold-to Party, Ship-to Party, Bill-to Party, Payer and Sold-to Party authorized to release against a contract. You can define the sold-to party authorized to release against a contract in the partner screen of a contract. This partner may only schedule orders with reference to this contract, even when he is not the sold-to party authorized against a contract.
    Partner Type Contact Person
    Contact persons are natural persons whom you must contact at the customers for business processing (e.g. purchasers) Contact person can be created directly in customer master record.
    Partner Type Vendor
    A forwarding agent is an example of a business partner on the credit side, who is included in a sales process. If you commission a particular forwarding agent for deliveries to a specific customer, you can define the forwarding agent in the customer master record as the partner.
    The other possible partner functions on the credit side in the sale process are interpreters, auditors etc. The forwarding agent is an agent who performs transportation services. This includes organizing the shipment, delivery and receipt of the goods, arranging the carrier services and handling the customs issues.
    Partner Type Personnel
    Employee Responsible
    Sales Personnel
    You can enter an employee from your firm as the person responsible:
    In the Customer Master – If the employee is normally responsible for processing transactions with this customer.
    In the Sales Document – If the employee is responsible for processing the Business Transaction.
    STEP WISE PROCESS FOR PARTNER DETERMINATION PROCEDURE
    Sales and Distribution->Basic Functions->Partner Determination->set Up Partner Determination->Set up Partner Determination for Customer Master.
    First go to OVT0 – create customer account groups. Here you make new entries, click whether it is a one time customer, description. Also you can do the field selection here for general data, co. code data and sales area data.
    Now go to IMG – logistics general – business partner – customers – control – define & assign customer number ranges define the number. Here you range that you want and assign it to your customer account group.
    Now go to VOPA – here the selection will be on customer master, click on partner procedures, create the partner determination procedure. The following steps need to be done in partner determination area
    Assign partner function to account group i.e SP,SH, BP, PY to account group (debit side ). Sales and Distribution->Basic Functions->Partner Determination->Assign Partner Functions on the debit side to account Groups.
    Then create Partner Determination Procedure.
    Assign the Partner Determination Procedure to Partner Function.
    Then finally assign the Partner Determination Procedure to acc group.
    Important Points in Business Partners and Partner Determination Procedure
    Partner relationship maintained/defined in the customer master is proposed automatically in the document header when you create a sales document.
    In customizing we can decide whether several partners can be assigned to one partner function in the customer master.
    In sales documents, the system is configured so that only one partner can be assigned to each partner function.
    We can define partners at item level in the sales documents.
    Business Partners that are defined at the header level however cannot be changed at the item level.
    You can prohibit anyone from changing a partner that has already been entered in a sales document.
    It is also possible to manually change or enter the address of a partner, such as the Ship-to Party. This change does not affect the master record.

  • 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

  • Error "You cannot enter a partner function for output NEU"

    Hi Experts,
    I'm having these error "You cannot enter a partner function for output NEU" (message VN041) when I tried to assign a partner function (e.g OA)  in the conditions records for application "EV" (Purchase outline agreement). The system do not allow me to do this for any doc type (LP, LPA, MK, OA, etc). I'm using t-code NACE or MN08.
    I want to assign partner for key combination "Document Type". The conditions is already there but with no value, so I want to assign partner function "OA" or "VR".
    I already check all the configuration and looks fine. For example, define possible partner functions for output type "NEU" for application "EV" (Purc outline agree).
    Hope you can help me to find the problem.
    Thanks,
    Mairo.

    I have the error in NACE or using tcode MN08.
    As soon I executed those transaction the system shows the condition records created for varios Doc Type (e.g LP, LPA, MK, etc) but with no partner function assigned. For example:
    Doc. Type /  Name                     /             Funct  /   Partner     /            Medium  /  Date/time  /   Language
    LP        /       Scheduling Agreement     /  blank  / blank  /                                          2      /          3   /              EN
    LPA      /      Scheduling Agreement                              / blank    / blank   /                1        /       3         /        EN
    For example, I try to assign function "OA" for Doc. Type "LP", choose value from quickpick. Then when I press enter, the system give me the error "You cannot enter a partner function for output NEU", message no. VN041. Do not allow me to continue, so I have to leave this field blank, with no change.
    Thanks,

Maybe you are looking for

  • Java code samples for java mappings

    Dear all, Can you please send me a sample scenario in which you used the java mapping. How do we assign the source structure,the target structure. How do we map source->target Do we give the source and target interface names in execute method)? if so

  • Help with recovering lost project in iMovie '09

    Thank you in advance for your help! I may have accidentally deleted a very important rcproject in my iMovie project folder. I've searched using Finder. I even downloaded Stellar Phoenix in hopes of finding the project. No luck so far. Is there any ot

  • Why is the write speed so slow to my NAS

    Hi, I am trying to improve the write speed from my MBP to the NAS.  I am using the Thunderbolt ethernet adapter connected to an Airport Extreme 7.6.1 using a wired connection. I have a Synology DS213 with a wired connection to the Airport Extreme as

  • Iphone, Ipad and 2 x Ipod

    I currently have my Iphone and Ipad setup on my mac itunes. The wife has her iphone on her PC with Itunes Whenever they download, we use my account so I have to enter my credentials. I do this because I like to keep track on things and I don't want t

  • Regression PR1.1 Speed Dial : restart N8

    After upgrade to PR1.1, when I use speed dial function  the phone automatically restart. How to use speed Dial work : Go to call function : Hit  a number between (2 to 9) then hit big green button. Best Regards