3 Replies Latest reply: Apr 28, 2009 11:03 PM by Martina McElwain RSS

DIFF condition type

Abid Salman
Currently Being Moderated

Dear Gurus,

 

DIFF condition type in Sales order is showing up as Requirement 13 not met. Any ideas?

 

Thank you

  • Re: DIFF condition type
    ramanathan raja
    Currently Being Moderated

    Hi

     

    A company has the requirement to carry out rounding for certain company code and currency combinations.  This information is stored in Table T001R.  In the document pricing procedure, the user has configured the SAP delivered condition type DIFF to calculate the difference when rounding occurs.  The user also assigns pricing requirement '13' to the condition type DIFF in the pricing procedure so that the condition is only calculated when a corresponding entry has been maintained in the table T001R.

     

    For you the corresponding table entries are not maintained from FI side

     

    If you want the details on requirement go to the pricing procedure and go the requirements column and choose your requirement and click on the I that is the documentation part and for most of them it is very explanatory

     

    Regards

    Raja

  • Re: DIFF condition type
    Sunil Kustagi
    Currently Being Moderated

    Hello Friend,

     

    Please check this note hope this will help you.This is for requirement 13.

     

    Title

    Rounding as per Table T001R

     

    Purpose

    This is an example of a pricing requirement. This requirement is met if an entry has been made in the 'Unit to be rounded up to' field in Table T001R. Table T001R stores the rounding rules for company code and currency combinations. This requirement can be assigned to the condition type in the pricing procedure that is used to calculate the difference when rounding. Using this requirement, the difference is only calculated when necessary.

     

    Example

    A company has the requirement to carry out rounding for certain company code and currency combinations. This information is stored in Table T001R. In the document pricing procedure, the user has configured the SAP delivered condition type DIFF to calculate the difference when rounding occurs. The user also assigns pricing requirement '13' to the condition type DIFF in the pricing procedure so that the condition is only calculated when a corresponding entry has been maintained in the table T001R.

  • Re: DIFF condition type
    Martina McElwain
    Currently Being Moderated

    Good Evening,

     

    Looking at the column 'AltCty' of the condition DIFF in any pricing

    procdure, the condition routine '16' is used to calculate the condition

    value with the following code:

     

    form frm_kondi_wert_016.

      check: t001r-reinh ne 0.

      xkwert = xkomv-kawrt * ( 1000 / t001r-reinh ) / 1000 * t001r-reinh.

      xkwert = xkwert - xkomv-kawrt.

    endform.

     

    If t001r-reinh is zero, then the above formular makes no sense. That

    is why we insert 'Reqt' routine 13 for DIFF.

     

    If you are to write you own 'AltCty' routine, which doesn't use 't001r-

    reinh', then there is no need for 'Reqt' routine 13.

     

    Also, OSS note 80183 should provide you with a lot more information on Rounding.

     

    I hope you find this information very helpful and hopefully it will solve your problem.

     

    Regards,

    Martina McElwain

    SD - Forum Moderator

Actions