COpy Package not working as it should in BPC V 5.0

Problem:-
When I choose Replace and Clear Data Values, it merges them .. I have run it few times and each time the data was duobled.
When I chose, Merge Data Values, it cleared and the numbers !!. 
Possiable Cause:-
The function seems to be working in reverse order, Could this be bug in the SAP BPC v5.0?
If any of you have any idea how to fix this, I would appreciate it.  Thanks.
Sam

Hi Sam,
Check the modify script for the copy package by going to modify package, view script and advanced tab.
In script, in the prompt comand, '0' should be assigned to Merge data values and 1 to clear data. If it is in reverse order, change it and save it back.
Note that if you are using sql 2005, you can directly modify the script, if it is 2000, you need to modify the EVmodifyscript task in the DTS assigned to Copy package.
Hope this helps,
Kranthi

Similar Messages

  • Package not working like it should! :(

    Ok I created a package, It compiles fine but returns no results.
    My package contains a function that calculates my instructors bonus depending on how many lessons he has taught in the last 7 days.
    I then have a procedure to check that the bonus is not over 400, 400 is the max bonus that can be earned in any 1 week.
    I belive the source of the problem is the data being fed to the procedure is wrong or mixed up,. The function calculates the correct bonus, so that is working fine.
    I am struggling to pass the results of the function into the procedure for checking!
    I have spent the last couple of hours trying to see where I am going wrong but i think my brain has packed in!
    here is the package.
    CREATE OR REPLACE PACKAGE wage_calc IS
    full_wage NUMBER(8);
    FUNCTION instructor_bonus
    (ins_grade in NUMBER , ins_id in VARCHAR2)
    RETURN NUMBER;
    PROCEDURE bonus_checker
         (ins_grade IN NUMBER,
          ins_bonus IN NUMBER,
          ins_id_in IN VARCHAR2,
          bonus OUT VARCHAR2);
    END;
    CREATE OR REPLACE PACKAGE BODY wage_calc IS
    FUNCTION instructor_bonus
    (ins_grade in NUMBER , ins_id in VARCHAR2)
    RETURN NUMBER
    IS
    less_taught NUMBER(8);
    ins_bonus NUMBER(8);     
    BEGIN
         SELECT count(fk_ins_id)
         INTO less_taught
         FROM class_schedule
         WHERE fk_ins_id = ins_id
         AND date_of BETWEEN SYSDATE-7 AND SYSDATE;
              IF      ins_grade = '1' THEN ins_bonus := less_taught * 15.00;
              ELSIF     ins_grade = '2' THEN ins_bonus := less_taught * 25.00;
              ELSIF     ins_grade = '3' THEN ins_bonus := less_taught * 35.00;
              END IF;
              IF      less_taught >= 5 THEN ins_bonus := ins_bonus * 1.1;
              END IF;
              RETURN ins_bonus;
         END instructor_bonus;
    PROCEDURE bonus_checker
         (ins_grade IN NUMBER,
          ins_bonus IN NUMBER,
          ins_id_in IN VARCHAR2,
          bonus OUT VARCHAR2)
    IS
    ins_bonus_res NUMBER(8);
    BEGIN
         SELECT instructor_bonus(ins_bonus,ins_id)
         INTO ins_bonus_res
         FROM instructor
         WHERE ins_id = ins_id_in;
         IF ins_grade = 1 AND ins_bonus_res > 250
         THEN ins_bonus_res := 250;
                   DBMS_OUTPUT.PUT_LINE(ins_id_in|| 'Has reached full bonus for grade '||ins_grade||'  it will be capped, bonus = '||ins_bonus_res);
         ELSIF ins_grade = 2 AND ins_bonus_res > 350
         THEN ins_bonus_res := 350;
                   DBMS_OUTPUT.PUT_LINE(ins_id_in|| 'Has reached full bonus for grade '||ins_grade||'  it will be capped, bonus = '||ins_bonus_res);
         ELSIF ins_grade = 3 AND ins_bonus_res > 500
         THEN ins_bonus_res := 500;
                   DBMS_OUTPUT.PUT_LINE(ins_id_in|| 'Has reached full bonus for grade '||ins_grade||'  it will be capped, bonus = '||ins_bonus_res);
         ELSE ins_bonus_res := ins_bonus_res;
         DBMS_OUTPUT.PUT_LINE('Instructor bonus = '||ins_bonus_res);
         END IF;
         END bonus_checker;
    END;
    /When i attempt to test it with this data.
    VARIABLE ins_bonus_res NUMBER
    EXECUTE wage_calc.bonus_checker (1, 1, 1, :ins_bonus_res);I get this....
    PL/SQL procedure successfully completed.
    SQL> print :ins_bonus_res
    INS_BONUS_RES
    -------------So I am stuck! If anyone coudl help me it would be appriciated! Thanks.
    Message was edited by:
    stevenmac
    Message was edited by:
    stevenmac

    Ok that works now thanks!
    Is there any way to improve this paackage? At the moment i have to input the ins_id and the ins_bonus.
    VARIABLE ins_bonus_res NUMBER
    EXECUTE wage_calc.bonus_checker (1,1, :ins_bonus_res);Is there any way to change it so that I just need to input the ins_id??
    Here is my code so far.
    SET SERVEROUTPUT ON
    CREATE OR REPLACE PACKAGE wage_calc IS
    full_wage NUMBER(8);
    FUNCTION instructor_bonus
    (ins_grade in NUMBER , ins_id in VARCHAR2)
    RETURN NUMBER;
    PROCEDURE bonus_checker
         (ins_id_in IN VARCHAR2,
          ins_bonus IN NUMBER,
          bonus OUT VARCHAR2);
    END;
    CREATE OR REPLACE PACKAGE BODY wage_calc IS
    FUNCTION instructor_bonus
    (ins_grade in NUMBER , ins_id in VARCHAR2)
    RETURN NUMBER
    IS
    less_taught NUMBER(8);
    ins_bonus NUMBER(8);     
    BEGIN
         SELECT count(fk_ins_id)
         INTO less_taught
         FROM class_schedule
         WHERE fk_ins_id = ins_id
         AND date_of BETWEEN SYSDATE-7 AND SYSDATE;
              IF      ins_grade = '1' THEN ins_bonus := less_taught * 15.00;
              ELSIF     ins_grade = '2' THEN ins_bonus := less_taught * 25.00;
              ELSIF     ins_grade = '3' THEN ins_bonus := less_taught * 35.00;
              END IF;
              IF      less_taught >= 5 THEN ins_bonus := ins_bonus * 1.1;
              END IF;
              RETURN ins_bonus;
         END instructor_bonus;
    PROCEDURE bonus_checker
         (ins_id_in IN VARCHAR2,
          ins_bonus IN NUMBER,
          bonus OUT VARCHAR2)
    IS
         ins_bonus_res NUMBER(8);
         ins_grade_t NUMBER(8);
         ins_name_t VARCHAR2(12);
    BEGIN
         SELECT instructor_bonus(ins_bonus, ins_id), ins_grade, ins_name
         INTO ins_bonus_res, ins_grade_t, ins_name_t
         FROM instructor
         WHERE ins_id = ins_id_in;
         IF ins_grade_t = 1 AND ins_bonus_res > 250
         THEN ins_bonus_res := 250;
                   DBMS_OUTPUT.PUT_LINE(ins_name_t|| 'Has reached full bonus for grade '||ins_grade_t||'  it will be capped, bonus = '||ins_bonus_res);
         ELSIF ins_grade_t = 2 AND ins_bonus_res > 350
         THEN ins_bonus_res := 350;
                   DBMS_OUTPUT.PUT_LINE(ins_name_t|| 'Has reached full bonus for grade '||ins_grade_t||'  it will be capped, bonus = '||ins_bonus_res);
         ELSIF ins_grade_t = 3 AND ins_bonus_res > 500
         THEN ins_bonus_res := 500;
                   DBMS_OUTPUT.PUT_LINE(ins_name_t|| 'Has reached full bonus for grade '||ins_grade_t||'  it will be capped, bonus = '||ins_bonus_res);
         ELSE ins_bonus_res := ins_bonus_res;
         DBMS_OUTPUT.PUT_LINE('Bonus for '||ins_name_t||' = '||ins_bonus_res);
         END IF;
         bonus := ins_bonus_res;
         END bonus_checker;
    END;
    /Thanks in advance

  • HT5654 Just tried 3 times to update iTunes on my PC running Vista.  There was an error.  It stopped the installation.  Now iTunes will not start at all.  The error message tells me to reinstall which I tried but did not work.  What should I do?

    Just tried 3 times to update iTunes on my PC running Vista.  There was an error.  It stopped the installation.  Now iTunes will not start at all.  The error message tells me to reinstall which I tried but did not work.  What should I do?

    Hello, Jdragone. 
    Thanks for the question.  Start with completely uninstalling iTunes and all of it's components in the order specified in the article below.  Once this is done, download and install iTunes.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    If you receive any errors when uninstalling any components of iTunes, try the steps in the article below for each component that gives you an error.
    "The feature you are trying to use is on a network resource that is unavailable" alert appears when removing Apple software in Windows
    http://support.apple.com/kb/TS3704
    Cheers,
    Jason H.

  • Short key for copy does not work all the time now.

    After I have installed the latest OSX - Yosemite, my short key for copy does not work all the time.  It is infrequent how it works. I'm using the same keyboard that I have always used, my wireless logitech keyboard for mac.  Please help.

    I've plugged in my default mac keyboard and the short key copy still does not work.

  • Creative cloud photoshop blur tool not work as it should be

    creative cloud photoshop blur tool not work as it should be !
    I go to blur a painting i am doing and it does not blur enough and I am using wacom Intuos 5 med pen tablet.
    and I even set the tablets sensitivty for pressure lower then default and still not getting the blur tool to do its job.
    I even adjusted the brush settings too to be able to blur even more on hard settings, still nothing.
    at least it not bluring enough to see any major changes.
    the only way i can blur anything is by using the fliters blur or the brushes ( mixer brush ) settings to mix colors and do it that way.
    (note) I will not post my systems specs sorry I don't do that and even the tech from adobe said I do not have to. and so I wont !
    just need advise not to share system specs.
    and thats what this forums board is for getting advice and read what others say about the issue at hand.
    it's not to post or share system specs  !!!
    so with that out of the way I need advice only please ?

    Hi,
    It might be your image is too big in terms of pixel dimensions for the blur tool to work well.
    If you zoom to 100% do you see any change when using the blur tool?
    What are the pixel dimensions of the image?
    (Image>Image Size)
    If you try a small image, does the blur tool work?
    What about when you use the mouse instead of your tablet?
    Can you at least tell us what operating system and version of photoshop your using?

  • My passbook on my iphone 5 works the same as it did for the iphone 4, its not working like it should. why?

    my pass book on my iphone 5 does not work like it should, it works just the same as it did on the iphone 4, i tryed the date an time trick like 5 times an still nothing. i tryed factory reset an nothing. i know it workds different on the iphone 5 then the 4. but i dont know what else to do.

    Can you be more specific about what isn't working?  Are you running iOS 6 or iOS 6.1?
    Did you read the support page on Passbook?  http://support.apple.com/kb/HT5483

  • Siri is not working like it should i ask it to play songs and it just says sorry i cant do that any ideas y

    siri is not working like it should i asked it to play songs and it just says sorry i cant do it any ideas y

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • I have safari 5.1.7 and it's not working properly. Should I use Safari 5.1.9 or 6.0.4?

    I have safari 5.1.7 and it's not working properly. Should I use Safari 5.1.9 or 6.0.4? Mac OS X 10.6.8.  17" MacBook Pro

    Use your Software Update under the Apple menu, it SHOULD bring Safari up to 5.1.9 on OS X 10.6.8.
    Apple IS issuing security and other updates for Snow Leopard users.
    OS X 10.4/10.5 need to upgrade, 10.6.8 ok still
    Safari 6+ is only for 10.7+ users as OS X is morphing into iOS.
    10.7 and 10.8 will not run your PPC based apps of 10.5/10.6
    If Software Update is not working, then you have other issues, backup your users folders off the machine to a external storage drive (not TimeMachine!) and run through this list of fixes.
    Most commonly used backup methods
    ..Step by Step to fix your Mac

  • Acrobat Pro (V11.0.07) not working as it should

    Acrobat Pro (V11.0.07) not working as it should (various aspects) - receive an error 2503/2502 when attempting to run a repair

    Hi ferdinando,
    Was Acrobat working fine for you before?
    Which OS are you using?
    Try repairing Acrobat from the Control panel> Programs and check.
    Are you getting the error: "Error 2503 called RunScript when not marked in progress"
    This is apparently a Windows issue (see http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/error-2503 -called-runscript-when-not-marked-in/76e72d98-cbef-432f-8f6f-40417d139bc1
    Regards,
    Rave

  • I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.  What should I do

    I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.
    What should I do?

    Hi Anto2211,
    Please follow the thread: Black screen CC where this issue is already discussed and resolved.
    Let me know for any further query.
    Thanks,
    Ratandeep Arora

  • My MacBookPro is continuously buzzing, the backlights are not working although it should be on. Tried to cover the sensor, but it's not that. Also, it's telling me that I have no batteries and the charging is not working either.... Any help? PLEASE!!!!

    My MacBookPro is continuously buzzing, the backlights are not working although it should be on. Tried to cover the sensor, but it's not that. Also, it's telling me that I have no batteries and the charging is not working either.... Any help? PLEASE!!!!

    Intel-based Macs: Resetting the System Management Controller (SMC)

  • My iPhone 5 is overheaded while charging and the screen is black and is not working. What should i do?

    My iPhone 5 is overheaded while charging and the screen is black and is not working. What should i do?

    Sounds like a battery failure.  Your phone is under warranty.  Bring it back to Apple

  • HT4061 I dropped my phone in the toilet and now is not working.   What should I do?

    I dropped my phone in the toilet and now is not working.   What should I do?

    Put in in a bag of dry rice for a few days and see if that drys it out. Don't be surprised if it doesn't. You may need to take it to an Apple Store. They will offer you a replacement at a reduced price
    Hope that helps

  • I remove by mistake the realtek audio device high definition audio bus. Now, the sound of my computer is not working. What should I do?

    Hi! 
    I remove by mistake the realtek audio device high definition audio bus. Now, the sound of my computer is not working. What should I do?

    first go to start-all programs- windows update is at the top of the list follow the prmpts to install microsoft update which is the new version of windows update if microsoft update is all ready installed go there and select custom then let it look for updates
    then if it detects missing drivers it will install or guide you on what to do. If you have an r52 laptop then try this link.
    http://support.lenovo.com/en_CA/downloads/detail.page?LegacyDocID=MIGR-58599 the best of luck.
    2 if that doesnt work then try this  open device manager right click on the sound device you may have to expand sound, video and game controlers on the tab that comes up select properties then select the drivers tab  select update driver.   
    do it this way incase the driver installation failed the frist time it may not ask you to update again if you didnt uncheck the box that came up on frist try.
    3.find a mother board disk and search the disk using explore for ac97 realtech driver. actually windows update should solve it also try there  FIX IT web site there are many automatied fixes there for your use.

  • I forgot my passcode and tried restoring my ipod touch, but it's not working. What should I do?

    I forgot my passcode and tried restoring my ipod touch, but it's not working. What should I do?

    Did you place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                          
    If recovery mode does not work try DFU mode.                         
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings         
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • Error while installing the Add-on

    We are trying to install an Add-On in SBO 2005A with patch level-11. It is not creating the company object and we are getting the following error in one of the client machine. System.Runtime.InteropServices.COMException (0x80040154): Retrieving the C

  • How-To populate SELECT LIST default value from SQL Query

    OK, I've done my homework, and did not find my answer in the Forum, so here it is. I have a Page that displays fields from a SQL Query. The Page also has below that radiogroups, checkboxes, and Select Lists to allow the user to change values in the f

  • Can I backup an External Hard Drive using Time Machine and Time Capsule?

    I have a Powerbook G4 with Mac OS X 10.5.2 and use an external hard drive *all the time*. I'd like to use Time Machine and my new 500GB Time Capsule to back it up along with the internal hard drive. Can I do this? Thanks for your help.

  • Edit in Dreamweaver

    Apologies if this appeared twice -- it never showed up in my NG reader... I have forgotten the backward contortion that needs to be made in order to place an Edit in Dreamweaver button on the IE7 interface. Can someone point me to the double-secret p

  • Upgrading final Cut Pro - recieved as a gift, and designated "Not for Sale"

    I've been working in FCP with a version that a friend, in the business, was given as a perk and passed on to me. The FCP that he gave me is marked "Not for Sale". I did register it. I just upgraded to Tiger and am having problems with dropping frames