To correct a great quantity of  G/L entries generated by stock I/E

Hello,
Following an error of parameters settings for stock accounts in Business One 2005A (due to Bo vendor incompetence ), inventory transactions caused many incorrect entries in G/L.
State of inventory binds the articles in stock on accounts which are not stock accounts.
I must correct these writings. How to do that ?
With thanks

Would'nt it be possible to do it by code ?
Or may be to put the inventory statement flat (no value) and to reimport the good one.
I'm so suprised that there are no productive solution fur such a problem !
In fact sun an errors might occur in many cases ; for instance I notice this one (a bug ?).
When you create a nomenclature mixing items declared as goods and items declared as services, and for this last one an account of expense instead of a stock account (which is regular because services are not stocked) , B1 will use this account of expense for all stocks movements !
And then the only way is to manually conterpass all these wrong writings !
Really ! ... unefficient.
With thanks.
Jerome

Similar Messages

  • VL02N , How to correct the deliverd quantity in vl02n for the batch items .

    Hi,
    How to save the order if the correct picking value if the item is batch managed.
    When we are in Delivery -> Item->batch split screen, we have an option Adj Del Qty. When  this is clicked, than delivery qty is updated correctly. When this is not done, delivery is saved with mismatch between cumulative batch quantity and delivery quantity.
    Could any one has an idea how to save the order with the correct delivery quantity when the  batch split -> Adj Del Qty is not clicked.

    I am thinking you want to show the rejected quantity on the Parent Item in the Inventory Tab.
    Use the following SQL for showing the Net Available Qty after subtracting the rejection.
    <b>SELECT T0.OnHand - T0.IsCommited - (SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R')
    FROM OITW T0
    WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]</b>
    Use the following SQL to get just the rejected quantity
    <b>SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R'</b>
    Suda

  • BSW% is not considered for correcting the transactional quantity

    I  solicit a little help from the Group. We have a Crude Vendor  which is also in SAP platform . They have implemeted TSW and now Crude delivery tickets are generated from System.
    On scrutinty of ticket It is observed taht BS&W percentage is not considered while calulating quantities in Transaction UOM.
    Transaction code : O3QCITEST.
    Conv. Group = ZCDR.=53&54A 15 °C CRUDE OIL
    UoM Group = CRD.=L/L15/KG/BB6
    Transaction Quantity = 100 L.
    Material temp = 30 deg-C
    Test temp = 15 Deg-C
    Test relative density = 870 KGV.
    With the above data if you put BSW% = 0, then additional quantities calculated are 0.622 BB6, 85.938 KG, 98.779 L15 , 100 L.
    if you put BSW% = 0.5, then additional quantities are 0.618 BB6, 85.508
    KG, 98.285 L15 , 100 L.
    From above it is clear that the additional quantities in all units except in "L" change whenever the BSW% changes. This shows that BSW% is not considered in calculating the "L" quantity.
    In actual practice BSW correction should happen for Transactional Quantity also.
    If you have any solution for the above scenarion . please suggest.for necessary correction.
    regards
    Dipak
    [email protected]

    Dear Vishnu
    You r right . Standard SAP behaves that way only. We modified badi OIB_QCI_ROUND_QTY
    method: IF_EX_OIB_QCI_ROUND_QTY~ROUND_QTY
    coding atatched.
    Anyway thanks for reply.
    METHOD IF_EX_OIB_QCI_ROUND_QTY~ROUND_QTY .
    Local Data
      TYPES: T_CTPARAM TYPE OIB_A10,
             T_ADQNT TYPE OIB_A05.
      DATA:  S_CTPARAM TYPE OIB_A10,
             S_ADQNT  TYPE OIB_A05,
             S_ADQNTN TYPE OIB_A05.
      DATA : L_BSW(72) TYPE C.
      DATA: W_PAR_FLTP TYPE OIB_A10-PAR_FLTP,
            WF_BSW     TYPE OIB_A10-PAR_FLTP .
      DATA: IT_PARAM  TYPE STANDARD TABLE OF T_CTPARAM,
            IT_ADQNT  TYPE STANDARD TABLE OF T_ADQNT,
            IT_ADQNTN TYPE STANDARD TABLE OF T_ADQNT.
      DATA: W_TABIX TYPE SY-TABIX.
      DATA:  W_DIMENSION TYPE  T006-DIMID,
             W_TEXT      TYPE  T006T-TXDIM,
             W_MEINS     TYPE  T006-MSEHI ,
             L_MENGE     TYPE  MLEA-MEINH ,
             WA_PARAM    TYPE  OIB_A10 .
    *-----DATA DECLARATION FOR L15 START -
      DATA : WF_ADQNT_L     TYPE  OIB_A05-ADQNT,
             WF_ADQNT_L15   TYPE  OIB_A05-ADQNT,
             WF_ADQNT_TMP   TYPE  OIB_A05-ADQNT,
             WF_ADQNT_ROUND TYPE  OIB_A05-ADQNT,
             WF_ADQNT_KG    TYPE  OIB_A05-ADQNT.
    *-----DATA DECLARATION FOR L15 END -
      IT_ADQNT = TC_QT2TAB.
      READ TABLE ITC_PARAM INTO S_CTPARAM WITH KEY FIELDNAME = 'UMRSL'.
      IF SY-SUBRC = 0 AND S_CTPARAM-PAR_CHAR = 'ZCRD' .   "’ .   "AMP
        READ TABLE ITC_PARAM INTO S_CTPARAM WITH KEY FIELDNAME = 'MEINH'.
        W_MEINS = S_CTPARAM-PAR_CHAR.
        IF W_MEINS NE SPACE.
          CALL FUNCTION 'DIMENSION_GET_FOR_UNIT'
            EXPORTING
              LANGUAGE       = SY-LANGU
              UNIT           = W_MEINS
            IMPORTING
              DIMENSION      = W_DIMENSION
              TEXT           = W_TEXT
            EXCEPTIONS
              UNIT_NOT_FOUND = 1
              OTHERS         = 2.
        ENDIF.
        IF W_DIMENSION = 'VOLUME'.
          READ TABLE ITC_PARAM INTO S_CTPARAM
            WITH KEY FIELDNAME = 'BSWCN'.
          WF_BSW = S_CTPARAM-PAR_FLTP .
          READ TABLE IT_ADQNT INTO S_ADQNT WITH KEY MSEHI = 'MT' MANEN = ' '.
          IF SY-SUBRC = 0.
            W_TABIX = SY-TABIX.
            S_ADQNT-ADQNT =
                    S_ADQNT-ADQNT * ( 1 -  ( S_CTPARAM-PAR_FLTP / 100 ) ).
            MODIFY IT_ADQNT   FROM S_ADQNT INDEX W_TABIX TRANSPORTING ADQNT.
            TC_QT2TAB  = IT_ADQNT.
          ENDIF.
          READ TABLE IT_ADQNT INTO S_ADQNT WITH KEY MSEHI = 'KG' MANEN = ' '.
          IF SY-SUBRC = 0.
            W_TABIX = SY-TABIX.
            S_ADQNT-ADQNT =
                    S_ADQNT-ADQNT * ( 1 -  ( S_CTPARAM-PAR_FLTP / 100 ) ).
            MODIFY IT_ADQNT   FROM S_ADQNT INDEX W_TABIX TRANSPORTING ADQNT.
            TC_QT2TAB  = IT_ADQNT.
          ENDIF.
    *-----Start BSW% in Litre Qty----
          READ TABLE IT_ADQNT INTO S_ADQNT WITH KEY MSEHI = 'L' MANEN = ' '.
          IF SY-SUBRC = 0.
            W_TABIX = SY-TABIX.
            S_ADQNT-ADQNT =
                   S_ADQNT-ADQNT * ( 1 -  ( S_CTPARAM-PAR_FLTP / 100 ) ).
            WF_ADQNT_L  = S_ADQNT-ADQNT .
            MODIFY IT_ADQNT   FROM S_ADQNT INDEX W_TABIX TRANSPORTING ADQNT.
            TC_QT2TAB  = IT_ADQNT.
          ENDIF.
    *-----End BSW% in Litre Qty--
    *---L15 start----
          READ TABLE IT_ADQNT INTO S_ADQNT WITH KEY MSEHI = 'L15' MANEN = ' '.
          IF SY-SUBRC = 0.
            W_TABIX = SY-TABIX.
            WF_ADQNT_L15 = S_ADQNT-ADQNT .
            WF_ADQNT_TMP = ( WF_ADQNT_L15 / WF_ADQNT_L ).
            CALL FUNCTION 'ROUND'
              EXPORTING
                DECIMALS      = 4
                INPUT         = WF_ADQNT_TMP
                SIGN          = 'X'
              IMPORTING
                OUTPUT        = WF_ADQNT_ROUND
              EXCEPTIONS
                INPUT_INVALID = 1
                OVERFLOW      = 2
                TYPE_INVALID  = 3
                OTHERS        = 4.
            WF_ADQNT_L15   = WF_ADQNT_ROUND * WF_ADQNT_L .
            S_ADQNT-ADQNT = WF_ADQNT_L15 .
           MODIFY IT_ADQNT   FROM S_ADQNT INDEX W_TABIX TRANSPORTING ADQNT.  " ---Blocked by Prasanta on 08-june-07
            MODIFY IT_ADQNT   FROM S_ADQNT INDEX W_TABIX TRANSPORTING ADQNT.
            TC_QT2TAB  = IT_ADQNT.
          ENDIF.
    *---L15 end----
    *---KG start---
          READ TABLE IT_ADQNT INTO S_ADQNT WITH KEY MSEHI = 'KG' MANEN = ' '.
          IF SY-SUBRC = 0.
            W_TABIX = SY-TABIX.
            READ TABLE ITC_PARAM INTO S_CTPARAM
            WITH KEY FIELDNAME = 'BDICH'.
            WF_ADQNT_KG  = ( WF_ADQNT_L15 / ( 1 - ( WF_BSW / 100 ) ) * ( ( S_CTPARAM-PAR_FLTP / 1000 ) - 11 / 10000 ) ) - ( WF_ADQNT_L15 / ( 1 - ( WF_BSW / 100 ) ) * ( WF_BSW / 100 )  *  9979 / 10000  ) .
            S_ADQNT-ADQNT = WF_ADQNT_KG .
            MODIFY IT_ADQNT   FROM S_ADQNT INDEX W_TABIX TRANSPORTING ADQNT.
            TC_QT2TAB  = IT_ADQNT.
          ENDIF.
    *---KG end---
        ENDIF.
      ENDIF.
    ENDMETHOD.

  • Is there a BAdI to correctly calculate Confirmed Quantity in TLB Shipment?

    Hi,
    We added a new TLB parameter on top of currently existing weight, volume and floorpsots. Now, everything is working fine with the new parameter except for the "Confirmed Quantity (Dest.Loc.)" in the TLB shipment is not showing the total for all the relevant shipment items. The total is actually reflecting the "Confirmed Quantity (Dest.Loc.)" of the first line item in the order.
    Is there a BAdI to correctly calculate the Confirmed Quantity in the shipment level?
    I would really appreciate any help on this. Thank you in advance.
    Arnel

    Hi Arnel,
    Please check the below BADis whether suits your requirements which are TLB based
    /SCA/TLB_EXT     Transport Load Builder Extension
    /SCA/TLB_PRFL_EXT     TLB Profile Extension
    /SAPAPO/SDP_TLBORDER     Manipulation of Deployment Orders Before TLB
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • How to correct Excise duty Quantity (OICURQTY)

    Due to some incorrect account determination, currently the quantity in the Excise duty field (MBEW-OICURQTY) is incorrect. as our Oil content is set at 100%, this quantity should always match the actual stock quantity (MBEW-LBKUM). However it is not.
    How do I get this fixed?

    hello UFA tech team ..
    Did you check the thread below ??
    [LINK|Mapping of Excise duty;
    Do see whether that solutions helps ..
    Best regards
    Manthan.

  • Procurement of more quantity than required in case of non stock items

    Dear Experts,
    Requirement is given below.
    I have one maintenance order with non stock item category N for quantity 5 pieces which is actual need.But user wants to procure 50 pieces against order and consume 5 pieces and rest will keep as stock.
    But in case of procurement against non stock item the moment we received the Goods (GR), all procurement quantity  will goes to consumption account and postings will happen accordingly.Correct me if i am wrong.
    Now my requirement is to keep the remaining stock 45 pieces (5 pieces consumed against actual need) as stock and to be consumed whenever there is a need.Can it possible to keep as stock in storage location which was procured against order as non stock item.
    How can i resolve this issue.
    Please somebody can help me.<<Text removed>>
    Thanks in advance.
    Reddiy.A.V
    Edited by: Matt on Oct 12, 2011 6:46 AM

    For the orders which you consumed, do the reversal of that material document. Also create one GR for the qty which has been returned to vendor & keeping the stock to storage location.
    In future, define those as stock items, so that this work around won't be required.

  • How to avoid invoicing more quantity than the PO's in non stock PO?

    Hello SAPients!
    Scenario: We create a non stock PO with a material that has no number and no material group, when we use MIRO TCode to invoice it we can create the invoice with more quantity than the PO, we can even keep adding quantity to the invoice.
    How can we stop that? How can we configure our system in order to create the invoice with the exact (or less) quantity than the stated in the PO?
    Thanks in advance for your kind help.

    Hi,
    Use t.code: OMRM & Maintain the following messages
    1. M8 -081 Quantities invoiced greater than goods receipt quantity as ERROR ( maintain GR-based IV in the PO item level )
    2.M8 -087( item without GR )  - Invoice quantity greater than PO quantity  as ERROR & save.
    Now try doing MIRO.
    NOTE: If the above setting not work ,then Maintain the messages M8 -081 & M8 -087  as ERROR in OBMSG t.code & save.
    Regards,
    Biju K

  • Populating Quantity fields in Table Maintainance generator Events.

    Hi all,
    I have a custom table, in that i have to check the material number and the quantity of the previously present entries and current entry which i am adding in the before save event.
    However in the total table.... The value of material is getting populated correctly but the value of the quantity is not the actual one which i have entered, It is taking the value 0.00 at runtime.
    Please suggest me the approach when we have to deal with the Quantity fields in the table events.
    Thanks in advance for your help.
    Regards,
    Anuja

    Hi,
    The reference for the Quantity field is provided in the Custom table. However the value of the Quantity is taken as 0.00 at run time.
    Please refer to the below code.
    LOOP AT total.
        IF <action> EQ space.
          l_wa_temp-matnr = total+3(18).
        l_wa_temp-bmenge = total+95(13).
          APPEND  l_wa_temp TO l_i_temp.
          CLEAR l_wa_temp .
        ENDIF.
      ENDLOOP.
    however the  l_wa_temp-bmenge is getting populated as 0.00 however the actual value entered for it is 10
    Regards,
    Anuja

  • Batch Quantity is being posted incorrectly in WM stock

    Hi Experts,
    I would like to share you a question about the batches are being created in the SAP system... When the user does movement type 101 from P.O,  the quantity is being posted correctly in Quality Status - MM Inventory but in WMS Stock, a small part is being posted in Available Quantity status and the biggest part from the batch is being posted in Pick Quantity incorrectly. We would like the total quantity from Batch be posted in Available Quantity in WM... We don't know if this error is about some Master Data QM is missing or some configuration incorrectly from QM... For this reason, I was wondering if you could help us with this issue?
    Please if you need more details I'd be glad to inform you.
    Thanks a lot,
    BR
    Valdevair

    Basically because you have a destructive sample requirement, the system is making a WH request to deal with that quantity of sample.  So you have two orders to deal with.  One to pull or process the sample qty and the other to put away the remaining qty.
    In bulk products we don't usually track the qty's. Since .001 kg out of several hundred KG's is basically insignificant, unless  you deal in something like precious metals.
    If your UOM was 1L bottles however and  you ordered 8000 kgs or roughly 1000 bottles, you might want to show the one bottle as having been consumed since it would indeed throw your inventoy count off.  In that case you sampling UOM would be a bottle. 
    FF

  • Date is not show up in correct format from excel with tab-delimited was generated from query

    Hi,
    My code below worked file and save file into txt file.  However, the date is the problem.  I have to open excel file and manulay change the format of the date to make it shows the correct date, other way, it alutomatic shows 00:00:00 when i first open the file.  How can i make the date automatic shows from the file i generated in excel?
    <cfset tab = chr(9)>
    <cfset Str = "">
    <cfloop query="q_report">
    <cfset Str = Str & q_report.purchasedNo & tab & q_report.desc & tab & q_report.Del_date & chr(13) & chr(10)>
    </cfloop>
    <cffile action="write" output="#Str#" file="#variables.file#">
    thanks

    Have you tried using DateFormat() on the date?
    ^_^

  • T code QA11, quantity can not be posted to blocked stock

    For Inspection lot with system status is   INSP RREC SPRQ, when user tries to perform QA 11 to post stock to blocked stock the system does not allow as "to blocked stock field" is greyed out and also can not chnage the storage location on that screen.
    I have checked the material already exists in the WH/storage location also inspection charachterstics are corrct not sure what else to check.please advise.

    Does not seem like authorisation restriction since user is able to process other QA11 for the same plant/WH and storage location. Does not seem like customisation either since all " Quantity to be posted "options and storage location are greyed out under inspection lot stock Tab
    After Accept atleast system should allow posting to "unrestricted stock " but thats not available either.
    For the same material/plant/WH, I am able to sucessfully post stock when system status is -REL  CALC SPRQ but in this case the status is -INSP RREC SPRQ, what does this signify.Please help

  • Quantity change in Service Entry Sheet

    Dear Sappers,
    My client is procuring Service for different purpose.Their requirement is they need to change the qunatity in Service Entry Sheet.But in Standrd SAP, when I'm maintaining a SES respect to PO, quantity I'm not able to change.
    Is there any way to set tolerance limit in SES.When I'm maintaining SES respect to PO, and changes the quantity, system is giving error message.
    Thanks & Regards
    PKB

    Dear ,
    while creating Service Po in Me22N...
    Go to Service Tab:
    Maintain the Overfulfillment Tolerance in the grid.
    also you can Check the check box of Unlimited.
    Unlimited Overfulfillment
    Specifies whether or not unlimited overfulfillment of requirements (overperformance of a service) is allowed at the time of service entry.
    This will work
    Check this out.
    regards
    Utsav

  • Correction in cenvat on hold account, debit entry to be posted

    Dear Friends,
    During PGR, Correct entry is
    BED - Rs 25600+
    CESS - Rs 512+
    HCESS - Rs 256+
    CENVAT ON HOLD - Rs 26368+
    CENVAT CLG ACCOUNT - Rs 52736-
    But one document found with the following below mentioned entries  -
    BED - Rs 25600-
    CESS - Rs 512-
    HCESS - Rs 256-
    CENVAT ON HOLD - Rs 26368-
    CENVAT CLG ACCOUNT - Rs 52736+
    Now correction is required, RG23 entries i will correct by J1ih, regarding Cenvat on hold, anyone advice, how can be corrected.
    Thanks
    Madhukar

    like u have done following enrty
    cenvat on hold     115 +
    RG23 BED     100 +
    RG23 ECS        10 +
    RG23 H CESS    5 +
    cenvat clearing account   230 -
    now u want to reverse it right
    then u will first have to go to J2I8 and tahe the credit of 115 cenvat on hold account
    so that
    RG23 BED     100 +
    RG23 ECS        10 +
    RG23 H CESS    5 +
    will come to RG 23 C register on credit side
    so ur RG23C registure will have
    RG23 BED     200 +
    RG23 ECS        20 +
    RG23 H CESS    10 +
    now use J1IH other Adj select Rg23C
    for amount
    BED     200
    ECS        20
    H CESS    10
    so that the entry will be passed
    RG23 BED     200 -
    RG23 ECS        20 -
    RG23 H CESS    10 -
    cenvat clearing account   230 +
    this is the std sap way to reverse the Captial credit taken
    hope this helps

  • Smart print worked great on first use now only generates a blank page

    Using IE8 on XP Pro SP3. Installed Smart Print(SP). Activated. Opened new IE browser session. Got web page I wanted to print. Hit Smart Print(SP) button. Exact text wanted was select by SP. Hit Print Preview. All selected text present on PP. Printed.
    Got next page. Hit SP. Exact text again selected. Hit PP. Got preview with Header-Footer only. Hit Print. Same Header-footer printed.
    Closed all IE browser sessions.
    Opened new IE browser session. Got page to print. Hit SP. Exact text selected by SP. Hit PP. Still got preview with Header-Footer only. Print same also.
    Used >>File>Print Preview. All of printable webpage on PP...just not with SP?

    Hello Dave,
    Its nice to see such a explanatory question. As per my understanding of your problem, event on sort begin triggers for the first record of the internal table and making the flag as TRUE. So you just put another condition in the COMMAND node as SY-TABIX NE 1. So it skips for the first record.
    COMMAND generate a new page if condition new page switch = TRUE " & SY-TABIX NE 1

  • PO confirmation greater than PO quantity

    Hi! how is it possible to create 2 inbound deliveries in the confirmation tab that has greater quantity than the PO quantity?  I saw a PO like this, but everytime Im trying to replicate it, the system does not allow me to create it.  Im just wondering how it was created by another user.  Thanks in advance.

    You should consult with purchasing person and maybe post the question in another forum.
    Most companies allw a certain amount of overdelivery.  This is usually set up in the material master and is controlled by the Purchasing value key in the purchasing view.
    You can also set up a purchasing info record and specify a value there in which case it will take precedence over the material master value.
    So it might be that when the first PO was created that you saw, the overdelivery amounts were setup incorrectly.  They might have been set up properly now which prevents you from duplicating the older PO.
    FF

Maybe you are looking for

  • IPhone MMS on other GSM carriers

    Since the iPhone 4 can now be bought unlocked and carrier free in the US, will Apple provide a way to set up MMS on the iPhone?  Currently, the only way to get MMS working is through jailbreaking and I do not wish to do that.  The phone recognized my

  • Java assignment problem

    I'm having a rele annoying problem with my java program i'm trying to write. My teacher has gave us classes to use for an assignment; type.lib.ToolBox; type.lib.CreditCard; each time i import these classes in my main java program an compile it, i get

  • Can't re-enable accounts with workgroup manager

    Morning, We have had cause to disable approximately 100 student accounts earlier this week, and we are now finding that we can not re-enable them. This is a major problem as it's coming to the end of term and they all need to be able to login! The se

  • Transaction SAT - Analyze Performance of Classes

    Hi, is it possible to analyze performance of classes directly? In transaction SAT, I'm only able to execute Transaction, Program, or Function Module. How can I analyze performance using transaction SAT of classes without writing a program? The editor

  • Moving / organizing objects in finder window

    Hey everyone - I'm having problems trying to organize my finder windows. I like to manually move around my files, folders, and applications, but when i drop them into their new location in the finder they overlap ontop of whatever is there instead of