Vbof deleted conditions

Hi Gurus,
I have created a rebate with two conditions. Then I have created the invoice and when I went to the conditions analysis they appear in it.
Then I run the VBOF just because, or because a change in the rebate such as a rate in the accrual column was done.
The VBOF result shows the following
billDoc           item  cond type  cond bval  unit  Amount %  cond base value  curr  agree  curr  message
90000XXX old   10     YRXX              400-  USD   100      %      400                USD  80     USD     *
the message is : "condition deleted"
By my surprise, after running the VBOF and going again to the invoice, both rebate condition were deleted from it!!!!!!!!!
If a cancelled the invoice through VF11 and create the invoice again, both condition appears once more.
I have applied note 456458 and put S136 structure as syncronious 1
Can you help me please?
Thansk
Jessica

Hi Jessica,
The message "condition deleted" in transaction VBOF is consistent with the deletion of the rebate condition in the billing document.
This happens for example when the period of the billing agreement has been changed and the rebate is no more valid for this billing document.
If you run VBOF and you get message "condition inserted", then in the same way, the rebate condition gets inserted (physically) in the billing document item pricing screen.
This is standard functionality.
What is not correct is to have the rebate agreement taken in account when creating the invoice and to have the condition deleted if you run VBOF just after, without changes in the agreement (that would be changes in the agreement period or the accruals value for the rebate condition).
Are you sure it is the case? The VBOF transaction by default only runs for modified agreements, so something must have changed.
Regards,
Franck Lumpe
Freelance SAP Consultant

Similar Messages

  • Deletion condition types from purchase order

    Hello,
    I've got the following situation:
    1) PO had been created for one material with S price and there was three conditions, that to reflect planned freight costs.
    2) There GR have been done.
    Postings:
    Stock 10  Dt
    Price difference 6 Dt
    GR/IR     -10 Kt
    GR/IR     -2 Kt - Condition 1
    GR/IR     -3 Kt - Condition 2
    GR/IR     -1 Kt - Condition 3
    3) Cancellation of GR - 102 mvmt type:
    Stock -10  Kt
    Price difference -6 Kt
    GR/IR     10 Dt
    There were no reverse postings for planned conditions !!!!
    During the analysis of this PO, after all of this postings - i've found out  that there are three conditions, but with zero values !!!
    As i know it is impossible to delete conditions from PO after postings.
    We didn't implement any ABAP
    Do you have ideas about this accident?
    Thank you in advance.

    I can't understand you: "could you corelate the changes or are they in line wth if the condtion value was changed?"
    Where i need to correlate it? I can't see it CDPOS - i can see only the changes of the following fields:
    EKPO
    BRTWR
    EKPO
    EFFWR
    EKPO
    NETPR
    EKPO
    NETWR
    And the values there are not correlated with the values of condtions in EKBZ.
    I suppose that some condtions were in the PO after GR, but there then they were deleted (but how???!!!) and after this was cancellation of GR - we've got only reverse entires - it sounds like nonsence.
    But i have no any idea.

  • Delete condition type records from PO

    Hi all,
       I have put custom fields ( for condition type ) under customer data tab in PO (ME21N) line item.
    While creating/changing PO, I have to delete condition records under conditions tab based on the custom fields which I have defined in the customer data tab.
    Is there any badi or function module to delete required condition records in PO?
    Thanks in Advance.
    Udaya Madhav

    Hi uday,
    Please Use the FM
    RSDRD_SEL_DELETION
    Hope this will be Helpful
    Thanks
    kalyan

  • Delete Condition Type Depending on Item category Va01

    HI all,
    I wan to delete condition record depending on item category. I have a good link from sap.This link explains how to hide the condition but i want the  delete the condition. was badly struck here.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ManipulatingPricingconditionsdisplayinSalesdocumentwithUserExit-LV69AFZZ
    Regards,
    madhu
    Edited by: madhurao123 on Mar 24, 2011 2:19 PM

    Hi,
    We had a similar requirement once, and towards the end we realised that deleteing rather than hiding it was a bad idea.
    Think beyond the scope, that if a future sales order created with reference needs this condition record; manual entry will again be dependent on your pricing procedure and is a mess.
    But if you do want to delete it; go into debugging and decide which user exit you would want to use and delete that line of the condition record from XKOMV table for that Sales Order

  • Is their any function module for deleting condition record i am trying

    Hi Experts,
    Is their any function module for deleting condition record i am trying  this way.......
    DATA: TABLE (4) TYPE C.
    DATA: KNUM LIKE KONH-KNUMH
    DATA: K_VEWE LIKE T681-KVEWE VALUE 'A'.
    DATA: T681_STR LIKE T681.
    DATA: LV_NUM TYPE I.
    GET PARAMETERS
    PARAMETERS: TABNO LIKE T681-KOTABNR.
    PARAMETERS: TESTMODE DEFAULT 'X' AS CHECKBOX.
    REFRESH INT_KNUMH.
    Select single * from T681 into T681_STR
    where kvewe = K_VEWE AND
    KOTABNR = TABNO.
    IF SY-SUBRC NE 0.
    WRITE: / 'No entry in T681 for number ', TABNO.
    WRITE: / 'Check whether corresponding condition table exists.'.
    EXIT.
    ENDIF.
    TABLE = T681_STR-KOTAB.
    SELECT KNUMH FROM (TABLE) INTO KNUM.
    SELECT SINGLE * FROM KONH WHERE KNUMH = KNUM.
    IF SY-SUBRC NE 0.
    INT_KNUMH-KNUMH = KNUM.
    COLLECT INT_KNUMH.
    ENDIF.
    ENDSELECT.
    DESCRIBE TABLE INT_KNUMH LINES LV_NUM.
    IF LV_NUM EQ 0.
    WRITE: / 'No inconsistent entries found.'.
    WRITE: / 'Each record in the condition table has a corresponding.'.
    WRITE: / 'entry in the KONH table.'.
    EXIT.
    ENDIF.
    LOOP AT INT_KNUMH.
    IF TESTMODE IS INITIAL.
    DELETE FROM (TABLE) WHERE
    KNUMH = INT_KNUMH-KNUMH.
    IF SY-SUBRC = 0.
    WRITE: / 'KNUMH =', INT_KNUMH-KNUMH(10), ' deleted from table ' ,TABLE.
    ELSE.
    WRITE: / 'DELETE: SY-SUBRC is', SY-SUBRC , ' FOR KNUMH = ' .
    WRITE: INT_KNUMH-KNUMH(10).
    ENDIF.
    ELSE.
    WRITE: / 'TESTRUN: KNUMH =', INT_KNUMH-KNUMH(10).
    ENDIF.
    ENDLOOP.
    is their any Standerd Function module  for comparing  tables if the condition record not exist in it has to exit if it is their then compare  those two tables if not exist in one table also that has  to be delete  the condition record
    Please let me know .....

    Hi,
       You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
    Regards
    Kiran Sure

  • Delete Condition Records

    Hi,
    I have a requirement to delete condition records. Please let me know if there is any BAPI or Function Module which deletes the condition records from VK12. Its very urgent.
    Thanks,
    Meenu

    Meenu,
    Use VK12 and set the deletion flag.
    The deletion flag means that the record is logically deleted and not phisically.
    some of the conditions records cannot be delete, example 'MWST'.
    In such cases, the best way is to change the end date to the current date.
    more adding for you;
    In v/06 for your condition type check the field delete fr. DB
    If you set this field as A or B,then only you will be able to delete the condition record permanently via VK12.Otherwise you can only set deletion indicator.
    Amit.

  • Deleting conditional build expressions

    I have created a project in RH7 and it has expanded to become
    our company's single source for user documentation. This is a good
    thing. However, as I've added information for different audiences,
    I've ended up with a number of conditional build expressions that I
    no longer need. I'd like to delete them so I don't have to search
    through a long list on the WebHelp General screen.
    I've searched the forum and don't see any information about
    deleting conditional build expressions (tags, yes; expressions,
    no). Can anyone tell me how to do this?
    Thanks for your help!

    Dear Mr. Grange,
    Forgive me for resurrecting such an old post. In your reply you state: "any layout that contains the build expression). By 'layout' do you mean the topics?
    Thank you in advance for your assistance.

  • Delete condition record??

    how to delete condition record from VK11. can i have t code plz.

    Hi,
    Just to add,
    There are two possible procedures for deleting conditions. There is either immediate deletion or a deletion flag for archiving at a later date. You enter the type of deletion that should be proposed during condition maintenance into Customizing for a condition type, . When deleting immediately, a dialog box can be created which indicates immediate deletion but offers a deletion flag as an alternative.
    <b>Deletion Flag</b>
    You can mark condition records for deletion. These are then no longer taken into consideration during automatic pricing. However they remain as condition records in the system until the next archiving update. This means you can reset a deletion and reactivate a condition record.
    <b>Physical Deletion</b>
    If you use physical deletion, the condition record disappears immediately. It is no longer available during condition record maintenance or pricing. This deletion cannot be reset once it has been carried out. You have to recreate the condition record if you need it again. To be more exact, the reference to the condition record for pricing and condition record maintenance is deleted completely with physical deletion. The actual condition record must be kept for old documents.
    <b>Recommendation:</b>
    SAP recommends the physical deletion procedure. The deletion flag improves upwards compatibility in the system.
    A pricing error can occur when using hierarchical accesses in combination with the deletion indicator (See the hierarchical access documentation in the SAP library).
    The deletion flag used to be used as a replacement for a missing release procedure. This is no longer necessary, as there is now a separate release procedure available (see the release procedure in the SAP library).
    Physical deletion can be included using the change documents – for example deletions in a specific period (Report RV16ACHD).
    Hope this helps. Please reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • How to delete conditions in PO

    Hi Expert,
    How can i delete conditions like ZCSC,ZCSL and ZCSD in PO? I don't want to have those conditions in my PO. Please guide.
    Thanks.

    Hi,
    you probably won't be able to  delete the condition                
    types you mentioned from the PO conditions, since these are part of the calculation                   
    schema assigned to the PO. When price determination is run, the system                  
    finds the schema assigned, and goes through each step number to see                     
    if a valid condition record exists for the condition type. If
    you have a condition record somewhere for these condition types. After                    
    pricing determines the value, you can then go ahead and change them                   
    manually to whatever you want, including zero and save the PO on the condition screen in ME22N.                                                                               
    If you don't want anything determined for these condition types, you can                  
    set the condition records themself for deletion. From the condition                        
    screen in the PO, you can select the condition type, and click the                      
    button display condition record. That should help you to find it. You                   
    can also use the analysis button. This will show you the schema, and                    
    results for all condition types in the schema. You can display the                      
    condition record  from here as well. Then just go to where                      
    it's maintained and set for deletion.                                                                               
    Deleting them from the schema itself is maybe not a good idea. This could lead                  
    to inconsistencies when you still have open PO items to which this                      
    schema is assigned.       
    Regards,
    Edit

  • Delete condition records in VA01

    Hi,
       I am trying to write a BDC for VA01. There are SOME(not all) unwanted condtion records comming. how can i remove those condition records (Goto - > Header - > Conditions) thru BDC.
    Regards,
    Naveen Vishal

    HI NAVEEN,
                    goto vk12,choose the condition types which you dont want to be in the sales order,select the line and delete the condition record and save.
    you have to delete all the access sequence condition record for that condition types.
    then it will not appear in the sales order,
    but the best way is to do it in the configaration settings in v/08
    regards
    senya

  • Change / Edit  or Deleting condition table

    I have created some condition tabl;es in MM Purchasing but I need some additional fileds in the condition table , but this table is not getting edited or I can not add the field in the table . How I can do this
    If I want to delete / remove the field in existing table , there is no such option . How I can do this
    How I can delete existing table other than standard condition table

    Go to M/04 and select Condition table and go to Menu Condition - Delete / Shift F2

  • How to DELETE condition tables in IDES

    Hi Experts,
    while practicing in IDES I have created tables in the range 501-999. I have no tables to create now. Can any one tell me how to delete the existing condition table. when I tried deleting its giving error: TABLE 911 IS REFERENCED FOR ACCESS SEQUENCE.
    Thank you
    SAHER

    Dear Saher,
    The best solution is to do as below.
    TCODE: SE11
    Database Table : T682I  --> choose DISPLAY
    CTRLSHIFTF10
    Input 911 in KOTABNR
    Execute / F8
    you will get the access sequences which use the condition table 911.
    go to v/07 of the access sequence obtained from the previous operation and
    delete the access which use condition table 911.
    Then you will be able to DELETE 911 condition table of your own.
    Please check and revert back.
    Thanks & Regards,
    Hegal  Charles

  • FM or BAPI for creating/deleting condition records for an output type

    Hi all,
               what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.

    You can use trasaction SXDA_TOOLS.....
    object type BUS3003
    program type BINP
    program/method RM06IBI0
    but the fields must be sequentially written in the txt, with every space inclusive....

  • Delete condition

    10.2.0.4 on Solaris 10
    We need to delete some huge records from a table with the below scenarios :
    We want to preserve the data in the below conditions. (i.e) we will keep the data in the table with the below condition.
    SELECT * FROM MEDT_FGD WHERE BILLDATE IN ('21-JUN-2011','21-MAY-2011','21-APR-2011') UNION ALL
    SELECT * FROM MEDT_FGD WHERE NVL(BILLED,'N') <> 'Y';Any other records, need to be deleted.
    what condition I can use to delete the records which are not satisfying the above condition, I tried using the below
    SELECT * FROM MEDT_FGD WHERE BILLDATE not IN ('21-JUN-2011','21-MAY-2011','21-APR-2011') UNION ALL SELECT * FROM MEDT_FGD
    WHERE NVL(BILLED,'N') <> 'N';select distinct(BILLED) from MEDT_FGD
    returns
    1- <empty>
    2- Y
    3 -N
    Any idea?

    Hi,
    then something like this will do:
      delete from medt_fgd where rowid not in(
        SELECT rowid FROM MEDT_FGD WHERE BILLDATE IN ('21-JUN-2011','21-MAY-2011','21-APR-2011') UNION ALL
        SELECT rowid FROM MEDT_FGD WHERE NVL(BILLED,'N') = 'Y');Herald ten Dam
    http://htendam.wordpress.com

  • Deleted condition apearing again

    Hi,
    I have basic price and discount conditions, also maintain condition records for both condition.
    Now when I create sales order both are determined automatically,
    Now I don't want give discount so I deleted discount condition from pricing item level.
    Now I go to header >> Billing document >> Alternative tax class (maintained No tax), then may tax become zero but my discount condition again comming back which I already deleted.
    As far as my exprience if I delete any condition in sales document that condition should not apear again(unless if I change customer or material)
    But in my case if I change TAX then this discount condition apearing again.
    kapil

    Hi
    If you want to delete the condition record,first you have to put a deletion in the condition type.Go to definetion of condition type for which you want remove the condition records-go to master data of condition type,select delete fr DB and assign with pop-up or witout pop-up and save the condition type and remove the condition record,then only it will get removed from the data base.
    Insted of deleteing the condition record,you can put a deletion flag for the particular condition record.
    To put a deletion flag to the condition record-open the condition record-go to details(click on magnifieng glass or click on F6) and go to controls there you can see the deletion indicator,check it and save,so taht the particular record will be deleted for the process,and when ever you want to activate the record you can remove the check box and save.
    Hope it will resolve your issue.
    Thanks
    siva

Maybe you are looking for

  • Flash Player won't work. Tried everything I can think of.

    Right, excuse the babbling but I want to make sure I have all the details down here. I also don't know that much about computers, but I shall try. I am currently running XP on an Advent laptop which, for some reason or other, has decided that it does

  • Pixma MX432 wireless scanning function doesn't work

    I just purchased a Pixma MX432 multifunction printer. I set it up for wireless connection. The printer portion works fine. When I run the MP Navigator 5.1 to run the scanner, I get an error message: Canon MP Navigator EX has stopped working. A proble

  • Trade in - didnt receive points or 10% bonus

    I completed a trade in last week and didnt notice until I got home that the cashier didnt use my gamers unlocked membership.  So I wont get credit for the trade in.  I tried going back to the store and no one knew how to adjust it and told me to call

  • Messages failing/waiting in RWB

    Hi all i hope you can help me, currently we are getting intermittent problems in sending XI messages. Some but not all of our messages are getting stuck on the integration engine, with the status of waiting. Whats more puzzling is the sometimes messa

  • Download FB plug-in for Lightroom 5

    My plug-in for FB was buggy and never worked. Deleted it and emptied the trash. Where can I download a fresh copy of the plug-in? Can't find it on the Adobe plug-in site.