Skip to Content
avatar image
Former Member

How to Inactivate a Condition record

Hi,

I have a new condition type (Item Level defined) with a condition record.

When i create a sales order i get this condition type pulled in some of the line items if it has matching values defined in the condition record.

Now my requirement is to inactivate the condition record in some cases of the line items.

How do i do this?

I am not so familiar with routines.,,,, BUt tried putting a breakpoint in some existing routines & tried changing the value of KOMP-KINAK to 'X'.

Did not help!

Would appreciate if somone can explain me in detail to handle this scenario.

regards,

Kevin.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 05, 2009 at 03:10 PM

    hey ,

    in order to inactivate condition type you have to write a requirement_routine in trans' VOFM .

    after that :

    go to trans' v/08 ( pricing procedure ) and attach the routine in column "requirement" .

    in what cases you want to inactive to condition ?

    BR

    Edited by: Arie Helman on Aug 5, 2009 5:11 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 05, 2009 at 03:11 PM

    Hello,

    Something you can try:

    First inactivate the record in the condition master (t/c VK12 -- select the condition, then tick the delete icon near bottom of screen)

    Now go into the order item (t/c VA02) and at item level go into the condition screen & choose Update button.

    What will happen is the previous condition will be replaced with whatever is now current.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 06, 2009 at 08:02 AM

    To De-activate the Condition Record for the Selected Condition Type & for the selected combination , kindly maintain the Validity period "From' to "To" as previous date and run the New Sales Process or just Update the Pricing in the already Existing Orders.

    Best Regards,

    Ankur

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI kevin,

      There are many threads for you queries.

      Reqt :: condition record is maintained and is active. But the condition record should be active /inactive in sales document (order/billing) depending on the fulfillment criterion.

      Soln :

      1. create a routine in vofm. access key is reqd. Write requisite logic as per reqt in routine.

      Simply creating routine will not help. You also need to execute program "rvkred77" for activating it.

      2. then you need to test it in sales docuement. For testing the routine what you can do is put breakpoint for the include in "se38" and then create sales order/billing. Systme will automatically branch into that routine and there you can check precise behaviour of your routine.

      3. If requiremetn is complex wyou can also build routine at access level of access sequence. i.e if cndition type is xyz and there are five tables(access) then you can maintain requirement(routine) for each access(table)

      If condition record is active but teh requirements( routine) is not fulfilled tehn in pricing procedure system will shown teh condition type record but ti will not have any effect on pricing. i.e status would be inactive it reqt of riutine are not met.

      This will defintely address your query. Rwd pts if helpful

      regards