Zero count in Li11n

Hi,
When entering zero count in Li11n,we are getting the error message "Finding empty quants not provided for'
message no. L4058.
Why the sytem is npt allowing zero qty.
Thank you.

After checking the zero stock and when posting we are getting the error message"finding empty quants not provided for".
how to resolve this.
Thank you

Similar Messages

  • Query to return ALL rows even those with zero counts

    Hi,
    The following query will return only those rows that have a non zero count value:
    select c.id, a.name, count(*) as XYZ from CON c, CUST a
    where c.help !='1' and (c.id = a.id) group by c.id, a.name order by c.id;
    The results are:
    1 ME 3
    3 YOU 4
    What i want is to return all rows in CUST and the count, XYZ, that correspond to each row in CUST that matches the whare condition above, even if the count is zero.
    ie
    1 ME 3
    2 WE 0
    3 YOU 4
    Can this be done?

    You may want to get the counts then do the outer join. If you simply count with an outer join you will get 1 for 'WE' because there is a row in the cust table with 'WE'. This may work for you;
    with
      cust as (
       select 1 id, 'ME' name from dual union all
       select 2 id, 'YOU' name from dual union all
       select 3 id, 'WE' name from dual),
      con as (
       select 1 id, '2' help from dual union all
       select 1 id, '2' help from dual union all
       select 1 id, '2' help from dual union all
       select 2 id, '2' help from dual union all
       select 2 id, '2' help from dual union all
       select 2 id, '2' help from dual union all
       select 2 id, '2' help from dual)
    -- end of test data 
    select a.id, a.name, nvl(c.cnt,0) xyz
    from cust a, 
       (select id, help, count(*) cnt
       from con
       where help !='1'
       group by id, help) c
    where a.id = c.id(+)

  • Error while creating physical inventory document with zero count

    Hi,
    I am trying to create a physical inventory document for a material that has zero stock and that is not batch managed but I am geting an error as below.
    "Item 001: No batches that can be included in phys. inv. exist.(Message no. M7701)"
    This error occurs only for one or two materials.
    I am able to create the physical inventory document for other materials which is also zero stock and there is no batch managed for the same.
    Can anyone pls advice.
    Regards,
    Ramya

    hi
    if your material is split valuated, but not batch managed, then the split valuation type is shown in field batch number. And...it is a batch then.
    To be able to do a zero count you have to have a batch record whose batch number is the valuation type.
    If you never had stock in the storage location you want count, then you have to
    1. extend the material to this storage location with MMSC
    2. create the batch record with MSC1N for this storage location.

  • TG shows Zero count in segment builder

    In some cases i have seen when i create TG , it shows zero count. Sometimes it may be the case that filter select may not correspond. Can you suggest what other reasons could be?

    Hi,
    1.       This is an authorization issue. please add 
    2.       following values for authorization object S_TABU_DIS in your marketing profile.
    3.       ACTVT <FLD> Activity 03
                  DICBERCLS <FLD>   Authorization Group FC01, SA
    Please try and I hope you the problem is solve.
    best regards,
    Jags

  • Materialized Views query is ZERO count

    When doing refreshes the Mviews come up as ZERO count...
    any option we can do to prevent this?
    DB is 10.2.0.5
    thanks

    You possibly have another job (scheduled through DBA_JOBS or DBA_SCHEDULER_JOBS or cron or an external scheduler OR initiated by a user or application) that does the refresh (truncate and refresh) between the time you complete a refresh and you query 2 hours later ?
    Possibly the source has no data at the next refresh so the next refresh causes the MV to be Zero count.
    Then, at the third execution, the source has data so the MV now again appears with data ?!
    Hemant K Chitale

  • Queries taking high execution time for zero count

    Hi,
    i have procedures executing as jobs.
    the procedures take a lot of time to execute when the cursor count is zero.
    what might be the reason for this?

    GreenHorn wrote:
    cursor 1 - select a.col1, b.col1,decode(c.col1,1,c.col1,2,c.col2,null) col3 from a,b,c
    where joing conditions
    and nvl(c.col3,c.col4) = b.col3
    and c.col5 is null
    cursor 2 - cursor 1 - select a.col1, b.col1,decode(c.col1,1,c.col1,2,c.col2,null) col3 from a,b,c
    where joing conditions
    and a.timestamp > sysdate-1
    and nvl(c.col3,c.col4) = b.col3
    and c.col5 is not nulll
    cursor 2 first updates the values of col5 to null
    cursor 1 recalculates the value of col5 and updates it.
    c is a partitioned table and partition code is also present in the where condition.One question: Since you say that the cursor is "updating", but the cursor is a query, does this mean that you're performing row-by-row processing in a loop?
    If yes, you might be better off with doing this in one or two plain SQL statements, which is probably much faster.
    Another question: You say that after taking the described measures the performance was significantly better but became again worse after a couple of days again, is this right?
    Can you provide more details, what "good" and "bad" performance means, e.g. in terms of execution time?
    You might want to check if the execution plans change between the "good" performance and the "bad" performance.
    If your table continuously gets data deleted and for some reason the deleted rows are not re-used, e.g. by using direct-path inserts to add new data, then your segment might become larger and larger and you would need to re-organize the table if you use regularly full table scans against it.
    The execution plan posted is not really helpful. Try to use DBMS_XPLAN.DISPLAY to get a proper output including the "Predicate Information" section below the plan and specify to which of the two statements the plan corresponds.
    Use the {noformat}{noformat} tags to format the plan output properly here in mono-space fonts.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/
    Edited by: Randolf Geist on Dec 12, 2008 9:57 AM
    Note regarding execution plan added                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • WM: Enter Cycle Count Results (LI11N)- Time Stamp

    When cycle count results are entered, only the date of the count is recorded in table LINV. We are interested in capturing the time of entry as well for productivity related reporting.
    Is anybody aware of a solution that can accomplish this. For example populating a Z Table via user exit/BADI etc...

    Hello,
    You can do cycle counting with Rf transaction LM59 for the serialised material.
    1.My experience says when you have HUM activated then to track material HU & serialisation profile works together.
    2.You can do cycle counting of serailised & non serialsed material through Rf gun but clearance of this material will be issue. You may have to create one more transaction to clear the difference of  serialised materials like LI20
    Hope this input helps.
    Regards,
    Prashant

  • Enter Inventory Count on transaccion LI11N

    When entering the count, transaction LI11N just display 1 item at a time, we want SAP to display a list of all items on the Inventory document like in Inventory Management.
    We have to enter one by one using the "Positioning" option entering bin  by bin or item by item.
    Is there a way to enter all at once on a list displayed by SAP ????
    Is there a SAP Note we need to apply to fix a program error ???
    Thank you for your help

    Hi,
    LIBS can be used for List layout but not for Entering Inventory Count.
    You would need to use LSMW tool or Custom Program (BDC/BAPI) if you have to enter large amount of records.
    Visit the following link:
    Re: sap general
    Where you would information about BDC and LSMW.
    For information regarding LSMW steps visit the following link:
    /people/hema.rao/blog/2006/09/14/lsmw--step-by-step
    http://help.sap.com/bp_blv1500/BL_US/html/dataconv_lsmw.htm
    BDC/BAPI Steps:
    1. Fetch Data (Download/Read Dataset/Select from Tables)
    3. Massage data as per SAP format.
    3. Validation Check
    4. Pass valid data to BDC (Call Transaction/Session) or BAPI
    5. In case of session method - session log is generated. In case of Call transaction you can use an internal table with structure BDCMSGCOLL to get messages. In case of BAPI the messages will be returned in return table (strcutre BAPIRET2/BAPIRETTAB).
    Regards,
    Naveen.

  • HOW TO USE COUNTER FUNCTION IN BEX

    RESPECTED ALL
    I WISH TO CREATE A FORMULA KEY FIGURE AT REPORTING LEVEL WHICH SHOULD GIVE ME OUTPUT AS
    1
    2
    3
    4
    5
    6
    7
    THE LOGIC IS " IF YIELD IS GREATER THAN ZERO COUNT 1 ELSE COUNT ZERO AND IN THE NEXT ROW IT SHOULD GIVE ME NUMBER 2 IF IN LINE FIRST IT GETS 1"
    IN A NUT SHELL I WANT TO CALCULATE TOTAL NO OF COILS WHICH DEPENDS UPON TOTAL NO OF YEILD
    FIELD BY USER.
    THANKS
    ABHAY

    Hi Abhay,
    We can get your scenario via calculated key figure..
    Below is the calculated key figure:
    (Nodim(field)<=0)0+(Nodim(field)>=1)*1...     *
    Field represents your perticular key field.in the above cal key fig...if the field is less than or eqaul to 0 counter will show as 0,
    Second condition is if the cal key fig is equal to 1 it will show 1 as the counter.
    In the same way you can implement your scenario...
    Hope this helps you..
    Best Regards,
    Maruthi

  • Cycle counting happening not beyond fiscal year

    Hello
    We tried to run Cycle counting using LX26 but got error as IM settings are not done,we ran MIBC
    The issue here is we can't push the counting date beyond the fiscal year end. If I run the transaction LX26 in either QAS or Prod it will work just fine if I keep the date before 31.03.2012.
    Result of this issue is that all parts classified as C or D, are not being suggested for counting. As most of our stock is rated C or D by the ABC analysis that means that a lot of parts will not be counted, while they should be counted.
    So what I need is a way to be able to count all types of stock using an inventory process in SAP, if there is another transaction that does count C and D classified stock that would be very helpful.
    Factory calendar validdity is from 1996 to 2020.
    Transactions I use now:
            For creating inventory documents LX26
            Printing inventory documents ZLI04
            Inputting count results LI11N
            Processing count results LI14, LI20 and ZLI21
    Thanks in advance for helping us
    Bheema

    simha lakkoor wrote:
    Hello
    > Thanks for your answer but we have maintained AB C D indicators for the plant (xxxx) in the OMCO screen with no of physical inventories,interval,float time etc
    > What more we need to maintain. please revert back with your suggestions.
    > Regards
    > Bheema
    Why a setting in OMCO without intervals? complete the customizing according to SAP design, your cusotmizing is incomplete

  • Physical Inventory-Cycle count

    Gurus,
    I am getting this when use the TC-LI20
    Storage bin 1000000073 in storage type 999 does not exist.What should be done.

    HI,
    I executed LX26.
    I entered the count thro LI11N  saved.
    When i try clear the difference i am getting the error
    Storage bin 1000000074 in storage type 999 does not exist (check your entry)
    1000000074-Inventory document number
    When i try in LI21 ,I get msg no data exist.
    What does this mean
    How proceed and complete the PI.
    Edited by: murugan sivakumar on Nov 5, 2009 11:17 AM

  • SQL distinct count

    Hi..
    Can anyone tell me how to do the SQL
    SELECT EMPNO,DISTINCT(COUNT(SALARY))
    FROM EMPLOYEE
    Thanks in Advnace......
    Rajeshwari

    You need to count the distinct account_keys in the account table as an in-line view and join that to the product table. Something like:
    SELECT p.product_key, p.name, a.cnt
    FROM product p,
         (SELECT product_key, COUNT(DISTINCT account_key) cnt
          FROM account
          GROUP BY product_key) a
    WHERE p.product_key = a.product_keyAlthough, your sample data gives odd results because there are two entries for p1 A and product p4 has two names D and B, although since it does not appear in accounts, it makes no differene in this particular case.
    If you actually want to show all of the products from the product table and a zero count if they do not appear in accounts, then you need an outer join, something like:
    SELECT p.product_key, p.name, NVL(a.cnt, 0) cnt
    FROM product p
    LEFT JOIN (SELECT product_key, COUNT(DISTINCT account_key) cnt
               FROM account
               GROUP BY product_key) a
       ON p.product_key = a.product_keyHTH
    John

  • Cycle count Process - T code MI04

    Hi all,
    I am having a doubt in cycle count process.
    I have created some CC document using MI01. When I go to MI04 to enter actual count; I could see that some of the line itmes are non editable. One observation is that; column ZC (Zero count) against non editable material is set as clicked.
    what does it mean to have ZC (Zero count)indicator clicked.
    also even there are some material in same documents for which available quantity in SAP is zero; still they are editable and ZC indicator is not marked.
    kindly guide.
    regards,
    Parshuram

    Someone must have entered the ZC.
    Quantity field cannot contain 0. SAP does not consider it as an entry. Hence if you find that there is no stock for an item, you select ZC (to signify 0 stock) since you cannot enter 0 in quantity.
    Hope this answers,
    Lakshman

  • Count of 0TOTALSTCK

    Hi all
    I'm struggling with a count issue which i hope you can help me with.
    On IC_C03 i need to count the number of entries where 0TOTALSTCK = 0. As 0TOTALSTCK is non-cumulative i don't know the value of each row until query runtime. As such i can't create a counter within the cube.
    Problem is that i can create a calculated KF which outlines 1 for out-of-stock entries and 0 for stock-entries however this only works when the query is drilled to calday/material/plant aggregation level. What i need is for the counter to sum the number of entries even when i drill to a higher level.
    So far I have tried several approaches - including numerous formel variants (DELTA(), COUNT() etc.) without luck. I have also created a Virtual KF which works ok for 0RECTOTSTCK but not for 0TOTALSTCK as the routine can only write values back to the cube for entries which are actually in the cube physically (specific material movements).
    Can any one help me with either one of the following solutions:
    1) How do I create a query counter which sums the number of 0TOTALSTCK values which = 0 even when aggregating to a higher level in the query.
    2) How to get a virtual KF to write a KF value back to the query even though no entries exist in the Cube. Notice i can return the required value as a charecteristic value.
    3) How to count number of charecteristic entries with a specific value
    3) Get a query to send a calculated KF to a Virtual KF routine and return a value based on this
    Currently I'm considering to a code a VB macro in the workbook to get this to work or as a last option change the solution design to use a cumulative scenario instead. However I would really appreciate if any one could help me to avoid this.
    All help are much appreciated...
    /Frank

    Did you try exception aggregation property
    "Counter of all detailed values that are not zero"
    "Counter of all detailed values"
    together they can give you "Counter of detailed values that are zero"
    Reference characteristics need to be selected carefully.

  • Function module to update 'Counted Quantity' in inventory count

    Hi Gurus,
    Are there any function module that can be used to update field counted quantity (LINV-MENGA) in inventory count (tcode LI11N)?
    Thanks & Regards,
    Ari

    Hi,
    Check in the BAPI tocde- Under MM-> Inventory Management to find the Fm or
    Pls try to use this FM for Physical Inventory  -
    BAPI_MATPHYSINV_COUNT
    Pls refer to this BOR object BUS2028 for more FM
    These relaetd BAPIs are stored under a BOR. Check the table TOJTB for the BOR and then in that BOR we can find the related BAPIs.
    Regards
    Lekha

Maybe you are looking for

  • V11.1.0.6.0 on HP-UX B.11.23 (RISC) Database Control

    It's been a while...my newly installed v11 db has the Database Control URL as https - how do I regen to http? System and db version is in the subject line. Thanks

  • Connect invoice to user through WF log

    Ladies and gentlemen, I have a performance problem with WF/invoicing report. I need to show those invoices which were approved by a selected user. There are thousands and thousands of invoices (10 years of invoicing). I see no way how to connect an i

  • Port 81 and port 441

    Experts: It's said that port 81 can somehow mapped to 441. I have searched the web but found no info about this. Is there any relation between the 2? Thanks!

  • GUI_UPLOAD   NO_AUTH_CHECK

    I am calling  GUI_UPLOAD method and I am getting an exception 06 on the authority check.    I notice there is a NO_AUTH_CHECK parameter that can be set on the function module to bypass this check.   However, in the method call this parameter is missi

  • How to handle Pension data

    Hi, I wonder could I get some advise on the best way to handle the following task, bulk import pension data from a legacy system into the HRMS module, Which tables hold pension information and need to be updated and which form/reports can be used to