Include within Default.lgf Script Logic does not run

Dear Gurus,
I wrote a WHEN function in Script Logic which is supposed to multiply a input % (INP01) value (growth) with the absolute figure of the previous year. I works fine in the Backend Debugger. Then I put it in the default logic because I want it to run everytime somebody sends data. However it doesn't run? Has anybody had a problem like this?
When running the default formulas out of the data manager it works just fine.
default:
*INCLUDE CALCULATE_KPI.LGF
Calculate KPI:
*XDIM_MEMBERSET ULOB=D00000
*XDIM_MEMBERSET UCHANNEL=VD0001
*XDIM_MEMBERSET RPTCURRENCY=EUR
*WHEN TIME
*IS "2008.SUM"
*WHEN CATEGORY
*IS "ACTUAL"
    *WHEN P_ACCT
    *IS "I001"
REC(EXPRESSION=%VALUE%(1+([P_ACCT].[INP01],[ TIME].[2010.INP],[CATEGORY].[PLAN])),CATEGORY=V302,TIME=2010.INP,P_ACCT=I0000001)
*ENDWHEN
*ENDWHEN
*ENDWHEN
Thank you so much in Advance
Edited by: Cora Boettger on Oct 19, 2009 3:59 PM

Hi Cora,
Are you sure that your default logic isn't running and that the *WHEN just isn't being triggered? This has happened to me when members used in *XDIM_MEMBERSET or *WHEN are not base-level. I'm a bit suspicious about 2008.SUM with regards to this.
You can test by replacing what you have with something like
*WHEN CATEGORY
*IS *
*REC(FACTOR=1.1)
*ENDWHEN
If this results in your written back values being multiplied by 1.1 into the TEST category, then your default logic is running and your issue is that the *WHEN is not getting triggered. At that point your should be able to head into the script logic tester and keep trying different scripts until you find one that works.
Good luck!
Ethan

Similar Messages

  • Is it possible to call DEFAULT.LGF script From SEND and REfresh Schedules

    hello
    Usually, when user sends data from an excel input schedule, Default.LGX logic script is automatically executed.
    I'd like to have Default.LGF script executed instead.
    Is it possible ? How ?
    (I don't want users to launch DM packages).
    Thanks. R.

    As is mentioned in the other threads, the Default.LGF is the basis for the Default.LGX, which is run by each application at the point data is entered via the Excel interface. This file may call other LGX files using the *Include statement.  The logic runs in against the scope of the INPUT members sent via excel.  I don't think there is an efficient method to only run an INCLUDE statement based on a specific SCOPE sent during the data send process.  The entire logic runs during the send, regardless of the SCOPE.  If nothing in the scope is impacted by the logic, the logic doesn't "inteligently" realize this and stop; rather is proceeds with the whole logic process and writes zero records.
    If you ONLY want to run a specific logic package on a sent logic scope, the current process is via Data Manager, or include the logic in default (which still runs in its entirety)
    Hope this helps.

  • Team Site default site assets library does not have support for video, images, etc..

    Greetings,
    Our users have noticed that when they create a new subsite that the default site assets library does not give them the option to create a new document type of video, image, etc.. just a word document.
    If I create a new asset library I do see all the options when creating a new file from the drop down menu under the ribbon >files>new document
    Is this default behavior when creating a new team site or is there something that I can configure so that the default site assets library that is built is really a site assets library and not a standard document library?

    i think you are talking about the "Site Assets" Library and this is not meant for the Asset Library.Yes this is default behavior.
    Site Assets: Use this library to store files which are included on pages within this site, such
    as images on Wiki pages. jsut think about the other OOTB libraries i.e Style, Pages libraries etc.
    Assets Library is the one you need to add in your site collection to take the advantage of it.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Logic does not see my hd omni as an input device. Any ideas?  I've been told to reinstall logicpro - but apple won't let me because it says its already installed on this machine.

    Logic does not see my hd omni as an input device. Any ideas?  I've been told to reinstall logicpro - but apple won't let me because it says its already installed on this machine.

    I'm having the same issue with a file called IMG_2353.MOV that was imported into iPhoto from my iPhone and also have to manually select the items to import (so the rogue file doesn't error everything out). I've tried using Image Capture to locate/delete the file directly from my iPhone, but even though I can SEE it in Image Capture, I can't delete it or anything. This is VERY frustrating! My friend/Apple guru's only suggestion was to backup my phone then restore it through iTunes. Risky but should do the trick. I'm too scared to try, though!

  • Report painter - Default set 010100010001-1 does not exist

    Dear Experts,
    I have created a report in report painter and I transported (report, report group, variables) thru transport request.  while importing into Quality system  i was getting errror"Library 1VK: Default set 010100010001-1 does not exist".   Then i kept 1 VK library in transport then i moved to Quality system  now all standard report are not working properly.
    Please advise.
    Thanks
    Balu

    Hi Thanks for your reply
    Earlier i was getting the following error when i was importing  transpor request (report, report group, variables)
    1)"Library 1VK: Default set 010100010001-1 does not exist. "
    2)Errors occurred during post-handling G_RW_AFTER_IMPORT for GRW_JOB T
    3)The errors affect the following componenets:
    4)FI-SL-IS (Information System)
    Then I transported 1VK library also (without selection list option) now my standard reports are not working properly
    Please advise.
    Thanks
    Balu

  • Cannot find anyplace to tell a page to wrap within browser margins, so one does not have to slide it back and forth to read each line.

    Cannot find anyplace to tell a page to wrap within browser margins, so one does not have to slide it back and forth to read each line::::::::::::
    Yes, there are so many pages on-line that -- when made small enough to fit within the margins so one does no have to use a scroll bar on EVERY line, moving it back and forth, back and forth -- look like a FINE-print Bible page (!! tiny !!) if you keep reducing it to fit within the margins.
    ALL because we cannot find a place to tell it to WRAP to FIT. Could have sworn I've seen some feature like that somewhere at one time, but if it is here, I cannot find it.
    Thank you.
    gina

    Maybe use a style.
    Add code to userContent.css
    * http://kb.mozillazine.org/userContent.css
    <pre><nowiki>body, body *{ white-space:pre-wrap!important; word-wrap:break-word; }
    </nowiki></pre>
    You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
    * ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
    * http://kb.mozillazine.org/Editing_configuration

  • Default Target Main Build does not exist in this project

    I am learning ant with eclipse and wanted to use ant build.xml to compile and run my class. I was getting the following error when i just tried to use ant.
    Default Target Main Build does not exist in this project
    package src;
    public class Ch05_02 {
        public static void main(String[] args) {
            System.out.println("This code was built using Ant.");
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="Ch05_02" default="Main Build" basedir=".">
    </project>Ref: http://www.javabeginner.com/Ch05_02.zip
    Edited by: hemanthjava on Oct 28, 2007 5:43 AM

    You gave a default target in the build.xml, and then didn't define the target.
    This is an Ant question. You're better off asking Ant questions on an Ant forum.

  • An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
    error: 40 - Could not open a connection to SQL Server)

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named
    Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Hello,
    Make sure your SQL Server service is started.
    Make sure TCP\IP and names pipes protocol is enabled
    Make sure you have made an exception in firewall for SQL Server connection
    Make sure SQL Server browser service is enabled
    Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
    Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
    http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Logic does not accept key command of Play from a section. Shift   Enter makes display flashing.

    Logic does not accept key command of Play from a section. Shift   Enter makes display flashing.
    Another key command is normal.

    Hi
    If you are on a small keyboard (ie with no numbers pad) use FunctionShift Return
    or If you are on a 'numbers keyboard', the Enter key is on the right next to the 3 key (and NOT the Return Key).
    CCT

  • After i have downloaded firefox 9.1 and tried to open it, i get the sentence : it couldn't be prepared properly (default 0xc0150004) and the program does not run

    after i have downloaded firefox 9.1 and tried to open it, i get the sentence : it couldn't be prepared properly (default 0xc0150004) and the programm does not run

    I couldn't find anything on the error text you posted but I did find lots of google hits on [http://www.google.com/search?q=%22The+application+failed+to+initialize+properly%22+0xc0150004 "The application failed to initialize properly" 0xc0150004]. Is that the error?
    In any case, did you try a clean reinstall of Firefox? If not, open the C:\Program Files folder and delete the '''Mozilla Firefox''' folder, if it's there. Next, go to mozilla.org/firefox click the green download button and install a new copy.

  • Adobe Reader XI does not run using Win7 Pro

    Trying to run Adobe Reader XI on a PC running Win7 Pro, but it starts, gives gray screen, then shuts down.  However, I can read pdf docs within Google Chrome.
    I was running Reader version 10 with no problem, went to upgrade to 11, and now no versions work, as I've tried to uninstall and reinstall ver 9,10,11 but none work.  Help!

    I ran the script but does not fix issue.
    When I run Adobe Reader or click on a .pdf file on my drive, the Adobe reader program starts, but gives a gray screen while my hard drive spins, then program closes.
    any ideas?
    Thanks,
    Ken
    Pat Willener <[email protected]> wrote:
    =============
    Pat Willener http://forums.adobe.com/people/pwillener created the discussion
    "Re: Adobe Reader XI does not run using Win7 Pro"
    To view the discussion, visit: http://forums.adobe.com/message/5211526#5211526

  • Applescript run from Mail rule does not run

    I am attempting to run an Applescript from a Mail rule. Basically, the Applescript does not run.
    Stripped to the bare essentials, the following script runs fine when Applying a rule in Mail:
    say "Hello"
    as well as this one:
    say "Hello"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    -- statements to process each message in theMessages
    end tell
    end perform mail action with messages
    end using terms from
    But, when I remove the comments from the block lifted verbatim from the Applescript manual:
    say "Hello"
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    -- statements to process each message in theMessages
    end tell
    end perform mail action with messages
    end using terms from
    the script does not even say Hello.
    I am trying to go as far as having the Applescript create a new ToDo based on specific incoming emails, but I can't get any but the simplest Applescript to run.
    Can anyone help me?
    Tom

    The script works just fine - at least, as designed if not as expected.
    When the script runs, Mail and/or AppleScript looks for a perform mail action handler. If that is found, the commands within are executed.
    If there is no perform mail action handler then the script is run as-is (i.e. as if you clicked 'Run' in AppleScript Editor).
    And that's exactly what's happening here. In the first case (that works) the script is running because there's no (visible) perform mail action handler.
    In the second case where it apparently doesn't work, there is a handler, so that handler is being executed. Any code outside that handler is ignored (unless it's called from within the perform mail action handler.
    Since your 'say' command is outside the handler, it is ignored. However, if you move it inside the perform mail action handler you'll hear your speech.

  • Simulation does not run at all

    I have made up some diodes using the component wizard, such that the diode acts like a perfect switch at 0.7 volts.  For some reason SPICE simulation does not run.   If I include one of these diodes in other circuits, the circuit will not simulate.  So the diode model is the problem.   Any ideas how to get it working?  Attached is the multisim file
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    perfectbridge.ms13 ‏62 KB

    "------ Checking SPICE netlist for perfectbridge - Thursday, February 05, 2015, 11:51:34 AM ------
    ======= SPICE Netlist check completed, 0 error(s), 0 warning(s) =======
    Model 'diodeperfect__perfectdiodes__1': Parameter 'IS' must be greater than zero
    doAnalyses: Incorrect use of model parameters
    Simulation canceled"
    So:  Right click on one of the diodes, select "Properties" - "Value" Tab - Press "Edit model" button - Check "Use default" box for "IS" - Press "Change all 4 components" button - Press "OK".

  • ICal does not run one event that has a Applescript attached to it. 24u?

    I have a number of reoccurring events in iCal that run a Applescript.  Tow of them refuses to run.  I have tried it as a Applescript and saved it as a run only and neither works (the script run fine if I test them by hand).
    so I thought I have a look in the log and found this 24u information. 
    can anybody help out here? I am not sure why it appears, if it is good or bad, how to fix it and if it is at all realted to my problem.  Other scripts seem to run well, it is this one and an other one that do not get activated by iCall.
    They run on a MM running 10.6.8, iCall 4.0.4 (1395.7)
    Thanks.
    Log today:
    19/09/2011 07:00:00          iCal Helper[211]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 07:00:00          [0x0-0x12012].com.apple.iCal.helper[211]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    19/09/2011 07:45:01          iCal Helper[317]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 07:45:01          [0x0-0x28028].com.apple.iCal.helper[317]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    19/09/2011 14:30:02          iCal Helper[1019]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    19/09/2011 14:30:02          [0x0-0x73073].com.apple.iCal.helper[1019]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.

    Hi,
    It looks like the version of 24U's Appearance OSAX you have installed does not run on Lion.
    I would contact the developer to see if they have a version that does yet. See http://www.24usoftware.com/AppearanceOSAX
    Alternatively you could look to see if the Applescript really needs to use it.
    Best wishes
    John M
    Edit: If you are running Snow Leopard, I think you may need to make the application "iCal Helper" (which you'll find in iCal's application package) run as 32 bit. I'd also suggest you check this with 24U.

  • Lightroom 5.6 does not run following latest CC Photoshop 2014 and Bridge updates

    I am running Creative Cloud Photography on OSX 10.9.4. Yesterday I updated Photoshop 2014 and Bridge using the CC desktop app as prompted by CC. Since then Lightroom does not run. When I open it the blue intro screen flashes up for less than a second. To try and recover I have uninstalled Lightroom (5.6) and re-installed it several times using both the CC app and directly from the Adobe website. The result is always the same. I can find nothing about this on Adobe Support although I can find others who have had the same symptoms on a web search. Their solution was to re-install Lightroom from the web site but that hasn't worked for me.  I had Lightroom installed before I went to CC and before CC included Lightroom in the Photography package. Does anyone understand this issue and can you please advise me what to try next? Many thanks.

    Okay, Solution 1 from this link Error "Unable to start correctly - 0Xc00007b" fixed it for me. But now it's asking me for the serial number which I can't find anywhere... shouldn't that go without with the cloud?

Maybe you are looking for

  • MBP Thunderbolt 2, connect 3 external monitors via 1 only port ?

    Hi Apple Communities, My "old" mybookpro late 2009 died 3 days ago (motherboard). So I buy a new MBP Retina 15" Late 2013. I would like to plug 3 external monitors for more confort to work (one for Virtual Machine and 2 for OS X mainly) (but not Appl

  • SQL Server database save error

    I am encountering an issue every few days or so whereby, for some reason, my metadata database LDF log file is growing to a very large size (> 5GB in size). This could be due to specific settings for my database, however I don’t believe I’m doing any

  • Discrete Manufacturing Scenario

    Hi all, Can I have detailed information on customisation required to be done in discrete manufacturing. Regards,

  • Sequence of IDOC segments

    Hi, I have duplicated some segment in a IDOC for my mapping on the targetside. As far as they stick together this is no problem. But after several changes and activations of my mapping the sequence of the segments are suddenly mixed up. I don't know

  • Issue starting with soa11g

    hi i have installed soa11g. started admin server after the status goes to running mode i ve started managed server .but managed server is not starting .its giving following exception.pl shelp me. ####<Aug 2, 2010 5:23:43 PM PDT> <Warning> <JDBC> <xpp