BSIS table Archiving

Hi Experts,
We are running TDMS in our landscape. And we have a very large table named BSIS on the system. Can you advise what this is and is there a best practice to purging this?
Regards,
Krishna.M

Hi Krishna,
You might want to check the link below:BSEG - BSIS - BSAS.
Regards,
Rod

Similar Messages

  • Performance issue related to BSIS table:pls help

    Theres a select statement which fetches data from BSIS table.
    As in the where clause the only key field used is BUKRS its consuming more time.Below is the code.
    Could you please tell me how to improvise this piece of code.
    I tried to fecth first from BKPF table based on the selection screen paramater t001-bukrs and then for all entries in BKPF fetched from BSIS.But it didnt worked.
    your help would be very much appreciated.Thanks in advance.
      SELECT bukrs waers ktopl periv
             FROM t001
             INTO TABLE i_ccode
             WHERE bukrs IN s_bukrs.
    SELECT bukrs hkont gjahr belnr buzei bldat waers blart monat bschl
    shkzg mwskz dmbtr wrbtr wmwst prctr kostl
               FROM bsis
               INTO TABLE i_bsis
               FOR ALL ENTRIES IN i_ccode
               WHERE bukrs EQ i_ccode-bukrs
               AND   budat IN i_date.
    Regards
    Akmal
    Moved by moderator to the correct forum
    Edited by: Matt on Nov 6, 2008 4:10 PM

    Dnt go for FOR ALL ENTRIES  it will not help in this case .Do like below , you can see a lot of performance improvement.
    SELECT bukrs waers ktopl periv
             FROM t001
             INTO TABLE i_ccode
             WHERE bukrs IN s_bukrs.
    sort i_ccode by bukrs.
    LOOP AT i_ccode.
       SELECT bukrs hkont gjahr belnr buzei bldat waers blart         monat bschl shkzg mwskz dmbtr wrbtr wmwst prctr kostl
             FROM bsis
            APPENDING TABLE i_bsis
            WHERE bukrs EQ i_ccode-bukrs
            AND   budat IN i_date.
      ENDLOOP.
    I dnt know why perform is good for the above query than "bulrs in so_bukrs" .This willl help , i m sure. this approach helped me.
    Edited by: Karthik Arunachalam on Nov 6, 2008 8:52 PM

  • Transfering data from bsis table to file on application server

    Hi Gurus,
    In my program iam selecting data from bsis table and transferring to file on the application server.
    Code:
    Tables: BSIS.
    data: file type rlgrap-filename.
    Select * from BSIS into BSIS.
    Open dataset output in text mode encoding default.
    Transfer bsis to file.
    closesdataset.
    1, Issue when transferring iam getting dump due to type conflict.
    2, Here I cant create a structure like bsis and define type c  
        varialbles as its an upgrade project.
    3, I tried field-symbols using type casting but data in the
        application server is showing junk data with ##### in currncy
        fields.
    4, In earlier program there is no internal table defined for bsis,
        Directly passing to work area and transferring to file on
        application server.
    Please let me know any feasble solution to approach.
    If need i can post the complete code.
    Regards
    Bhaskar

    Hi Robert,
    Here is my code....in ECC. While executing program is going to dump saying character type error.
    tables: bsis.
    data: begin of i_tab occurs 100.
            include structure bsis.
            end of i_tab.
    parameters: outfile(1000) lower case.
    open dataset outfile for output in text mode encoding default
    ignoring conversion errors..
    select * from bsis into table i_tab
    where bukrs = bukrs.
       loop at i_tab.
          transfer i_tab to outfile.
       endloop.
      close dataset.
    Please let me know if any soluton.
    regards
    Bhaskar

  • Select Data from BSIS table taking too long

    Hi
    I have to develop a report to give the  details of Extended Withholding Tax (EWT)  for a list of Expenses GL.
    Each expense GL is  linked to another Gl which is the EWT Tax GL Account. This is maintained in a Ztable.
    I havae wirtten the following code. It takes a lot of time to extract a data.
    This give me the GL i require
    SELECT * FROM ZSECCO_GL_EWT INTO CORRESPONDING FIELDS OF TABLE IT_GL
     WHERE BUKRS    = P_BUKRS
     AND   WT_QSCOD = P_QSCOD.
    Then I select  only the distinct documents No, from BSIS table  fro the hkonts  in the above internal table
    SELECT DISTINCT BUKRS GJAHR BELNR  FROM BSIS INTO CORRESPONDING FIELDS OF
    TABLE IT_BSIS_GL
     FOR ALL ENTRIES IN IT_GL
     WHERE BUKRS = P_BUKRS AND  HKONT = IT_GL-HKONT  AND GJAHR = P_GJAHR.
    Here I   once again select the   document details based on the document No. from above internal table
    This query takes a lot of time
    SELECT * FROM BSIS INTO CORRESPONDING FIELDS OF TABLE IT_BSIS
     FOR ALL ENTRIES IN IT_BSIS_GL
     WHERE  BUKRS = P_BUKRS AND GJAHR = P_GJAHR
        AND BELNR = IT_BSIS_GL-BELNR.
    Please Help

    Hi,
    Check note 992803; it could be that there is insufficient or missing index for BSIS table.
    Regards,
    Eli

  • GL Account open items- BSIS table

    Hello All,
    The standard BSIS table contains the GL Account open items. However i can find the line items for GL Accounts which are not based on "Open item management" also in this table. eg.Salary account postings from yr 2002 (All year end postings have been done appropriately). Is there any other table which can give the relevant info. ?
    Any pointers to this will be highly appreciated.
    Regards,
    Aastha

    Not sure if I have understood the question, but I will give it a try.
    There are two different concepts - "Open Item Management" and "Line Item Display".
    Line Item Display allows you to see from FS10N, further drill-down into FBL3N
    Open Item Management allows you to see Open and Cleared Items.
    Open Items are stored in tables BSIS, BSIK, BSID
    Cleared Items are stored in tables BSAS, BSAK, BSAD
    Over and above this, ALL documents are stored in BSEG and BKPF, irrespective of their Open Item or Line Item status.
    Hope this helps.

  • Perfomance issue with BSIS Table

    Hi all,
    I am encountering a performance issue when seelcting from BSIS table.
    The requirement is I have Internal Orders extracted from a Master table, based on these internal orders and company code I need to go to BSIS table and do an extraction for other fields. When I am doing a Select on BSIS with the above conditions, the performance is very bad. Is there any other better ways to handle this.
    Thanks in advance.
    GK

    hi gunjan,
    to improve the performance on BSIS fetch,
    then first of check your fields in where condition..
    then go to se11. and display BSIS table.
    In application tool bar there is push button named 'Indexes'
    click on it.
    and see if there is any index already present there which contains all your fields in where condition clause.
    if not then ask your senior if you can create a seconadry index on it.
    if he allows you to create then go for it.
    hope this will help u..

  • What are the cleanup opportunities in term of Temporary tables,Archive tabl

    what are the cleanup opportunities in term of Temporary tables,Archive tables etc...
    can you provide any scripts which will give storage by environment and by Oracle ID.(to check size in terms of GB)
    Example:
    =========
    APPS : xxxGB

    for archiving and purging, take a look at the documents below.
    Reducing Your Oracle E-Business Suite Data Footprint using Archiving, Purging, and Information Lifecycle Management [ID 752322.1]
    Edited by: Erman Arslan on 31.Ara.2012 03:35
    Edited by: Erman Arslan on 31.Ara.2012 03:37

  • Updating bseg and bsis table ...

    Hello,
    I want to update bseg and bsis table. I guess i will have to use BAPI_ACC_DOCUMENT_POST.
    how do i go on using this BAPI ? any starter code snippet ...!!

    Functionality
    Using this method you can create a posing in accounting for certain business transactions.
    Possible ( Business Transactions):
    Postings that generally only affect the general ledger. (RFBU)
    Billing: For billing in Sales and Distribution, accounting is supplied with the relevant billing data. (SD00) Billing Document
    Accounting can use the data of a logistics system that result from an Invoice Receipt. (RMRP)
    Goods Movement are triggered by transactions in Sales and Distribution or by inventory postings. Within logistics, they lead to a change in the warehouse stocks of
    <DS:GLOS.Inventory Management>Inventory Management. This results in a posting in accounting. This is why accounting is supplied with the relevant data from logistics. (RMWA)
    Example
    Billing document:
    By selling goods in accordance with targets, revenue is generated. The revenue is posted in billing and forwarded
    to accounting.
    Invoice receipt:
    Raw materials are purchased in accordance with targets. The invoice receipt is posted in a logistics system. The data from the raw materials is forwarded to accounting.
    Goods Movment:
    The use of raw materials leads to a change in stock in inventory managment. The posting of raw material consumption is forwarded to accounting.
    G/L Account Posting:
    Provision posting for an expected warranty service. This can refer to acquisitions or retirements belonging to stocks that are not in subledger accounting relevant to inventory management. This is particularly the case if such materials are not displayed as vendor/customer, materials, loans etc. or cannot be displayed in this way. This can also refer to write-ups or depreciation that contain higher aggregations of values than are maintained in a corresponding subledger that is relevant to inventory management.
    The conversion of foreign currencies for receivables/payables due to large exchange rate changes that should not lead to an update of the accounts payable or accounts receivable accounting. A similar transaction can arise for the revaluation of raw materials if this revaluation takes place at a correspondingly aggreagated level.
    Reclassification of inventory of P&L statement accounts that are only used for reconcilliation purposes in the general ledger (this rearranges values for balance sheet items).
    Balance reclassifications of stocks to receivables with different return times.
    Notes
    If the parameter CurrencyAmount is filled with the currency fields, a complete document check including characteristics and value components of profitability analysis (CO-PA). Otherwise, the account assignment objects are checked.
    Messages are returned in the parameter Return. In the parameter documentation you can find the return values and their meaning.

  • Lock for bsis table..

    Hello,
    this thread is divided into 2 queries that i have,
    1 - is their any lock object for  bsis table ?
    2 - i want to update a field in both bseg and bsis table. is their any bapi or sum SAP function which updates the whole document or will i have to do it by updating the table manually..
    thanks
    shehryar

    Hi,
    Check this :
    1.Locking table :
    FM's  : ENQUEUE_E_TABLE
            DEQUEUE_E_TABLE
    2) BAPI_ACC_DOCUMENT_POST Accounting: Posting
    Regards
    Appana

  • Update XARCH field in BSIS table

    Hello Experts,
    Need to update XARCH field in BSIS table . I know using update in program is not recommended .
    Please advice if there is a function or BAPI to do this. We are using ECC 6.0
    Thanks,
    Murtuza.

    Hi
    Check This BAPI
    BAPI_ACC_GL_POSTING_POST
    Ranga

  • Performace Tuning for BSIS table

    Hi All,
      While selection of data from BSIS table , data is not comming in production server it is giving dump for time out.
    So I have changed the code for peformance. I made a secondary idex ZCF and given field MANDT,BUKRS,HKONT,
    GJAHR,BUDAT and MONAT.
    And I wrote code like this.For HKONT I have the below criteria given by user.
    SELECT bukrs hkont augdt augbl zuonr gjahr belnr
             buzei budat xblnr blart monat shkzg dmbtr prctr
        FROM bsis
        INTO TABLE lt_bsis
        WHERE bukrs IN s_bukrs
        AND ( HKONT LIKE '0051%1' OR HKONT LIKE '0051%2' OR HKONT = '0022300010' )
        AND gjahr = year
        AND budat IN s_budat
        AND monat = month
        %_HINTS ORACLE 'INDEX("BSIS" "BSIS~ZCF")'.
    Even then data have not fetchedd within 15 mints and give time out dum.
    Can any body suggest me how can I write the code to reduce time.
    Thanks,
    Rakesh

    Hi,
    We also received the same kiind of problem, i have used bsip table. and i did whatever i can do still iin production iit shows time out error. We tried everything. Then i made that program as Background Job using SM36. Then only we realised it tooks more than 12 hours to produce the output. After a long search we thought to make Index for that BSIP table, and we made that index using SE11. After we made the index properly  , i tested again by scheduling backgroound job then we got that output in just 200 secs (3.4 Minutes). Note the difference.
    It might be due to small problem only. You first check your index of BSIS table and create a one.. or else you schedule a job and see the output..

  • GR/IR account G/L balance does not match with BSIS table

    Hi,
    I am preparing a report which uses table BSIS.But the total in the table does not match with the GR/IR G/L balance account.When I click on balance item display in FS10N the entries match with that of BSIS but the total is different.Also how to factor the year opening balance entries in the report.
    Thanks
    Arun

    But that will slow down the system considerabley, because BSEG contains a huge data

  • Table Archiving in Oracle 10g database

    Hi Friends,
    We are facing performance problem and large size of tables like FAGLFLEXA, BALDAT etc.
    Now we want to archive the tables, please help us and if any one has done this activity please share it.
    In particular we want to archive tables ACCTIT, ACCTHD, ACCTCR. We are using ECC6.0 and HP_UX11i v2 and oracle 10g
    Regards
    Ganesh Datt Tiwari
    Edited by: tiwari.ganeshdatt on Feb 2, 2011 7:19 AM

    Hi Mark,
    I have archived the tables. It is archived but not stored.
    Files are accessable but I m not getting the archived doc in activated infostructure relted to object MM_ACCTIT.
    After writte action we have to run Deleted action ?
    Please help me.
    Regards
    Ganesh Datt Tiwari

  • SAP TM Display Partial Rate table Archive on UI

    Hi ,
    I have Archived Partial rate table by using Archive object /SCMTMS/RA as there is no Info structure for this Archive object 
    create a custom one . Rate table records are getting archived propely but its not getting viewed in POWL/NWBC at Archived document on UI.
    As requirement is to show Partially Archived rate table on Web UI  I also set parameter /BOFU/ARCH_DAC = X in SU3.
    I have also debug and found the query /BOFU/CL_Q_ARCHIVE  which is of Select from query is getting called and as a
    result no output.
    I also tried the same in Conf UI by passing the Partially  Archived rate table and its DB key .
    As I am new to Archiving do I missing some configuration or is there any other way to view the partial archived rate table on UI please suggest .
    Regards.
    Farroque.

    Hi,
    Use create_popup_2_confirm method of window manager. Write the below code in the Event hanlder( on enter) method
    DATA: lr_popup  TYPE REF TO if_bsp_wd_popup.
        IF lr_popup IS NOT BOUND.
          CALL METHOD comp_controller->window_manager->create_popup_2_confirm
            EXPORTING
              iv_title          = 'Title of Window'
              iv_text           = 'Your Message Text'
              iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_ok "OK Button
            RECEIVING
              rv_result         = lr_popup.
          lr_popup->set_display_mode(    if_bsp_wd_popup=>c_display_mode_surrounded ).
        ENDIF.
        lr_popup->open( ).
    Hope this helps u,
    Regards,
    Kiran

  • Linkage for RSEG and BSIS tables for tax item

    Hi,
    How to find corresponding tax line item in BSIS or BSAS table for a RSEG line item. 
    In case of BSET table I could find the linkage by BSET-TXGRP and RSEG-BUZEI.

    The obvious link I can see is on bukrs/belnr/buzei/mwskz fields.
    All available in all tables.  The company code and accounting document number is normally enough but if there are multiple line items use the buzei fields as well.  The tax field on is MWSKZ. 
    Same on both BSIS/BSAS and RSEG. 
    BSAS is almost the same table as BSIS but has the clearing items as well.
    Message was edited by: Barry Neaves

Maybe you are looking for

  • Problems with IF then ELSE IF then ELSE

    I am trying to take this logic: if :detail_status > 0 then return 0; elsif :released in ('D','N') then return 0; else return :amount; end if; end; and put it in a form field in my rtf. <?xdofx:if DETAIL_STATUS = 0 then sum(AMOUNT) else if RELEASED no

  • Report and workflow

    dear all, I've a custom program which returns a report that I need to send into the user workplace. Is there a function that I can insert in my program to do that automatically? After that I need to send a notification to the user that there is a new

  • How to delete 12.1.0.1 OMS Home when it contains the 12.1.0.2 agent s/w?

    Hi, I successfully upgrade our OEM 12.1.0.1 to OEM 12.1.0.2. I would like to delete the 12.1.0.1 OMS Home (/app/oem/Middleware). However the OEM 12.1.0.2 agent still exists under /app/oem/Middleare. Is there any well document procedure which can be u

  • Help...everything is lost!!!

    I've got an issue that I have been unable to find the answer to. I had my itunes loaded on my laptop, which has since crashed and my itunes was the one thing that I didn't have backed up on a disc. i went to reinstall on my desktop pc. When I went to

  • Exp/Imp Lmitations??

    Does any body know if there is any limitation in Exp/Imp utility in dealing with LONG RAW columns? Regards, Kumar.