Access to time char with TMVL in FOX is not working with offset other than0

Hi,
In the FOX Planning function, TMVL is not working as desired if we give any other offset other than 0.
Could you pls guide.
Sample Code *************
DATA PFROM TYPE ZPERSTRT.
DATA PTO TYPE ZPEREND.
PFROM = OBJV().
PTO = OBJV().
MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM.
MESSAGE I000(ZSEM) WITH 'PTO1' PTO.
PTO = TMVL(PFROM, 3).
MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM.
MESSAGE I000(ZSEM) WITH 'PTO2' PTO.
Sample Code *************
Output *************
S:ZSEM:000 PFROM1 2007001
S:ZSEM:000 PTO1 2007012
Error in function TMVL for value 0000000 and offset 3
S:ZSEM:000 PFROM2 2007001
S:ZSEM:000 PTO2 0000000
Output *************
Does Fiscal Year Variant plays any role here. If so how do we control this increment or decrement of the Fiscal Year Period.
Regards,
Durga
Message was edited by:
        Durga BW

Durga,
If ZPERSTRT and ZPEREND reference 0FISCPER, it should be fine for use with TMVL.  If you have Z time characteristics defined as NUMC (7) for example, there will be some issues.
I think the FOX is running into issues since they are using 2 different data objects even though both are referencing 0FISCPER.
Takes me too long to log into the system to verify so not sure if this would work but give these a try.
Option A)
DATA PFROM    TYPE ZPERSTRT.
DATA PFROMAD3 TYPE ZPEREND.
DATA PTO      TYPE ZPEREND.
PFROM = OBJV().
PTO = OBJV().
MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM 'PTO1' PTO.
PFROMAD3 = PFROM.
PFROMAD3 = TMVL(PFROMAD3, 3).
MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM 'PTO2' PTO.
Option B)
DATA PFROM    TYPE ZPERSTRT.
DATA PTO      TYPE ZPEREND.
FOREACH PFROM.
MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM.
PTO = PFROM.
PTO = TMVL(PTO, 3).
MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM 'PTO' PTO.
ENDFOR.
hope this helps,
Mary

Similar Messages

  • You must have connected the Time Capsule with a router that does not work with my direct cable from my ISP

    you must have connected the Time Capsule with a router that does not work with my direct cable from my ISP

    I tried to answer in your other post.. please stick to one thread ..
    What method of internet do you have.. is this fibre install.. if so the TC should just plug in and use dhcp in router mode.. press and hold the reset and it will go back to router mode by default.

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Upgraded to Firefox 4 and now the program I many alarm dealers use with Rapid Response Monitoring no longer works. RR Tech support said it had something to do with a change in Java not working with Firef 4

    Rapid Response Monitoring Center developed a program for their dealers to log on to the main frame and look at customer info. The program now has a disclaimer on the log-on page Does not work with FireFox 4. RR tech support said it had to do with Java functions that were not continued in FF4. I can log on but the program will no longer display customer history or anything that seems to have a data base behind the function tab.
    See www.rapidweb2000.com or call 1-800-932-3822 and ask for tech support for additional info about what they have found is the problem.

    Id this the HP SimplePass Identity manager or Digital Persona fingerprint reader? If it is, the company that make the fingerprint reader have abandoned it. For more details see https://support.mozilla.com/en-US/questions/799388

  • What's With Volume Logic Plug-In Not Working With iTunes V7. and Up

    Hello Folks. I recently updated to iTunes ve 7.0.2 and now my great Volume Logic Plug-in won't work. I downloaded the latest update and then read info on the Plantronics site about the problems with the plug-in with new itunes updates.
    Is anyone here figured out what's going on or a workaround. That plug-in makes such a positive difference in music sound quality, the tunes almost feel "naked" without it
    Steve

    Prior to the 1.3.2 released (beta or the now-available final), Volume Logic did not work at all with iTunes 7. According to Plantronics, Volume Logic does not work with Airtunes and the AIrport Express (it's stated right in their FAQ).

  • My cannon printer worked with snow leopard but does not work with Lion

    My Mf 4350d printer does not work with lion Mac OS X Lion 10.7.2., it worked with Snow leopard no problem. I am a novice with apple so can you tell me how to do any changes carefully.

    Have you downloaded and installed the latest Canon printer drivers?
    http://support.apple.com/kb/DL899

  • Iphone 4 not working with iOS 6, Iphone 4 not working with iOS 6

    iOS 6 is not working on my iPhone 4. When the update/restore finishes it gives me the (-1) error and cannot finish the update. Please help.

    Hey.. I have had this issue since yesterday afternoon.. Some people are saying to keep restoring again and again until it finally goes through.. I have done so like 10 times on my MAC and then I used my husband's PC and tried it 4 times.. No success.. I called apple support, but no help came from there at the end, and the only thing they were able to suggest to me is to sell me a new phone just like mine for a discounted price.. **** NO
    Anyways after about 18h of search and stress I came across this link:
    http://techglobex.blogspot.com/2012/06/downgrade-from-ios-6-beta-firmware-to.htm l
    That will only make it possibe to go backward.. You will end up back with the IOS 5, but at least you will have a working phone and it will bring back all your contacts and everything else that you ever had backed up on icloud and on your computer. There might be descripencies with the Applications but again this is an issue easily solved, you can always download them back.
    Two more things: One, you do not have to download the old version of the itunes, the newest version worked for me without any issues
    When choosing to download the older IOS 5.1.1, you will need to figure out whether your carrier is GSM or CDMA but you can easily google this info online..
    Well hope that will work for you like it did for me

  • IPhone 3G with iOS 4.2 will  not work with iTunes 10.2 What can I do?

    I updated iTunes from 9 to 10 without issue got as far as 10.1 all worked fine. Notified of update for iPhone (3G) 4.2 so, I went for it and all still worked well. I then upgraded iTunes to 10.2 and disaster struck! iTunes takes very long time to start will freeze when device connected then fails to see the iPhone. It now appears I may have updated myself into extinction. The latest from iTunes 10.2.2 is not working. I removed AMDS and reverted back to 10.0.1 and it worked for that day I thought I was good all I needed to do worked smoothly. A few days later I am back where I was a month ago with iTunes slow and failing to see device. I know the phone works as it just did a few days ago. I tried to revert to 10.1 and that failed now the AMDS from 10.0 failed to stay working. I can  lose the library and movies either on iPhone or in iTunes but, I need the other data notes,calendar, etc. Any ideas? Note: see Discussions on Apple Mobile Device Suppport (AMDS) for additional information or anyone having same problems with 10.2. Anyone think Apple may fix this in the future?

    iTunes is not seeing device when connected. It simply freezes (Not Responding) for minutes then fails to see device.
    I have previously uninstalled and re-installed latest from Apple 10.2.2. The only way I got that to work was uninstall AMDS and install version 10.0.1 this worked beautifully for ONE Night only. I am now with 10.2.2 that takes 2-4 minutes to start (non responding half of that time the first half just not shown by task manager) and cannot see device. I tried starting iTunes with devices plugged in and same issues. Windows (Vista 32) does see iPhone.

  • Custom PC with ATI 5670 xfx is not working with APPLE cinema 24"

    I need help using my apple cinema 24"
    my setup is the following:
    i7 custom built with ati 5670 xfx (with display port)
    running windows 7 64 bit ultimate
    I bought a displayPort to mini-display port cable. When I plug everything in, my apple 24" cinema is not turning on ?
    can someone please help me out, Thank you.
    PS. Seem like people are saying the new ATI radeon 5000 series is not compatible with apple 24" Anybody has a solution to this ? Thank you.

    Hi,
    I already reply you in fredtorrey post.
    But if you don't want change that card you will need buy atlona adaptor.

  • Airport 802.11ac with FW 7.7.1 not working with iPhone

    I bought the new Airport 802.11ac. First I tried to connect with my iPhone 4s. This was only working with no security feature activated on the Airport. From the moment I switch on WPA or WPA2 on the airport my mobile phone is not able to connect. Does somebody know how to solve this issue?

    Hi, have you found a solution to this annoying problem? Please help!

  • How does xalan.jar work with jdk1.3.1 and not work with jdk1.4.1

    Hi,
    i am using java, xalan, xerces for web development. The environment is jdk1.4.1, xerces.jar, xalan.jar. i am facing problem while transforming xml, xsl. Its giving the following error
    java.lang.NoSuchMethodError: org.apache.xalan.xslt.Process.getDefaultLiaison()Ljava/lang/String;
         at org.apache.xalan.xslt.XSLTEngineImpl.(XSLTEngineImpl.java:367)
         at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79)
    I tried with jdk1.3.1, xalan.jar, xerces.jar. Its working fine. Can anyone tell me what is the problem with jdk1.4.1 ?
    Regards
    Ashok

    I have the same problem, but the version within SUN seems imcomplete,what version is ?
    For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this.

  • My iPhone 4 with iOS 5.1. does not work with the mercedes benz media interface

    I just installed the IOS 5.1.1 on my iphone 4 but it doesn´t work anymore with the Mercedes Benz (2010) media interface, some help!

    Resetting the Network Settings worked to fix my problem as others have suggested.   
    To help answer dinpa59, bechic, and others if needed you do the following:
    Select your SETTINGS icon. 
    Select GENERAL
    Scroll to the bottom and select RESET.
    Select RESET NETWORK SETTINGS. 
    This will completely erase your bluetooth setup as well as other WIFI network associatiotions.  These will all need to be re-paired and passwords entered for WIFI again once this is done.
    THIS SHOULD FIX BLUETOOTH ISSUE.
    Hope that helps.

  • Problem with multi take drum tracks not working with group selection editing

    HI All
    Ive recently tracked drums into using 7 mics and doing multiple takes layered on top of each other, the 7 takes belong to the same group and i have enabled group editing in the settings.
    I think i changed the comp options at the end of the track and as a result audio tracks 1 and 2 edit between takes together fine. I.e. when i choose say take 5 with track it does the same selection for track 2.
    Tracks 3-7 work in the same way fine, im just wondering if anyone knows how to get them as a complete group again so that when i choose take 5 for example on the one audio track, it will make the same selection for all of them!
    thanks

    Colin,
    I did a multi camera edit of Act 1 of a taped performance and all went well. Moved on to Act 2, which ran longer and each camera needed a tape change. So I matched the clips from each camera on each video track and tried to move on to the sync & then create a multi camera sequence stage of the project. That's when I hit a road block. I could not sync the four video tracks. So I consulted Adobe's on line help and this was all I could find about my predicament:
    Note: Adobe Premiere Pro uses an overlay edit when  synchronizing clips. Take care not to overwrite adjacent clips if you have  multiple clips on the same track.
    So what was I to do next? I found your post and now know exactly what to do. Thanks for a great explaination and saving me a lot of head scratching.
    Why couldn't Adobe explain it as well?
    Thanks,
    Angelo

  • My employer uses website compatible with 3.06 and will not work with ver.5. how to run compatibility mode on ver. 5 ?

    Is it possible to run this kind of websites with Firefox ver.5 ?

    '''''3.06''''' or '''3.6'''? Big difference!
    Firefox 3.0 was released in June 2008, whereas Firefox 3.6 was released in Jan 2010.
    Install the Portable Firefox 3.6.19 version for use at that website. It won't affect your regular Firefox installation. <br />
    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • I am having the same problem with my sound, it does not work with my games. I tried the info that was given below

    I tried the suggestion for the sound, but it is not working. the sound will not play for my games, but it does play for all other Apps

    As you don't say what suggestion it is that you've tried, I don't know whether you mean for having notifications muted, so you may already have tried the following.
    Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085

Maybe you are looking for