Bapi for uploading opening balances for AUC

Hi All experts,
I want Bapi for uploading opening balances for AUC.
Please help me its urgent.

hi ,
try
BAPI_GL_GETGLACCBALANCE - closing balance of G/L account for a chosen year.
BAPI_GL_GETGLACCCURRENTBALANCE - closing balance of G/L account for the current year
BAPI_GL_GETGLACCPERIODBALANCES - Posting period balances for each G/L account.

Similar Messages

  • Upload opening balances for vendor and customer

    Hi,
    I am going live in 2 days. I want to upload opening balances. Please guide me how do i do it? not with LSMW.
    Please give T code and guide me.
    Its urgent!!!
    Thank You
    Pritam

    you want to Uplode Transactional Data take care of that, beter to Prepare BDC,
    for BDC you have to Record the Transaction Code and Tell ABAPer line items uplode process he will do the Technical Development,
    Ex: F-22
    01 - Customer A/C Dr 100
    50 - Sales                  100
    you have to arrange data in your flat file like this,
    Regards,
    TML

  • Uploading Opening Balances for GL, Vendor & Customer Accounts

    Hi Gurus,
    We are currently on the verge of going live for a client and we need to upload the opening balances.
    I am really not sure how to uploaded the opening balances...
    Can anyone guide me in process/procedure to be followed... Request you to provide if you have some data template....

    Hi,
    The upload of GL Balances have to split into several steps:
    1. Normal GL Accounts: In this case line items are not required and totals are to be updated in SAP. This can be done using GL fast entry if the number is not too high.
    2. Open Item Managed GL Accounts: All the open line items are required to be uploaded in SAP from Legacy in order to clear them. Hence, a LSMW / BDC program has to be developed to upload the line items.
    BAPI_ACC_DOCUMENT_POST - for GL/AP/AR
    BAPI_ACC_INVOICE_RECEIPT_POST - for AP
    BAPI_ACC_GL_POSTING_POST - for GL
    GL Balance
    F-02 or RFBIBL00 or BAPI
    Dr GL a/c Credit Data migration Account or Clearing Account
    3. Customer & Vendor Open Items: All open line items in Customer and Vendor Accounts have to be brought in into SAP. For this also a LSMW / BDC program needs to be developed and upload the line items.
    Vendor Balances
    F-02 or RFBIBL00 or BAPI
    Credit Vendor a/c (individually) and Dr Data migration Account or Clearing Account
    Customer balances
    F-02 or RFBIBL00 or BAPI
    Dr Customers a/c (individually) and Cr Data migration Account or Clearing Account
    4. Asset Accounting: In case asset accounting is implemented the individual balances of each asset (Gross Value and Accumulated Depreciation) have to be uploaded using transaction AS91. For this also you need to develop a LSMW / BDC program. Further, you also need to update the GL Accounts related to Asset Accounts with totals for each asset class T.Code OASV.
    For uploading the Assets
    AS91 -> for uploading assets in AA
    OSAV --> for uploading assets in GL entry Dr Asset (individually) Cr Data migration Account or Clearing Account
    You can use LSMW for uploading all these things
    After uploading all, your data migration account will become zero
    Thanks,
    Rau

  • Steps for Excise Opening Balance for RG1

    Hi,
    Can anybody tell me the steps involved in uploading the stock balance involved for RG1 updates.
    Rgds,
    Indrajit

    Dear Indrajit
    The following is the sequence for RG1 updation:
    1. Set the Loose pack Indicator in SE16 Table J_1IRG1BAL to P. You also have to specify the Excise Group, material Number, User Id and Time of Updation. This entry is to be done only once, the very first time.
    2. Update RG1 in J1I5. For the initial entry, specify the Posting Date and the Classification. You need to be extremely careful on the Classification type you use. If the material is coming from MB1C (Initial Stock Upload, possibly because you have uploaded the existing Stocks based on Cutover data), use ROP. If the updation is because of Production, you need to use Classification type: RMA - Receipt from manufacture". There is a rare possibility you may not see any entry for the manufactured quantity. More on this in Point No: 6
    3. Also update the outward movements of finished goods ( IDH for Domestic Sales and IWE for Exports under Bond/ IDE for Exports against payment of Duty).
    4. Extract the RG1 Register using T Code: J2I5. You must get a Green checkmark.
    5.Print the RG1 Register using J2I6.
    6. Sometimes you may not be able to view the manufactured material when you use RMA indicator in J1I5.(MIGO would have been used with movement type 101). Verify, if in Logistics-General --> Tax on Goods Movement --> India --> Business Transactions --> Incoming Excise Invoices --> Specify which movement types involve Excise Invoices, you have maintained 'RG1 Register' against Movement Types 131 and 132.
    thanks
    G. Lakshmipathi

  • Problem in getting opening balance for multiple GL Account

    Hi,
    I am working on a  Trail Balance Report in which i am trying to fetch the data for the opening balance for multiple GL Accounts but it is not coming accurate.. Here is the link to the code which i am using currently right now:-
    http://docs.google.com/View?id=dfxswwff_13fgpdcbgt
    here i am showing the logic for the data of previous year only... i.e. data from begining to 1 day less of the date-low.

    Hi,
    It is a tranparent table which is getting data from the 2 other tables,the filling of this table is right. The execution of this query is right in the program but the problem comes when it is trying to calculate the opening balance for the respective GL Account present in the query it is not doing it. i.e. if there are 2 gl account ids having 3 rows of data each it is not calculating the of it in a single row.. i hope it is clear now...

  • Uploading Opening Balances

    Dear Experts,
    Is there a way we can upload opening balances for BP, GL and Inventory.
    Where can we find the setup program for Data Transfer Workbench

    Hello Ahmed,
    1 . Request you to go through the below PDF document: Page No. 10 -16.
    http://service.sap.com/~sapidb/011000358700002763252005E.pdf
    2. The setup software for DTW will be avialable in SAP Business One installation CD/ Patch Download:
      Check for Packages directory -> Data Transfer Workbench -> Setup.exe.
    For more information browse the DTW landing page at the below URL:
    http://service.sap.com/~sapidb/011000358700002916332005
    Hope this helps you.
    Best Regards
    Satish

  • How to get Open Balance for the year and Total Ending Balance?

    For a given account, how to get Open Balance for the year (Cumulative Ending Balance) and Total Ending Balance (Cumulative Ending Balance)?
    Is there any function module available? or should I read from some tables? Please advice.

    Hello Paul,
    You could try calling one of the following BAPIs - see which one meets your requirement. They are documented well so shouldn't be a problem finding out the correct one for your requirements.
    BAPI_GL_GETGLACCBALANCE      
    BAPI_GL_GETGLACCCURRENTBALANCE
    BAPI_GL_ACC_GETBALANCE      
    BAPI_GL_ACC_GETCURRENTBALANCE
    BAPI_GL_ACC_GETPERIODBALANCES
    BAPI_COND_VAL_DECRE_BALANCES
    You might have to put in some of your own logic after the BAPI call to get what you want.
    Hope this helps,
    Cheers,
    Sougata.
    p.s. Also look at FM FAGL_GET_ACCOUNT_BALANCE
    Edited by: Sougata Chatterjee on May 7, 2008 11:47 AM

  • Regarding    opening Balances  for customer  as   on date

    hi
    Experts..
      hw  to caluclate the  opening balances for  customers as on date.
      wt is  the procedure &  please    give the  tables names  and send needed stuff.
    Thanks & Regards
    Spandana

    hi..
    Use the BAPI 'BAPI_AR_ACC_GETOPENITEMS'.
    it will give you opning bal for customer.
    example:
    DATA: GT_LINE TYPE TABLE OF BAPI3007_2,
          WA TYPE BAPI3007_2.
    CALL FUNCTION 'BAPI_AR_ACC_GETOPENITEMS'
          EXPORTING
            COMPANYCODE = bukrs
            CUSTOMER    = kunnr
            KEYDATE     = date
          IMPORTING
            RETURN      = lt_bapireturn1
          TABLES
            LINEITEMS   = gt_line.
    table gt_line  will have the details of the open items for the customer.
    regards,
    Padma

  • How to enter opening balances for business partners

    pls let me know end to end process to enter opening balances for business partners.
    thank
    reema

    Hi Reema....
    There are two processes you can enter OB for BP.
    1. Bill waise
    2. Total
    If you want to go for Bill wise then its better to upload the AP and AR invoice under service category via DTW.
    If you want to go for Total BP balance then go to Administration> System Initialization> Opening Balance--> Opening Balance Business Partner.
    Regards,
    Rahul

  • HOW TO CARRY FORWARD RG1 CLOSING BALANCE TO OPENING BALANCE FOR NEW FISCAL

    Hi Experts
    How to carry forward the RG1 closing stock at the year end to opening balance of Rg1 for new year.
    Wt are the steps required for closing activity of RG1 and carry forward closing balance of last year to opening balance of  new year.
    Thanks

    Hi Rohan,
    For RG1 and RG23 A Part I and RG23 C Part I
    Go to SE16, here enter Table Name - J_2IRG1BAL and Click on "Create" button in initial screen, it will give the maintenance screen. Here mainatin following;
    For each of these materials, you have maintained the material form in table J_2IRG1BAL as below. Do not make any entries in fields that are not listed below:
    EXGRP - Materialu2019s excise group
    DATUM - Date from which RG1 report is required, normally the date of going live
    MATNR - Material
    FORM - Enter P (Packed) or L (Loose). Do not leave this field blank.
    WERKS - Leave this field blank.
    OP FN UOM, OP BN UOM, CB FN UOM - Leave these fields blank. All quantities in this table are updated in the base unit of measure of the material
    USNAM - User ID of the person filling out the table.
    CPUDT - Date of entry
    CPUTM - Time of entry
    Note: - This is to be done before J1I5, J2I5.
    Also refer link;
    Update of Registers RG 1 and RG 23 (Part I)
    For RG23 A Part II, RG23 C Part II and PLA
    Go to SE16, here enter Table Name - J_2IACCBAL and Click on "Create" button in initial screen, it will give the maintenance screen. And maintain following;
    Excise Group
    Data element for Register names
    Date
    Plant
    Basic duty (OP BAL)
    Basic duty (CL BAL)
    Basic duty (EXAMT)
    Extract Indicator
    User name
    Entry Date
    Entered at
    Note: -
    1. Enter OP BAL, CL BAL and EXAMT all as same as opening balance. For e.g. opening balance for RG23ABED is 1400 then this value is to be entered in all the 3 fields.
    2. You have to enter separate line items for all the accounts;
    RG23ABED
    RG23ASED
    RG23AAED
    RG23CBED
    RG23CSED
    RG23CAED
    PLABED
    PLASED
    PLAAED
    PLACESS
    RG23AECS
    RG23CECS
    PLAECS
    RG23AAT1
    RG23CAT1
    PLAAT1
    3. Enter Date is one day before of the opening. For e.g. if opening date is 01.04.2008 then enter it in 31.03.2008
    Then go for J2I5 - Extract and J2I6 - Print Utility
    use following
    http://help.sap.com/bp_bblibrary/470/Documentation/J33_BPP_32_CHEM_EN_IN.doc
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/18/8e113999724854e10000000a11405a/content.htm
    Reefer this link for complete Excise transactions
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/09/ebf138cdd78a4be10000000a114084/frameset.htm
    Re: Excise -initial upload
    Hopefully this will helpfull to resolve your answer.
    Thanks & regards,
    Pankaj Mahajan

  • Opening balance for vendor in debit

    Hi
                                  When I post the opening balances for vendors it is showing the vendor balance as debit.(+) Is this correct or it should show vendor balance in credit and customer balance as debit ?
    Regards
    Sekar

    Hi,
                              This was the JE:
                                                                                    VENDOR                         1000 (Debit)
                                                              OP BAL(Asset)               1000(Credit)
    Remarks: BPartners  Opening Balance       
    Thanks and Regards,
    Sekar
    Edited by: S. Gamaliel Sekar on May 17, 2011 11:38 AM
    Edited by: S. Gamaliel Sekar on May 17, 2011 11:39 AM

  • Opening Balances for Previous Periods

    Hi Experts,
    There is a client requirement of entering opening balances for GL for previous periods before going live.
    eg it is required to have OB for 2006,2007 and 2008 before live transactions are entered into the system.
    Please enlighten on how to carry out this.
    Regards,
    Asap

    Hi Asap,
    You could only have one OB for one account.  If those OB for different years are for different accounts, it is ok.  Otherwise, you have 2006 OB only. You may create JE to get something like OB for 2007 and 2008.
    Thanks,
    Gordon

  • How to enter opening balance for GL A/C(Ex. Bank A/C, Cash A/C, Vendor A/C)

    Hi Expert,
    How to enter opening balance for last year to closing balance to this year opening balance explain deeply helpful for me Thanks in advance.
    Example
    All Bank A/C, Cash Book, Vendors, Customers, like that how to enter closing to opening balance.
    With Warm regards,
    Selva

    Dear,
    As per SAP standard there is no need to carry forward the balances as the system will do a virtual carry forward into next year opening without creating any FI documents.
    If your business scenario demands then you can use the transaction code F-02 for posting a carry forward balances, this will not effect any of your balances but only creates a FI document.
    If your R3 version is SAP ECC5 or 6 then use the transaction code FAGLGVTR

  • How to calculate Opening balance for a customer?

    Hi Experts,
    How to calculate Opening balance for a customer? I am trying to develop a report where in i have to get opening AR balance,current sales,adjustments etc of a customer. Please let me know how can i do this. I have some tables with me KNC1, BSAD, BSID.
    Thanks in Advance.
    Sharat Chandra.

    Say for example ..
    Get the opening bal for Customer 'K' in CCode 'C1' in 2008 ..
    First get all items from BSEG ..
    Select * from BSEG where KUNNR eq 'K'
                                     and BUKRS eq 'C1'
                                     and GJAHR eq '2008' .
    Sum all the DMBTR values (This is the total value).
    Second get the cleared items form BSAD for the above entries;
    Select * from BSAD for all entries in BSEG where KUNNR and BUKRS and XBLNR eq BSEG-XBLNR.
    Sum all DMBTR values ( this is cleared value).
    Third substract the cleared value from total to get Open value.
    This is a overview .. you should go to the tables and look for fields and etc.. and then define the logic meeeting your requirements .... this is a genric undersatnding ....
    Thanks,
    Aditya. V

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

Maybe you are looking for

  • How to search for a device by IP Address in ACS 5.1

    Hi, I have over 800 devices added to the ACS 5.1. Now if i have to find a device for any purpose in the Network Resources>Network Devices and AAA Clients>. I can only filter using Name, NDG Location/Device Type, and description. Is there a way to fin

  • How to put jsp content in to string butter?

    Hello Friends, I'm new to J2EE. please tell me how can I put jsp content into string buffer. following is a part of code I wrote. I'm also reading data from database on some part of code. <html>      <head>           <title>JSP for AdminForm form</ti

  • Facebook Video with Mac Pro

    Hi all, Can anyone tell me if they're having problems with Facebook Video Calling with Mac? Everytime I use it, I get the following pop up. I click allow, and the call connects. My own image just freezes onto the window and I can hear the other perso

  • Grey thumbnails in photo roll of Iphone

    Dear friends, I have the following problem. Sometime ago I saw that most all photos in photo roll of my Iphone 4 (5.1. iOs, no jailbreak) are very pixelized. Though, the same photos in photo stream were absolutely ok. I checked that I have a fresh ba

  • Displaying a .gif image and audio in java

    Hi all I need a simple working example that shows how to have Java show a .gif image. I have done several searches but everyone over complicates it and makes in not understandable. I just want a super simple way of displaying an image in java. I also