Do not update ODS keyfigure when a condition is true

Hi,
i'm loading 2 records for a ODS each with a different currency type:
CURTYPE | VALUE
10 | 236,7
20 | 128,9
i need to open this two records on the ODS in two columns:
VALUE1 | VALUE2
236,7 | 128,9
so i'm thinking on the transformation rule for VALUE1 to check IF CURTYPE=10 THEN RESULT = VALUE
, but if not what should i do to keep the old value (don't update the KF) ?
thx in advance

>
Juan Pablo Lopez wrote:
> so it won't overwrite the other value ?. I mean if the values come in this order:
>
> 1) CURTYPE = 10, VALUE = 233
> 2) CURTYPE = 20, VALUE = 167
>
> on the first load:
>
> VALUE1 = 233; VALUE2 = 0
>
> on the second record:
>
> VALUE1 = 0; VALUE 2 = 167
>
> So the second record will overwrite the VALUE1 key figure.
Why don't you use addition for your key figures rather than overwrite?
Regards,
Lars

Similar Messages

  • Not Updating Customized Table when System having Performance Issue

    Hi,
    This is actually the same topic as "Not Updating Customized Table when System having Performance Issue" which is posted last December by Leonard Tan regarding the user exit EXIT_SAPLMBMB_001.
    Recently we changed the program function module z_mm_save_hide_qty to update task. However this causes more data not updated. Hence we put back the old version (without the update task).  But now it is not working as it used to be (e.g. version 1 - 10 records not updated, version 2 with update task - 20 records not updated, back to version 1 - 20 records not updated).
    I tried debugging the program, however whenever I debugged, there is nothing wrong and the data is updated correctly.
    Please advise if anyone has any idea why is this happening. Many thanks.
    Regards,
    Janet

    Hi Janet,
    you are right. This is a basic rule not to do any COMMIT or RFC calls in a user exit.
    Have a look at SAP note 92550. Here they say that exit EXIT_SAPLMBMB_001 is called in the update routine MB_POST_DOCUMENT. And this routine is already called in UPDATE TASK from  FUNCTION 'MB_UPDATE_TASKS' IN UPDATE TASK.
    SAP also tells us not to do any updates on SAP system tables like MBEW, MARD, MSEG.
    Before the exit is called, now they call 'MB_DOCUMENT_BADI' with methods MB_DOCUMENT_BEFORE_UPDATE and MB_DOCUMENT_UPDATE. Possibly you have more success implementing the BADI.
    I don't know your situation and goal so this is all I can tell you now.
    Good luck!
    Regards,
    Clemens

  • Java does not update older version when installing from MSI file

    I'm using an MSI file of Java because it's easier for deploying through SCCM. Anyway when I do everything works fine except it does not update older versions of Java. So for instance if I have Java 7 update 7 and install Java 7 update 21 using the MSI file I'll then have two versions of Java installed on my computer. Anybody know a way to install using the MSI file where it updates older versions of Java (as long as it's the same major revision) like the exe would?

    Yes same problem here. I had a successful rollout with the MSI package and version 1.7 Update 17 on 1500 computers!
    I packaged the Update 21 and on my first test-clients the control panel crashes when I try to open it. But the setup ends successful without any error code all eventviewer entries are successful and it seems that the environment is running. Firefox plugintest was successful.
    Why doesn't offer Orcale the MSI files?! Since last year Java cost me o lot of time deploying Java. There is no update which you can release quickly because there are always bugs to deploy them.

  • I can not update my apps, when I wrote my id Apple password the apps in my iPhone,iPad can not be updated

    Hi,
    I have an iPad,mini iPad and iPhone 5, I tried Many times in all of them updated my apps but when I click in the icon can not updated. Always appear the same word:Update
    What can i do?
    Thanks

    If you made an entirely new acount then sign out of your old one on iTunes and any other things and sign back in on your new on, you won't be able to access any of the purchases that you made on your old acount on any other device.
    If you just your ID and password, again signing out of your old one and signing back in with the new ID and password could help to fix problems your having.
    Also, if that doesn't work (or even if it does) rebooting your iPad / iPod or whatever your doing this on might help too, it just fixed a really annoying problem I had so maybe it could help you. Anyway, good luck.

  • With iOS8.1 I can no longer sync MAC iTunes playlists to my iPhone. Purchased new song with iTunes and it is on my MAC but will not update to iPhone when I sync!

    With iOS8.1 I can no longer sync my iTunes MAC playlists to my iPhone!  I purchased a song on Itunes store and put it into a playlist on my MAC.  When I sync (as usual) with my iPhone, the playlist no longer updates to include the new song (i.e., playlist stuck at 16 not 17 songs)... yes, all devices are authorized... If I turn on HOME SHARING it will work, but the moment you disconnect, everything goes away... What is APPLE doing?

    From my post on what seems like the same issue (found here: https://discussions.apple.com/message/21087892#21087892)
    Take the following steps:
    1) while connected to wifi, toggle off then back on the Show All Music and iTunes Match options shown in my original post. Important: I did this step before, but wasn't connected to wifi, and my music disappeared. Subsequently, I connected to wifi and turned off and then back on those options and everything came back though it was grayed out and my only option was to download music.
    2) To get streaming over cellular back, go into Settings>General>Cellular and scroll down to the "Use Cellular Data for:" options and make sure the iTunes option is set to 'On'
    The above steps will bring back the streaming capability which seemed to go away when you update to 6.1. It didn't ACTUALLY go away, but something about the update toggled off the iTunes option in step 2 above.
    I did a final test by turning off wifi, opening Music app and selecting a song. It played successfully without downloading! Crossing my fingers, but I think I'm good to go!
    Hope this helps!

  • ITunes 9 not updating tag data when re-importing a CD

    Hello all,
    With ALL previous versions of iTunes, when you re-import a CD and if you change the information (like the genre, etc.) iTunes would update the existing versions of the songs with this new data (it would also fill in the track x of n information). With iTunes 9, it seems to default to use the existing data instead of using the new data. Is there a way to get back the previous behavior as I want iTunes to update the old metadata with the new data (not keep the old stuff).
    Thanks,
    hmss007

    If you insert a CD, it gets the info, you import it, change the info and then reinsert the CD and reimport, it will not reuse the info you changed. It will use the info from the CD.
    This is how it has always been.
    If the CD info is not correct, you need to change it before you import/reimport it.
    If you have already imported and changed the info, you can use this script -> Copy Track Info to CD Tracks v1.3 to copy the changed info in Tunes to the CD, then reimport it.

  • CUP not updating OCS status when user ends call

    Hi All,
    I have an issue where, when a user places/receives a call their MOC status shows them as "on a call", 99% of the time when they end the call the MOC status changes back to what ever is was set to, i.e. Available.
    The 1% of the time is will stay "in a call".
    Now I have managed to trace a call from the CUP server and when the status updated correctly I can see a SIP message "ConnectionClearedEvent", however when the status does NOT change back there is no "ConnectionClearedEvent" in the SIPProxy trace file.
    So I am assuimg that some thing between CUCM and CUP is failing everynow and again.
    I am having a mental black and need to be pointed to the CUCM process that would pass the information to the CUP server.
    CUCM 6.1.5.10000-10
    CUP 7.0.3.10000-63
    Any other help would be appreciated too..
    Cheers
    Jason

    I would recommend you upgrade to CUPS 7.0.8 before troubleshooting.
    In each relase between 7.0.3 and 7.0.8 there are some OCS bugs fixed.  Not saying that upgrade would fix your problem.  But at least it would rule out the known defects.
    If there's no CSTA (INFO) message sent to OCS, the problem would be on CUPS side.  It could be the CUPS lost its connection with CTIManager thus not able to get CTI event updates.
    Michael
    http://htluo.blogspot.com

  • SWF linked by reference in FM does not update in RH when FM files are updated

    Hi all, using TCS2 on WindowsXP.
    I have a FM book with a Captivate SWF linked by reference. When I link my FM book into RH, all works nicely. But here's the catch - when I change something in my Cativate project and re-publish the swf (to update the old swf), although the FM SWF updates to the new one, RH does not. The SWF found in RH is the one from the original instance of linking the FM book.  This is an issue as it seems to be hampering my 'single sourcing' world.
    Any thoughts?
    Thanks,
    Adriana

    HI there
    Are you able to just delete the SWF from RoboHelp? I'm thinking that if you could do that, the SWF would simply have to update from FM as it wouldn't be found any longer.
    I do realize it's a kludge and things should simply just *WORK*, but we do live in an imperfect world.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Workflow not triggered for BP when start condition's field is set by BADI

    Hi guys,
    I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
    Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
    Can someone please help me in this or let me know where I can find its cause in system.
    Any help would be really appreciated.
    Regards,
    Shaili

    If this is just one field, create your own custom event and code launching it when saving BP with your field changed.
    Maybe event Changed is executed only for changes in GUI.
    If you program your own one you will have 100% control of it.
    Regards
    Radek

  • Why is Firefox not updating extension automatically when set to do so?

    None of the extension will update, not even when I press check for updates.

    Maybe check the related extensions.update prefs on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    Can you install a new version of of an extension that has an update available?
    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the files extensions.* (e.g. extensions.sqlite, extensions.ini, extensions.cache) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar (or click the "Find Updates" button in older Firefox versions) to check if there is a compatibility update available.
    If this hasn't helped then also try to delete the addons.sqlite file.

  • Data is not updating in database when workflow is completed........

    Hi all,
       I am working on ESS leave request workflow.
       After the approval is being made by the agent, the relevant data is not getting updated in the database. There is no entry regarding the leave period in PA20.
    Is it a workflow issue???  
    Is it something related with commit work???

    Hi
    Did you try to run and check, the report RPTARQPOST report from the back end.  This report is resposnible to post the data into the workflow and complete the workflow. But as you mentioend that the workflow is getting completed then in this case I think you might be already scheduled the above report. Did you check with any kind of authorizations with the user under which the background job or the user who is runnig the report.
    There could also be a possibility that the applied user might not have right authorizations to manupulate Absences Infotype 2001. PLease check teh roles associated with the users in PFCG txn.
    Regards
    Pavan

  • SetRegion does not update the region when the current one is slightly diff.

    I'm working on some iPhone MapKit code which fires off some events when the boundaries of the map change (basically some queries to an external server). There is one edge case I can't seem to solve. When users enter a new address I use setRegion to zoom in on that location and afterwards I compute the bounds of the map and query my external server with those coordinates. I always call setRegion however, there is one edge case when it will not fire. That, is, when a user magically happens to select the exact same address that lies at the current center of the map, when that map is zoomed to exactly the same region. Of course this possibility is rare but it is easy achievable in code.
    This would be the equivalent of allowing the user to drop a pin at the center of the current map and fire off a query to my server based on that. Unfortunately because the code logic depends on the region changing (which I've done so that users can easily pan around the map and not have to explicitly press a refresh button), I need a work around. How can I know when setRegion has been called but it won't fire regionWillChange / regionDidChange. Can I override the function some how?
    As a work around I tried to detect when the region wouldn't change by writing code just before I set the region to compare the new region's center coordinates and span values to that of the current map region's.
    Unfortunately when I set the search Location to be the center of the current map I get the following results:
    diff in latitude of center 0.000000
    diff in longitude of center 0.000016
    diff in latitude span -0.000000
    diff in longitude span 0.000000
    In different cases the error is slightly different but generally speaking even when the region is slightly different like this setRegion or morever, regionDidChange, do not fire. Can anyone explain why? Or how I could go about detecting this properly. Note: I also tried with mapView.centerCoordinate but I get similar errors, and I only want to know when the region will NOT change (if the centerCoordinate is the same the zoom level / region can still be different).

    I realized the code was not included. That should make my question clearer
    CLLocation *centerOfMap = [[CLLocation alloc] initWithLatitude:mapView.centerCoordinate.latitude longitude:mapView.centerCoordinate.longitude];
    mySearchLocation.searchLocation = centerOfMap;
    //Recenter and zoom map in on search location
    MKCoordinateRegion region = {{0.0f, 0.0f}, {0.0f, 0.0f}};
    region.center = mySearchLocation.searchLocation.coordinate;region.span.longitudeDelta = 0.01f;
    region.span.latitudeDelta = 0.01f;
    [self.mapView setRegion:region animated:YES];
    And:
    //Recenter and zoom map in on search location
    MKCoordinateRegion region = {{0.0f, 0.0f}, {0.0f, 0.0f}};
    region.center = mySearchLocation.searchLocation.coordinate;
    region.span.longitudeDelta = 0.01f;
    region.span.latitudeDelta = 0.01f;
    region = [mapView regionThatFits:region]; //Not sure if this is necessary
    NSLog(@"diff in latitude of center %f", (mapView.region.center.latitude - region.center.latitude));
    NSLog(@"diff in longitude of center %f", (mapView.region.center.longitude - region.center.longitude));
    NSLog(@"diff in latitude span %f", (mapView.region.span.latitudeDelta - region.span.latitudeDelta));
    NSLog(@"diff in longitude span %f", (mapView.region.span.longitudeDelta - region.span.longitudeDelta));
    [self.mapView setRegion:region animated:YES];

  • Photoshop CC: Save For Web function does not update filesize previews when I change filetypes

    I recently tried to save some web banners and wanted to optimize for smallest filesize with best looking output, and as I changed filetypes from Gif to Jpeg to PNG, the preview at the bottom of the window that usually updates with estimated filesize was not changing and the preview image would not change as well. The issue made it impossible to predict the output and required that I actually save in all the variations, then reopen them to see the end result.
    My software is up to date.
    Not really sure what it can be.
    Please help.
    Casey

    Same issue. Hoping someone responds to this thread soon

  • Photo library does not update on iphone when synced

    the latest images from iphoto do not sync with the iphone/ipad when plugged in to Imac.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • ICal does not update the organizer when moving items between calendars

    I have two calendars: Exchange 2007 and CalDAV.
    If I organize a meeting in my Exchange calendar, and later on notice that it is in the wrong calendar, move it to my CalDAV calendar, iCal forgets to update the organizer correctly.
    The organizer after moving is "invalid:nomail". The consequence of this is that I can no longer edit that item as I'm "not the organizer". Moving the item back to my Exchange calendar is impossible for the very same reason.
    All I can do after moving is delete and start over. Anyone experiencing the same problem?

    Also, you can't move the event to a different calendar if you're not the organizer.

Maybe you are looking for

  • Url in responsive cs6 not working

    Hell All I have started a Responsive html page on my site in cs6 the code is <script src="respond.min.js"></script> </head> <body> <div class="gridContainer clearfix">   <div id="LayoutDiv1">     <p> </p>     <div id="Top">       <p>NEW SEASON<a href

  • Problem with my 3gs!please help

    need help! i just upgrade my 3gs to ios 5..but got problem with it..it says no sim..but the sim card is in it.can anyone help me?how do i fix this?

  • When we create Line item dimension Like before implementation or  productio

    Hi BW experts , i have doubt Regarding the creation of Line item Dimension When we creating the lineitem dimension means After Implementation or Before implementation plz Give the Exact answer . if u give the exact answer i will assign the moer point

  • Can you share project plans with customers

    if I want to give a customer a MSP file with a plan in it; but I want them only to see the columns I want: no rates; no enterprise project fields (namely profit/GM) - how do I save Trying to stop the swap to Salesforce - but the errors keep a coming

  • Want to select photos from digital camera to upload

    Hi, I like keeping a number of pictures on my camera instead of erasing them everytime I transfer them on to my computer. As a result, it takes forever for iPhoto to go through the 700 pictures on my camera to pick up the 2 new ones that I want to pu