Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Date Rules failing in billing value

Hi All,

I have created a date rule with the help of an existing date std rule.

I need the rule as monthly (considering month as 30 days).

<?xml version="1.0"?>

<SAPTimeRule>

<TimeRuleTree>

<!-- Begin of Rule Tree -->

<ruleline>

<!-- Begin of new LINE -->

<AssignTimeExp displaytype="AssignTime">

<!-- Assign time -->

<VarTimeExp displayType="VarTime"

name="RESULT"

position="B">

<!-- Variable: Time -->

</VarTimeExp>

<MoveTimeExp displaytype="MoveTime" direction="+">

<!-- Move -->

<VarTimeExp displayType="VarTime"

name="PERIOD_DATE"

position="B">

<!-- Variable: Time -->

</VarTimeExp>

<ConstDuraExp displaytype="ConstDura"

duration="1" timeunit="MONTH">

<!-- Constant Duration -->

<VarObjectExp displaytype="VarObject"

name="SYSTEM"/>

<!-- Variable: Timeobject -->

</ConstDuraExp>

</MoveTimeExp>

</AssignTimeExp>

</ruleline>

</TimeRuleTree>

</SAPTimeRule>

When I specified it as

<ConstDuraExp displaytype="ConstDura"

duration="1" timeunit="MONTH">

Its working fine and gives the billing value properly.

When I specify it as

<ConstDuraExp displaytype="ConstDura"

duration="30" timeunit="DAY">

Its not showing consistant billing value for all the period.

Do I need to do anything with date profile or duration.

Can anybody help me to proceed?

Thanks & Regards,

bhuvana

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question