PO upload - migrate the open GR/IR balances

Hi,
We are in pre-go-live period and create a strategy for Purchase Order open items.
We are migarting from SAP 4.6C to ECC 6.0.
The scenario is:
a. PO -100 qty, GR 50 Qty, No IR
b. PO-100 qty, GR 50 qty. IR-25 qty
c. PO-100 qty, GR 100 qty, No IR
Client is looking to have purchase order history documents in new system ECC6.0 and post the GR and IR based on PO for 3 way match.
Could you please explain more how to handle these scenarios.
Regards,
AG

First of all, WE are the consultants, we should consult out customers.
If we are just doing what they are asking for, whithout thinking, then we don't do our job in the right fashion, then we are just replacable technicans.
When you load history like receipt and issues, then you would have to change the "current quantity" when loading the inventory,  I cant believe that an auditor would like to see this.
Further you would need to have the very same moving average prices, otherwise you would post the financial history with different values.
And because you are creating financial posting with GR and IR postings, you would have to change the "current values" on the GL account as well, when you migrate these values.
this is a bottom less pit.

Similar Messages

  • Trying to get the Opening and Closing Balance, 0TOTALSTCK and 0VALSTCKVAL

    Hi Experts, Good Day.
    I am developing a query for Stock Balances, Using Custom cube created with copy from 0ic_c03.
    I am trying to get the Opening and Closing Balance, based on Non-Cumulative KF - 0TOTALSTCK and 0VALSTCKVAL.
    Both The KF's Behaviour for Exception Aggregat. = Last Value
    I am using VARIABLE OFFSET as -1 to get Opening Balance, and just restriction for Closing Balance based on 0CALMONTH
    Unfortunately i am getting data for the periods which does not have data in my Cube. It is taking the total value as closing balance for the periods which we don't have transaction in the cube.
    For Ex. I have data for 09.2010 & 10.2010 a particular material, when i enter 08.2010 as input i am getting the total value of the material.
    I hope you understand the problem and solution soon.
    I will give you more explanation if needed.
    Thanks in Advance....
    Have a great Day Ahead.....
    GopalN

    Hi GopaIN,
    can you explain us process you have done about initialization of data (2LIS_03_BX, cube compression)? it seams like there was data before 09.2010 and you load it with 2LIS_03_BX data source. That data is not in cube, but just used for update markers.
    Edited by: Sasa Todorovic on Mar 25, 2011 9:48 AM

  • Insert and update query to calculate the opening and closing balance

    create table purchase(productid number(5) ,dateofpurchase date,
    qty number(5));
    create table inventory(invid number(5),productid number(5),
    idate date,openingqty number(5),closingqty number(5));
    Records in inventory:
    1,1,'01-jan-2009', 10, 20
    2,1,'03-jan-2009', 20, 30
    3,1,'04-jan-2009', 40, 50
    when I enter the purchase invoice for 15 qty on 02-jan-2009
    after say '15-jan-09' , a new record should get inserted
    with opening balance = (closing balance before 02-jan-2009)
    and all the opening and closing balance for that product should
    get affected.
    If the invoice for 20 qty is entered for the existing date say
    '03-jan-2009' in inventory , then the closing balance
    for 03-jan-2009 should get updated and all the following records
    should get affected.
    I need the insert for the first one and update query for the
    second one.
    Vinodh

    <strike>You can do this in one statement by using the merge statement</strike>
    Hmm, maybe I spoke too soon.
    Edited by: Boneist on 25-Sep-2009 13:56
    Thinking about it, why do you want to design your system like this?
    Why not simply have your purchases table hold the required information and then either work out the inventory on the fly, or have a job that calls a procedure to add a row for the previous day?
    If you continue with this design, you're opening yourself up to a world of pain - what happens when the data doesn't match the purchases table? Also when is the inventory cut-off to reset the opening/closing balances? Monthly? Annually? Weekly? If it's set to one of those, what happens when the business request the inventory for a particular week?
    Edited by: Boneist on 25-Sep-2009 13:59

  • How to Migrate the open transports in CTS+

    Hi Experts
    We are planning to implement CTS+ in our organisation, after implementing the CTS+ it's possible to migrate the open transports  in CTS+
    Thanks & Regards
    Venkat

    Hi venkat,
    what i understand is you are already having some TR on which work is gng on and now you want to add.
    no problem
    in your CTS+ when you create a TR just merge the old TR into this
    or
    you can also you the Copy objects
    in SE09
    this is very common technique use by developers so just ask them to check in se09.
    how it ans ur query
    Regards
    Prakhar

  • Migration of Open GR/IR Balance

    Hi,
    We are implementing SAP & we have to migrate open GR/IR balance from legacy system to SAP.
    In legacy system there is no GR/IR account however there is a liability account against which Inventory is booked.
    Let's say we have migrated the balance through GL Balance. If we receive invoice from the vendor for the same value then there is no problem however if the invoice value differs from the liability created then how to handle the same?
    Regards,
    D

    Hi D,
    The usual way is, to reconcile the old GR/IR balance in the old way as much as possible. It means, that the balance is posted to a separate account (not the GR/IR from MM) by open items, which will be understandable for the users (usually through a meaningful Assignment).
    Incoming vendor invoices for these cases may be booked as FI invoices against this account with the same "label" (Assignment etc.) and it is reconciled the same way as any other open-item account (e.g., subtotal items by assignment, automatically clear matching ones and investigate others). Or, perhaps a better way is, to keep running the legacy application for invoice verification for all the old cases (where goods receipt occurred in legacy). Posted invoices should be interfaced to SAP, to the open item account mentioned above. This should be done if the migrated volume is high and you want to keep the invoice verification automated even for the old cases.
    So, in general, the usual approach is to open a separate open item account, make an initial migration of the balance (split by meaningful open items) and then make sure that incoming invoices are labeled in the same way, whether manually or automatically. Users should keep an eye on it and follow up on the items (clearing or investigating). After a few months, there should hopefully be nothing left (although reality is often different) and the account should be blocked against posting. But having open items (by purchase etc., similar to SAP purchase orders and items) is the key to reconciling it.
    I have not yet seen re-creating old purchase orders with goods receipts in SAP, although this is also an option (you just need to offset the migrated goods receipts against a negative movement for initial stock upload to keep everything in balance, but it should work as well - perhaps even better than the above. But it is more complicated for data migration and therefore not as common.)
    Hope it helps - good luck!

  • To caluclate the opening balances

    I want to calulate the opening balances and closing balances for each month in the result like this :
    Month uom Opening Closing
    Apr
    May
    Jun
    Jul
    Aug
    sep
    Oct
    Nov
    Dec
    Jan
    Feb
    Mar
    SELECT UOM,
    SUM(OPSTK) OPSTK, SUM(OPVAL) OPVAL
    SUM(INQTY) INQTY, SUM(INVAL) INVAL,
    SUM(OUTQTY) OUTQTY, SUM(OUTVAL) OUTVAL,
    SUM(CLSTK) CLSTK, SUM(CL_VAL) CL_VAL
    FROM
    SELECT
    UOM, ITEM_CODE, ITEM_NAME,
    ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL,
    ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL,
    ROUND(OUTQTY/CNV/ML,2) OUTQTY, ROUND(OUTVAL,3)OUTVAL,
    ROUND((NVL(OPSTK,0)+NVL(INQTY,0)-NVL(OUTQTY,0))/CNV/ML,2) CLSTK,
    ROUND((NVL(OPVAL,0)+NVL(INVAL,0)-NVL(OUTVAL,0)),3) CL_VAL
    FROM
    SELECT
    ITEM_UOM_CODE UOM, ITEM_CODE, ITEM_NAME,
    IU_CONV_FACTOR CNV,
    IU_MAX_LOOSE_1 ML
    FROM OM_ITEM,OM_ITEM_UOM
    WHERE ITEM_CODE = IU_ITEM_CODE AND IU_UOM_CODE = ITEM_UOM_CODE
    SELECT
    SL_ITEM_CODE OP_ICODE,
    SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU) OPSTK,
    ROUND(SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1),2) OPVAL
    FROM OS_STK_LEDGER
    WHERE SL_DT < TO_DATE(:P249_DATE1,'DD-MM-YYYY')
    GROUP BY SL_ITEM_CODE
    SELECT
    SL_ITEM_CODE TX_ICODE,
    SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_QTY_BU)INQTY,
    SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_VAL_1) INVAL,
    SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_QTY_BU)OUTQTY,
    SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_VAL_1) OUTVAL
    FROM OS_STK_LEDGER
    WHERE SL_DT BETWEEN TO_DATE(:P249_DATE1,'DD-MM-YYYY') AND TO_DATE(:P249_DATE2,'DD-MM-YYYY')
    GROUP BY SL_ITEM_CODE
    WHERE ITEM_CODE = OP_ICODE(+)
    AND ITEM_CODE = TX_ICODE(+)
    AND ITEM_CODE LIKE 'R%'
    --AND   ITEM_CODE LIKE :P249_ITEMCODE
    ORDER BY ITEM_CODE
    GROUP BY UOM
    The below given query gives me the opening and closing balances, for the date range entered by me.
    For ex. if I enter the date in TO_DATE(:P249_DATE1,'DD-MM-YYYY') field as '01-04-2008', then i get the opening balance for the month April. The SL_DT is the date column in the table.
    Kindly guide me for this to solve..

    There seems to be a problem with your query formatting. I've formatted it and the ORDER BY clause is not needed in the In line view. Remove it. I have added new GROUP BY column.
    SELECT UOM,
           SUM(OPSTK) OPSTK, SUM(OPVAL) OPVAL
           SUM(INQTY) INQTY, SUM(INVAL) INVAL,
           SUM(OUTQTY) OUTQTY, SUM(OUTVAL) OUTVAL,
           SUM(CLSTK) CLSTK, SUM(CL_VAL) CL_VAL
    FROM ( SELECT UOM, ITEM_CODE, ITEM_NAME,
                  ROUND(OPSTK/CNV/ML,2) OPSTK, ROUND(OPVAL,3)OPVAL,
                  ROUND(INQTY/CNV/ML,2) INQTY, ROUND(INVAL,3) INVAL,
                  ROUND(OUTQTY/CNV/ML,2) OUTQTY, ROUND(OUTVAL,3)OUTVAL,
                  ROUND((NVL(OPSTK,0)+NVL(INQTY,0)-NVL(OUTQTY,0))/CNV/ML,2) CLSTK,
                  ROUND((NVL(OPVAL,0)+NVL(INVAL,0)-NVL(OUTVAL,0)),3) CL_VAL
           FROM ( SELECT ITEM_UOM_CODE UOM, ITEM_CODE, ITEM_NAME,
                         IU_CONV_FACTOR CNV,
                         IU_MAX_LOOSE_1 ML
                  FROM OM_ITEM,OM_ITEM_UOM
                  WHERE ITEM_CODE = IU_ITEM_CODE AND IU_UOM_CODE = ITEM_UOM_CODE
                 ( SELECT SL_ITEM_CODE OP_ICODE,
                          SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU) OPSTK,
                          ROUND(SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1),2) OPVAL
                   FROM OS_STK_LEDGER
                   WHERE SL_DT < TO_DATE(:P249_DATE1,'DD-MM-YYYY')
                   GROUP BY SL_ITEM_CODE
                 ( SELECT SL_ITEM_CODE TX_ICODE,
                          SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_QTY_BU)INQTY,
                          SUM(DECODE(SL_RCVD_ISSD,'R',1)*SL_VAL_1) INVAL,
                          SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_QTY_BU)OUTQTY,
                          SUM(DECODE(SL_RCVD_ISSD,'I',1)*SL_VAL_1) OUTVAL,
                          trunc(SL_DT, 'MM')
                   FROM OS_STK_LEDGER
                   WHERE SL_DT BETWEEN TO_DATE(:P249_DATE1,'DD-MM-YYYY') AND TO_DATE(:P249_DATE2,'DD-MM-YYYY')
                   GROUP BY SL_ITEM_CODE, trunc(SL_DT, 'MM')
           WHERE ITEM_CODE = OP_ICODE(+)
           AND ITEM_CODE = TX_ICODE(+)
           AND ITEM_CODE LIKE 'R%'
           --AND ITEM_CODE LIKE :P249_ITEMCODE
    GROUP BY UOM;Cheers
    Sarma.

  • Migration of open orders

    Hi all,
    does anyone ever use an upload program for Open Sales Order I'm in the Data Migration ,we are migarting with in the sap for the change in the currency to USD so i want to migrate the open sales order with sap with the sme schedule line means no change in the schedule line it should have the same confirmed date and quantity after migration to new comp code , reatp should not happen
    Any help wold be very appreciated.

    Hello again,
    unfortunatelly I am getting a little frustrated here. I am trying to import orders from text-files. The import of the headers works fine, but the items are not imported at all.
    I suspect that I got something wrong in my text files, but I do not know, what it is.
    Typical line from headers.txt:
    1234     1     23456     1000 ... (i.e. ID, STYPE, EBELN, BUKRS ...)
    Typical lines from items.txt:
    1234     2     00010     100-430 ... (i.e. ID, STYPE, EBELP, EMATN ...)
    1234     2     00020     100-431 ...
    Any ideas about what I did wrong?
    Thanks
    Alicia

  • Customer Statement with opening and closing balances

    Dear Forum,
    The users want to generate the Customer Statement with opening and closing balances like the traditional one. The statement now generated gives the list of all open items as on date, but the users want the statement with opening balances as on the date of the begining of the range specified and the closing balance at the end of the period for which the statement is generated. Is there a way to generate the same from the system.
    Thanks for the help.
    Regards,

    Hi,
    SPRO> Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Line Items > Correspondence > Make and Check Settings for Correspondence
    You can use the program RFKORD10 with correspondance type SAP06 for your company code
    This program prints account statements and open items lists for customers and vendors in letter form. For account statements, all postings between two key dates, as well as the opening and closing balance, are listed.
    Regards,
    Gaurav

  • Opening and Closing Balances -SAP

    Hi experts
    please explain me about the Opening and Closing Balance in SAP? and what is the use of Opening and closing Balance?
    regards
    anand

    Hi Ananda
    opening balance : when  ever u run any financial report for example a  ledger profit and loss account then it has a opening balance and a closing balance
    say for example if we see the balance of our cash account in sap at end of the day today then we can consider the balance as x amount as closing balance and when again tomorrow there is some transaction in the same account than this x Amount is considered as the opening balance for tomorrows date
    Hope this would suffice your Concern
    Regards,
    Manish

  • Opening and closing balance between 2 dates

    hi.
    i am facing a problem while fetching the opening and closing balance for a particular G/L account.
    In my  program  i am entering G/L account for a date range i.e, between two dates and i want opening and closing balance for these 2 date ranges.
    So, please tell me is there any function module to fetch opening and closing balance between two dates.
    Regards,
    ROHINI.K.

    Hi Rohini,
                 Check this FM :   BAPI_GL_GETGLACCPERIODBALANCES.
    If we use this functional module, we will get opening and closing balance of corresponding G/L Acc.
    (e.g)
    CALL FUNCTION 'BAPI_GL_GETGLACCPERIODBALANCES'
        EXPORTING
          companycode                   =  '1000'
          glacct                              = '0000548101'
          fiscalyear                         = '2007'    
         currencytype                      = '10'
       IMPORTING
    BALANCE_CARRIED_FORWARD       =  gs_bal-balance
         RETURN                                        =  v_return
        TABLES
          account_balances                            = gt_bal.

  • Opening and Closing balance of a material

    How to check the opening and closing balance of a material in a given period?
    GL account /Plant/material number is known
    Can we see along with the PO/reservations made  in this period?
    Is there any report or Tcode?

    In mbew and mbewh table u will get the value and stock of material at plant level  for each period( if plant is valuation level ) . GL account u will get from valuation class attched to material master.
    Else use fi tcodefbl3n .
    if u want closing balance for period 6 then you  goto fbl3n and run the report for the GL ACC of stock till period 5. In that go to menu and in that special fields add bseg-matnr and bseg-plant and then sort the report on material/plant level. this will opening balance for period 6.
    then run same report till period 6 and this will give closing balance for period 6.
    this two report give opening and closing balace for period 6.

  • Opening And Closing Balance Table

    Hi All
    Will any one tell me table name and field name which contain the Opening and closing balance quantity at any specific date ?
    Thanks and regards
    Deepak Tyagi

    Hi Deepak Tyagi,
    FYI: There is no such table/field exists.
    Thanks,
    Gordon

  • Open Sales Order Balance incorret

    Dear All,
    When you copy a Sales Order to an AR-Invoice and then increase the line quantity on the AR Invoice, the Open Sales Order Balance on the Business Partner Master Data shows a negative amount.
    E.G.
    Sales Order 10 Chairs @ R1000 = 10000 (Open Sales Order balance in bp master = 10000)
    Copy to AR Invoice
    AR Invoice 12 chairs @ R1000 = 12000 (Open Sales Order balance in BP maser = -2000)
    When subsequent sales orders are added their is a  - 2000 diff between the Sales order balance and actual open sales orders.
    Can you please tel me how to correct this.
    Best regards
    Erika

    Hi,
    Please run the Query from the Note no. : 999124 and check whether the item in the sales order appears in the results obtained.
    If yes then you need to log a support ticket to get your issue investigated.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Which DTW template to use to import all the open G/L Accounts 14k accounts.

    Hi Forum,
    I have imported a customers nearly 14K (14,000) G/L accounts using DTW. They are all the top drawers namely, Assets, Liabilities, Equity, Revenue, Cost of Sales and Expenses. The customer uses 5 dimensions hence many accounts.
    I believe some segment counts might be missing or even gone to wrong drawer due to mapping or wrong data we got.
    Nevertheless I want to do this.
    Import all of G/L account opening balances as of say last subperiod month say March/2011. Then I want to run trial balance and make sure they all balance.
    I know how to import open balances manually for G/L accounts, but I want to know how to import it using DTW?
    The question I have is - which DTW TEMPLATE do I use to import all G/L opening balances? It is not just inventory assets, but I want to import all of the opening G/L balances for all accounts including Revenues and Expenses.  Is this feasible? and a GOOD exercise to ensue all accounts are present and in right drawers?
    Look forward to you expertise. Thank you.

    Hi,
    14K (14,000) G/L accounts may not be good for B1. The performance of the system would be deteriorate very soon.
    I still don't understand what this customer wants.
    Thanks,
    Gordon

  • Migration of open POs

    Hi,
    Can any one explain how we can migrate the Open PO in the following scenarios
    1)PO has been made in legacy but there is no GR and IR yet
    2)PO has been made in legacy and GR has been made in legacy and IR yet to be made
    Plz reply with possible accounting entries also along with T codes and movement types in SAP.
    Points will be awarede for good replies.
    Thanx,
    Edu

    Hi,
    the standard way of migrating open orders is by using a plain text file. OPs with or without GR can be migrated.
    Please refer to this documentation for a detailed decription of how to do it:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/63/20d634781a1b7ee10000009b38f83b/frameset.htm
    Alicia

Maybe you are looking for