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

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

  • 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

  • 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

  • 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 agreement setup in SAP based on quantity purchased

    Hi Experts,
    Question relating to rebates and commission.
    I have requirement to create rebate agreement on quantity purchased. If customer buys 1KG of material then the unit of measurment i.e., KG should be conveted to Pound and accrue $2.54 per pound.
    Please give some guidance on how to set this up in SAP.
    Thank you

    Hi Dayanand,
    There is a Rebate Condition Type available in standard, BO02-Material Rebate use that rebate condition type in your pricing procedure and try to create the condition record or rebate agreement with customer and material and in unit of measure you can give "pounds" and if in material master in additional data conversion factor is maintained i.e., 1 KG is equal how many pounds, system will not ask you in rebate agreement and if not maintained system will prompt a message as below
    mention the conversion factor how pounds equal to kg and request you to test the cycle throughly
    Hope this will help u

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

  • Problem in creating Receiver Agreement using Integration Directory API

    Hello Experts,
    We are developing a scenario where we are creating "REceiver Agreement" through Integration Directory API.
    This requires certain parameters like Sender component, Interface, Communication Channel & Namespace to be set in the code.The required Communication Channel & Components already exist in Integration Directory .
    Our concern is that we are not able to retreive this Communication Channel's ID through the code in order to set it as a parameter for Receiver Agreement generation.
    Can anybody pls advice??
    Thanks in advance,
    Suraj.

    Hi Stefan,
    We tried using query on communication channel, but could not do it as we could not get a method which accepts  name of communication channel as parameter.
    We used "CommunicationChannelQueryIn" related methods in the API.
    But still could not retreive the Communication Channel ID of an existing Communication Channel.
    Please help.

  • 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

  • BAPI for Rebate agreement creation in MM

    Hi,
    I have been unable to find any BAPI which could be used to create a Rebate Agreement (Subsequent settlement for vendor) in MM. ANy SDn thread or any search result yields the name of BAPI_AGREEMENTS, which unfortunately has capabilities of creating a rebate agrrement in SD side (for customer). The Key table in this BAPi is BAPIAGRMNT which has input fields like Sales Org, Distribution channel, division, Rebate recipient - all relevant to SD.
    The only closest I come to MM side is the name of a FUNCTIONL MODULE MM_ARRANG_NEW_ARRANG_INSERT and not a BAPI. Using this function module to create MM Rebate agreement would entail a lot of effort!
    Any pointers/clues would be greatly appreciated!
    Thanks & Warm regards
    Gaurav

    Hi,
    Use BADI to create rebate agreement in MM.You can explore following BAdI.
    These BAdI are applicable for MM & SD applications:
    (a) SD_BONUS_CREDIT_NOTE BAdI for Rebate Credit Memo Requirements
    (b) SD_COND_DETAIL Enhancement in Condition Detail Screen
    (c) SD_COND_SAVE_A Save condition application A, E
    I hopr this will help you out. Thanking you.

  • Rebate Agreement / Billing

    Is it possible to create Rebate Agreement in crm and Billing in ecc? also with an eye to the rebate settlement..

    Hi Manish
    System will ask to recreate the billing index if any billing documents are there for that sales organization.So you have to run the report RV15B001 which will be for the payer also.
    It will update the old billing documents of that sales organization also
    Regards
    Srinath

  • 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

  • Block Rebate Agreement creation in reference

    Hello,
    As explained in the title, I would like to block rebate agreement creation in reference of an old agreement.
    I changed customizing for Sales order by deleting copying rules from OR to OR.
    But I didin't find how to reproduce it at Rebate agreement level.
    Thanks for your help.
    Edited by: Marc DROUARD on Feb 2, 2011 5:43 PM

    Hi,
    Use BADI to create rebate agreement in MM.You can explore following BAdI.
    These BAdI are applicable for MM & SD applications:
    (a) SD_BONUS_CREDIT_NOTE BAdI for Rebate Credit Memo Requirements
    (b) SD_COND_DETAIL Enhancement in Condition Detail Screen
    (c) SD_COND_SAVE_A Save condition application A, E
    I hopr this will help you out. Thanking you.

Maybe you are looking for

  • UNBW Material in a third-party Sales Order (error: account determination)

    Hy @ll, we receive the following error message when entering a non valuated material (MTART UNBW) in a third-party sales order item. System is asking for the calculated budget and after the manual entry of the budget the following error message appea

  • Step by step to do BAPI in ABAP

    step by step to do BAPI in ABAP If using CatsDB table will be greatfull, Points will be rewarded thank you, Regards, Jagrut Shukla

  • ERROR in datapump

    Hi, Oracle Version:10.2.0.1(standard edition) Operating System:Linux I am getting the following error while exporting with datapapump. ORA-31693: Table data object "CAPTURE_PROD"."TEST" failed to load/unload and is being skipped due to error: ORA-023

  • Weblogic-cmp-rdbms-jar.xml

    When I deploy my bean I get the following error: While reading META-INF/weblogic-cmp-rdbms-jar.xml, the Entity EJB's pers istence layer failed to deploy. The error was: Error in descriptor line 7: Document root element "weblogic-rdbms-jar", must ma t

  • Transferring purchases from iPhone 3GS ?

    iTunes 10.4 says my iPhone 3GS (iOS 4.3.3) has purchased items to transfer before I upgrade to 4.3.5.  I click on File->Transfer Purchases, iTunes says "Transferring Purchases".  I wait until it finishes and click 'Upgrade" again, but it still report