Skip to Content
0
May 09, 2005 at 08:33 AM

Date rules editor - file format documentation availability

109 Views

Hi,

In CRM date management there is a feature that allows definition of automatic date determination, e.g. contract end date = contract start date + 90 days.

To access date editor you may call SM30 with view V_TIMERUNA, 2x click on date rule and an editor is launched with XML file that looks like that:

<?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 -->

<ConstLocTimeExp displaytype="ConstLocTime"

date="now"

time="000000"

timeunit="DAY">

<VarObjectExp displaytype="VarObject" name="SYSTEM"/>

</ConstLocTimeExp>

<ConstDuraExp displaytype="ConstDura"

duration="6" timeunit="MONTH">

<!-- Constant Duration -->

<VarObjectExp displaytype="VarObject"

name="SYSTEM"/>

<!-- Variable: Timeobject -->

</ConstDuraExp>

</MoveTimeExp>

</AssignTimeExp>

</ruleline>

</TimeRuleTree>

</SAPTimeRule>

This feature is mentioned in SAP CRM online help, but it does not include any details of XML syntax to be used, meaning of tags, etc.

I was unable to find any documentation of this file format in help.sap.com or service.sap.com.

Has anyone come across a specification of the file format to define Date Rules in SAP CRM?