Basic code for date type value setting .
<?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="ZIEFAPPRD" -> reference object
position="B">
<!-- Variable: Time -->
</VarTimeExp>
<ConstDuraExp displaytype="ConstDura"
duration="3" timeunit="DAY"> -> number of days to be added
<!-- Constant Duration -->
<VarObjectExp displaytype="VarObject"
name="SYSTEM"/>
<!-- Variable: Timeobject -->
</ConstDuraExp>
</MoveTimeExp>
</AssignTimeExp>
</ruleline>
</TimeRuleTree>
</SAPTimeRule>
Post a Comment