Date Management (Using An Example)
Date Management (Using An Example)
Date Management (Using An Example)
An Example)
created by hcl sparks on Nov 30, 2012 6:11 AM, last modified by
2012 7:23 AM
hcl sparks
on Nov 30,
Version 2
inShare
Date Management :
Dates are important for the correct processing of all business transactions. In global business
processes that cover several countries and time zones, it is particularly necessary to have a
date management system that can convert time zones and the factory calendar in documents
of business partners involved in a transaction.
The component Date Management enables you to process as many dates as you require
in a document. You can either enter dates yourself, or, by using date rules, have the system
calculate these. In Customizing, you can define date types, durations, and date rules to meet
your requirements.
Date:
A defined time period that consists of a start time and an end time. You use dates in calendar
functions (for example, in activities), as well as for all dates that play a role in business
transactions (for example, valid-to dates, cancellation dates) and in actions (date-dependent
conditions).
Duration:
A timeframe between two points in time consisting of a number value and a time unit,
for example, 1 month.
The system uses durations when calculating dates.
Durations are always given in entire numbers. You cannot combine two different units,
for example the duration 1 hour 20 minutes must be expressed as 80 minutes.
Then you are guided to the below screen where we define durations, date types and date rules as
shown in following screen shots:
Select the checkbox Date profile in order to replicate it in the search help at date profile
determination.
If you have activated the Milestone indicator, then your date is a milestone. This means
that the beginning and end points are identical. The duration between the two points is zero.
Define date rules .
When you double click on the selected date rule you will be directed to the screen where we can
write our custom code for that date rule. We can use the predefined codes which we copy from
other date rules.
Click on new entries button and enter date profile name and Name to create new date profile and
save it.
Reference Objects:
Define durations.
Then click on date types and add defined date types by clicking on new entries.
Then double click on date type then assign date rules, display format and default values for manual
entry fields.
Then click on screen areas of that date type and enter screen area names and positions where we
want to see this date type in our transaction.
Similarly enter for all date types and enter screen area positions.
Path: Spro-->sap reference img--> CRM --> Basic Functions--> Date Management-->
Assign date profile to transaction type.
For to assign date profile at item category follow the path below.
Path: Spro-->sap reference img-->CRM --> Basic Functions -->Date Management-->
Assign date profile to Item category.
Then assign the date profile name to the required transaction.