Table mtl_material_transactions_temp  with Negative balances not allowed

Hi,
I have uploaded few wrong cycle count adjustments that got duplicated and now
they are stuck in
table mtl_material_transactions_temp  with error
Negative balances not allowed
Is there a way to fix them as they are showing  in Un-processed material when
I try to close the period.
I need to close they period.
Re-submitting them also dont works and it get the same error.
Is there a way to get rid of these record?
thanks for help.
7Z

hi,
If this message you are getting Negative balances not allowed, you need to increase the onhand quantity in the subinventory and reprocess or better you can delete the record and try it again with the corrections.
Regards,
Syed

Similar Messages

  • Moving assets with negative balance to zero.

    Hello everybody
    I have an asset account with negative balance because the monthly depreciation, but now the settings for this account must be zero and not allow negative balances. Which could be the procedure to don't have this account in negative balance anymore and move it to zero and what do I have to change or configure to don't allow any more depreciation for this account.
    Thanks a lot

    Hi Paul, I'm sorry to reopen this post again but I got an error when I did what you said, the situation was that I couldnu2019t change de depreciation key Trans: AS02, because I got an error message saying "Depreciation key xxxx should no longer be changed because the asset has been posted to already". Do I have to make something before in customizing or movement to make this change?
    Thanks a lot
    Regards
    Felipe

  • Error - Negative values not allowed

    Hi,
    I was running a BDC program with the user for F-28 Post incomming payments. After processing the BDC session it is giving the error saying Negative values not allowed. Can some one please help me find out what is this error and how to fix it.
    Thanks,
    Neelu.

    Hi Neelu,
    just take 2 records in the flat file and run it in the foreground with functional guy.
    This issue is belongs to Configuration , so better to sit with functional and show them where the error is raised .
    if not the configuration problem just check in the flat file the values available is with -ve r not .
    No Doudt this is mostly functional configuration.
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

  • Help req for check customer table maintenance with XD02 if not throw error

    hello ABAP GURUS,
    check customer of the table maintenance with XD02 if not throw error i have given the codition for passing the values in the table but before that it has to check whether the customer i am passing in to the table is a customer from xd02.Here whatever no i am passing it is accepting it should not happen, but when i give the customer which is not a customer it should not accept but it has to throw the message as 'customer does not exist.Its urgent please help me
    TYPES: BEGIN OF TY_KNVI,
    KUNNR TYPE KUNNR,
    TATYP TYPE TATYP,
    TAXKD TYPE TAKLD,
    END OF TY_KNVI.
    DATA : VALIDFROM TYPE GUEBG,
    VALIDTO TYPE GUEEN.
    DATA : IT_KNVI TYPE STANDARD TABLE OF TY_KNVI,
    WA_KNVI TYPE TY_KNVI OCCURS 0 WITH HEADER LINE.
    DATA : V_NAME TYPE SYUNAME.
    SELECT KUNNR
    TATYP
    TAXKD
    FROM KNVI
    INTO TABLE WA_KNVI
    WHERE KUNNR = YYV_CFORM-KUNNR
    AND TATYP = 'ZCST'
    AND TAXKD = '1'.
    V_NAME = SY-UNAME.
    YYV_CFORM-ENTEREDBY = V_NAME.
    IF SY-SUBRC NE 0.
    MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'.
    ENDIF.
    I have used the following code to enter the data into the table maintenance it is working fine and throwing the error when the tax type is not the one which i have given in the select statements but the problem is when i have given the customer no which is not there in the XD02 tcode, it is accepting and showing the error message as MESSAGE E000(E4) WITH 'Please change the tax classification of ZCST as' '1' ', in Sales Area Data'. now i have to check the customer no from XD02 and if it is existing in that tcode it should allow to save in the table maintenance otherwise throw a message as the 'Customer no does not exist, this I am unable to write so how can i check please help me .
    thankx in advance.
    Edited by: soni khadary on Apr 22, 2008 7:55 AM

    Hi Kelly,
    I guess <wa_tab>-handle_style is of type lvc_t_styl therefore you can do the following:
    ls_edit-style = cl_gui_alv_grid=>mc_style_enabled.
    "I assume you know your non-key fields' names so you can use subrotuine to perform update on each of them
    ls_edit-fieldname =  'First field name' .
    PERFORM update ls_edit.
    ls_edit-fieldname =  'Second field name'.
    PERFORM update ls_edit.
    ls_edit-fieldname = 'Third field name'.
    PERFORM update ls_edit
    FORM update USING fs_edit type lvc_s_styl.
    field-symbols: <style_tab> type lvc_t_styl,
                         <style_wa> type lvc_s_styl.
    LOOP AT <tab> ASSIGNING <wa_tab>.
       if e_row = sy-tabix .
         "get you style table
         assign component 'HANDLE_STYLE' of structure <wa_tab> to <style_tab>.
         "as <style_tab> is typed fully you can read the row you are interested in
         read table <style_tab> assigning <style_wa> with key fieldname = fs_edit-fieldname
         if sy-subrc = 0.
           "update this entry
            <style_wa> = fs_edit.
    *        modify table <style_tab> from <style_wa>. 
         endif.
       endif.
    endloop.
    endform.
    Note!
    Though, this should work, the use of RTTI as Uwe suggested would be best practise approach as far as dynamic programming is concerned. Anyhow it is still up to you which one you pick.
    Regards
    Marcin
    I noticed now that this line is not necessary
    modify table <style_tab> from <style_wa>. 
    as we simply are working with field symbols, so changes made to <style_wa> are already visible in that table <style_tab>.
    Edited by: Marcin Pciak on Mar 15, 2009 12:44 PM

  • Negative quantity not allowed for Put Away Planned

    Dear Experts,
    I'm trying to activate the PDI document but the system show the error message: Negative quantity not allowed for Put Away Planned.
    I was looking the document flow from the item 10 and I saw there is one task was created with quantity "1 box" and the same document was cancelled but the quantity "2 box" was cancelled. I believe because of this is happening the error.
    All items from my HU is with the same problem, duplicate the quantity during canceling.
    Somebody can give me advice how fix it.
    I found a SAPNote but Note 1674037:Negative Put Away Planned quantity (PWP) due to "Store HUs" but I need a workaround to fix my actual PDI and finish the process.
    Regards,
    Alan Mattos

    Hi Petr,
    I checked the transaction SMQ2 and I dont have anything stuck there. Then I tried to change de deliveryquantity but the field quantity isn't available to change. My PDI document already been the Goods Receipt Status "Completed". I try to reverse this document and the system show the message: Delivery is locked (Posting Not Possible). I believe its happening because the PDI isn't active.
    Do you have other idea ???
    Thank you a lot for your help. 

  • Negative Balance with cash account not allowed

    Dear Expert,
    I want to stop transaction with negative cash balance in Cash account.
    How do I do it? Please help me.

    Hello sujankjana ,
    Please try this in SP_Transactionnotification procedure.
    IF @transaction_type = 'A' ANd @object_type ='46'
    Begin
    Declare @Amount decimal(10,3)
    Set @Amount = (Select T3.CurrTotal from OACT T3  where  T3.AcctCode  = (Select CashAcct from OVPM where DocEntry = @list_of_cols_val_tab_del ))
    if @Amount < 0
    Begin
    Select @error = 17 ,@error_message =N'We have not sufficiant Cash Amount '
    end
    end
    if any query kindly revert back.
    Thanks & Regards
    Manvendra Singh Niranjan

  • In the Value Mapping Table n:1 relations is not allowed???

    I'm using Value Mapping but if I try to fill the Value Mapping Table with 2 different source values (e.g AA, BB) and the same one as target (e.g. ZZ) the Integration Builder does not allow it.
    I receive the message:
    "Rappresentation already exists.
      BB | ZZ
      AA | ZZ
    Do you want to delete it from the existing group and assign it to the current group instead?
    Any idea?
    Sergio
    Message was edited by: Sergio Ferrari

    Hi Sergio,
    I think it does allow you to have n:1 relations. The error you are getting is because the mapping already exists in another group. You can try to display it to see which group the mapping belongs to.
    Nevertheless, since it exists, you do not to enter it again. You are able to use it in your mapping program anyway.
    Regards,
    Hart

  • The reference to the table, view or sequence is not allowed in this context

    Hi,
    I'm triying to execute the SP that I describe below and the OS give me an error:
    CREATE OR REPLACE PROCEDURE DWARE.P_CSCV_AGR_MONTH_REVENUE
        TBL_NAME VARCHAR2,
        START_DATE DATE,
        RESULT_ OUT NUMBER
      ) AS
      BEGIN
      DECLARE
        v_tbl_name VARCHAR2(30);
        v_start_date DATE;
        v_result NUMBER := 0;
        v_select_aux VARCHAR2(32767) := ' ';
        v_temp_table VARCHAR2(30);
        v_exists NUMBER;
      BEGIN
        v_tbl_name := TBL_NAME;
        v_start_date := START_DATE;
        v_temp_table := 'temp_' || v_tbl_name;
        SELECT count(*) INTO v_exists FROM tab WHERE lower(tname) = lower(v_temp_table);
        IF (v_exists = 1) THEN
          v_select_aux := '
            DROP TABLE ' || v_temp_table || ' CASCADE CONSTRAINTS PURGE
          EXECUTE IMMEDIATE (v_select_aux);
          COMMIT;
        END IF;
        v_select_aux := 'CREATE TABLE ' || v_temp_table || ' AS
                                  SELECT ch.date_ month_revenue,
                                       s.date_sub month_sub,
                                       s.codpromoter,
                                       u.OPERATOR,
                                       SUM (ch.total) AS TOTAL_OK
                                       FROM cscv_sub_charges_' || to_char(v_start_date, 'YYYY_MM')|| ' ch
                                       INNER JOIN cscv_subs s
                                       ON ch.id_sub = s.ID
                                       INNER JOIN cscv_users u
                                       ON s.id_user    = u.ID
                                WHERE ch.STATUS = 0
                                GROUP BY ch.date_, s.date_sub, s.codpromoter, u.OPERATOR';
        EXECUTE IMMEDIATE (v_select_aux);
        COMMIT; 
         v_select_aux := '
    INSERT INTO ' || v_tbl_name || ' (
             month_revenue,
             month_sub,
             codpromoter,
             operator,
             TOTAL_0,
             TOTAL_1,
             TOTAL_2,
             TOTAL_3,
             TOTAL_4,
             TOTAL_5,
             TOTAL_6,
             TOTAL_7,
             TOTAL_8,
             TOTAL_9,
             TOTAL_10,
             TOTAL_11
            SELECT
             month_revenue,
             month_sub,
             codpromoter,
             operator,
             TOTAL_0,
             TOTAL_1,
             TOTAL_2,
             TOTAL_3,
             TOTAL_4,
             TOTAL_5,
             TOTAL_6,
             TOTAL_7,
             TOTAL_8,
             TOTAL_9,
             TOTAL_10,
             TOTAL_11
            FROM
               SELECT
                  month_revenue,
                  month_sub,
                  codpromoter,
                  operator,
                  sum(total_ok) total_0,
                  0 total_1,
                  0 total_2,
                  0 total_3,
                  0 total_4,
                  0 total_5,
                  0 total_6,
                  0 total_7,
                  0 total_8,
                  0 total_9,
                  0 total_10,
                  0 total_11
                 FROM '|| v_temp_table ||'
              WHERE to_char(month_sub,''mm/yyyy'') = to_char(sysdate,''mm/yyyy'')
              GROUP BY month_revenue,month_sub,codpromoter, operator
              UNION ALL
              SELECT
                  month_revenue,
                  month_sub,
                  codpromoter,
                  operator,
                  0,
                  sum(total_ok),
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0
                 FROM '|| v_temp_table ||'
              WHERE to_char(month_sub,''mm/yyyy'') = to_char((to_date(sysdate,''dd/mm/yy'') - INTERVAL ''1'' MONTH),''mm/yyyy'')
              GROUP BY month_revenue,month_sub,codpromoter, operator
            GROUP BY month_revenue,
             month_sub,
             codpromoter,
             operator
        EXECUTE IMMEDIATE (v_select_aux);
        v_result := v_result + SQL%ROWCOUNT;
        COMMIT;
        v_select_aux := '
          DROP TABLE ' || v_temp_table || ' CASCADE CONSTRAINTS PURGE
        EXECUTE IMMEDIATE (v_select_aux);
        COMMIT;
        RESULT_ := v_result;
      END;
      END P_CSCV_AGR_MONTH_REVENUE;
    BEGIN
    DWARE.P_CSCV_AGR_MONTH_REVENUE(CSCV_AGR_MONTH_REVENUE,'01/01/2010');
    END;
    /and the output is:
    Error at line 1
    ORA-06550: líne 2, column 32:
    PLS-00357: The reference to the table, view or sequence 'CSCV_AGR_MONTH_REVENUE'  is not allowed in this context
    ORA-06550: líne 2, column 1:
    PL/SQL: Statement ignoredwhat could I do to resove the problem??
    Thanks in advance...

    Hi,
    Your procedure's signature is
    CREATE OR REPLACE PROCEDURE DWARE.P_CSCV_AGR_MONTH_REVENUE
    TBL_NAME VARCHAR2,
    START_DATE DATE,
    RESULT_ OUT NUMBER
    ) i.e. it is expecting two input parameters, TBL_NAME in VARCHAR2 format and the other START_DATE in DATE format. Also you need a variable with data type as NUMBER to hold the value of OUT parameter RESULT_
    Now look at the way you are calling this procedure
    BEGIN
    DWARE.P_CSCV_AGR_MONTH_REVENUE(CSCV_AGR_MONTH_REVENUE,'01/01/2010');
    END;
    /first parameter has to be a VARCHAR2, so enclose CSCV_AGR_MONTH_REVENUE into single quotes.
    second parameter should be a date, so use to_date() function.
    Lastly declare a variable with data type as Number for holding value of out parameter RESULT_
    Something like this :
    declare
    t_num number;
    begin
    a('CSCV_AGR_MONTH_REVENUE',to_date('01/01/2010','MM/DD/YYYY'),t_num);
    dbms_output.put_line(t_num);
    end;Vivek L

  • Finish Internal Order with Negative Balance - Adjustment Balance

    Hi
    The user did not transfer the budget from one year to the other through the KOCO. This procedure was performed in the middle of this year. During this period, some orders that were closed were negative. What can be done to the orders that were closed with a negative balance?
    The balance transfers for transactions conducted KOCO (and KOCF) and take effect for orders closed?
    What can be done to adjust these commands end with a negative balance? If there is any solution, is it a viable approach?
    I can find any sap notes. I still search...
    Thanks in advanced.
    GLippmann

    Hi Ajay! No, in this case, the balance finish negative because the KOCO was not executed and the IO was close.
    We executed last month the KOCO transaction.
    What can we do to correct the negative balance to these IOs closed in this period?
    Thanks

  • Problem with Exception - "Content not allowed in Prolog"

    I was using org.w3c.dom package to handle all my XML data in JDK 1.4.1 environment. Recently, I have upgraded my Java version to JDK 1.5. When I run my code, while parsing the XML data, it is throwing an Exception - "Content not allowed in Prolog". I know that this Exception is because the XML data does not contain xml declaration in prolog.
    But, I have the code that queries the database and builds the records in XML format. The sample XML is as follows.
    <list>
    <row>
    <fld1>Val1</fld1>
    <fld2>Val2</fld2>
    </row>
    <row>
    <fld1>Val3</fld1>
    <fld2>Val4</fld2>
    </row>
    </list>
    I want to know why the JVM is validating for XML declaration? Why can't it continue parsing the XML in case it is well formed? Is there any way so that I can skip this validation?
    Please reply. I am in a big trouble because, in case some changes are required, I need to implement in many places of my API.

    The isELIgnored flag just fixes this page.
    If you want to use EL on your pages a better solution is to update your web.xml file:
    EL Expressions in JSP2.0 containers:
    In order to evaluate EL expressions, your web.xml file must be up to date.
    If web.xml states that it is version 2.3 or less, then EL evaluation is disabled by default for backwards compatibility.
    So if your web.xml starts with this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>Replace it with this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    Cheers,
    evnafets

  • Rename with resequence does not allow 6 digits

    OS: Win XP
    Bridge: 3.0.0.464
    Batch rename of files allows a sequence number that is limited to 5 digits. Even though the selector control allows you to specify six digits, the sequence number box does not allow the entry of the 6th digit. For example, I have the following:
    New file name:
    text: tf
    sequence number: 40389
    allow: Six Digits
    If I attempt to enter the sixth digit, I get a "beep" and the entry is not allowed. The Preview at the bottom indicates:
    Current file name: tf0001.cr2
    New filename: tf0403980.cr2
    It might also be useful to allow seven digits on the sequence number.
    The motivation for this is to allow perpetual sequence numbers. I have named all of my digital images with the series tf######. At present, I have over 400,000 images in my system. This provides a unique image identification without restoring to additional information such as "date + subject". In this way, all images on my web pages are identified by this simple number and a customer can simply provide a file number as an image reference - no matter when the image was taken or for which event.

    Be careful with setting the user agent to IE because that can make website send content (JavaScript and CSS) files that only work in IE and not in Firefox.<br />
    Google Docs should work in Firefox with the normal settings, unless Ubuntu made some changes with their branded version that is causing problems on that site.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Batch with restricted status not allowed to consumed in Process order/Staged/Deliver

    Hi
    My requirement is batch with restricted status can NOT be
    - consumed in process order via MIGO or MB1A
    - Can not be delivered to Customer
    - Can not be allowed / available to be staged
    Together with your input i want to make development strong/defect free/consider all aspects.....kindly suggest
    Thanks & Regards
    Prashant Gupta

    I still believe that this is configurable  I believe that a PP-PI person can control that restricted stock is not allowed for use in orders.
    Restricted stock should already not be allowed to be sent to a customer.
    I'm not sure what you mean by staged.  That can be different in different places. I assume you mean some type of stock transfer to a different storage location?
    You can also use batch search strategies to prevent selecting restricted stock as well in almost all areas.
    Again, there should not be a need for custom development.
    Craig

  • Display credit balance with negative balance

    Customer forgot to put a check box on above option in company detail. Eventually all the positive(debit) entry for expenses is showing a negative sign eg -1000.00 on the balance figure in Chart of account and vice versa for credit accounts.
    Anyone has idea how to resolve this issue without having to rekey in history transactions?
    Regards
    Thomas

    Hi Thomas Lai
    there is a way.....but first
    SAP would say you MUST re-inport. I agree, if you don't and they find out you played in the database they will not ASSIST you and you would be infringing the agreemnet your company/customer has with SAP.
    Solution 1
    Now i'll give you a solution after a warning. If you go to table OADM and in the column "DispPosDeb", change the value N to a Y. Your own choice.
    Solution 2
    If you do it the legal way, you should export and import everything.Use "import/export transactions from SAP" in administration->data Import/Export->Data import or Data export.
    Hope this helps

  • Omit Customer with negative balance when printing aging

    Hi All
    I am using a crystal layout (converted from PLD) "Collection Report - CR (GB)" that I have downloaded from the portal.
    This is a SAP8.8 version.
    I have managed to add fields that he client wants, but Im having an issue with the selection Criteria.
    Alot of their customer pay in advance so at the time of running the aging, their customer might have a credit balance
    so those statements should not be printed and sent.
    I tried using this in the Record Selection : {PLD__ITEMS.F_154_Format} > '0' - with PLD__ITEMS.F_154_Format being the balance.
    It doesnt leave out the customer its suppose to, instead combines the lines of the next BP with the customer its suppose to leave out.
    I even tried bringing in the OCRD table and using the formula in the record selection OCRD.Balance > 0, but then the entire report is blank.
    Do i have to use that formula for in each section? to suppress the BP with a negatve balance?
    Is there a way to leave them out when running the aging, I tried different option and cant seem to get it right.
    Any help will be greatly appreciated...
    Thank you
    Jerusha

    Hello,
    Thank you for your input. The limitation is solved in 2007 A / 2007 B version as a part of new Internal Reconciliation concept.
    Regards,
    Peter Dominik
    Solution Manager
    B1 Product Definition Team

  • Asset negative posting not allowed

    Hi
    We are running ECC 6.0 with EP3.
    While data migration certain Assets like Land was uploaded with overstated value. The depreciation key used is SLM 0%. Now Auditors are here and negative adjustment of actual asset value is required. For this purpose, in customizing the definition of depreciation area was changed to u2018All values allowedu2019 for Acquisition value.
    We tested by posting an adjustment entry in client DEV (200) transaction code F-02 with posting key 75 and transaction type 101 with success. However when we test the same in client QAS (510) which is a fresh copy of client PRD (700) having the same configuration we come across following error:
    u2018Low value asset max.amount exceeded. No posting allowedu2019
    Message no. AA614
    We understand that above error relates to low value assets hence we checked all relevant setting and Specified Max. Amount for Low-Value Assets + Asset Classes as 0 i.e. No maximum amount check.

    Hi,
    please check the following settings:
    The fileld ANLB-XGWGK (Low-value asset amount and quantity check) is updated at the time of creation of the the asset.                                                                               
    Please check date of creation of the relevant asset, and the date of changing the LVA settings in the asset class. (Transaction OAY2,  select Utilities - Change log)                                                                               
    If you changed the current LVA settings, take into account that they are not relevant for the assets created when other value for V_ANKB_02-XGWGK was active.
    regards Bernhard

Maybe you are looking for