Condition Requirement on basis of Partner Function

Dear All,
I have requirement in Sales Order creation. Some condition get required on the basis of Partner Function entered in sales order .
I tried with one requirement development for pricing but i m not getting any data related to Partner function manually entered in Sales Order.
In KOMK structure i m getting only standard which is coming from process but not which one i entered (Account Number of Vendor or Creditor) .
Pl suggest how it is possible.
Thanks,
Abhay

Try Using the following User Exit. userexit_pricing_prepare_tkomk in <b> MV45AFZZ</b>. It should sove you problem. If the change have to take place at the time of save. Use USEREXIT_SAVE_DOCUMENT_PREPARE  in the same include program MV45AFZZ
Giri..

Similar Messages

  • Creation of new partner function for VENDOR

    Hi,
    I've a requirement to create some Partner functions for vendors while creation of vendor. Some Partner functions are available by default and some we need to add. but while doing a BDC we are not able to find how many of them are available or where to put the new Partner function?
    Please let me know, if there is any BAPI availble..
    Regards,
    Anupam

    Try below LSMW batch input method its very esay to upload data
    Object               0040   Vendor master
    Method               0001   Standard
    Program Name         RFBIKR00
    Program Type         B   Batch Input

  • Partner function in web ui

    hi ,
    we have 10 partner functions and they belongs to all sold to party partner function catagory.they should be reflect in companies assinment block in web ui..what the custmizing i need to please help me out.

    Hello,
    please consider note 844503, For some partner function categories it is required that only one partner function within a process is used. This includes also the sold-to. With this note you are able to use multiple sold-to function category. However please be aware that this would be a modification. But the question remains: Why you need 10 sold-to ???
    Normally you just have 1 unique sold-to.
    Regards
    Rene

  • To change/update/delete partner function in Sales order before saving it...

    Hi! All,
    I am having a unique requirement to change the partner function( BIll to party and Ship to party) for standard sales order in the  order save badi implemtation.
    Please sugest a FM that will be appropriate for this functionality.
    One more thing that i am able to do is that i am able to add one more BIll to party and Ship to party in the order but I am not able to delete the exsisting Bill to and ship to partner function from that order, SO if there is any Fm that will delete the exsisting ship to and bill to party my purpose would be solved.
    Please provide your suggetionas how can I proceed further.
    Thanks and regards,
    Mayank

    Hi,
    use the CRM_ORDER_MAINTAIN FM for changing the partners. Fill in the IT_PARNTER and the CT_INPUT_FIELDS parameters.
    For how to fill in I advise you set a breakpoint in this FM and do a partner change in the Sales Order Document.
    You can also find a lot of threads in the forums regarding the ORDER_MAINTAIN FM.
    BR,
    Erika

  • Trading partner functionality

    Hi Gurus,
    Can you tell me about how the trading partner functionality in customer and vendor master is used.
    How is this  useful  for inter company balance reconciliations
    Regards,

    Hi,
    Trading partner is any entity with which the organization does any kind of business transaction.
    Business partners are used  to define the rights and responsibilities of each business partner in a business transaction. You assign partner functions when you create a master record for a business partner.
    Features
    The following are examples of trading partner functions(as customers)  that are defined in the standard system:
    ●     Partner functions for partner type customer
    ○     Sold-to Party
    Contains data on sales, such as the assignment to a sales office or a valid price list
    ○     Ship-to Party
    Contains data for shipping, such as unloading point and goods receiving hours
    ○     Bill-to Party
    Contains the address and data on document printing and electronic communication
    ○     Payer
    Contains data on billing schedules and bank details
    ●     Partner functions for partner type vendor
    ○     Ordering address
    ○     Invoice presented by
    ○     Goods supplier
    ○     Alternative payee
    ●     Partner functions for other partner types, for example, personnel (HR master records)
    Customer partner functions
    The company or person who places an order can be the same company or person who receives the goods and the invoice and pays. Because this customer assumes all partner functions, you create one master record for the customer. You create a customer master record for the sold-to party in which you enter data required for the other partner functions.
    A subsidiary office can place an order and its head office can pay the invoice. In this case, you divide partner functions among the different offices. You need a corresponding number of customer master records. In one master record you enter, for example, the address of the sold-to party for correspondence, in the other, the address of the ship-to party for delivery. You establish a link between the partner functions in the customer master record of the sold-to party by entering the customer number of the respective partner functions.
    Prerequisites
    When creating master records, you define the partner functions for business partners by assigning an account group. For partner types customer and vendor, you define which account group can be used for which partner function. You do this in Customizing in the following activities:
    ●     Customer
    In Customizing for Basic Functions (SD) in the activity Assign partner functions on the debit side to account groups.
    ●     Vendor
    In Customizing for Purchasing (MM) in the activity Define permissible partner roles per account group.
    The partner determination procedure specifies the partner functions that are allowed or mandatory for processing a particular business transaction, such as a sales or purchase order.
    Analogous is business partner from vendor point of view.
    Hope this helps.
    Rgds
    manish

  • Partner function not getting determined automatically in delivery

    Hi,
    I have a requirement to determine custom partner function in delivery related to STO. I have maintained the below settings.
    1. Created new partner function (type KU) & extended to account groups.
    2. Maintained the partner function in the delivery partner determination procedure.
    3. Defined partner function in ship to party
    Now the new partner function is not getting determined automatically.
    Kindly provide your inputs.
    Thanks
    Rama

    Hi Rama,
    . Defined partner function in ship to party
    Sorry for editing i just read that it is a STO order,Now can you please check the partner function in PO doc.
    Hope it will help.
    Thanks,
    Davinder
    Edited by: davinderpalsingh on Sep 21, 2011 5:20 PM

  • VA02 partner function

    Hai all,
                 We have a requirement, in VA02 : at Partner functions, when user changes ship-to-party, then automatically
    bill-to-party and payer should be filled with ship-to-party's customer code in redetermine screen.
    Pls, suggest us for any enhancements/exits/BADI's.
    Thanks in advance.

    Hi All,
    This is resolved by self.
    I didn't found any exits suitable to this req .
    i did enhancement for this req  details are given below.
    FM: SD_PARTNER_DATA_GET
    code: ENHANCEMENT 1  ZEN_SHIPTOPARTY.    "active version
       DATA : SHPART  TYPE VBPA-KUNNR , " ship to party
            SOLDPARt TYPE VBPA-KUNNR , " sold to party
            PAYPART TYPE VBPA-KUNNR ,  " payer
            BILLPART TYPE VBPA-KUNNR , " bill to party
            ADDRESSNO TYPE VBPA-ADRNR,
            TABIX TYPE INDEX.
        IF ( sy-tcode = 'VA01' OR  sy-tcode = 'VA02' ).
          IF screen-name = 'MESSTXT8'.
            READ TABLE  fet_xvbpa WITH KEY parvw = 'AG'.
               IF SY-SUBRC = 0.
                soldpart = fet_xvbpa-kunnr .
               ENDIF.
             READ TABLE  fet_xvbpa WITH KEY parvw = 'RE'.
                IF SY-SUBRC = 0.
                  billpart = fet_xvbpa-kunnr.
                ENDIF.
             READ TABLE fet_XVBPA WITH KEY PARVW = 'RG'.
                IF SY-SUBRC = 0.
                  paypart = fet_xvbpa-kunnr.
                ENDIF.
             READ TABLE fet_XVBPA WITH KEY PARVW = 'WE'.
                IF SY-SUBRC = 0.
                  shpart = fet_xvbpa-kunnr.
                  addressno =  fet_xvbpa-adrnr.
                ENDIF.
    IF shpart NE soldpart.
      LOOP AT fet_xvbpa.
        IF  fet_xvbpa-parvw = 'RE'.
          fet_xvbpa-kunnr = shpart.
          fet_xvbpa-adrnr =   addressno.
              MODIFY  fet_xvbpa INDEX sy-tabix.
        ENDIF.
        IF fet_xvbpa-parvw  = 'RG'.
          fet_xvbpa-kunnr = shpart.
          fet_xvbpa-adrnr =   addressno.
            MODIFY  fet_xvbpa INDEX sy-tabix.
        ENDIF.
      ENDLOOP.
      GVT_LOCAL_MEMORY-XVBPA[] = FET_XVBPA[].
      MODIFY  GVT_LOCAL_MEMORY index 1.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDENHANCEMENT.
    Thanks,

  • 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.

  • Display Partner Function on the basis of Selected Partner Function

    We have multiple "Ordering Address" and "Goods Supplier" for a particular vendor. When we use a particular vendor at the time of PO creation, we dont want all the OA and GS to be populated in the "Partner Functions" tab. The OA should be populated based on the Vendor & P Org, and on the basis of OA should be selected, the "GA" related to the OA should be populated.For ex, if each vendor has 5 OA and each OA has 3 GS and the user selects a vendor then all 5 OA should be displayed. When the user selects one  of the OA, all the 3 GS related to that OA should be displayed.
    Is this possible to maintain this scenario?If yes, how can we implement it?
    Thanks
    TM

    Hi,
    You can accomplish the above in below EXIT's
    There are two function modules available to pass partner data to the PO
    EXIT_SAPLEKPA_001 include ZXM06U07
    EXIT_SAPLEKPA_002 include ZXM06U08
    Also further you should write a logic in the BADI ME_PROCESS_PO_CUST
    regards,
    Lalita

  • Replication of Vendor BBP_VENDOR_SYNC - Partner Function required?

    Hi everyone - quick one here...
    We are running Vendor Replication from R3 to SRM, and are using Replication Program BBP_VENDOR_SYNC overnight to do this. I am aware that we need Purchase Org Data setup for replication to occur.
    Now we have 2 Account groups, 1 with Partner Functions VN, OA, and PI, and the other Account Group with NO Partner functions setup.
    Replication picks up the Vendors with partner functions, and misses the ones with no Partner Functions. The only way to replicate the vendors with no Partner Functions is for us to manually run the old BBPGETVD.
    Am I correct in assuming that at least one Partner function (VN?) is a prererquisite in order for BBP_VENDOR_SYNC program to work?
    Thanks in advance for any feedback!
    Barnaby

    NOT ANSWERED BY ANYONE BUT WILL CANCEL

  • Rule Modeler - Automatic assignment Partner Function based on PC of IBASE

    Hi Experts,
    I have the following requirement. The IC Agent when receiving a call has to create a Service Ticket (Service Order). By creating the Service Ticket the responsible Service Partner has to be assigned to solve the service incident based on the Postal code of the IBase (Installed Base).
    The following steps I have done:
    1. I have created the Service-ID Z_RE_RULE_EXEC (Rule Invocation) with the following properties:
        CONTEXT               Context
        DEF_ROUTING    Default Routing
        LOG_LEVEL        Logging Level
        POLICY                Root Policy
    2. Under Repository I have defined a new context: Z_TICKET_ASSIGMT with the following properties:
    Context Properties: No Customizing
    Authorization Groups: No Customizing
    Attributes: 
    Name: ZPOST_CODE1_IB
    Show Attribute: Flag marked
    X Path Expression: /parts/currentIbase/ComponentAddress/POST_CODE1/text()
    Fact Gathering Service: FG_IC_REF_OBJ
    Attrib. Ext. Class: CL_CRM_ERMS_ATXT_TEXT_NCAT
    Actions:
    Action-ID: Z_PARTNER_ID
    Show Action: Flag marked
    Action Service ID: DD_AH_PARTNER_ID
    Action Parameters:
    Parameter-ID: PARTNER_ID
    Display Mode: O
    Inp Spt Class: CL_CRM_DD_F4_BP
    Afterwards I created the Rule Policy: Z_PRUEBA2 with the condition that if the Postal Code of the IBase is 08030 or 08035
    the Partner Function ID 56 has to be assigned to the Service Ticket. I have released the Rule Policy afterwards.
    Into the standard Service Manager Profile SAP_ORDERROUTING I have added the created
    Service-ID Z_RE_RULE_EXEC with the following properties:
    CONTEXT:     Z_TICKET_ASSIGMT
    LOG_LEVEL:     0
    POLICY:     Z_PRUEBAS2
    Now I want to test the rule policy by entering with the ROle SAP_CRM_UIU_IC_MANAGER (IC Manager) but I can not see any possibility to do that. So my questions is how I can test the rule policy Z_PRUEBAS2? Do I have to assign the Service Manager Profile to the IC Center Agent Role?
    Best Regards
    Oliver

    Solution: Problem solved. Error was the name of the attribute. It has to be POST_CODE1_IB
    and not ZPOST_CODE1_IB.

  • Partner functions for SAP Customer Master

    I am in the MDM solution definition phase for SAP Customer Master at one of our Cients place. The requirement is to set up a central master data scenario where creation & modification of any customer record will be done via MDM. The following components of Netweaver are in the landscape - SAP MDM, EP, XI.
    I need clarification on the following points -
    -  Is it possible to set up the partner function in MDM, if so, how?
    -  Need to replicate the standard SAP functionality where the system can be configured to create Ship To, Payer, Bill To automatically when a Sold To record is created. Is this possible? Are there any work arounds?
    Regards
    Arvind

    Hi,
    Hi Arvind,
    -  Is it possible to set up the partner function in MDM, if so, how?
    Partner Function comes under Condition Technique in SAP ECC.here some config has to be done.
    For mapping it in MDM, First create a Qualified Table - Partner Function.Determine the Non-Qualifiers and Qualifiers.Then as said by Suresh, u need Java API stuff to complete this task and frontend being EP.
    - Need to replicate the standard SAP functionality where the system can be configured to create Ship To, Payer, Bill To automatically when a Sold To record is created. Is this possible? Are there any work arounds?
    It can be done using EP as front end and Java API to dertermine the partner based on the account group.
    Thanks,
    Felix
    Edited by: Felix on May 9, 2008 1:38 PM

  • Discount based on partner function

    Hello,
    A customer 2000 generates an order with his normal role of Sold to Part, Ship to Part, Bill to Party & Payer. A Partner function called special stock partner is also assigned to that customer which in itself is another customer 3000. If the customer 2000 generates an order with that special stock partner 3000 an automatic discount condition called ZDI (10% discount) should come up and give the customer 2000 discount. i.e. i want to give discount to customer 2000 if customer 3000 is his special stock partner. How do i make this condition automatic via condition record.
    Regards,
    Shahzad

    Hi,
    1st - Include the field partner function (or customer number) as a ZZ field in the structures KOMG, KOMK. For example ZZTPTNR - Third partner number - CHAR10
    2nd - Create condition table with this partner function / number field ZZTPTNR
    3rd - Create/modify the access sequence to include the new table
    4th - Create/modify the condition type for the discount
    5th - Add the discount condition in your pricing procedure
    6th - Create the condition record for this discount (VK11)
    7th - Fill this field in the userexit MV45AFZZ, form  userexit_pricing_prepare_tkomk with the required partner function or customer number
    Hope this helps your request.
    Regards,
    John

  • Determining Partner Function based on Status of Transaction

    Hello
    I have a requirement in which parties involved needs to be determined based on the status of the Transaction.
    Please let me know how we can fulfill this requirement. Is there any BADI for the same and if yes what code do we need to maintain.
    Thanks

    Hello Jatin,
    You can always do order related modifications on Action profile. Based on the condition whether the header status is changed or Item status You can configure an action profile & assign a start and schedule condition for same.
    The logic in the badi can be to update the partner function as per your needs.
    Regards,
    Ravi

  • Sending mail to all partner function in transaction

    Hi Folks,
    Standard action and condition sends mail to only main partner function in transaction. But transaction could have more than one partners for same partner function. Can mail be sent to all partners in transaction by using standard action configuration?
    Regards,
    Nikhil

    Hi Nikhil,
    You can control this using CRM_ACTION_BADI.
    Below the use of this BADI.
    In partner-dependent actions, business partners that occur in several functions, only the main partner remains.
    This can be useful, for example to avoid sending the same e-mail to the same business partner if there are several action definitions for different partner functions or function types.
    However, if several different actions have been defined as partner- dependent, this effect may not be required.
    In this case, the CRM_ACTION_BADI standard implementation can be deactivated. In this case, all partners from the transaction are considered during action determination.
    If this is also not required, a new implementation can be created.
    Hope this helps.
    Cheers, Satish

Maybe you are looking for

  • Windows 8 64bit Bootcamp 5 Drivers Install Fail

    2012 Retina MacBook Pro I installed Windows 7 64 Bit with bootcamp 4. I then upgraded to Windows 8 64 Bit Pro, using the microsoft installer for windows 8.I then tried to install Bootcamp 5, however the Bootcamp 5 installer states that I must have Wi

  • Using the Nikon RAW NEF format and Nikon Capture NX.

    This is about using the RAW NEF format in Aperture together with RAW NEF capable editing programs, specifically Nikon Capture NX. I basically agree with Aperture that it is a "workflow tool" and NOT a photo editor with all the bells and whistles of P

  • XML LPX-00209 Error

    I have one clob field with xml content and i want to use them with l_parser := dbms_xmlparser.newParser; dbms_xmlparser.parseClob(l_parser,p_xml); without this value <?xml version="1.0" encoding="UTF-8"?> What the simplest way. Thaks.

  • Drop Zones iDVD

    i think i have followed the directions for creating mini slideshows in drop zones, but when i preview my menu the photos don't change. they just stay on the first photo in each zone. any thoughts as to how to get the slideshows to play in the drop zo

  • Remote Desktop Protocol v8.08 on IOS (IPAD) - constant disconnects since update to new version.

    I was having major issues with RDP 8.08 update on my IPAD in July 2014.  Connect to my remote Windows 7 desktop was successful, however, screen refresh peformance was very slow and disconnects occured often. Was referred to KB2570170 and applied the