Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/CPD/VC_DATE_RUL - Define Date Rules

/CPD/VC_DATE_RUL - Define Date Rules

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

You use this Customizing activity to control the rates that are used by the system for valuation of resources.

There are three periodic breakdowns:

  • Daily
The pricing rate for each day is picked for a resource, and the cost and revenue are calculated accordingly.
  • Monthly
This date rule allows you to define a date for each month, which the system uses to retrieve corresponding rates for the valuation of costs and revenues for a period. This date rule type offers the flexibility to define fixed periodic intervals for valuation. For example, using the Date Rule Details step, you can define a fixed date for valuations:
  • Pricing Period

Specify the period for which the rate is applicable
  • Day

Specify a day that is used by the system to fetch a rate
  • Month

Specify the month that is used by the system to fetch a rate
Note that when you define a monthly date rule, you must define date rule details for all 12 months.
  • Custom
If you do not wish to use the daily or monthly breakdown, you can create your own logic using BAdI: Valuation. For example, if you want to fetch the pricing value every week, you can create your own logic to do so.

After you define date rules in the Define Date RuleCustomizing activity, you must also assign the date rule to a valuation strategy.

In this date rule, the system uses a fixed date to determine valuation rates for each quarter:

Date Rule ID: 001

Rule Description: Quarterly Rates for Valuation

Breakdown: Monthly

RFUMSV00 - Advance Return for Tax on Sales/Purchases   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4482 Date: 20211205 Time: 160245     sap01-206 ( 41 ms )
Pricing Period Day Month
January 1 December
February 1 December
March 1 December
April 1 March
May 1 March
June 1 March
July 1 June
August 1 June
September 1 June
October 1 September
November 1 September
December 1 September