Middleware: Changed partner function in R/3, appends relationship in CRM

Hi Group
Partner functions in R/3 are mapped as relationship categories in CRM and the transfer is happening through middleware.
However if I change the BP for an existing partner function in R/3, it is not changing the BP in corresponding relationship in CRM.Instead it is adding a new relationship category.
Ex.
- An account in R/3 has a partner function "Sold to Party" as  BP Id "1234". This does create a relationship category in CRM "has sold to party" with BP Id 124.    -- Works fine. No issues.-
- Later if I "change" the BP id 1234 to a new BP Id "5678" in R/3 for Sold to Party partner function, it does not update the relationship category in CRM. Instead it adds a new relationship category for "Sold to Party" with BP Id 5678.   ISSUE.
We dont want to create a new relationship, instead we would like to update the relationship for new BP Id.
If anyone has any any clue how to resolve this, please share your thoughts. It is a very critical requirement.
Answer will be suitably rewarded with points.
Thanks & Regards
Vishal Mani

Hi Michael,
Thanks for asking . This Dinesh ( Vishal's colleague ) ..We found that the Dumps are because of the implmentation of the SAP Note 497146 which provides a enhancement to the existing FM BUPA_MWX_BDOC_MAP_REL_CENTRAL . This is throwing the short dump.
We raised a OSS message and SAP replied back saying the behivour of the sytsem is as per standard and its not a bug .
Can you please us to achive the following !!
We want to avoid the replication of BP relationship ( sold to party to Z Custom A/c group  ) which does not have a Sales area ? Do  you know a BADI which can help us to achive this functionility ??
I mean we want a control of the BP releationship replication via Middleware using BADI  .. Can you please help us here . Also please provide any list of BADIs which can help us on this ?
Please get back at the earliiest , as we have a Go-live tommorow .
Thanks and Regards
Dinesh

Similar Messages

  • In CRM relationship appends the Changed partner function in R/3 -Middleware

    Hi Experts,
    Partner functions in R/3 are mapped as relationship categories in CRM and the transfer is happening through middleware.
    However if I change the BP for an existing partner function in R/3, it is not changing the BP in corresponding relationship in CRM.Instead it is adding a new relationship category.
    Currently we are in CRM2007(6.0 version).
    Ex.
    - An account in R/3 has a partner function "Sold to Party" as BP Id "01234". This does create a relationship category in CRM "has sold to party" with BP Id 01234. -- it is working fine.
    - Later if I "change" the BP id 01234 to a new BP Id "05678" in R/3 for Sold to Party partner function, it does not update the relationship category in CRM. Instead it adds a new relationship category for "Sold to Party" with BP Id 05678.  This is issue now.
    We dont want to create a new relationship, instead we would like to update the relationship for new BP Id.
    If anyone has any any clue how to resolve this, please share your thoughts. It is a very critical requirement.
    Appreciate your help on this.
    appends relationship in CRM
    Regards,
    Srini

    Hi Shourav,
    Thanks for your reaply. I agree with you for the general scenario. But my question is littlebit different what you understand.
    I try to explain little bit detail this time.. Hope you undrstood my issue.
    We are facing issue in partner relationship deletion  functionality from ECC to CRM.
    Issue: Partner functions in R/3 are mapped as relationship categories in CRM and the transfer is happening through middleware.
    However if I change the BP for an existing partner function in R/3, it is not changing the BP in corresponding relationship in CRM. Instead it is adding a new relationship category.
    Ex.
    - An account in R/3 has a partner function "Sold to Party" as BP Id "01234" and a partner function relationship as ship to party with BP id  u201C05678u201D  and it is replicating this relationship correctly in CRM .
    - Later if I "change" the BP id 05678 to a new BP Id "05679" in R/3 for Sold to Party partner function, it does not update the relationship category in CRM. Instead it adds a new relationship category for "Sold to Party" with BP Id 05679. This is issue now.
    Any notes or work around solution for this issue is helpfull.
    Regards,
    Srini

  • Change partner function data in PO using EXIT_SAPMM06E_013(MM06E005)

    Hi all,
    I have an issue related to partner functions while creating purchase order.In the user exit MM06E005, we have EXIT_SAPMM06E_013 which is triggered when PO is created from Preq using tcode ME59. There is a table XEKPA in the fn mod EXIT_SAPMM06E_013 which holds the various partner function records corresponding to the PO.
        In our case we get two records in that table, the 2nd   record corresponding to partner function 'BA' (german) /'OA'(ENGLISH). ( U can find these in table 'WYT3' for partner functions where OA/BA is for ordering address of the vendor.) I am trying to modify this record corresponding to 'OA'. But when the PO is created and when I go to Partners tab in ME23N, I am not able to see the change I made in the internal table 'XEKPA' within the exit. Am I missing something while changing or should I go for a totally new exit/BADI for modifying this?
    Please help,
    Thanks,
    steve

    Hi Steve,
    Please try like this.
    DATA: WA_XEKPA LIKE UEKPA,
          WA_IDX   LIKE SY-TABIX.
    READ TABLE XEKPA INTO WA_XEKPA
                     WITH KEY PARVW = 'BA'.
    IF SY-SUBRC = 0.
      WA_IDX = SY-TABIX.
      WA_XEKPA-LIFN2 = '0000600100'.
      MODIFY XEKPA INDEX WA_IDX FROM WA_XEKPA
                   TRANSPORTING LIFN2.
    ENDIF.
    Regards,
    Ferry Lianto

  • Partner Function Check while changing partner Functions not assigned to SP

    Dear All,
    I have created a Partner profile and its working fine.
    But recently there was a problem reported, where in the User changed the Bill to Party at the Sales order header which was not defiend in the Customer Master, this Bill to Customer was defined in the same sales Area as the Order was.
    The Problem is it was a typo error by teh user while modifying the default Bill To. They realsied it only after the Invocie was sent to a different payer.
    Could we have a check built in where the system pops up error when we choose a partner function which is not assigned in the Customer master??
    And to my surpise now I noticed that its allowing me to enter any Bill to and payer Partned which is defined in the Sales Area as the Sales Order is.
    I expect to have someting in teh customisation to give up a error.
    Thansk for all your help.

    System will accept any SH/PY/BP in same sale area to put in sale order, this is the std functionality.
    In order to change this u need to use Userexit.
    In MV45AFzz and  Include in USEREXIT_SAVE_DOCUMENT_PREPARE you can have the same logic to put error while PY/SH/BP not in CMR.
    Sam

  • Change Partner Function after despatch advice creation

    Hi all,
    I have created a partner function "transporter" for despatch advice. The issue is that partner function is not editable when we post the despatch. Is there a possibility to make partner function "transporter" editable even after despatch advice and invoice without reversal ?
    Please respond.
    Best Regards,
    Aisha Ishrat.

    If you are talking about PGI- Post Goods Issue in Delivery.
    Once you perform PGI, then you will not be able to modify transporter , only way could be do the PGI reversal in VL09 & change the transporter number. ( if Transportation module is implemented, then when creating shipment document, you have an option to switch to the different transporters in VT01N)

  • Additonal partner functions at the business agreement

    Hi Experts,
    We have a requirement to pass on one of the partner functions to the clerk responsible field at the contract account in IS-U.
    For this ,we want to use the additional partner functions section at the buisness agreement level in CRM.
    We have maintained the partner function which we want to replicate in IS-U in the configurations settings for IS-U under the following path-
    SPRO->Financial Accounting->Contract Account AR&AP->Integration->Customer Relationship Mgmt->Buisness Agreement->Define determination of Clerk responsible for Replication from CRM.
    Now the problem, is when we are giving the partner function along with the business partner value in the "addtional partner functions" section under the BA tab in CRM,and saving it , the changes are not getting saved and no B-Doc is getting fired.
    However, when we are using any other partner function like alternate payer, dunning recipent in the same BA tab and saving it, it is working fine and the partner function value is replicated in the clerk responsible field at the contract account in IS-U.
    Can anyone please help me in solving the issue?
    Thanks in advance.
    Cheers,
    Amlan

    Try use BADI BUPA_GENERAL_EXPORT. In method GENERAL_DATA_EXPORT you can check main BP data and raise error.
    Example for method if_ex_bupa_general_export~general_data_export:
    DATA: l_but000 TYPE but000,
            return TYPE bapiret2.
      SELECT SINGLE * FROM but000 INTO l_but000
        WHERE name_last = is_but000-name_last
        AND   name_first = is_but000-name_first.
      IF sy-subrc IS INITIAL.
        return-type = 'E'.
        return-id = 'BC'.
        return-number = '701'.
        return-message_v1 = 'Check error'.
        APPEND return TO ct_return.
      ENDIF.

  • Partner functions for FV11 conditions are not working for MIRO

    Hi,
    We have a business process wherein PO Ordering vendor and invoicing vendor are different.
    We have defined  FV11  tax conditions  ( VAT and Excise)for PO vendor .
    We have not defined  FV11 tax conditions  ( VAT and Excise) for Invoicing vendor.
    So while we are doing MIRO for such PO, we are getting an error that  VAT tax code  say G1 is not maintained in TAXXINN proceedure.
    When we defined  TAX conditions for Invoicing vendor also ,  system allowed MIRO for such PO.
    We are using TAXINN proceedure.
    Guide  me whether :
    1. Definining VAT and Excise conditions for Invoicing vendor is a must ..?
    OR
    2. We can do some configuration in Partner functions  sothat whatever  Tax conditions defined for PO vendor will be defaulted and can be used sothat at the time of MIRO  there will not any error for VAT and Excise conditions defined only in PO.
    Thanks in advance !
    Thanks & Regds,
    Kasi.

    Hi  Kishore,
    Thanks a lot for quick  response .
    As you said we have defined FV condition records were defined to key combination specific to Vendor. Given the scenario, can we change partner functions from PI or VN or other related , will System allow defualt these conditions to invoicing partner..? Iam not very much sure how partner functions work..? can please throw some light on this or guide me a link where can I get information on partner functions?
    ALternatively , instead of defining FV11conditions for key combination with vendor, if we  define  FV 11 conditions for other combination such as at material group level- will it work?
    Thanks in advance.
    Thanks & Regds,
    Kasi.

  • PFAC rule for detrmining partner functions in Actions of Opportunity

    Hi all,
    In Opportunity, we have scheduled the actions automatically for every phase.When we select phase in Opportunity transaction & save , the activities in that pahse would be created automatically based on conditions with person responsible same as in Opportunity transaction.
    Now I have changed the access sequence in partner determination procedure not to determine person responsible from preceding document means this partner function would be empty in Actions created & I have created rules in transaction PFAC with category 'Agent Determination-Responsibilitis' & responsibility & need the system to deterimine different user for this Person responsible for activities.(Not from preceding document).I have maintained this rule & Partner function in parameters of Actions.& action profile has been assigned to Activity transaction type( Actions). But this rule is not determining the users for the Partner function 'Person responsible'.In activities this partner function 'Person responsible' remains empty.
    Solution to this problem would be very helpful & maximum points would be rewarded for the useful answers.
    Reagards,
    Basavaraj Patil

    Hi Prashanth,
                          Thanks for your reply. I want the Rule  to determine Partner function 'Person responsible in Activity transactions  created in Phases of Opporunities not exactly partner function of Opportunity transaction.The procedure user( CRM Opportunity & Task) is maintained in Partner determination Procedure.
    For this I have assigned different Action profile with Method Call - CRM_DNO_PARTNER_1 containing Parameters for Rule(Structure - PDTASK & Field SEARK -  & Partner function(Structure - CRMD_PARTNER & Field - PARTNER_FCT).
    But still it is not determining Partner Determination in Activities.
    Regards,
    Basavaraj Patil

  • Equipment Partner Function not getting upload from CRM to ECC

    Hi,
    We had download Equipment from ECC to CRM. In CRM we can view this Equipment as Install Base with all partner function which are assigned.
    Now in CRM we had changed the partner function against the instal base but it is not getting replicated to ECC. In SMW01 BDoc is generated and it status is in "Green"
    In case if anyone has encounter this issue then please help us to get this issue fixed.
    With Regards
    Ankush Rai
    Mob: 9423404043

    Hey Ankush,
    Am also getting the same problem.....any luck?
    Regards,
    -Sweta

  • Customer Master - Partner Function

    Hi,
    I have created customer by using T-code xd01 and maintained partner functions for the same. But now when am trying to change partner function through the t-code xd02 it is showing me error as "In table TPAER, the entry AG AG  is missing"
    i tried to maintain the key in VOPA but still not resolved. Can you please suggest.
    Thanks
    Ashwini

    Hi,
    Can you please explain briefly so based on that i can give the guidance
    other wise follow the steps which is related to partner Determination procedure
    Hi,
    SPRO / Sales & Distribution / Basic Function / Partner Determination / Set up Partner Determination
    in that path we have to maintain the partner Determination
    1. Setup partner determination for Customer Master
    2.Setup partner determination for Sales Document Header
    3. Setup partner determination for Sales Document Items
    4.Setup partner determination for Delivery
    5. Setup partner determination for Billing Header
    6. Setup partner determination for Billing Item
    Each and every step we follow the five steps which i mentioned previous answer
    Step 1: Define Partner Functions
    Step 2: Assigning Partner Functions to Account Group.
    Step 3: Define Partner Determination Procedure.
    Step 4: Placing Partner Functions in Procedure.
    Step 5: Assigning Procedure to Account Group.
    based on your Requirements we have to do settings
    Revert if you get any error
    I hope your Clear
    Regards,
    Prasanna

  • Partner function for sales contract

    Hi
    I have to extract Sales related data from SAP R/3 to BW.
    Facing issue if someone just changes partner function for Sales contract as they are not captured in any of the standard extractors.
    If there is change in partner function for Sales order then it gets captured in 11 vascl but if its for contract then it doesnt get capture.
    Any solution ?
    Regards,
    monika

    Hi ! Ivy
    I guess there is a option.
    Try this out. Use the menu path IMG> Sales & Distribution> Sales> Lists> Set updating of partner index
    In the resulting screen, click on 'New Entries' make entries 0 - for sales orders and 4 - for contracts as transaction group. Under the column 'partner function' ener the partner function for which you want the report and save your entries.
    Now when you go for executing your report, click on the push button 'Partner functions' ( Say in VA05) , you will have the option for selecting the new partner functions , select and execute your report.
    Provide your feedback.
    Regards,
    PATHIK

  • Cannot Unblock newly created Partner functions

    Hi All,
        I created a partner function with partner function category "End customer" and relationship category "Is End Customer of". However when I save the same the "Block" option is checked automatically and I am not able to uncheck this option (It reverts back to checked on save).
    Also, I am unable to assign this partner fucntion to a Partner determination procedure eventhough I am able to create an access sequence using this blocked partner function. Do you know of any particular reason for this happening?
    Can you please help me with this issue?
    Thanks in Advance,
    Reddy PN

    Great news, thanks!

  • 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

  • Assinging bp roles to partner functions

    Hi friends,
    can you please let me know how to asian bp role to partner functions?

    Hi,
    You can try the following:
    While defining the partner function we can specify the relationship category, check the following customizing.
             SPRO>Customer Relationship Management>Basic Functions>Partner Processing>Define Partner Functions.
    Here define the partner function with specific relationship category and then open transaction 'BUBA' here you can assign BP role to relationship category.
    More over for some BP roles, for example 'Client', if you maintain a BP with catagory Organization, you will see 'Exclude Partner Function' tab in transaction BP. here you will see all the allowed Partner Functions and if you want to exclude some PFs here it can be done.
    Regards
    Ajay

  • Partner function for a team in Change Request Management

    I have defined a new transaction type based on Urgent Correction. I have three partner functions:
    Change Manager, Team Member and Quality Assurance Team. The first two partner functions are represented by single business partner so I can define them like employee. The third one should be represented by a team of persons, so that the Correction can be seen by every person belonging to this team in their worklist. How can I define a partner function like a team and how can I assign single business partner to the team. I would have something like this:
    I have three business partners A(11),B(12),C(13) belonging to the QA team(20). When I put 20 in the QA team field, i want that the correction is in the worklist of A,B,C.
    Thanks
    Antonello

    hi antonello lapolla,
    The business partner should automatically created for the Org unit.
    Now if you are trying to use the existing Org unit, the business partner are not assigned to them.
    Try this:
    1) You will have to activate HR integration.
    GO thru note 550055.
    maintain table T77S0 as per the obove notes:
    the following entry needs to be made:
    HRALX     HRAC     X     Activate HR Integration
    Check if the value X is present or not..
    Also try
    HRALX     PBPON     ON     description
    Entry should be made if its not there already.
    2) Create new Organization unit using IMG activity (Create a Root Unit for Your Organizational Structure under Service Desk node).
    Now to this org unit, right click create postions or Org unit under the newly created org Unit.
    Then you will find that Business partner is automatically assgined to the newly created Org unit.
    If business partners are not automatically created then apply following notes:
    0000997009 PPOME: Search help for business partners
    0001008656 Error message 5A XXX when you assign position
    Please Reward if your problem is solved.
    Regards,
    Suzzane.

Maybe you are looking for