XML Date Rules

Helooo
Does anybody know if there is any documentation available
on the XML date rules, meanings of tags and
attributes and general functionality?
If so please send that to [email protected]
Thanks,
Bhargava

Hello Manuel,
I am right now working out some in-house date rules and I would be greatful if you could send me the documentation you have on XML Date rules? Email address is
[email protected]
Thanks,
Yves

Similar Messages

  • Document on XML date rules and date management

    Hi,
    Could you Please send a document on XML date rules and date management. I really in need of it. You may send it to [email protected]

    Hello
    Could you please email this to me:  [email protected]
    Thanks in advance
    Kevin

  • Date management: XML-editor for Date Rules

    Hello,
    I'm looking for any documentation on the XML-editor for date rules (tags, attributes and so on).
    Please send to [email protected]
    Regards,
    Roman

    Hello,
    I'm still looking it...
    Any help will be appreciated.
    Regards,
    Roman

  • Doubt about expression "Position" on DATE RULE XML

    Hi guys,
    Does anybody know what expression "POSITION" exactly do in a DATE RULE?
    Below a fragment of DATE RULE XML
    <VarTimeExp displayType="VarTime"
                                      name="PERIOD_DATE"
                                      *position="E"*>
                   <!-- Variable: Time -->
                   </VarTimeExp>
    Other question,
    Does anybody knows where I could find information regarding building new XML to DATE RULE?
    Very thanks for any help.
    Lalas

    Hi,
    This is the date rule where the logic is written to add the duration CSDURATION to the date type CSCREATDATE.
    You will find the date type and duration in the date profile.
    Regards,
    PP

  • Date rule : XML input clarifiction

    Hi all
    Could you pls help me understanding the following XML query in the date rule in my SAP system.Iam more focused on the part which starts from VarTimeExp till VarDuraExp....Could you guys xplain me where to  get those attributes from  .Are they data elements from some table??
    <?xml version="1.0"?>
    <TimeRule>
    <TimeRuleSource>
      <ruleline>
       <AssignTimeExp>
         <VarTimeExp name="RESULT" position='F'/>
         <MoveTimeExp direction="+">
           <VarTimeExp name="CSCREATDATE" position='F'/>
           <VarDuraExp name="CSDURATION"/>
         </MoveTimeExp>
       </AssignTimeExp>
      </ruleline>
    </TimeRuleSource>
    </TimeRule>
    Thanks

    Hi,
    This is the date rule where the logic is written to add the duration CSDURATION to the date type CSCREATDATE.
    You will find the date type and duration in the date profile.
    Regards,
    PP

  • Not able to run validation using validation.xml & validator-rules.xml

    Hello Friends,
    I am not able to run validation using validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    </form-beans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    </global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    </action>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}" resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    </form>
    </formset>
    </form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    } else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come from a real data
    source such as a database. */
    private static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.

    Hello Friends,
    I am not able to run validation using
    validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error
    messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    ans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    tion>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in
    className="org.apache.struts.validator.ValidatorPlugI
    ">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    >
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}"
    resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    /form>
    </formset>
    form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping
    mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new
    EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria
    was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    else {
    results =
    service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access
    by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come
    from a real data
    source such as a database. */
    ivate static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if
    (employees.getName().toUpperCase().indexOf(name.toU
    pperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.
    Hi,
    Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
    give it entry in
    struts-config.xml
    <message-resources parameter="ApplicationResources" />
    and
    define key and corresponding error message to key in this ApplicationResources i.e
    #Error Resources
    label.search.ssNum=Plz Enter correct ssNum

  • Import xml data in Access when multiple rows use the same fieldname

    HI.
    First of all sorry for my english :-) I have a LiveCycle Designer ES form with multiple rows that I send via e-mail as XML data.
    example:
    Row 1
    Firstname: John  Lastname: Dow
    Row 2
    Firstname: Steve  Lastname: Austin
    The exported XML is OK but when I want to import it into my Access database, only one row is imported. I pretty sure that the problem comes from the fact that may exported XML use the same fieldname (what is important if I want to import data in the correct Access field) but I don't know what to do to be able to import all the rows of the same Form.
    Any idea?
    Thanks a lot
    Frederic

    Hi Viktor,
    In case of order recognition rules you should increase the relevancy in the newer version of the cartridge so appropriate ORR will be triggered. In other xqueries, you can try using new namespace as a model variable for each and every version of the cartridge
    Regards,
    JP

  • How to add two duration in a date rule

    Hello Experts
                        I need to add two duration's in a date rule . previously i have only added a single duration to a date type.The code i am using is
    <?xml version="1.0"?>
    <TimeRule>
    <TimeRuleSource>
      <ruleline>
       <AssignTimeExp>
         <VarTimeExp name="RESULT" position='F'/>
         <MoveTimeExp direction="+">
           <VarTimeExp name="SRV_CUST_BEG" position='F'/>
           <VarDuraExp name="ZDURATION1"/>
         </MoveTimeExp>
           </AssignTimeExp>
      </ruleline>
    </TimeRuleSource>
    </TimeRule>
    I need to add ZDURATION1+ZDURATION2 to SRV_CUST_BEG . I am new to XML Please help
    I will reward points as soon as i get the reply.
    Thanks in Advance

    Hi Rashmi,
    Please check http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=326600223.
    Regards,
    Bhushan

  • Bind XML data to PDF417 barcode - LiveCycle Designer ES

    Trying to create a shipping form for a supplier that contains a PDF417 barcode.  The source data will come from an XML data file.  The form in not interactive, the data file will simply populate the pdf form, read-only via a Coldfusion program that queries our shipping data.  But I'm not quite able to connect the dots.  Does anyone know how to supply the data in the correct format within the XML doc?  It consists of 5 fields / row, with 10 rows max.  I'm unclear because the barcode software previously used embedded control chars within the data, such as record separators, group separators, and end of transmission.  Do I need to include these for LiveCycle?  As you've probably already guessed, yes, I do not use LiveCycle much at all. 
    I'm using LiveCycle ES2 version 9
    Any advice is much appreciated.  Thanks!

    There are a couple of ways to populate the barcode from Designer. First, is the manual coding method. In the "calculate" or (preferably) the "pre-print" event you change the .rawValue of the barcode object and change it to the value of the fields you wish to include. Alternatively there is a fairly good script generator built into designer that is accesible through the barcode object properties UI. Here you can have the content of the barcode auto-filled based on the entire form or selected fields in a collection. As a general rule of thumb: never select XML as your barcode data format and don't use the auto-generated code on a form with more than 30 or 40 fields.

  • Different date profile and date rule in one transaction type

    Hi CRM Experts,
    We have requirement that quotation should have validity date based on the contry.We have only one quotation type which will be used in all county.
    Now i need to know how can we use different date profile and date rule in one quotation.
    Ex -
    When the quotation created for russia - expiry date = today + 10 days
    when quote created in china = expiry date = today + 25 days
    Can it be possible in standared configuration? if not then give me some insight how to achive this?
    Regards
    Rajesh

    Hi, Rajesh.
    You can create a Date Rule based on functional module.
    Look at example in SAP standard: Date Rule "WTY004 Purchase Date Object":
    <?xml version="1.0"?>
    <SAPTimeRule>
      <ABAPTimeRule function="CRM_WTY_IL_TIMERULE_03"/>
    </SAPTimeRule>
    Hope this helpful!

  • How to merge XML-Data of two variables of different namespace?

    Hi all,
    I am facing a problem manipulating XML data in a BPEL process. As I didn't get any response on my question in the BPEL forum, I decided to post it again in this forum. I am not very familiar with using XML up to this moment, so please don't blame me if this turns out to be a stupid question.
    I have to combine information coming from 2 different sources (1st delivered by BPEL-client input "FileInfo", 2nd delivered by a ftp-adapter "FileData") for passing it to another service.
    So there are 3 XSDs (2 in, 1 out), each with a different namespace. As every structure is composed of several elements, I don't want to copy them one by one. But when copying a whole node including child elements, the target structure yields empty nodes, because the target child elements maintain the source namespace!
    Using 2 XSLT's works well for each input, but in combination, the last transformation deletes the information of the first one.
    So, the only way to merge the data I figured out by now, is to use a XSLT for each input, transforming it into 2 separate Variables belonging to the same namespace and then copying the complete nodes of the two variables into the target (which of course belongs to the common namespace as well).
    Although there is an inconsistent indexing of the namespaces (see example), happily all data can be accessed.
      <CommonData>
        <CommonData xmlns="http://TargetNamespace.com/CommonData">
          <FileInfo xmlns="http://TargetNamespace.com/CommonData">
            <Name>testfile2.txt</Name>
            <Size/>
            <DateReceived>2009-02-10T17:15:46+01:00</DateReceived>
          </FileInfo>
          <FileData xmlns:ns0="http://TargetNamespace.com/CommonData">
            <ns0:KOPF>
              <ns0:Id>1</ns0:Id>
              <ns0:Value>1</ns0:Value>
              <ns0:Text>Hier könnten Ihre Daten stehen -</ns0:Text>
            </ns0:KOPF>
            <ns0:POSI>
              <ns0:Id>1</ns0:Id>
              <ns0:Position>1</ns0:Position>
              <ns0:Value>1</ns0:Value>
              <ns0:Text>eins ----</ns0:Text>
            </ns0:POSI>
            <ns0:POSI>
              <ns0:Id>2</ns0:Id>
              <ns0:Position>2</ns0:Position>
              <ns0:Value>2</ns0:Value>
              <ns0:Text>zwei ----</ns0:Text>
            </ns0:POSI>
          </FileData>
        </CommonData>
      </CommonData>Now for the question:
    Is this really the only way to merge variables? As it took 4 operations to achieve this, it seems to be too complicated, and therefore too inperformant to me.
    BTW: In real life there would be up to 9999 positions with much more payload (in total up to several MBs) to be processed!
    Having full control of the namespaces in this case, I could think of using one namespace for all XSDs too. But would this be a better solution? Is there a golden rule on using namespaces relating to design issues?
    Any comments appreciated,
    cheers, Marco

    Well, if you only want to change namespace (no other changes) I would use a single generic XSL that changes the namespace for any XML document into a given target namespace, keeping the rest. That will require two transformation calls, but only one XSL. I'm afraid I don't have an example available, but if you google perhaps you can find it, I have seen it somewhere.
    Normally when you have different namespaces the contents differ as well, though, and what you really want is a merge function. There is a way to pass two documents into a single XSL and that is to use parameters. You pass one source document the normal way and assign the other converted to a string to a paramter. You must use an assign with processXSLT in BPEL, not a transform activity. The processXSLT really takes three arguments and the third contains the parameters. Now to the difficulty - in the transformation you need to change the string into a nodeset (an XML document). In the current XPath version used by the platform there is no nodeSet function, but it is possible to write one in Java. If you have it you can select from both documents while building the third. I don't have an example handy and yes it is a bit messy as well, but much of the work only has to be done once and can be reused in other processes.

  • XML data in SAP

    I work with SAP system based on Oracle database. I use standard function FMCA_RETURN_READ_BY_ID to retrieve data for one particular form bundle. As I imagine, this data is stored in XML files. Because this retrieving is slow for massive data I am looking for a faster was to do it.My question is:
    in case of Oracle based SAP system, where is XML data stored ? In Oracle tables with type XMLType or somewhere else (file system, ..).
    Thanks in advance
    Miran

    Hi Wolfgang,
    Cross-posting is discouraged and against the forum rules, because it is misused and makes a mess of the search due to distributed discussions and answers.
    I will move it to the PI forum and add a watch on it as it is security forum related.
    Unfortunately, the forum software does not have the option to "mirror" threads.
    Cheers,
    Julius
    Edited by: Julius Bussche on Sep 14, 2009 9:50 PM

  • How to Define new Date rules

    Hi ,
       I have a requirement in my project, where in i have to create some new date rules. I've searched the whole web to find any document which explains the XML for Date rules but couldn't find any. Does any one know what that XML means, and how to create new Date rules ?
    Please reply
    Krishna-

    Hi
    it just calculates new dates base on reference dates or abap function modules.
    In IMG in Date management node you can create your own date rules.
    Best would be to copy existing one and than modify it.
    Please read this thread about this: Date rules editor - file format documentation availability
    Regards
    Radek

  • 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

    Hi Martin,
    I will explain my problem again.
    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 as below.
    from                              to                           bill date                  <b>bill value</b>
    05.11.2007     04.12.2007     01.11.2007     0.83
    05.12.2007     04.01.2008     01.12.2007     0.83
    05.01.2008     04.02.2008     01.01.2008     0.83
    05.02.2008     04.03.2008     01.02.2008     0.83
    05.03.2008     04.04.2008     01.03.2008     0.83
    05.04.2008     04.05.2008     01.04.2008     0.83
    05.05.2008     04.06.2008     01.05.2008     0.83
    05.06.2008     04.07.2008     01.06.2008     0.83
    05.07.2008     04.08.2008     01.07.2008     0.83
    05.08.2008     04.09.2008     01.08.2008     0.83
    05.09.2008     04.10.2008     01.09.2008     0.83
    05.10.2008     04.11.2008     01.10.2008     0.00
    When I specify it as
    <ConstDuraExp displaytype="ConstDura"
    duration="30" timeunit="DAY">
    Its not showing consistant billing value for all the period.
    from                               to                         bill date                    bill value
    05.11.2007     04.12.2007     01.11.2007     100.83
    05.12.2007     03.01.2008     01.12.2007     0.69
    04.01.2008     02.02.2008     01.01.2008     0.69
    03.02.2008     03.03.2008     01.02.2008     0.83
    04.03.2008     02.04.2008     01.03.2008     0.69
    03.04.2008     02.05.2008     01.04.2008     100.83
    03.05.2008     01.06.2008     01.05.2008     0.69
    02.06.2008     01.07.2008     01.06.2008     100.83
    02.07.2008     31.07.2008     01.07.2008     0.69
    01.08.2008     30.08.2008     01.08.2008     100.83
    31.08.2008     29.09.2008     01.08.2008     0.69
    30.09.2008     29.10.2008     01.09.2008     100.83
    30.10.2008     04.11.2008     01.10.2008     0.00
    But te period is getting splitted correctly for 30 days.
    What could be the problem?
    Can you guid to correct this problem?
    Thanks & Regards,
    Bhuvana

  • Date rules management

    Hi gurus,
    I customized a date rule "Inicio + 7 días" (start date + 7 days), and i modified the xml , when i execute the test mode (date class: SRV_CUST_BEG; factory calendar = CO, time zone: U TC- 5), the result is ok, but when i try from my operation in CRMD_ORDER (SLFN) the date add 7 days, but count weekends and festives. Pls help me
    Regards

    Hi Mathew,
    i had the same problem but i solved it using duration.
    Is it mandatory to use date rule for you? I guess no, hence you can use duration to fulfill your requirement.
    Regards
    Sidd

Maybe you are looking for

  • Is there any possibility to create ABAP Webdyn pro application in SAP 4.6C

    HI All, My client is in SAP 4.6C version want's to devlop some SAP ABAP webdyn pro application for their end user requirement. Is it possible to do so if yes how ,they are ready to buy the required H/W and S/W component for the same,but they can't up

  • Nano won't connect

    I have a customer that own's a 2012 GMC Terrain with the basic touch screen radio. When we plug into the USB port the Nano will charge, but will not function thru the radio or steering wheel controls. I used an Ipod 5th Gen and it works fine. Also go

  • Recently updated Mac OS 10.5.8 to 10.6.8 and and can not open exisiting Illustrator5 files or save new files.

    I recently updated my MacBook Pro OS from 10.5.8 to 10.6.8 and can not open existing Illustrator5 files or save new files can someone help?

  • System Sounds Disappeared

    Hello all, This is probably a pretty basic question to most but for the recent Window's switcher it is baffling to me! Anyways, earlier this week a lot of the sounds that my mac made have disappeared. The speakers still work because I can play music

  • Can't Install after effects please help

    Hello i have adobe cs5 master collection and every thing was fine untill my computer crashes due to virus i finally i install windows 7 on my computer. and when i try to install my adobe cs5 master collection on my new os every thing installed except