Clear package question

Hello, I have a quick question regarding the clear package. It posts the reverse entries, but then how do i make them combined and then get rid of them from the model? Here is an example:
CATEGORY      TIME      ENTITY   ACCOUNT   AMOUNT
ACTUAL          2011.JUN    1000        56849         399
Entry that clear pacakge posts:
CATEGORY      TIME      ENTITY   ACCOUNT   AMOUNT
ACTUAL          2011.JUN    1000        56849         -399
How cube looks after clear package
CATEGORY      TIME      ENTITY   ACCOUNT   AMOUNT
ACTUAL          2011.JUN    1000        56849         399
ACTUAL          2011.JUN    1000        56849         -399
what do i need to do make sure these two get to 0 and ultimately get cleared from the cube?
Thanks.     

Hi Manny,
Running an Optimize will net the records and remove zero records.  Please see SAP KBA 1621911 for details about the Optimize function and related options.
Thanks,
Scott

Similar Messages

  • Scheduling the Clear Package

    Hello everyone,
    I want to scheduled the clear package,  but I want its execution for Current and Prior period, does somebody knows how to pass those parameters when the clear is Scheduled?
    Regards

    Hi Miguel,
    I think the question is what means for you current period?
    Is it cuurent month from "Today" ?
    Is it current month from Action Pane?
    Is it a parameter which you selected from DM package?
    Once which you will decide what means cuurent month function by that you have to change the clear package
    to work how you expect. I suggest to rename the package with other name because otherwise you will not know if it is the standard clear or your custom clear Package.
    Regards
    Sorin Radulescu

  • Failure to run Clear package in Ownership application

    Dear all,
      I received the message "You are not authorized to perform this task." when i tried to run the 'Clear' package in 'Ownership' application.
      What's the reason for the above message, and can it be modified?
      Thanks in advance.
    Cheers,
    Lip Chean

    Hi Lip,
    Is this question resolved (I see the status as answered).
    If not, please check the member access profile and see if you have the write authorizations to the members. Also check your task profile.
    Hope this helps.

  • Clear Package Not Working - Data File is Empty

    Hi
    I am trying to run a clear package against a precise section of data. However the package keeps erroring and the log file shows me the below:
    TOTAL STEPS  3
    1. Export_Zero:        completed  in 1 sec.
    2. Load Cube:          Failed  in 1 sec.
    3. Clear:              completed  in 1 sec.
    [Selection]
    ENABLETASK= Yes
    CHECKLCK= Yes
    (Member Selection)
    Category: OPM
    Time: 2011.P01,2011.P02,2011.P03,2011.P04,2011.P05,2011.P06,2011.P07,2011.P08,2011.P09,2011.P10,2011.P11,2011.P12
    Entity: TOT_ENTITY
    AccLabour: WEIGHTED_EFF_ALL2
    DataSrc: INPUT
    Line: FB1
    Machine: TOT_PROCESS
    Product: NOPRODUCT
    WIP: 56088876
    [Messages]
    The data file is empty. Please check the data file and try again.
    I know there is data in this section of the database as I am running a report which looks at the same place and data can be found. From looking at other threads it has been recomended to turn off Data Audit. I've checked this and can confirm that this is switched off for this particular application (in other applications it is swithced on).
    Please can someone advise what else I need to do in order to run this clear package successfully.
    Thanks,
    Jamie

    Thanks Roberto
    Having just read that thread I see that they mention that they are not clearing from a calculated member. I think the member we have been trying to clear from is a calculated one.
    Would a clear from fact table allow us to clear the data against this member? Or would we need to clear the data against the non-calculated members which go into the calculation?
    Kind Regards,
    Jamie
    UPDATE
    I've managed to run the clear package, I was trying getting this error because I was running it against calculated members. When I chnaged it to run against the non-calculated members the package ran successfully and cleared the data values.
    Thanks for your help
    Edited by: jamiet440 on Nov 10, 2011 12:28 PM

  • Errors ruuning Clear Package

    Hi,
    I am running the Clear package in OLS and I run into this error for certain months only
    The member name is invalid::20070200 in TIME Dimension
    Not sure what this error means.
    Here is the complete log
    TOTAL STEPS 3
    1. Export_Zero: completed in 0 sec.
    2. Load Cube: completed in 8 sec.
    3. Clear Comments: completed in 1 sec.
    4. Clear: completed in 1 sec.
    Selection
    ENABLETASK= Yes
    CHECKLCK= Yes
    (Member Selection)
    Category: ACTUAL
    Time: 2007.FEB
    Entity:
    Account:
    BusType:
    DataSrc:
    Geography:
    IntCo:
    LOB:
    PB_Function:
    Product:
    RptCurrency:
    Messages
    Load Cube
    Warning
    FPANDA
    Warning
    Submit Count : 1891 (Record count in source file : 1891)
    Accept Count : 1889
    Reject Count : 2
    I know which 2 rows got rejected, but just don't know why.
    Any help will be appreciated.
    Thanks,
    Rita

    Probably the two records has at least  a member for a dimension which is calculated.
    Clear is not deleting the records it is inserting records with oposite sign.
    Because of that you are receiving this error because you are trying to insert bad records.
    Actually if you will do Modify application or full optimize you will received an error.
    So I suggest to run the follow queries:
    select count(*) from tblfact"yourapp" where "dimension" not in (select [id] from mbr"dimension" where calc = 'N') for all dimensions of your appset except Time dimension.
    select count(*) from tblfac2"yourapp" where "dimension" not in (select [id] from mbr"dimension" where calc = 'N') for all dimensions of your appset except Time dimension.
    select count(*) from tblfactwb"yourapp" where "dimension" not in (select [id] from mbr"dimension" where calc = 'N') for all dimensions of your appset except Time dimension.
    If any of results is different by 0 then you have to replace
    select count(*) with delete and to run the query again.
    This will fis your appset and also the problem with clean.
    Kind Regards
    Sorin Radulescu

  • Data Manager Clear Package - VBA Automation Parameters

    Hello guys,
    I have built an input sheet, where the user selects members from BPC dimensions (ACCDETAIL,ACCOUNT, ACTIVITY,ASSET, etc.). Next, the user clicks on the "Clear Data" button, which triggers a VBA macro (EPM_Clear). This macro should call the BPC clear package and clear the transactional data for the selected members.
    I have two problems:
    1) How do I pass on the previously selected parameters (i.e. which dimensions to clear) from VBA to the clear package?
    2) When I use the following code, it says ‘Package not found’ .
    VBA Code:
    Private Sub RunPackage_Click()
    Dim EPMObj As FPMXLClient.EPMAddInDMAutomation
    Set EPMObj = New EPMAddInDMAutomation
    EPMObj.DataManangerRunPackage ”Clear”, ”DataManagement”, ””
    End Sub
    Thank you and best regards,
    Peter

    Hi Peter,
    Kindly refer yser guide  it says if you change value SELECTPROMPT () to "1" it will take into account the context member.
    Go through the below link
    page no 365
    http://help.sap.com/businessobject/product_guides/boeo10/en/EPMofc_10_user_en.pdf
    Parameters in Certain Prompts Packages - Data Manager
    Customize the standard SAP BPC Packages
    Shrikant

  • Data manager- Clear Package comments

    Hi,
    1) I have an Input Schedule template (SAP BPC 5.1) with amount and few keyin comments, I was successful in clearing all the data related to amount column using Clear Package. I have few Keyin Comments in the same input schedule those are not getting cleared.
    I checked the Report I could see the comment in the report and amount has got cleared.
    I tried running another clear package with same selection criteria, but the job cancelled immediately. Please Let me know how can I clear the comments.
    2) Also how can we see the multiple comments for a single costcenter. In report I could see (eg: Asset Description.....(3) they are overlapped,  I want to see all Asset Descripton 1,2,3). How to do this.
    Thank you,
    Regards
    Vijay Venkatesh
    Edited by: Vijay Venkatesh on Apr 22, 2009 8:21 AM

    Dear Vijay Venkatesh,
    When You cleaned up data using Data Manager - Clear Package, you should choose "Yes" on the first option.
    I have suggest to clean comment directly using Ms.SQL Server. Please you use the delete query statement in table "dbo.CommentFinance". The table name format is "dbo.comment<application name>".
    I hope my information can help you.
    Thanks,
    Wandi

  • BPC MS Clear Package

    Hi Gurus
    My client is using BPC7.5 ms version. The Problem we are facing now is our
    clear package is not working. It is very very slow.Before it takes only 2 to 3 mins but now it takes about
    6000 secs...We were using BPC for 3 years .First time we are facing such issue. As Clear packages are standard,
    I cant understand why this delay
    Please Help
    With regards
    Saumya

    The reason it takes time is Clear Package writes data into the DB with a -ve value .
    So the best option would be to delete in the SQL if you have access to on the Fact Table dbo.tblFact%APPLICATION% after optimizing the Application so that all the required data from the WB and Fact2 are written into Fact Table.
    The other option would be to import the "Clear from Fact Table" Package that in 'Examples' Folder under 'PackageFiles'..This folder would be in all Appsets that were created from AppShell. Be sure while using this Package as it may have impact on the usage of the Application.

  • Clear package failed with exception CX_SY_COMPRESSION_ERROR ?

    Hi Experts,
    When i ran a clear package it got failed with exception CX_SY_COMPRESSION_ERROR .
    Hint : i ran light optimize package before running clear package and it got succeeded.
    Thanks,
    Siva

    Hi,
    Do you find any short dump in ST22?
    It may be because of memory issue as explained in 1734382 - Process ends with CX_SY_COMPRESSION_ERROR when export transaction data to application server.
    Regards,
    Raju

  • Clear Package Taking 2 Hours for 3000 recs - two filters

    Hello All,
            We are running clear package and selecting 3 filters and rest of them are <all> . It is taking 2 hours. Weu2019ve been told by consultants it is normal and efficient to clear out it at SQL level .
    I `m wondering what is the best practice out there, if you all clear out via BPC why clear package taking so long.
    Thanks,
    Saquib

    BPC's clear is not real "clear" the data in FACT tables. It is kind of submit opposite value to given intersections to make cell's value to zero. So, sometimes it is taking long time. Based on how big your appliation is.
    However, if you do not have reason, take many filters as possbile could help performance. If you put <ALL> to dimension, it is going to calculate all base members of that dimension.
    I think most of time in 2 hours is for populating list of base members and calculating current value in SQL server. Appending 3000 records is not taking long time. So, speed of gathering data in SQL server is important for performance. Typical SQL server tunning is always recommened such as IO setup.

  • Clear Package Using Selection File

    I want to have a clear package to not have propmpts and to recieve the selection from the selection file automtically without the user input.  In this way I can schedule the clear.  How is this done??
    Phil

    Hello,
        IF you are looking into the dynamic script, this is the instruction which is taking the parameters from the user interface:
    'prompt for a selection of data to clear
    PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",%DIMS%)
    In case you want to not use this, you can hardcoded anf fill the %SELECTION% variable with your selection.
    This variable is used at the end of dynamic script:
    BEGININFO(%SQLDUMP%)
              select %FACTDIMS%,0 as SIGNEDDATA
              FROM             
               ( SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFACT%APP% WHERE %SELECTION% 
           UNION ALL
              SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFACTWB%APP% WHERE %SELECTION%
              UNION ALL
              SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFAC2%APP% WHERE %SELECTION% 
           ) as ZeroTable
              group by %FACTDIMS% OPTION(MAXDOP 1)
    ENDINFO
    The format of the variable should be:
    "DIM1=value1, DIM2=value2, ..."
    Hope this helps you,
    Mihaela

  • PLSQL Package Question

    I have a PLSQL Package which needs to be called from a Unix file. How can I do this ?
    The PLSQL Package needs to be defined in such a way that it accepts parameters and passes it back to the Unix call.
    How Can I do this ?
    If my question is not clear please let me know , I will clarify again.
    Thanks
    fm

    Hello,
    I have a PLSQL Package which needed to be code reviewed and cleaned. It is basically 3 procedures within one package. These Packages are being called from Unix (Excel file) by automation.
    My Question is , how do I pass the variables from Unix to PLSQL without any hardcoding.
    For example Product A has many sub products B,C,D etc. How can I Pass the variables from the program so all run properly and everything ties in place.
    If my question is not clear , please let me know.I will provide more information.
    Regards
    fm

  • Adobe Reader 9.3.2 silent install package questions, please ...

    Hello:
      I am a network and Desktop Support person for a higher education facility.  I was asked to take over automating software application
    installs.
      I have a script process, created by Auto-It (Scite script editor), that has been working well for Adobe Reader 9.1 with updates to 9.1.1, 9.1.2 and 9.1.3 (found on the Internet) -
    msiexec /i \\<server>\<path>\AcroRead.msi TRANSFORMS=\\<server>\<path>\AcroRead_10132009.mst /passive /norestart /update \\<server>\<path>\AdbeRdrUpd911_all_incr.msp;\\<server>\<path>\AdbeRdrUpd912_all_incr.msp; \\<server>\<path>\AdbeRdrUpd913_all_incr.msp
      My questions:
    Is there a similar process for installing Adobe Reader 9.3 silently and then updating to 9.3.2?
    If so, what are the steps, ex. expand/extract the initial 9.3 .EXE, then create a transform using Orca/<transform making of choice>, etc.?
    With having read of some issues in this forum regarding Adobe Reader 9.3.2, should I continue using 9.1.3 and wait?
      Thank you for your time.

    Well we have a wiki where I work, and here is then entry I have created on how to deploy Adobe Reader. See if any of this helps, if not, we'll take it from there.
    Deployment
    It is HIGHLY recommended that you read and follow the directions of the deployment guide provided by Adobe located at http://www.adobe.com/devnet/acrobat/pdfs/deploying_reader9.pdf. The documentation located here is simply for a quick reference for those who have already read the guide.
    The rights to distribute Adobe Reader must be obtained by filling out the form found at http://www.adobe.com/products/reader/rdr_distribution1.html. After filling out the form and being accepted to distribute Adobe Reader, you will receive an email with a link to download the redistributable version of Adobe Reader. You will be prompted to download a .exe package containing the Reader MSI file. The general form of the command to convert a Nosso-compressed file to an MSI package is:
    <path to>\AdbeRdr90_en_US.exe [<switches>...]
    Switch
    Description
    -nos_ne
    Do not execute any file after installation (overrides the -e switch) This switch should be used if user only wants to extract the installer contents and not run the installer.
    -nos_o
    Specifies the name of folder where the contents of the expanded package are to be placed. The folder name should be enclosed in quotation marks. It is best if you do not use an existing folder, and there should be no space following the “-nos_o”.
    For example:<path to>\AdbeRdr90_en_US.exe -nos_o”TestFolder” -nos_ne
    Using the extracted MSI, create an Administrative Installation Point (AIP) using the command-line:
    msiexec /a <path to>\AcroPro.msi transforms=<path to>\AcroPro.mst
    The AcroPro.mst transform file is created by the Adobe Customization Wizard 9
    You can apply any patches that may have been released since the major version release. Use the command-line:
    msiexec /a <path to>\AcroPro.msi /p <path to>\AdbeRdrUpd931.msp;<path to>\AdbeRdrUpd932.msp
    Once all this is complete, you can fully deploy the software by running the command-line:
    <path to>\AcroRead.msi transforms=<path to>\AcroRead.mst /qb
    More information can also be found in the Enterprise Administration Guide

  • Quick iPhone packager question...

    Hello,
    I am interested in purchasing Flash CS5 so I can make an iPhone app that involves PDF opening and saving, but I had a question to all those who have used AlivePDF... would it work with the packager for iphone to make an iPhone app?
    If not...
    With the rescources Flash CS5 has with Air 2...would I be able to open a PDF, draw on it, then save it to the iPhones desktop? Or would that just be an AlivePDF thing? If AlivePDF doesn't work with the iPhone packager, is there any way I could handle opening/saving PDF's with anything else?
    Thanks in advance for the reply.
    -mightybotme

    Hi mightybot,
    I checked with Thibaut, and he indicated AlivePDF should work with AIR 2 mobile profile and the Packager for iPhone.  Let us know your results!

  • Package question - what are the uses for  /var/sadm/pkg ?

    I'm writing packages and noticed once a packages is installed using pkgadd, that files and dirs are created in the /var/sadm/pkg directory. I'm specificly intereseted in the pkginfo file - it contains all the variables from my request script and their values. My question is what are all the uses for this file?
    I've noticed that pkginfo reads from it but would there be any problem deleting certain lines from that file (lines not used by pkginfo - just variables used in the request script that I'd really rather not have floating around in a publicly accessable file).
    thanks!
    Bob

    I'm refering specificly to the file "/var/sadm/pkg/<pkgName>/pkginfo" - it's created during pkgadd and contains all the variable-value pairs from the packages pkginfo file as well as any variables used in the request script and copied to it's temporary response file. I'm not refering to the pkginfo file that you create as a package infofile component.
    I want to remove, from the /var/sadm/pkg/<pkgName>/pkginfo file, certain var-value pairs that were used in my request scripts (not part of the InfoFile/pkginfo component). Otherwise, any user can look at this file or run 'pkgparam <pkgName>' and get that sensative info.
    To the best of my knowledge, this file is only used by the commands pkgparam and pkginfo. Are there other uses?
    My worries are:
    -is it OK to remove lines manually during the postinstall script?
    -will doing this cause problems with any admin or package maintenance functions?
    Thanks-
    Bob

Maybe you are looking for