Change the Pricing Type during billing

We are facing an issue with the rebate conditions which needs to be resolved asap..
User has created a credit memo request in VA01.
Credit memo request is created for the change in the Price.
(Note: Order reason for such specific credit memo requests is ZXX (e.g.))
Due to price change rebate accruals value is also reduced in proportion to the reduced price.
The rebate accruals should not be reduced in this case, since there is no material return and rebate condition is quantity based.
As a solution to this u2013
We created a new routine AAA and assigned to the rebate condition types in Pricing procedure.
This routine will function when order reason entered in the Credit memo request is ZXX.
Therefore all the rebate condition types (assigned with routine AAA in Pricing) will get deactivated in Order Conditions tab.
This is working correctly in creating credit memo (VA01).
The issue is u2013
When the credit memo is created in VF01, these rebate condition types are again activated and accruals are posted.
This should not happen. Pricing from the CM request (VA01) should get copied in Credit memo (VF01) completely. The same issue
with VF02..
Please  suggest a user exit in which the pricing type can be changed during billing..Tried coding in the form
USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ by changing the Pricing Type KNPRS..But didnt work out..
Is there any way to meet this requirement. I have checked the user exit RV61AFZA having two forms:
FORM USEREXIT_PRICING_RULE &
FORM USEREXIT_PRICING_COPY.
I would be interested to know how this can be  coded to meet the requirement. Coding displayed will be of great help to
implement.
Any pointers / solutions to the issue will be highly appreciated..
Moderator message - Please do not offer points or rewards
Edited by: Rob Burbank on Jul 29, 2010 12:34 PM

Hello Sean
1) Firstly I don't think the Credit Memo for this case or any case in your situation should be relevant to rebate.  That's becasue your rebate is tied to quantity.  So you should deactivate rebate processing for that Billing Doc type. T Code OVB0. That should close the issue.
2) Pricing type 'D' in copy control from sales to Billing documents should ensure that Pricing from the CM request (VA01) gets copied in Credit memo (VF01) completely. Why do you need user exits for that? T code VTFA.
3) If you need to change pricing type selectively for some conditions, then you should configure the condition type with condition category X,Y or Z ( Customer Reserve) and then use USEREXIT_PRICING_RULE (module pool SAPLV61A, program RV61AFZA to ensure that those conditions are copied (or otherwise) from source. But I don't think you need this.

Similar Messages

  • How to change pricing type during invoicing

    Hello,
    How can I change the pricing type from 'B' (which is in the copy rule VTFL) to 'D' during the invoicing regarding specific criteria like sales organization ?
    Thank you by advance.
    Fabien

    If the unit price in sale order differs from pricing master data (VK11) and in copy control, if "B" is maintained for the field "Pricing Type", system will consider the price from master data in billing.  If you dont want this new price for that particular billing document, as suggested already, go to condition tab, click on "Update" button and again double click on "G". 
    But please note this will work ONLY  if accounting document has not been generated.  If accounting document has been generated, then this button (Update) in condition tab will become uneditable.
    On the other hand, if for any particular billing type itself, if you dont want "B" to consider, then in VTFL itself, change it to "G" or whatever you require.
    thanks
    G. Lakshmipathi

  • Change the order type for a sales document already created

    Hi gurus,
    please let me know if there is any possibility for changing the order type for sales document (sales order) already created,
    thank you

    Hi,
    Rambabu is correct. Check the  alternate sales document types which your current sales document type is having in VOV8 transaction. You can have the current sales document type replaced with the assigned alternate sales document type 1 or alternate sales document type 2 during run time in the during creation  or change mode  subject to the current sales order is not having any subsequent document. Re-pricing will happen accordingly and all the things of order will get redetermined.
    Hope this explains.

  • How to change the pricing rate of Sales Order after delivery is created?

    Is it possible to update(change) the pricing rate which belong to a specific condition type, of the "Sales Orders"  after corresponding delivery is created ?
    number of the Sales Order to be changed is huge. How can I handle this situation ?
    immediate replies would be rewarded

    Repricing is only possible if your pricing record has a valid from date that is equal to or before the pricing date on the order. Otherwise, your pricing rate change will be applicable only from the begin date of that record.
    Assuming that it is allowed by config, you can go to VA02, go to conditions, and then there is small button at the bottom, that says 'Update'. By pressing that, your system will automatically reprice the sales order, provided, as I said, all pre-conditions are met. Once you know that you can do this, then you can adopt any of the technical solutions that Rich had suggested above to do the mass changes.

  • Changing the pricing conditons for a trading contract (Trnx WB22)

    Hi Gurus,
    I want to change the pricing condition amount (KBETR) for a given item in a trading contract using a BAPI.
    I already used BAPI_TRADINGCONTRACT_CHANGE and tried to change the amount field for a given
    condition Type, But was not successful in doing so.
    Although I was able to change item details in the same trading contract but could not change the condition prices although I was able to do it manually.(WB22)
    Could anyone please help me on this because I need the information urgently.
    Thanks in Advance....

    I had solved it myself by using table parameters VENDORCONDIN and VENDORCONDINX.

  • Change meter reading type during reading estimation (el30)

    Hi,
    I would change meter reading type during or after reading estimation process (el30 transaction), just before the meter reading upload.
    Is there any user-exit to activate to do this?
    Thanks

    Hi,
    You can use enhancement - EDMLELSV / EDMLELAA
    Let me know if more information is required.
    Thanks and Regards,
    Ranjit Thakur.

  • Can we change the pricing date in invoice

    hi gurus,
    can we change pricing date invoice
    i am able to change billing date not pricing date.
    can any one help in this regard
    points awarded.
    kishore

    hi,
    follow this  and check.
    1. u can change your pricing date directly in the Sales order document. but the required delivery date u have to see. b'coz in std sap it is for 7 days.
    2. u can change the pricing date in the sales document header level (VoV8) under requested delivery date/pricing date option.
    3. while at delivery the selection date  u should check. Its should be selection date= material availablity date/tranportation planning date.
    4. posting date u should check while u r doing MB1C.
    after all u create the order and see.
    regards
    KR

  • Which transaction can  change the order type

    Dear friends,
    Please tell me the transaction code to change the ORDER TYPE.
    Regards

    Hi You can use <b>VOV8 </b>for single sale order change If you want mass change u can use <b>MASS </b>t code
    For Billing document you can use <b>VTFL</b>
    For Mass Change refer below
    There is transaction MASS which can be used to carry out mass changes in the sales order and other objects.
    Mass Maintenance: (Use to change multiple fields in multiple documents at the same time).  I have done mass change for customers; and orders should work the same way too.
    1) Try t-code [MASS] and select sales orders & execute
    2) Choose the table or tables for your selection criteria and also for fields you want to change.
    Then execute. (suppose your selection criteria fields are from "sales order header data" table and the field you want to change, is in "item data" table)
    3) Put in the sales documents(21000000, 21000001) you want to change and also the items(10) you want to change.
    - click on " choose selection fields" button
    - From the Pool, move the fields you want to the "select fields" using arrows.
    4)From mass maintenace menu, click on "Enter new field values"
    -click on "sales order item data" tab and choose the field you want to change.
    (for example. I want to change plant for item 10)
    -enter the new value (of the plant to be)
    -click on "Adopt" and execute
    5)In "sales order item data" tab, you see the new value of the plant you entered at the top and the old values of item 10 are below.
    -click on "change field values" button.  you see all the old values are changed to new values.
    -save
    Note:  it will take some time depending on how many records you have.
    Check:  Go to [SM37] and see the status of the job you are running and once finished, export the spool file to a spreadsheet.
    Before you do mass maintenance, go to the particular table in [se16] and get the results.  Then do the mass maintenance and compare the results with this one.  If they match, then you are good to go.
    Note:  If you have any user exits that affect the results, ask them to deactivate the MODCHECKS still you are done with mass maintenance & activate them again.

  • How do i change the media type on a digital booklet when they option bar is greyed out?

    I downloaded an album a couple days ago which came with a digital booklet. I am trying to put it on my phone but need to change the media type to book to be able to do this. whenever I go to the get info tab, the options tab is completely greyed out and wont let me do anything to it. I have tried selecting read only on the file and it did not work. I have windows 8. If there's is any different way of getting this on my phone, anything would be great!

    The item must not be read only if you want to change it.
    In the new Get Info dialog the Media Kind is in a light grey. Next to that will be the word Music. Hover over it and you should see that it is part of a drop down list control, click and select Book.
    tt2

  • I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !

    I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !

    Thank you very much! This is exactly what I was looking for.
    I appreciate your time and effort in solving my question : )

  • Can we change the data type of a field based on the value of the field

    HI Gurus,
    My Requirement is as below -- Could you please guide me
    in the Printable Adobe form -- for ex - as usual for dates fields in the Object Pallette the object type is a date/time field  and for quantity/currency fields corresponding fields are taken
    now in case the either the date, quantity or currency is initial in place of displaying 0.00 or empty date we need to display N/A (Not Applicable)
    for this I would like to change the data type of the field
    to put it simply --
    we need to change the data type of date field from DATE&TIME to Char type to hold N/A or  Quantity field to Char field to hold N/A
    how can we realize this in SAP adobe forms
    Thanks in Advace
    Ramchander Rao.K

    Hello Ramchander,
         You cannot change the data type of the field at run time in Adobe forms because the type of field you choose at the time of design level is associated with the data type itself.
    If you want to achieve your requirement, then your main idea should be to set the data type as CHARACTER itself while designing the field in the adobe form itself. CHAR field will comfortably hold the value of Calculation/amount field, Currency field, Amount, Date, Time HHMMSS, Unit Accuracy, Currency key, Floating point number, Numeric text, Client, Language and many other data types.
    After designing the field as TEXT field in Adobe form you have two options.
    Option 1:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms.
    Suppose the name of the field is TEXTFIELD1, then write the Javascript code on this field in Initialize event as below.
    if ( this.rawvalue == null )
         this.rawvalue = "N/A";
    If the field is not blank, then it will show the date. Else it will show "N/A".
    Option 2:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms. Do the formatting part in ABAP itself. It will increase the performance. Avoid Javascript as much as possible.
    Suppose you have a DATE variable l_dats of type DATS. Then take another variable l_date of type CHAR. Then write the below ABAP code.
    MOVE l_dats TO l_date.
    IF l_date IS INITIAL.
         l_date = 'N/A'.
    ENDIF.
    Bind the l_date to the TEXT field in the form.
    Even in this case, if the field is not blank, then it will show the date. Else it will show "N/A".
    But I will suggest you to use Option 2 of keeping the AMOUNT, QUANTITY, DATE, TIME fields etc as CHAR or TEXT fields in Adobe form and do the required formatting in ABAP itself.

  • How can we change the message type?

    Hello all
    We use SRM server 5.5 with classic scenario.
    When we create shopping cart, we implemented the Change Badi to assign the purchasing group from R/3 material master.
    We implemented the following logic.
    If material master in R/3 has no purch. Group, SRM also has no purch. Group. So SRM display the error message “You should select the purch. group” to determine the purchasing group in basic view.
    But, We have the standard error message, when we choose the material code – this material code has no purch. Group in R/3 – “No purchasing groups were found”.
    Message number is BBP_ATTR050.
    Because of this message, we can not progress the process to create shopping cart.
    Can we change the message type from Error to Warning Message?
    Or, Can we delete this message?
    Thank you,
    Best regards,
    SH

    Yes. You are right.
    When user choose the material code, there is no purch. group in 1st Step, but
    we want to choose the purch. group in 2nd Step on basic view.
    But we have the error message at 1st step. so we can not progress to 2nd Step.
    If we use dummy purch. group, user could make the human mistake.
    So our customer want to remove purch. group and choose the purchasing group by user.
    But i'm not sure if we remove this error message, we got solve this problem..
    Pls give me an idea..
    Message was edited by:
            So Hee Lee

  • How to change the Encoding type of a XML

    Hi all,
    I'm having a XML(generated at run time) with UTF-8 Encoding. If I'm going to parse it, getting an error saying "*Document root element is missing*".
    If I change the encoding to ANSI, it parses without error.
    How can I change the encoding type of a documnet ?
    Any comment welcome.
    Kaushalya

    There's no such thing as the "encoding of a String". If you produced a String from a sequence of bytes using the wrong encoding, you may not be able to repair that problem by hacking about in your code. You're better off to produce the String using the correct encoding in the first place. Read this for more information about XML and encodings as you appear to be misunderstanding basic concepts:
    [http://skew.org/xml/tutorial/]

  • How to Change the data type of infoobject from NUMC to CHAR

    Hi Experts,
    I have created an infoobject with data type as NUMC, i used in DSO as a key figure and i have loaded data up to PSA.
    Now i want to change the data type of this Info Object from NUMC to CHAR.
    Can anyone suggest me the solution for this issue.
    Regards,
    Venu Gopal.K

    Hi pavan/binu,
    I have not loaded data into DSO i just added IO in Key fields and i started editing this IO then im facing error like
    1.Master Data Table /BIC/PZCUSTOMER contains data: Characteristic ZCUSTOMER cannot be activated     
    2.SID Table /BIC/SZCUSTOMER contains data: Characteristic ZCUSTOMER cannot be activated
    Im also unable to edit the P & S tables in SE14.
    NOTE:I have data only in PSA and when im trying to load data to DSO Im facing these issues.

  • How to change the data type in the table ESLL for the field USERF2_NUM ?

    Hello Friends,
    I have a requirement in which one of the change is to convert the data type of the field 'USERF2_NUM' in the table 'ESLL'  from 'QUAN' to 'CHAR'. 
    How do i do it if i have an access to change it..........i think i should also check the impact of the change if done.
    Kindly tell me as my requirement starts with this small change.
    Regards,
    Rajesh Kumar

    Thanks for the reply Sowmya.
    I would like to know 2 things.
    1. Is it ok to change the data type of the field 'USERF2_NUM '  which is in the table ESLL. from quan to char.
    2.  The table ESLL  already has entries. if we change the data type from QUAN to CHAR what is the  effect on the existing entries of the table .
    Kindly reply me back.
    Thanks & Regards,
    Rajesh Kumar

Maybe you are looking for

  • Update window 8 to 8.1

    hi  please help me know my hp pavilian g6 is compatible window 8.1 my Product number: C9M35PA#ACJ

  • How do you unlock your i pod touch?

    my i pod died and i charged it and then when i trurned it back on there was a lock on it and i dont know the password!!!!! how do i unlock it??

  • I cannot cut and paste .rtf from a MS Word document to a web page.

    I am running a MAC desktop with version 10.5. I use MS Office for MAC. When I try and cut and paste from a .rtf file to an amateur writing site, I always get a timeout. Help please!

  • Installation error 0xc1440137 0x2000c

    Hi- Trying to upgrade an Acer Switch  10 tablet to Windows 8.1 pro.  The following installation error pops up.  installation error 0xc1440137 0x2000c Here is part of  the setuplog file, but no error file is created.  Any ideas?  2014-08-02 05:15:16,

  • Painting components to buffers

    Hi, My class, GamePanel, is extending JPanel and implementing Runnable, therefore all my painting is done in run(). I am using a buffer to draw images on, I would also like to draw Component�s on it as well. Here is the code I�m using to draw the Com