Logical translation of nested logic:equal tags ?

I see this in a JSP (I've simplified it) that I have to modify:
<logic:notEqual name="someForm" property="XYZ" value="4">
<logic:notEqual name="someForm" property="XYZ" value="5">
<logic:notEqual name="someForm" property="XYZ" value="5">
<TD>String 1</TD>
</logic:notEqual>
</logic:notEqual>
</logic:notEqual>
The effect it has is like an "AND".
So if ((XYZ != 4) AND (XYZ != 5) and (XYZ != 6))
then show the string.
Now I wanted to add something that said "but if it IS one of those three... (an OR condition, like "equals this OR this OR this"), then show something else."
So I tried the above except changed them to logic:equals, and it doesn't work. In fact the behavior doesn't change at all, because I think it's doing "AND" again. And of course, it's never going to equal 4 AND 5 AND 6 at the same time.
Am I straight on this? How do you create an OR condition? I looked at the <nested:equal> tag a little bit, but I'm not certain I understand what it offers.

Hi,
You are not getting the desired result because you are trying to aggregate the depreciation and the accumulated depreciation of the same month and post the result again in the same month. Lets say the code is working for 2009.MAR. You are trying to add the depreciation and accumulated depreciation of 2009.MAR. However, you still dont have the acc depreciation of 2009.MAR. You basically need to take the acc depreciation of the previous month.
You can try something like:
*WHEN ACCOUNT
*IS Depreciation
     *FOR %MON% = 2009.FEB,2009.MAR,2009.APR
          *REC(EXPRESSION = %VALUE% + ([ACCOUNT].[AccumDep],[TIME].Previous), ACCOUNT=AccumDep)
     *NEXT
*ENDWHEN
*COMMIT
You can have a property called Previous to store the previous month of each period in the time dimension.
Hope you got the idea.

Similar Messages

  • Syntax for logical OR,AND and not equal to

    Hi All,
    In the rtf template we are in need of using logical OR,AND and not equal to .
    <?choose:?><?when:(M= 0 & N=1) | (M= 1 & N=0)?>
    <?end when?>
    <?choose:?><?when:(M!= 0 & N=!1)?>
    <?end when?>
    <?otherwise:?><?end otherwise?><?end choose?>
    Is the syntax used above is correct?
    Thanks in Advance

    Hi,
    Been a while since I look at this sort of thing, but from what I can remember, here goes:
    When you specify an element name in your XML you are actually specifying some XPath. This means you need to use XPath syntax in your <?when....?> clause.
    I think you would need to re-write your statements as follows:
    <?choose:?>
    <?when:(M=0 and N=1) or (M=1 and N=0)?>
    <? end when?>
    <?when:not(M=0 and N=1)?>
    <?end when?>
    <?otherwise:?>
    <?end otherwise?>
    <?end choose?>
    I hope this helps you.
    Regards,
    Cj

  • Finding of the Logical and Physical filename,Logical and Physical Path

    Hello All
    Where and how can I find the below details in an SAP server
    Logical filename:
    Physical filename:
    Logical path:
    Physical path:
    Regards
    Kalyani

    hi
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
    lf_opsys TYPE sy-opsys.
    lf_mandt = sy-mandt.
    lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    client = lf_mandt
    logical_filename = p_unix
    operating_system = lf_opsys
    IMPORTING
    file_name = gwa_input
    EXCEPTIONS
    file_not_found = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    Concatenating the physical path and the input unix file name
    CONCATENATE gwa_input p_file INTO gf_file .
    ENDIF.
    You need to tak ehelp of ABAPer for this
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    Regards

  • Logic 7 Autoload in Logic 8??

    Is there anyway I can transfer my Logic 7 autoload into Logic 8?>
    I have just installed Logic 8 on my machine and still have logic 7 residing on there also. I also have my autoload template (new key commands etc) on my desktop.
    Can I open this within Logic 8 as it has just opened a standard arrange page and all the key commands feel very odd!
    Surely I dont have to redo my whole autoload again??

    1. Key commands are global in both L7 and L8 and not tied to an Autoload.
    2. Using L7 songs, including an Autoload can be a bumpy ride.
    If you must however, I recommend:
    1. Open the Autoload in L7.
    2. Go into the Environment and delete all your audio channels, auxes, busses. outputs etc.
    3. Delete the Undo history.
    4. Save it under another name.
    5. Quit L7, open L8, and then load the renamed Autoload.
    6. Re-populate your audio tracks, auxes, busses, outputs, etc.
    7. Save it as a Template project.
    I know that is a fair amount of work but in my experience it is the safe way to go.

  • Logical file name or logical path name incorrectly defined

    Dear All,
    We are doing archival in our IDES for test purpose before we do it to our Production.
    Steps Performed
    Copied AM_ASSET archive object to ZAM_ASSET
    Logical Path
      Logical path    ZAM_ASSET
      Name            Asset
      Syntax group    UNIX       Unix compatible
      Physical path   /archive/test/<FILENAME>
    Logical File Name
       Logical file    ZAMASSET
       Name            Asset
       Physical file   FI_<MONTH>_<DAY>.txt
       Data format     ASC
       Applicat.area   AM
       Logical path    ZAM_ASSET
    But when we run the WRITE though SARA , in the job log we get the following
    Logical file name or logical path name incorrectly defined
    When generating a file name for an archive file that is to be created, the system determined that the logical file name FIAA_ARCHIVE_DATA_FILE or the logical path name ARCHIVE_GLOBAL_PATH  was defined incorrectly.
    But we have maintained a Logical name  ZAMASSET , so we are unable to change the location of archived file and as well as the format.
    So is there any setting we need to maintain apart from the logical file name and logical file path.
    Suggestions are highly appreciated.
    Thanks in anticipation

    hi,
    follow this steps :
    - transaction SARA
    - enter authorization objects, eg SD_VBAK
    - hit button CUSTOMIZING
    - Archiving Object-Specific Customizing: execute Technical Setting
    - field Logical File Name enter or select ARCHIVE_DATA_FILE
    - leave CONTENT REPOSITORY as blank if you are not using 3rd party for storing (eg. IBM Tivoli)
    - back to customizing
    - from Basis Customizing, execute : Cross-Client File Names/Paths
    - on Logical FIle Path Definition, highlight (select) ARCHIVE_GLOBAL_PATH on the right pane
    - double click on the Assignment of Physical Paths to Logical Path on the left pane
    - double click on OS used, eg. UNIX, define Physical Path where archive file (on WRITE process) will be stored
    - save changes made
    - double click Logical File Definition, Cross Client on the left pane
    - double click ARCHIVE_DATA_FILE on the right pane
    - make sure that logical path is already set to ARCHIVE_GLOBAL_PATH
    - save changes made
    this setting also can be done using transaction FILE
    we have experienced on this case using SAP standard archiving (SARA, SARI) and everything is fine with this setting above.
    hope it help you.
    rgds,
    Alfonsus Guritno

  • Difference between Logic Pro 9 and Logic Studio?

    I have garage band and I notice that the instruments available are extremely limited, so I am looking to upgrade solely for the idea of getting more instruments and more features. Does the app store Logic Pro 9 have the extensive amount of official instruments to download for free? Or are there additional costs if you are looking to purchase the instruments for the app store logic 9?
    I know that the studio version has mainstage, compressor and other programs etc, but what I am looking to find out is if there is a difference between what instruments, resources and materials found in the $210 Logic 9 and the Logic Studio version that you can't download for free from inside Logic 9?
    Thanks

    Hi
    Segall wrote:
    Does the app store Logic Pro 9 have the extensive amount of official instruments to download for free?
    The instruments themselves are embedded within the Logic application, with the exception of the sample libraries for the EXS24 and Ultrabeat. All of the content, including the various Jampacks and sample libraries are available to download
    Segall wrote:
    Or are there additional costs if you are looking to purchase the instruments for the app store logic 9?
    No.... free
    Segall wrote:
    I know that the studio version has mainstage, compressor and other programs etc, but what I am looking to find out is if there is a difference between what instruments, resources and materials found in the $210 Logic 9 and the Logic Studio version that you can't download for free from inside Logic 9?
    The "Studio" DVD's include the now defunct Soundtrack Pro, which had around 20G of loops, beds and sound FX. Some of that material is now available for Final Cut X.
    A few utility programs are also missing (Waveburner etc).
    CCT

  • Hello,i have a retina with Mountain Lion.I have logic PRO 7 and logic Pro 8 ,with  G5.I can't use the CD with the retina!!It's not a powerpC!!How do i install Logic Studio 8 with Mountain Lion successfully ?too évolution Logic PRO 9?

    Hello,i have a retina with Mountain Lion.I have logic PRO 7 and logic Pro 8 ,with  G5.I can't use the CD with the retina!!It's not a powerpC!!How do i install Logic Studio 8 with Mountain Lion successfully ?too évolution Logic PRO 9?

    The installer for Logic Pro 8 has a bug which keeps it from operating in Lion or Mt. Lion.  Use the program Pacifist to install it.

  • Hey, is it possible to load my Tracks, made by Logic Pro 8, to Logic Pro X ??? Thanks for help

    Hey,
    is it possible to load my tracks, made by Logic pro 8, to Logic pro X.
    Thanks for your help.

    Yes, it is possible!
    Regards

  • HT5794 I just upgraded from Logic pro 9 to  Logic Pro X on my computer, but all my EXS24 libraries are missing all of a sudden. How do i Get them back???

    I just upgraded from Logic pro 9 to  Logic Pro X on my computer, but all my EXS24 libraries are missing all of a sudden. How do i Get them back???
    I have checked both the resource folders, and made backups from Logic pro 9, but its not recognizing them, or saying that they're missing a bunch of samples.
    What do i do?

    Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • Whar are logical table, Physical table Logical data Source

    Hi,
    Can any one explain me in details what Whar are logical table, Physical table Logical data Source.
    Any qucik help will be graetly appreciated

    In OBI there are three layers - Physical, Business Model and Mapping (BMM) and Presentation.
    As the name specifies the Physical layer mainly contain physical aspect of the application like which connection to use, which schema (also catalog in case of SQL server) to connect and also which table to use. This layer confirms the PK_FK joins for the related tables. This layer mainly depicts how the data has been stored in the database layer.
    On top of this layer you will have you BMM layer. The place where all work of a developer starts. You will structure the tables accourding to the business need. The structure has to be a STAR schema. All the entities in this layer are called logical because they do not directly represent any database object rather they provides a logical mapping to the database entities. This becomes clear when you use more that one Logical Table Source (LTS) for your logical tables. One logical column can map to N number of physical columns based on context. You can also create calculative columns in this layer which are totaly logical in nature.
    I am not writing anything on Presentation layer as it is not in you question. :)
    Hope this will help.
    Regards,
    Somnath

  • How can i upgrade "logic x 8" to "logic pro x"?

    How can i upgrade "logic x 8" to "logic pro x"?

    Hi
    Simply buy LPX from the AppStore... there is no upgrade path
    CCT

  • DIfference b/w expression builder logical column and derived logical column

    Hi Experts,
    Can anyone tellme the difference between expression builder (when we double click the logical column) of derived logical column and expression builder of logical column( we see this in column mapping of LTS) ??
    Thanks in advance.

    Hi,
    Formula given in the "expression builder of logical column( we see this in column mapping of LTS)" is performed on the physical layer of the RPD. I guess it is calculated in the Physical Query which is good for performance.
    Formula in the expression builder of derived column is calculated in the BMM layer i.e in the logical query.
    Regards,
    Amrutha.

  • After Installing Logic Pro X, my Logic Pro 9's 32-bit AUs don't work. The 32-bit bridge doesn't open and run either in my Logic pro 9. My 32-bit AU plugins are crossed out. Help?

    After Installing Logic Pro X, my Logic Pro 9's 32-bit AUs don't work. The 32-bit bridge doesn't open and run either in my Logic pro 9. My 32-bit AU plugins are crossed out. Help?

    michaelvee wrote:
    As an overworked professional, I simply have to consider the very viable options out there. Never thought I'd be seriously considering a Cubase product.
    It's a Steinberg product, not a Cubase product.. in case you haven't been paying attention Steinberg developed the virtual instrument for use in it's programs way back in Cubase 3.55.. the plethora of virtual instruments and the advent of low-latency drivers can be directly traced to Steinberg/Cubase development.. Logic also borrowed Cubase's arrange page format back in the 1980's. Cubase has borrowed from Logic to be sure but Steinberg has long been an innovator for many of the things we take for granted today. It was Logic/Emagic who licensed the VST technology and ASIO low latency format to use in Logic 4.xx. It was Apple who adapted VST to it's own AU format. Also, Cubase and Nuendo have undergone a lot more innovation over the past three years, Yamaha has been good as a parent company. Cubase is not Nuendo's little brother by the way, they are very close, same exact audio engine, same robustness, they can exchange files, the only difference being Cubase doesn't have some of the high end post features that Nuendo has. I use both Cubase and Logic and occasionally Nuendo at the University here.. I know both programs fairly well, believe me, both Cubase 6 and 7 can hold their own with any DAW out there, they just don't come with a bunch of ready made loops and preset instruments.
    LogicX will never be able to use 32-bit instruments without a third party solution, nor will it ever include the Bridge. At least according to the people I know.

  • Fatal error - bad logical partition 8 : enlarged logical partitions

    Hi,
    I am trying to install Arch after being an Ubuntu user for approximatley two years.
    I re-formatted my drive to create an ~20Gb space in an ext4 extended partition since my previous would not allow more than four primary partitions.
    I am trying to triple boot: Win XP, Ubuntu, and Arch.
    I had read that one swap space would work, however I seem to now have three!
    I partitioned ntfs for Win XP, then  Ubuntu root, Ubuntu Home, Swap (2Gb), then left ~20Gb for Arch.
    However the output from Gparted now states I have three swaps! I cannot install Arch due to the error message:
    'Fatal error - bad logical partition 8 : enlarged logical partitions overlap'
    Is there a way of resolving this without re-formatting everything again, since I have spend hours setting up Win XP and Ubuntu to how I want them.
    I only use Win XP to manage my ipod and use Ubuntu as my primary OS. However, I recently found that by setting up Arch will teach me a hell of a lot about Linux OS which is my goal.
    Thanks in advance!
    fdisk output:
    Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   112642047    56320000    7  HPFS/NTFS/exFAT
    /dev/sda2       112644094   976496639   431926273    5  Extended
    /dev/sda5       174086144   931846143   378880000   83  Linux
    /dev/sda6       931848192   935944191     2048000   82  Linux swap / Solaris
    /dev/sda7       935946240   976496639    20275200   83  Linux
    /dev/sda8       169897984   174079999     2091008   82  Linux swap / Solaris
    /dev/sda9       112644096   165707775    26531840   83  Linux
    /dev/sda10      165709824   169887743     2088960   82  Linux swap / Solaris

    Oh, ok then, that makes sense ... I don't know the reason to align partitions to cylinders but there must be a good reason, although even if they are not aligned it shouldn't be a big problem (at least gparted allows you to create unaligned partitions).
    Personally gparted is not my first choice when dealing with partitions, it already scared me _big time_ and even if linux doesn't complain about partitions not being in the order they are on disk some programs complain about that (and gparted does make a mess out of that) and even refuse to do anything before they fix that (partition magic for example, and I've never lost any data or even got scared when using it).
    Lately I have been doing it like this, create the partitions with cfdisk which leaves everything in a way no program complains, then I format the partitions with mkfs.whatever or I use gparted just to format the partitions, I've never had problems when doing things like that.
    The last time I've used gparted to resize partitions things went well but on another occasion it did make a huge mess out of the partition layout (there were ntfs partitions involved when it went wrong, and only ext3 when all went well) leaving me with a problem similar to what you have now, luckily testdisk came to the rescue but I reckon I was just lucky that time.
    I've learned my lesson, _always_ make backups or copy things to another disk, besides being probably faster (as gparted does a ton of checks) it is a lot safer and if you have really important stuff on your hard disk you can't afford to be relying on the chance of not loosing it in the process.

  • Can you run Logic Pro 8 and Logic Pro X on the same machine?

    Hello all!
    Congratulations to us on the release of the new Logic Pro!
    I am still running Logic Pro 8 (and was waiting for X to come out since I knew it wasn't too far off) but am concerned over the loss of 32-bit plug-ins with Logic Pro X (the wrapping of my old VST plug-ins alone hurts!).  I've heard that installing Logic Pro X doesn't in any way gimp Logic Pro 9's usage, but can someone confirm whether or not Logic Pro X and Logic Pro 8 can operate in harmony on the same Mac?
    As a bonus, is there any reason to believe that Apple would disable earlier versions of Logic Pro (such as version 8) from running on Mavericks?
    I am planning my Logic Pro and Mac OS migrations!  Thanks!!

    Try here:
    https://discussions.apple.com/community/professional_applications/logic_pro
    This forum is FCP X.
    Al

Maybe you are looking for