In this blog, learn how you can use a template to perform mass changes or mass creations of condition records in SAP SD.
Condition maintenance provides the ability to perform mass changes. Nevertheless, you will change existing condition records in their current validity period only in rare cases; for example, if you want to correct a mistake. However, condition changes should only take effect starting with a specific date.
This is why, in the Create with Template function, you first select the set of affected condition records and create a new validity period. Since there cannot be overlapping validity periods, when saving the new records, the program sets the end date of the previous validity periods to the last day before the start date of the newly created validity period. The start date of the next interval (if existing) is set to the first day after the end of the current validity period.
We will watch this process using the example of Transaction VK14 (Create with Template). In the first step, we need to select the required condition type in order to select the affected set of condition records using the offered selection parameters in the next step (see below).
With the date Valid On, the validity periods of the template data are determined. In the lower part of the selection screen, you can find the switch Keep end of validity period. If this switch is clicked, the validity end for the conditions is taken from the reference conditions. If the switch is not checked, then the validity end for the conditions is proposed from the Customizing of the condition type.
Next, we select the condition records found and set the validity period to the desired start and end date. In most cases, the start date will be the date of the price change and the end date will be 31.12.9999—that is, the last validity period that then always runs until further notice. We have chosen the example of a limited change in price—for example, from 01.08.2016 until 31.08.2016—in order to observe how the program-controlled validity period split takes place.
In the next step, you can start Transaction VK12 (Change Condition Records) and set the selection parameter Valid On, for example, to the beginning of the newly created interval in which the price change is to take place.
If we now look at the validity periods for the selected condition records, we note that—as previously described—three validity periods have been formed, as shown below.
If you select the set of condition records and click the Change amount button, you can specify in a subsequent popup window either Percentage or Absolute amount and optionally choose a Rounding rule (see first figure below). After this change, a log with the changed values will be displayed, and the changed data can be saved.
Due to the chosen situation of a limited change in price from 01.08.2016 until 31.08.2016 with the program-controlled validity period split, the situation seen in the second figure is our new result.
The selected rounding rule 4 has ensured that the new values were set to zero in the second decimal place. In addition to rule 4, there are three other rounding rules in the standard SAP system.
Like most routines in SD, the rounding rules are maintained with Transaction VOFM (Maintain: Requirements and Formulas). The rounding rules can be found using menu path Formulas > Rounding Rules.
Since these are double-digit routine numbers, the customer namespace is from 50 to 99. By means of customer-specific rounding rules, the behavior when changing the condition amount can be affected in a specific way.
Now go forth and perform these changes and creations!
Excerpt from the book Pricing and the Condition Technique in SAP ERP by Ursula Becker, Werner Herhuth, and Manfred Hirn. Used with permission of SAP PRESS. All rights reserved.
Follow SAP PRESS on LinkedIn for info on new releases, news, and more!
Source: https://www.linkedin.com/pulse/mass-changecreation-condition-records-templates-sap-sd-sean-fesko/
Nenhum comentário:
Postar um comentário