Skip to Content
author's profile photo Former Member
Former Member

*FOR ORDER_TIME Issue

Hi experts,

We are facing a problem to validate a script that contains the following statement:

*FOR ORDER_TIME %MYTIME% = %TIME_SET%

The error that appears is:

Model: Consolidation


Logic file: CF_Alt2.LGF


Validation status of executable file: Failed

- Invalid period: %TIME_SET%

Validation status of syntax: Success

We want to create a loop in the code by passing the time periods ordered in the correct sequence (that is, from earliest to latest).

Does anyone have an idea what is wrong?

Thanks and regards,

Jorge

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2015 at 02:12 PM

    Hi all,

    thank you very much for your help. At the end I couldn't solve the issue and decided to use the

    *CALC_EACH_PERIOD statement instead to make a loop for the periods and now the logic is working.

    Best regards,

    Jorge

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 01, 2015 at 06:06 PM

    Your question prompted me to look around a bit. My apologies if you've already seen this, but it looks like there may be some useful information here:

    Enterprise Performance Management (EPM) How-to Guides - Business Process Expert - SCN Wiki

    This one for 7.5 has an example, "Calcaccount.lgf" that looks similar:

    Whitepaper: Script Logic Primer - Planning and Consolidation Version for Netweaver

    I'm reading through the doc now...

    Maybe you need to remove the '%'s from the MYTIME variable?

    FOR ORDER_TIME MYTIME = %TIME_SET%

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 01, 2015 at 07:26 PM

    Hi Jorge,

    could you please share the whole script to better understand what do you want to obtain.

    Thanks and regards

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.