Maximum Royalty check in during Create Rebate Agreement( vbo1 transaction)

Hi experts,
There is need to implement a maximum royalty check for a particular material.
This maximum percentage is stored in the material master itself.( Say 10 %)
When a Rebate Agreement is created / changed a particular amount is entered against a pricelist.
Now the check to be implemented is that the amount entered against each material should not exceed the maximum percentage defined for that material. 
Additionally this check should handle the scale check.
Is this check can be done through a BADI / Exit or functionally.
Any idea on how to handle this would be of great help. 
Regards,
Gowri

Hi All,
I am closing the trend. I was able to achieve the above check with the help of the badi
SD_COND_SAVE_A.
Gowri

Similar Messages

  • Create Rebate Agreements VBO1

    Can you please suggest BAPI to create Rebate Agreements VBO1, using the following values to pass as below:
    1st structure : VKORG, "Sales Organization
    VTWEG, "Distribution channel
    SPART, "Division
    BOART, "Agreement type
    BONEM, "Rebate recipient
    WAERS, "Currency key
    ABREX, "External description
    BOSTA, "Agreement status
    ABDATAB, " Agreement Valid from
    ABDATBI, " Agreement Valid to
    BOTEXT,
    IDENT3
    2ND STRUCTURE : HOW TO UPLOAD CONDITIONS FOR REBATE AGREEMENTS?
    3RD STRUCTURE : HOW TO UPLOAD DATA INTO ---CUSTOMER / MATERIALS. like matnr, amount,accurals
    Thanks in Advance !!!!!!!!!!!
    Regards
    Sagar
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Oct 10, 2011 12:47 PM

    it can never be copied as per version 4.6 C
    we can use a BDC to create rebate agreements with ref and use FM read_text_inline to read text from previous agreement

  • Create rebate agreement

    Hi Gurus,
    While creating rebate agreement for customer, after giving all details, we would right conditon record what one should specify there. I mean what is "amount and accrual".
    Also where I should mention the sales value ie target will be given to custmer.
    Thanks
    Shiv

    Hi Shiv patil
    Following explains how to crete a rebate agreement, test it using a sales order and billing it. Then settling it partially or fully using a rebate credit memo. Please use the basic procedure and tweak your IMG settings according to your unique requirements.
    Rebate processing:
    1. First requirement is that the rebate processing must be active for
    a. the customer ( check in customer master) ,
    b. for the billing type ( check in IMG > Billing > rebate processing > active rebate processing > select billing documents for rebate processing. )
    c. For the sales organizatin:
        ( check in IMG > Billing> rebate processing > active rebate processing > Active rebate processing for sales org. )
    2. Next create a rebate agreement For this ust T-code VB01. For the rebate agreement type you can choose either 0001
    ( group rebate ) or 0002 material rebate or 0003 ( customer rebate ) etc
    b. Enter your rebate conditions. Dont forget to enter the accrual rate here.
    3. Now test your rebate functionality : create a sales order for the particular customer, sales org ( ensure that the billing type used in your sales order is relevant for rebate) . Create outbound delivery, transfer order to do picking and post goods issue.
    4. Now go to Tcode VB03 and check your rebate by choosing conditions , selecting the condition line and choosing payment data. You will see that the accruals and business volume are updated when accounting doc is created for billing.
    5. Settling your rebates:
    Once your rebates have been accrued you need to settle the rebate.
    For this first release the rebate for settlement by using Tcode VB02. As a trial basis choose B ( you can choose other settings based on your requirement)  and choose Create manual accrual. Now enter the amount to be paid and save the rebate agreement.
    6. Next display your rebate agreement using Tcode VB03.
    Enter your rebate agreement number . Next choose rebate payments > Rebate documents and select partial settlement. Click on the choose button to note down your credit request number.
    7. Use Tcode VA02 and release the billing block for your credit request. ( use item overview tab)
    8. Now use VF01 to create a rebate credit memo by entering the credit memo request number and save it
    9. Now release the credit memo to accounting using vf02.
    The following link will help u.
    http://www.erpgenie.com/publications/saptips/052005.pdf
    Reward if useful to u

  • Create Rebate agreements using BAPI:BAPI_AGREEMENTS

    Hi,
    My requirement is to create the rebate agreement using BAPI.
    For this I am using 'BAPI_AGREEMENTS'.
    I am passing the below values to TI_BAPIAGRMNT
    *ls_BAPIAGRMNT-OPERATION = .
    *ls_BAPIAGRMNT-AGREE_COND =
    ls_BAPIAGRMNT-SALES_ORG = 'BIC'.
    ls_BAPIAGRMNT-DISTR_CHAN = '02'.
    ls_BAPIAGRMNT-DIVISION = '00'.
    ls_BAPIAGRMNT-AGR_TYPE = 'ZBMS'.
    *ls_BAPIAGRMNT-CATEGORY =
    *ls_BAPIAGRMNT-APPLICATIO =
    *ls_BAPIAGRMNT-CREATED_BY =
    *ls_BAPIAGRMNT-CREAT_DATE =
    *ls_BAPIAGRMNT-CREAT_TIME =
    *ls_BAPIAGRMNT-CHANGED_BY =
    *ls_BAPIAGRMNT-CHANG_DATE =
    *ls_BAPIAGRMNT-CHANG_TIME =
    ls_BAPIAGRMNT-RECIPIENT = 'ST0000'.
    ls_BAPIAGRMNT-AGRMT_CURR = 'USD'.
    *ls_BAPIAGRMNT-AGCURR_ISO =
    *ls_BAPIAGRMNT-EX_DESCR =
    ls_BAPIAGRMNT-STATOFAGRE = 'A'.
    ls_BAPIAGRMNT-VALID_FROM = '05/25/2009'.
    ls_BAPIAGRMNT-VALID_TO = '05/31/2009'.
    *ls_BAPIAGRMNT-COND_GROUP =
    *ls_BAPIAGRMNT-AGRMT_TEXT =
    *ls_BAPIAGRMNT-PAY_METHOD =
    *ls_BAPIAGRMNT-FRMOBJ_TYP =
    *ls_BAPIAGRMNT-FRMOBJ_KEY =
    *ls_BAPIAGRMNT-DEL_FLAG =
         append ls_BAPIAGRMNT to lti_BAPIAGRMNT.
    CALL FUNCTION 'BAPI_AGREEMENTS'
    EXPORTING
      PI_INITIALMODE       =
      PI_BLOCKNUMBER       =
      TABLES
        TI_BAPIAGRMNT        = lTI_BAPIAGRMNT
        TO_BAPIRET2          = lTO_BAPIRET2
        TO_BAPIKNUMAS        = lTO_BAPIKNUMAS
    EXCEPTIONS
      UPDATE_ERROR         = 1
      OTHERS               = 2
    i am getting the values in lTO_BAPIRET2
    Type: E     
    ID:CND_EXCHANGE
    Number:156
    Message:Record KNUMA = , AG_GUID = 00000000000000000000000000000000: agrmt type  deviates from Customizing
    LOG_NO:
    LOG_MSG_NO:00000
    and i am not able to create rebate agreement using this BAPI.If i am passing same values in VBO1 am able to create the agreement.
    Let me know what to do. Am i using correct BAPI or not.If it is correct what r the remaining fields need to be passed.If not let me know the correct procedure.
    Thanks in advance.
    Thanks,
    Vidya.

    Hi,
    I am getting the same problem when trying to create a agreement by using BAPI_AGREEMENTS ??
    pls let me know hw u hav solved the same ???
    With Rgds,
    S.bharani

  • Creating Rebate agreements through LSMW

    Hi ALL,
    We are planning to use LSMW to upload our rebate agreements as we have lot of agreements to be created. We are able to record VBo1/VBo2 txn upto first screen which contains agreement 3, desc, receipt, validity dates etc., Up to this point, LSMW captures the fields and input values. However when we select rebate condition type from 'Valid Condition Types and Key Combinations' pop up box to enter rebate %, LSMW does not record rebate condition type selection field and its input value.  LSMW displays screen name - SAPMSSY0, BDC_CURSOR value like 04/03, BDC_OKCODE like =PZ2 etc., As you know this pop up allows us to select a rebate condition for which we can enter rebate % in subsequent screen. LSMW able to capture subsequent screen without any issues.
    So does anyone know how to capture rebate condition selection parameter from pop up windown on to LSMW so that we can pass rebate condition type & it's % during the upload? or is there any BAPI able available to use for loading rebate agreements? We are using SAP 4.7.
    Any inputs in this regard would be appreciated.
    thanks

    And how did you manage it? May I ask as I am also facing similar issues
    Thanks
    Indranil

  • Rebate agreement VBO1 and VBO2

    The Bapi I'm looking at BAPI_PRICES_CONDITION creates conditions but what BAPI should I use along with this to create - VBO1 or change - VBO2? Is there an IDoc?
    Thank you.

    hi Parimala,
    There is one bapi available BAPI_AGREEMENTS for VB01
    and u can check the below link also i think it may be useful for u
    http://www.4soi.de/userexit.php
    OR Programs
    Program name Report title
    RV15B004 Copying rebate agreements
    RV15C006 Change currency of rebate agreements
    RWMBON35 Extension of customer rebate arrangements, Purchasing
    RWMBONE2 Generation of work items for extension of vendor rebate arrangemen
    RWMBONE4 Generation of work items for extension of customer rebate arrangem
    SDBONTO4 Update for rebate-relevant data fro release 4.x
    SDCHECKBONUS Customizing check: volume-based rebate
    SDS060RB Reorganizing rebate-relevant data from billing documents
    SDS060RC Settling rebate-relevant data in billing documents and S060
    Regards,
    Naveen

  • BAPI or Function Module to create the Rebate Agreement

    Hi All,
    I have a requirement where I get the flat file which consists of the header and item level data. Using that I have to create the REBATE AGREEMENT. The transaction code to create the Rebate Agreement is VBO1 (Create Rebate Agreement).
    Is there any BAPI or FUNCTION MODULE available in SAP to create the Rebate Agreement. Please tell me if you know any suitable BAPI or FM.
    Thanks in advance.
    Best Regards,
    Paddu.

    Hi Paddu
    Were you able to find a BAPI or Function Module to create Rebate Agreement. We have a similar requirement where we have to create Rebate Agreements with Conditions.
    If you have found a solution do share it with us.
    Regards
    Salil

  • Rebate Agreements: Create Debit memo.

    Hi All,
    Is it possible to create a debit memo using the rebate agreement functionality (transaction VBO2)?
    We are only able to create manual payments that generates credit memos, but we need to post a debit memo due to an overpayment made to the customer.
    Can you guys let me know if this is possible?
    Thanks in advance to all.
    Regards,
    Pedro Sousa

    Hi Pedro,
    In the standard R/3 functionality it is not foreseen to create debit memo requests for rebate agreements. In the standard rebate
    process credit memos will be created !
    The document type used in final settlement is customized in the field 'Order type for final settlement credit memo request'
    T6B1-AUART_B1 which can be changed via VB(2, no matter whether the value positive or negative is.
    Also refer subdivision of note-75778.
    Thanks,
    Alex

  • How to use Vendor Hierarchy in Vendor Rebate Agreements

    Hi Friends,
    I need to use vendor hierarchy in vendor rebates agreements.
    Here are some inputs from my end so far I have done:
    Customizing Settings for vendor hierarchy and rebate agreement (agreement type 3000 and condition types A003/ A004) have been done.
    While creating the PO after creating rebate agreement (MEB1) I am able to see all higher partner functions (2A,2B,2C,2D) at header level in PO under partners.
    I have (say ) 3 vendors V1, V2, V3 (V1 being highest) set up in vendor hierarchy (MKH1).
    My requirement is; if my company make any rebate agreement with vendor at any node below the highest in the vendor hierarchy then that business volume should be taken in consideration for rebate purpose with the vendor at higher level while making any agreement with him.
    I request you to please let me know how to set up this.

    Hi lvshaolong,
    Thanks a lot for your reply.
    I believe I have not misunderstood the business scenario.
    But may I request you to tell me the process steps for the senario you told which is "Normally , you define condition with highest node in hierachy and then you can refer to it when you do biz with the lower nodes". How vendor rebate process takes place this scenarion (I mean process flow).
    This might help me to find some solution further.
    More input from my end:
    When I am creating the PO against a vendor included in the vendor hierarchy(after agreement), rabate condiion A003  or A004 is not appearing in pricing and hence during BV comparison,system does not find any data to update.
    Regards,
    Munish

  • Rebate Agreement's final settlement includes invoices already processed

    Hello,
    I've been testing rebate agreement functionality and I'm facing this issue:
    If I define a rebate agreement for a customer just for this day and post two invoices, this invoices are referred to the agreement. After this I do the final settlement for this agreement, credit memo is posted and everything is ok.
    Then I define another agreement for the same customer and just for this day again. The next invoice I post is referred to this new agreement. But the problem is that once I do the final settlement of this second agreement it includes the invoices of the first agreement.
    I need to know if there is something I've been missing?
    Regards,

    Hi,
    please have a look to this SAP Help link & use all these 27 steps as a key check for your scenerio.
    so that you can find right place where you are missing -
    [Creating Rebate Agreements|http://help.sap.com/saphelp_ides/helpdata/en/5d/363ec3583f11d2a5b70060087d1f3b/content.htm]
    Also have a look to these threads for better look to issues.
    Rebate Agreement issue on sales volume
    Regards,
    RS

  • Rebate Agreement information

    Hi,
    When using transaction VBOF the system updtates all relevant billing documents retroactively, what I need is to view the value of that document at a specific date. For example if the value of the document has been updated due to rebate in 01.01.2009 and at 01.02.2009, where can I find the the value of the document at a specific date e.g 10.01.2009, the rebate agreement and billind document.? Wich are the tables with this information.
    Thank's

    Hi Jsoares,
    For your information, during retroactive rebate agreement recalculation (Tcode VBOF), the net value of the sales invoice (NETWR) will never be updated. That does not make business sense and that would also result in an error in the VBOF execution.
    If you speak of rebate conditions in the sales invoices, check tables VBRK + tables KONV for the rebate condition types.
    If you want to see rebate statistics, check KONA + KOTE* as other colleagues already specified + table S060.
    Regards,
    Franck

  • Rebate agreement problem

    HI,
    I have created rebate agreement for my own by coping the standard one 0003 customer rebate .and created my own condition type and assign it to pricing procedure .Now the problem is when i created billing document it shows the rebate condition type with proper value .But when i release the billing document to accounting then the condition type releavent for rebate vanish. But when i use the standard one it shows also after releasing it to accounting .Can you please tell what could be the problem .I have checked there is no diffrence with the standard but only Access Sequence . I also created accesss sequence with the acess category 1. Thanks in advance .
    Regards,
    Abhijit ...

    Hi ,
    I have checked the Accky "ERU" and Accr "ERB"...there is no problem regarding that ....
    Thanks .
    Abhijit

  • Plant determination from Rebate Agreement

    After creating rebate agreement type, I went to make a sales order. But the problem is, the plant didnt appear. How can I make it automatically appear in may sales order?
    Thanks.

    The system should default Plant AAA, but if you want to change, it is very much possible. Select the line Item & double-click on the same & goto Shipping Tab page & change the plant.
    Alternatively, before entering the material in sales Order, enter Delivering Plant. (Even this may work. You will need to check this)
    Regards,
    Rajesh Banka
    reward points if helpful.

  • Change release status of customer rebate agreement

    Hi Experts,
        After i created customer rebate agreement by usin TCODE /IRM/IPCRASP, how to modify release status to Blocked "A"? Currently, all fields under header part are not editable.

    hi friend !!!!!
    i create rebate agreement with the help of t-code VBO1
    and for change rebate agreement t-code is VBO2
    for u r release status  check one thing go to t-code VB(2
    AND CHECK  in SETTLEMENT TAB MINIMUN STATUS
    what u mention there B OR A OR ANY
      then do changes what u  required
    hope it will help
    REGARDS

  • Rebate Agreement Replication CRM to R3 and vice-versa

    Hi All,
    We have a requirement of creating Rebate Agreement and maintaining the conditions in the same.
    When we create an order (in R3 or CRM) the values has to be populated from the rebate agreement.
    Scenario A:
    The setup of rebate is completed in R3, we have downloaded the conditions from R3 to CRM and when we are creating the order in CRM the rebates are not getting recognized. Upon analysis we found that we have to download the rebate agreements too and the respective object is REBATE_DNL_AGR.
    (Rebates are working fine for Pricing in R3.)
    Scenario B:
    We have tried an workaround of creating rebate agreements in CRM and uploading them to R3, object used is REBATE_AGRMNTS but no success.
    (In this case rebates are working fine for Pricing in CRM.)
    We are facing issues in replicating the Rebate agreements from CRM to R3 and vice versa.
    When we do the initial load R3AS of below objects, they are not progressing and not appearing in queues too. Status is always running
    CRM to R3 for rebate agreement – REBATE_AGRMNTS
    R3 to CRM  for rebate agreement - REBATE_DNL_AGR
    If you have any inputs, pls share. Thanks
    Regards,
    MK

    Hi  Kalyan,
    Did you achieve scenario B ?. You also mentioned that for scenario B , it works fine with pricing in CRM. Was the billing happening in CRM or ECC in that case ?.
    Did the scenario A worked ?.

Maybe you are looking for