Delete amounts of keyfigure before an execution of fox formula

Hi,
I have a layout with a button that executes a fox formula, my problem is if the user puts data on columns of amounts, when I execute the fox formula (copy of previous snapshot) these amounts not are deleted (0) if previous amounts don’t have data in these columns.
Example:
(0calmonth is dynamical)
Previous snapshot
...............03.2007|04.2007
materialA| 10........| 0
Actual snapshot
...............03.2007|04.2007
materialA| 15........| 80
After the copy function on actual snapshot
...............03.2007|04.2007
materialA| 10........| 80
I need  80 belong to 0 after the copy.
There is some way to delete all amounts of the layout and then execute the fox formula, when the user pushes on the button.
I would appreciate your help.
regards
Victoria

THANKS RAVI,
This function  delete all the data with its characteristic combination, there is a way to delete the data only like the garbage button of the layout?
if I use the delete function, if I have a combination of characteristic in my actual snapshot that are not in the previous snapshot I will lose it.
Victoria

Similar Messages

  • Execution of Fox Formula's

    Hi,
    I have a general question about Fox Formula's. We created a planning function based on a Fox Formula which should distribute values from region not-assigned to other regions. I debugged the Fox Formula and am quite surprised to see that the Fox logic is processed/called twice.
    Why is the Fox logic called twice ? Can anyone explain this ?
    For your info, in our case the first time the internal tables contain all assigned values for region, the second time the internal tables contain just the not-assigned region. This is horrible if you need to define calculated fields in Fox that make calculations based on the assigned and not-assigned data. I managed to solve this via putting the variables in the ABAP memory (via a self created ABAP function) but this is really a solution I am not too happy about.
    Any ideas about this behaviour of Fox ?

    Dear Subha,
    I am sure there are plently of options but what I usually do is the following :
    1) I place an endless loop in the Fox Code : e.g.
    DO.
    IF FLAG = 'X'.
    EXIT.
    ENDIF.
    ENDDO.
    2) I launch the Fox Function in my IP application which will then hang due to the endless loop.
    3) Via transaction SM50 I search for my process which is hanging and I take it in debugging mode via Process > Mode > Debugging in the menu
    4) You will then arrive in debugging mode in your Fox formula and you'll see that ABAP is generated based on your FOX.
    5) Then you jump outside the endless loop in debugging, in this example you put value X in field flag and start debugging as usual via single step or others (F5, F6, F7,...)

  • Oracle Apps - How to create a table before report execution?

    Hi,
    I'm new to oracle apps, I created a procedure to get some values for a report and created a query to get the remaining values. Now I need to populate those values into a temporary table and after the report execution I have to delete the table. In apps there is no before parameter form. If any one can help me, that will great.
    Thanks in advance.

    Hi,
    Do you really need to create a table INSIDE the report? It doesn't look like a good idea to me. For instance, what happens if 2 users try to execute the report at the same time? I would create a global temporary table before any execution of the report, and then I would just populate the data in the table in the 'Before Report' trigger. The data in a global temporary table is only visible at session level, so you wouldn't have any problems with multiple users executing the report at the same time and the data disappears once you finish your session, so you don't need to take care of deleting the data.
    Hope it helps.

  • Amount of rings before voicemail

    Is there a way to adjust the amount of rings before it cuts to voicemail?

    Can only be done by your carrier, so contact them.

  • I have an ipod touch and i just bought a new laptop, because i lost mine. i try to sync the music in the itouch to my new laptop but it asks me if i want to delete all my music before syncing  what should i do?

    i have an ipod touch and i just bought a new laptop, because i lost mine which has all the data of my itouch. i try to sync the music in the itouch to my new laptop but it asks me if i want to delete all my music before syncing  what should i do?

    You should use your backup copy of your computer to put everything on the new computer.
    The sync is one way - computer to ipod.
    The ipod will sync with one computer at a time. Syncing to another will erase teh content from the ipod.

  • I need to install Mozella Firefox 2.0 to fill out a form that is not supported with the newer version that is installed on my PC. Do I need to delete the new version before using the older version?

    I need to install Mozella Firefox 2.0 to fill out a form that is not supported to input info from the newer version that is installed on my PC. Do I need to delete the newer version before using the older version? If so, how do I delete the new version and install the older version?

    If you just need it for one site you can use the portable version of Firefox 2 instead. You can install the portable version on a USB key, or if one is not available choose the custom install and install it somewhere on your hard drive. The portable version will not interfere with your current version of Firefox. You can get the portable version from http://portableapps.com/apps/internet/firefox_portable - the link for Firefox 2.0.0.20 is near the bottom of that page.

  • I copied message to SMS field and sent. After that the message still exist all the time in the SMS field. When I open the application I must always first delete the "saved"  ones before I write the new one. What to do to finally/definitely delete the save

    I copied message to SMS field and sent. After that the message still exist all the time in the SMS field. When I open the application I must always first delete the “saved”  ones before I write the new one. What to do to finally/definitely delete the save message?

    sorry it's ios6

  • My Apple TV deletes downloaded movies/series before I've watched them. How do I stop this?

    My Apple TV sometimes deletes downloaded movies/series before I've watched them. How do I stop the episodes /movies being deleted before I watch them?

    Welcome to the Apple Community.
    Downloads are deleted to make room for something else or when the device is turned off, if you don't want your downloads removing, you need to avoid doing one of the things that will cause this.

  • My iTunes got deleted off my computer before I had updated my iPhone!! When I downloaded it again all my app purchases and songs were gone!!! Is there anyway apple can help get them back and who can I contact???

    My iTunes got deleted off my computer before I had updated my iPhone. When I reinstalled it everything was gone! I lost all my itune purchased apps and songs!! Is there anyway apple can help me get them back??? And who can I contact?? Please help I really need my music back!!

    It has always beenv ery basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to put everything back.
    If you have failed to backup, then you can redownload some content.  Open itunes store, click Purchased, under Quick Links

  • Is there a way to set the amount of time before Messages shows me as idle?

    I ran a script in iChat that allowed me to extend the amount of time before I showed as idle, but I haven't been able to find something comparable for Messages.

    HI,
    Yes.
    See http://hints.macworld.com/article.php?story=200402181751007
    You  need to Write to the com.apple.IMAgent.plist instead of the iChatAgent one listed.
    9:58 pm      Monday; July 29, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Data Guard archive deleted from Primary datbase before transfaring Standby

    Dear all
    I have a physical standby database. And Primary database on RAC node 1 and node 2.
    Accidently archive log deleted from Primary db before shipped standby db .
    I saw this error which is showing the GAP.
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 1_7090 1_7090
    ir
    Edited by: user8244545 on Jun 7, 2010 11:33 AM
    Edited by: user8244545 on Jun 7, 2010 6:47 PM

    Well, I feel sorry for you after all these guys gave you such a hard time :^)
    You should be using at least an RMAN Archive Log deletion policy to manage your archive log files.
    See "Deletion Policy for Archived Redo Log Files In Flash Recovery Areas" at http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm#SBYDB00750 and http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rman.htm#i1031870 for 10gR2. 10g does require you use a Flash Recovery Area (FRA, renamed to Fast Recovery Area) . Read the paper at http://www.oracle.com/technology/deploy/availability/pdf/RMAN_DataGuard_10g_wp.pdf to sort out not having to use MANDATORY (which we do not recommend).
    Now, if you are at 11g (R1 or R2) you don't even have to be using the FRA nor mandatory to have it work. See http://www.oracle.com/pls/db111/to_URL?remark=ranked&urlname=http:%2F%2Fdownload.oracle.com%2Fdocs%2Fcd%2FB28359_01%2Fbackup.111%2Fb28270%2Frcmconfb.htm%23BRADV89439.
    If you do not use RMAN to backup the archive logs at least these deletion policy will prevent this from happening again since you will no longer be deleting archive logs manually.
    Now, it may be too late for this, I am behind in my mail, but you could get the standby past this gap by using an incremental backup of the primary from the last SCN that was applied at the standby. See the manual at http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#CIHIAADC for more information.
    Larry

  • Should I first delete all saved passwords before assigning master password firefox 21

    I want to start using the 'Master Password' feature. There are a couple of hundred 'stored' passwords in the Options-Security-Saved Passwords tab so I'm wondering if it would be best to delete ALL of these before setting up a Master Password. I will be changing and deleting several of the 'stored' passwords anyway. But my main question is whether or not the 'Master Password' would encrypt All of the existing 'stored' passwords and what if they have already been comprised by surfing anyway??

    No need to delete that.
    Master passwords are used to protect the saved passwords.
    Know more about Master Passwords
    *https://support.mozilla.org/en-US/kb/use-master-password-protect-stored-logins
    *http://kb.mozillazine.org/Master_password

  • If I am downloading a new version of an album that I already have in itunes, do I need to delete the older version before downloading the new?

    If I am downloading a new version of an album that I already have in itunes, do I need to delete the older version before downloading the new?

    No, you don't need to.

  • Delta Compressed and Deleted in the stage before .

    Hi all,
    i have a critical issue with an Delta logic in one of my Cubes.
    A wrong ( logical ) Delta request was already Compressed in the Cube and Deleted in the stage before . This avoids further Delta Rquests in the Cube. By trying to request a delta i will be prompt to repeat the missing delta and it fails because of the missing request in the ODS. I cant reload the cube because of 14 Mio records this would take to long.
    anyone an Idea how to correct the delta flow without reloading everything?
    Many thanks in advance.
    Regards
    Ali

    see in rsa7 the content of the repeat, are you able to do a selective delete from your cube to remove only that data?
    If you can't manage that, you could set a repair request that fits the data you'll need to delete (date range? product? customer?) and only load the repair in the cube.
    To have the delta work fine again, set the original request to red and delete in the ODS as well and then run the repeat, you can't run the repeat as long as the request is in the ODS.

  • I will going to change my simcard in iPhone 4s do I need to delete messages on it before I insert the new one?

    I will going to change my simcard in iPhone 4s do I need to delete messages on it before I insert the new one?

    The SIM card only holds information from your carrier regarding your account. I'm not sure how someone else is going to get ahold of your old SIM. If you are selling the phone, wipe the phone clean and remove the SIM.

Maybe you are looking for