Delete zero value keyfigure (volume)

Hi,
This is for BW3.5 BPS.
I would like to see the list of records which has volume = 0.
What is happening now...
already( last yr) we deleted few records (material A, sold to A), so the volume become zero, if some user try to add record  ( same as the deleted records) this yr, error shows that the record already exists.
Is there anyway I can add volume to the records which is zero now.
Note: if the key figure value is zero those records are not displayed in the layout.
Thanks
Billy

<FONT FACE = "Tahoma", Font Color = "Blue">
Hi<br>
I am very surprised to see this. Because a cube can have multiple records with same characteristic key combination but different/same key figure values. Then based on the Aggregation behaviour defined in the key figure definition, system should add records or do the necessary action.<br><br>
Can you please compress your InfoCube with ZERO ELIMINATION tick mark selected? This should solve your problem, I think.
<br><br>
Hope it helps.<br>
Cheers Abhijit</FONT><FONT FACE = "Verdana", Font Color = "Red">
REMOVED
</FONT>

Similar Messages

  • Date Range  - Delete ZERO Values

    Hi All,
         Few days back I had posted Query  Regarding  Date range  where in I enter Proj# from_month, from_year, To_month and To_year.
    The output data for the project must be within this year range.
    suppose I enter proj no. 13381 and
    from_month - 05
    from_year - 2004
    To_month - 04
    from_year - 2005
    This is the Desired Output:
    yearmonth                            plan14
    200406 -
    13381 -
    100
    200407 -
    13381 -
    100
    200409 -
    13381 -
    678
    Right Now the Output what Iam getting is:
    yearmonth                            plan14
    200405 -
    13381 -
    0
    200406 -
    13381 -
    100
    200407 -
    13381 -
    100
    200408 -
    13381 -
    0
    200409 -
    13381 -
    678
    I  Just  want the NON ZERO  PLan14 values.  The PLan14 values  with '0'  should  be deleted .
    Below  is the Jist of the code.
    RANGES: S_GJAHR FOR COSP-GJAHR,
            R_YEAR  FOR COSP-GJAHR,
            R_DATE  FOR PROJ-ERDAT,
            R_MONTH FOR CKML1-POPER,
            S_OBJNR FOR COSP-OBJNR,
            S_KSTAR FOR COSP-KSTAR.
    DATA: MNT_INDX(20)     TYPE C,
          HLD_INDX(3)      TYPE N.
    DATA:  W_MTH(2) TYPE N,
           W_DATE  LIKE PROJ-ERDAT.
    DATA: BEGIN OF ITAB_OUT_TYPE,
            PERIOD(10)       TYPE C,
            PROJDEF(20)          TYPE C,
            PROJ_TITLE(20)        TYPE C,
            STATUS(20)            TYPE C,
            PROJECT_TYPE(20)      TYPE C,
            START_DATE(20)        TYPE C,
            FINISH_DATE(20)      TYPE C,
            CONTRACT(20)          TYPE C,
            CLIENT(20)            TYPE C,
            PLAN14(25)       TYPE  C,
            END OF ITAB_OUT_TYPE.
    DATA ITAB_OUT LIKE ITAB_OUT_TYPE OCCURS 10 WITH HEADER LINE.
    FIELD-SYMBOLS <FS>.
    PARAMETERS FR_MONTH(2) TYPE N OBLIGATORY.
    PARAMETERS FR_YEAR(4) TYPE N OBLIGATORY.
    PARAMETERS TO_MONTH(2) TYPE N .
    PARAMETERS TO_YEAR(4) TYPE N .
    DATA: W_TXT(20)     TYPE C.
      R_YEAR-LOW = FR_YEAR.
      R_YEAR-HIGH = TO_YEAR .
      R_YEAR-OPTION = 'BT'.
      R_YEAR-SIGN = 'I'.
    APPEND R_YEAR.
    concatenate FR_YEAR FR_MONTH  INTO R_DATE-LOW .
      concatenate TO_YEAR TO_MONTH  INTO R_DATE-HIGH.
      R_DATE-OPTION = 'BT'.
      R_DATE-SIGN = 'I'.
      APPEND R_DATE.
    SELECT * FROM COSP
                 WHERE OBJNR = PRPS-OBJNR    AND
                  GJAHR IN R_YEAR     AND
         KSTAR BETWEEN '0000400996'    AND '0000400999' AND
          VERSN = '014'                               AND
          WRTTP = '01' .
          DO 12 TIMES.
            W_MTH = SY-INDEX.
            CONCATENATE COSP-GJAHR W_MTH  INTO W_DATE.
            CHECK W_DATE IN R_DATE.
            PERFORM CONVERT-DATE1 USING W_DATE.
            MOVE HOLDDATE1  TO ITAB_OUT-PERIOD.
            HLD_INDX = SY-INDEX.
            CONCATENATE 'COSP-WKG' HLD_INDX INTO W_TXT.
           ASSIGN (W_TXT) TO <FS>.
        CLEAR ITAB_OUT-PLAN14.
        ITAB_OUT-PLAN14 = ITAB_OUT-PLAN14 + <FS>.
    APPEND ITAB_OUT.
    enddo.
    ENDSELECT.
    I need  all positive values  of  the month  that are in the range.   The Zero values  must be deleted .  How  can i do that.  PLease  do let me  know.
    Thanks in advance
    Dan

    You can do this easily just by deleting all records in one shot.
    delete ITAB_OUT where plan14 = 0.
    You can put that statement after the SELECT...ENDSELECT.
    Or you can not even add them to the internal table at all.  You can check before you APPEND to the table.
    CLEAR ITAB_OUT-PLAN14.
    ITAB_OUT-PLAN14 = ITAB_OUT-PLAN14 + <FS>.
    <b>If itab_out-plan14 > 0.
    APPEND ITAB_OUT.
    endif.</b>
    enddo.
    ENDSELECT.
    Regards,
    Rich Heilman

  • IP : Delete a value in e cell without entering zero

    We have an input ready planning layout created with WAD. In WEB user deletes a value in a cell without entering zero instead. When we refresh data former value appears again. When the user enters zero to the cell we have no problem. When we execute the query with BEX and delete the value in cell without entering zero, there is no problem also. Is there a parameter in WAD to check this?

    Hi
    If you create a "Delete" function and provide the same on layout it will delete the same from the cube. However, the user need to enter the line # which he/she wants to delete from the layout. Ofcourse, entering zero in the input for Key Figure will help delete the values from cube but if it has any corresponding calculations (say salary or revenue)....it will not get nullified. It is always good idea to provide a standard delete function on the layout.
    Regards
    Srinivas

  • TCode MIR7: Dump while deleting Parked Invoice with zero value

    Hi,
    We had parked an Invoice using TCode MIR7 with Zero Value with reference of a PO. Now as the value of invoice is zero, we want to delete it using MIR7.
    In MIR7, when we go to Invoice Document-->Delete, it results in dump. Dump is as follows:
    Error analysis
        Short text of error message:
        No document found
        Long text of error message:
        Technical information about the message:
        Message class....... "FI"
        Number.............. 124
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLFMPR" or "LFMPRU05"
        "FM_CO_DOCUMENT_DELETE"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which actions and input led to the error.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLFMPR" - in
         "FM_CO_DOCUMENT_DELETE".
        The main program was "SAPLMR1M ".
        In the source code you have the termination point in line 34
        of the (Include) program "LFMPRU05".
    Any help.
    Regards,
    CMC Team.

    Hi,
    Check following SAP notes:-
    1173846  (MM) Termination when deleting prepaid logistics invoices
    Reason and Prerequisites
    This problem is caused by a program error.
    1224772  (MM) Error message FI24 when deleting parked invoices
    Reason and Prerequisites
    This is due to a program error. The total amount of the parked invoice is '0'.
    Regards,
    Anand Raichura

  • Display Non-zero values of keyfigures based on a particular value of a cha

    Hi Gurus,
    I would like to display only Non-zero values for keyfigures but only for a particular value of a characteristic. For Ex: We have material Group. For a particular value of material group, i do not want to display the zero stock. But for other material groups it should display zero stock.
    I tried to use conditions, but the problem is it suppresses all the zero values for the keyfigure for material group in general and not for a particular value of the material group.
    Is there is any way that i can go about for this scenario. Pls help.
    thanks & regards,
    PS

    Hi,
    You can very much restrict your KF on particular values of said material group. For example you material group contains the values like "Blades", "Personal Cares", "Disposables" etc... and you want to restrict your KF on "Blades" only, you can do that.
    Just restrict your KF on Material Group and include the values which you want for restrictions. You can also exclude values from restrictions.
    Hope it help you.
    Yogesh.

  • Display Non-zero values of keyfigures based on a particular value of a char

    Hi Gurus,
    I would like to display only Non-zero values for keyfigures but only for a particular value of a characteristic. For Ex: We have material Group. For a particular value of material group, i do not want to display the zero stock. But for other material groups it should display zero stock.
    I tried to use conditions, but the problem is it suppresses all the zero values for the keyfigure for material group in general and not for a particular value of the material group.
    Is there is any way that i can go about for this scenario. Pls help.
    thanks & regards,
    PS

    Hi
    Create a structure in the rows based on selections on material group. Eg.
    Structure
       Mat grp 1 (restricted to material during selection)
       Mat grp 2
    then add a formula in columns using boolean argument
    e.g (exisisting KF >= 1)*1+0
    Then you can use conditions to elimanate zeros on the new KF.
    Hope it helps
    Edited by: Karin van der Merwe on Feb 29, 2008 8:52 AM

  • Capitalise/close/delete asset under construction with zero value

    Hi,
    I have an AUC (aset under construction) with a zero value but I am unable to clear it as such.
    How can I remove the open AUC from the reports and close/delete it?
    Thanks
    Keeley

    Hi,
    Go to t-code AS02. On the "*deactivation on" field under "General" Tab enter the current date or the last posting date recorded for the asset. Save the changes.
    Regards,
    Melu

  • Deletion of plannable values in a cell does not result in zero value

    Hi,
    In a planning report when I wanted to set the values in a plannable cell to '0', I just deleted the value in that cell without actually setting a '0' expecting a '0' to appear in that cell after I refresh my report. But instead I get my original value back in the cell. Is this standard behaviour or a bug or do I need to change some setting to get a '0'.
    I run my planning reports on the portal.
    Thanks.
    Regards,
    Jaya

    Hi,
    Check this out please.
    [Re: Cannot Save empty cell, can only save 0|Re: Cannot Save empty cell, can only save 0]
    regards,
    Ergin Ozturk

  • Zero values not taken into account during retraction

    Hello,
    we are having an issue with data retraction.
    When we reset a value to zero, the change in the value is not taken into account and the corresponding value in R/3 remains unchanged.
    There are some posts that say that the function modules UPR_COST_PLAN_EXEC and UPR_COST_PLAN_INIT should be modified in order to populate <xth_data> with zero values, but debug mode shows that the data are read before calling these functions, and the zero values are
    already ignored at this stage.
    Could anyone help me, please?
    Thank you in advance!

    Here is the second method  -
    Regarding your issue:
    Retraction is based on the records of the SEM buffer. Zero records are
    in general filtered in the buffer, so that they cannot be considered forplanning functions that execute the retraction. I regret but this is
    the normal system behaviour in the standard. As workaround, please use adummy key figure that is set to a value <> 0.
    The only way is a work around. If you fill a dummy key figure with an
    arbitrary value, the frame work recognizes this as not 0, even if the
    proper key figure is 0. In that case the 0 retraction would work. So if
    not existing, create an additional dummy key figure to the cube and workon as described.
    For all the of retractions (CO-OM, IM, PS) BPS planning functions are
    used and they run in the general BPS framework. This framework is
    designed to explicitly not process zero records because of performance
    reasons.
    If zero records would be processed, planning functions would run longer
    but they can't deal with those records anyway. Therefore the developmentdecided on the current design, to delete all zero records first, before
    processing them with a planning function. This decision has been
    discussed several times before and it not likely to be changed.
    Regarding SAP note you can check the work aroud I explained can be foundin the oss note 768822 SEM-BPS: Retraction of WBS element w/ Pushback.
    I hope this explains the reason.
    Please kindly confirm the message if your issue is answered.
    Thanks for your support and cooperation.

  • Multiprovider displays zero value for Key figure

    HI,
    Multiprovider contains 3 cubes, in which one keyfigure (YDAYS) presents in two cubes and assigned to multiprovider from two cubes. But iam getting zero value in the multiprovider level. But in the cube level getting the data. This problem iam getting in testing system.
    When i compated Develoment system and Testing system everything is correct, mapping, assignment .
    Any ideas what might be the problem
    Thanks / Venkata

    Check the report to see if it has any filters that is available in only one of the infoproviders. if thats the case then move the filter and make it restricted.
    Use RSRT to see which infoproviders are being hit when you execute the query. Look in detail. I had the same problem once and careful investigation revealed a filter that was at the report level instead of kf restriction level.

  • PO with Zero value in SRM

    Dear All;
    We are using SRM7.0 with classic scenario i.e shopping cart is created in SRM and PO is triggered in SRM but created in ERP.
    Sometimes, the buyer gets a shopping cart with several lines. After negotiation with the supplier, he agrees (the supplier) to give one of the items as free.
    While converting SC to PO in SRM, the system asks to  enter a price so that PO can be created in ERP. Then the buyer has to put 1 then goes to the ERP and tick the free indicator flag.
    Is there a way to create a PO with Zero value from SRM?
    Thanks

    Hi ,
    After the price is entered in the PO in SRM  , delete the price conditions in the conditions tab at the item level in SRM . This will mark the free goods tick in the ECC automatically .
    This works in our extended classic system .
    -Hari.

  • Free sample sales net value in invoice should give zero value.

    Hello Experts,
    I have a question on the cess values aspect of free sample sales.Recently, I have configured a free sample sales for one of our clients. Now, in the invoice the user does not want the cess values to be passed to the customer.I changed the R100 discount type in the pricing control data, still tax is picked up, showing negative net value and not zero. Now, how to arrive at excise payable as credit entry and octoroi etc as debit entry in G/L accounts. or where I am going wrong, please suggest.
    Regards,
    Raj.

    For sample sales that is you are despatching material on free of cost, follow the steps mentioned below
    1) In V/06, you should create a condition type, say ZDIS (for 100% discount) and maintain the following:-
    Cond. class::::::A
    Calculat.type::::A
    Plus/minus:::::::X
    Item condition:::X
    Amount/percent:::X
    Delete:::::::::::X
    Value::::::::::::X
    Save the condition type
    2)  In OV34, create two new Account Keys, one for PR00 and one for 100% discount.  Say the two Account Keys are ZSM and ZSP
    3)  In V/08, against PR00 condition type, assign Account Key ZSM with a tick in "Required".  Next for condition type ZDIS, assign the another Account Key ZSP without any tick in the three boxes.  Against this discount condition type, assign the step number of net value under the tab "From", assuming that after PR00 you have multiple condition types.
    4)  In FS00, create a new G/L Account with description as Sales Promotion Expenses
    5) In VKOA maintain these two Account Keys for the sales organisation / chart of accounts with the same G/L account for both the Account Keys.  Dont assign different G/L Account here.
    6)  Now create a sale order and do billing.  See how the accounting document flows.  Post still if you have any issues.
    thanks
    G. Lakshmipathi

  • ERS generated document with zero value for SES

    Hi,
    I have maintained service entry sheet.
    Accounting entry is generated.
    When I run T code MRRL, it has generated document with zero value.
    This is not a free goods PO.
    Why this is happening?
    Please guide on this issue.
    Regards,
    Piyush

    Hi,
    Creating an ERS zero document is an expected system behavior ,you           
    could create an ERS zero document by doing the following wrong           
    procedure:                                                                               
    1. Create PO with ERS falg ON.                                           
    2. Perform GR for PO.                                                    
    3. Create the invoice by MIRO.(Not MRRL).                                
    4. Run MRRL (LIV-ERS).                                                                               
    For every purchase order with flag 'ERS' a table entry is generated.     
    If a goods receipt is posted, this GR should be invoiced via ERS         
    (Tr. MRRL). Manually posted invoices should be avoided, because          
    the table entry will not be deleted. A new invoice receipt must be       
    created while running ERS (but with amount and quantity zero and without 
    FI documents) in order to give a message to the vendor because he        
    has sent you an invoice by mistake.                                      
    Could you please check also the note:1069215
    Best regards
    Erika

  • Exclude zero value sales items

    Hello,
    We want to exclude sales order items with zero net value. The issue that we have is that we have lots of sales order item with zero value but very few can have price during billing (We create billing off from sales order. No delivery document). We know we can make use of copy control requirement (transaction VTFA) similar to LV60A002 where we can check VBAP-NETWR and set sy-subrc to '4'.  But the way system behaves is that it then goes through the pricing routine. Since prices can change in between sale and billing we might not charge customer accurately if we use use requirement to exclude zero value sales item. The ideal would be system re-price the order and then if still net value is zero then exclude them, Primary reason we want this to improve billing performance as billing document will have significantly less items or have items that matters.  Thank you so much for suggestions!

    Hi Ajit Kumar,
    This sound like something I can make use of it. But can please clarify what goes between IF and ENDIF. Do you just simply say DELETE i_xvbrp? Is it how do you delete VBRP line item before posting? Is it going to re-sequence POSNR? I really appreciate your feedback as I am finally feel like going somewhere.
    Ok. Little later as I experiment with user-exit 'EXIT_SAPLV60B_010'. There I can not do any thing as I have to do delete corresponding posting entry too. Then I played with 'EXIT_SAPLV60B_008' where I have tables XACCIT , XACCCR, CVBRP & CKOMV. I deleted entry with CVBRP-NETWR = 0 and adjusted all POSNR but then I got UPADTE TERMINATE document. So basically it did not work.
    Thanks and Regards,
    H Shah

  • BEx Query- Making into Zero value in the blank row/column

    Hi All,
    I am running a query on multiprovider, say I have three characteristics (sales org, distribution, customer) & key figure (amount) in the layout. I am lookling the actual & plan data in the report.  If there is no plan data for the above combination of characteristics, in the report i am getting blank, instead of blank i want $0.00, how to do this?
    Regards,
    Anand

    Hi ,
    Could you please let me know how can we fix this issue.  I tried to create a new formula as KF+0 but it did not work.
    Hi ,
    This issue is in a Bex Query . We are looking for options on how to display blanks as zeros for keyfigures.In the below screen shot highlighted in red there is no data for march 2015 so it needs to display as zero and the overall result should be Zero.
    Issue : Overall Result for Cumulative Quantity FTE should pick up the last value which is Mar 2015 instead its displaying 2 as there is no data for Mar 2015.
    Thanks,
    Bharathi.

Maybe you are looking for