Symptom
- Error displayed in revenue recognition run messages: "Dauer &MS_DT_DURATION& ungültig; … ungleich 0 in gültigem Bereich eingeben"
- Translation: "Duration &MS_DT_DURATION& not valid; enter valid duration not equal to 0 in valid range…"
- Revenue recognition runs show "processed with errors" and affected sales document items list the message in the Messages tab
Environment
- SAP Business ByDesign
Reproducing the Issue
- Go to the Cost and Revenue work center.
- Open the Revenue Recognition subview.
- Choose All Revenue Recognition Runs.
- Select a run that processed with errors and open its application log result.
- Open the Messages tab and review the error message on affected items in the Processed with Errors tab.
Cause
- During sales document item processing, revenue recognition converts quantities to the smallest available unit of measure. If a unit (for example, units per month) is defined with a reference chain down to seconds and the computed value exceeds 2,147,483,647 seconds (integer limit), the system raises the duration-not-valid error.
Resolution
- Identify the affected sales document items that show the error in the run log.
- Review the unit of measure used on these items in Fine Tuning > Quantities and Units of Measure > Physical Units of Measure, and verify the reference unit chain and reference quantities (for example, month → seconds).
- Option A: Adjust the unit’s reference unit and/or reference quantity so that conversion to the smallest unit (seconds) for the expected item quantities remains below 2,147,483,647.
- Option B: Reduce the sales document item quantity or split the item/duration so that the converted value remains within the allowed range, then save.
- If applicable, ensure the intended unit code is maintained on the product and the sales document item so the correct unit is used during calculations.
Keywords
revenue recognition, dauer &MS_DT_DURATION& ungültig, duration &MS_DT_DURATION& not valid, messages tab, processed with errors, unit of measure, uom conversion, seconds limit, 2147483647, integer overflow, units per month, reference unit, quantity conversion, cost and revenue, bydesign , KBA , SRD-FIN-COR , Cost & Revenue , Problem
Product
SAP Business ByDesign all versions
SAP Knowledge Base Article - Public