BSIS and BSAS

Hi Experts
1) Is there any difference between BSIS and BSAS table?
2) What are open items and closed items?
pallavi

BSIS : Open Items Available for GL
BSAS: Cleared Items Available  for GL
Gl Acoount Open Line Items Available in Table BSIS,
GL Account Cleared Line Items Available in BSAS,
Ex: while Using T. Code F-02,
Dr 400500 Rs 1000
Cr 500100 Rs 1000
This Data Is Availeble In BSIS
Reverse Above Entry
Dr 500100 Rs 1000
Cr 400500 Rs 1000
This Data is Available In BSAS,
Regards,
Viswa

Similar Messages

  • Data recovery from BSIS and BSAS tables

    Hi all,
    The records in the tables BSIS and BSAS are deleted due to adhoc circumstances.
    How do I recover this data in SAP?
    Please help!!!
    Thanks,
    Raghav

    Hello Raghav,
    two possibilities without a complete restore (in a standard SAP environment):
    1) Flashback Query (but it only works if your UNDO tablespace still contains all the data - parameter undo_retention):
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_flashback.htm#ADFNS01003
    2) LogMiner
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/logminer.htm#i1005553
    Regards
    Stefan

  • BSAK link to BSIS and BSAS...

    Hello Experts,
    I am doing 2 FOR ALL ENTRIES to get records from BSIS and BSAS based on the records
    that I got in BSAK. Currently, I only know of 3 fields to link which is BUKRS, BELNR, AND GJAHR
    but I is still any more fields that I can link to BSAK from BSIS and BSAS? Because we are
    experiencing performance issues in my program. I am using index for the 3 tables but still it gives us
    performance issues. Below is my code:
    *   Get previous year
        lv_year = p_gjahr - 1.
    *   Get records from PAYR
        SELECT zbukr vblnr gjahr lifnr zaldt
          FROM payr
          INTO TABLE gt_payr
         WHERE zbukr = p_bukrs
           AND gjahr IN (lv_year, p_gjahr).
        DELETE gt_payr WHERE zaldt+4(2) > p_monat.
        SORT gt_payr BY zbukr vblnr gjahr lifnr zaldt.
        DELETE ADJACENT DUPLICATES FROM gt_payr COMPARING zbukr vblnr gjahr lifnr zaldt.
        IF NOT gt_payr[] IS INITIAL.
    *     Get records from BSAK
          SELECT bukrs blart gjahr monat belnr lifnr dmbtr shkzg
            FROM bsak
            INTO TABLE gt_bsak
             FOR ALL ENTRIES IN gt_payr
            WHERE lifnr = gt_payr-lifnr
              AND bukrs = gt_payr-zbukr
              AND augdt = gt_payr-zaldt
              AND augbl = gt_payr-vblnr
              AND gjahr = gt_payr-gjahr.
        ENDIF.
        DELETE gt_bsak WHERE monat > p_monat.
        DELETE gt_bsak WHERE shkzg <> 'H'.
        gt_payments[] = gt_bsak[].
        IF NOT gt_payments[] IS INITIAL.
    *   Get records from BSIS(Open items)
        SELECT bukrs blart gjahr monat dmbtr hkont
          FROM bsis
          INTO TABLE gt_bsis
           FOR ALL ENTRIES IN gt_payments
         WHERE bukrs = gt_payments-bukrs
           AND belnr = gt_payments-belnr
           AND gjahr = gt_payments-gjahr
           AND blart IN (lc_su, lc_px).
    *   Get records from BSAS(Cleared items)
        SELECT bukrs blart gjahr monat dmbtr hkont
          FROM bsas
          INTO TABLE gt_bsas
           FOR ALL ENTRIES IN gt_payments
         WHERE bukrs = gt_payments-bukrs
           AND belnr = gt_payments-belnr
           AND gjahr = gt_payments-gjahr
           AND blart IN (lc_su, lc_px).
        ENDIF.
    Hope you can help me guys. Thank you and take care!

    In a statement with a SELECTstatement with FOR ALL ENTRIES, the addition ORDER BY can only be used with the addition PRIMARY KEY
    bsis
    select MANDT
    BUKRS
    HKONT
    AUGDT
    AUGBL
    ZUONR
    GJAHR
    BELNR
    BUZEI
    bsak
    select MANDT
    BUKRS
    LIFNR
    UMSKS
    UMSKZ
    AUGDT
    AUGBL
    ZUONR
    GJAHR
    BELNR
    BUZEI
    bsas
    select MANDT
    BUKRS
    HKONT
    AUGDT
    AUGBL
    ZUONR
    GJAHR
    BELNR
    BUZEI
    Message was edited by:
            Karthikeyan Pandurangan

  • Get zuonr of  table bsis and bsas

    Hi All,
    Tried getting the zuonr of  bsas and bsis using bseg but  got
    Run time error long text.  Exceeded the permitted time.
    My condition is  c_sales_pdc type bseg-hkont value u20180000102120u2019.
    Need your advise on program optimization and rephrasing my program statements especially the case statements.
    below is the code
    Many thanks,
    Aashta
    SELECT bukrs
             hkont
             gjahr
             belnr
             budat
             waers
             blart
             shkzg
             wrbtr
             dmbtr
             augdt
             xragl
      FROM bsis
      INTO TABLE it_bsis
      WHERE hkont EQ c_sales_pdc
        AND bukrs IN s_bukrs
        AND belnr IN s_belnr
        AND budat LE p_budat.
      DELETE it_bsis WHERE blart NE 'DZ'
                     AND   blart NE 'PD'.
      DELETE it_bsis WHERE xragl NE ''.
      SELECT  augbl belnr bukrs  gjahr buzei bschl
       FROM bseg
       INTO TABLE it_bseg
       FOR ALL ENTRIES IN it_bsis
       WHERE zuonr NE space
         AND buzei = '01'
         AND gjahr = it_bsis-gjahr
         AND bschl  IN ('01', '15')
         AND qsskz = 'XX'
         AND bukrs IN s_bukrs
         AND zuonr IN s_zuonr
         AND augbl IN s_belnr
         AND augbl = it_bsis-belnr.
      LOOP AT it_bseg.
        CLEAR: it_bseg2-belnr, it_bseg2-zuonr, it_bseg2-kunnr.
        CASE it_bseg-bschl.
          WHEN '01'.
            SELECT augbl  zuonr kunnr
                FROM bseg
                INTO TABLE it_bseg2
                FOR ALL ENTRIES IN it_bseg
                WHERE augbl = it_bseg-augbl
                  AND augbl IN s_belnr
                  AND zuonr IN s_zuonr
                  AND kunnr IN s_kunnr.
          WHEN '15'.
            SELECT belnr zuonr kunnr
                 FROM bseg
                 INTO TABLE it_bseg2
                 FOR ALL ENTRIES IN it_bseg
                 WHERE belnr = it_bseg-belnr
                   AND belnr IN s_belnr
                   AND zuonr IN s_zuonr
                   AND kunnr IN s_kunnr.
          WHEN OTHERS.
            EXIT.
        ENDCASE.
      ENDLOOP.
      SELECT zuonr prctr
        FROM zfspbu
        INTO TABLE it_zfspbu
        FOR ALL ENTRIES IN it_bseg2
        WHERE zuonr = it_bseg2-zuonr
          AND zuonr IN s_zuonr.

    Hi Aasta,
               Obviously it will take the long time, because the fields you are retrieving in the select query are not in the proper order as of database fields and the same case in the where condition.  Therefore I have corrected and kept in order. please check.
    Select   bukrs
             hkont
             gjahr
             augdt
             belnr
             budat
             waers
             blart
             shkzg
             dmbtr
             wrbtr
             xragl
    FROM bsis
      INTO TABLE it_bsis
      WHERE bukrs IN s_bukrs
        AND hkont EQ c_sales_pdc
        AND belnr IN s_belnr
        AND budat LE p_budat.
    Also please put the initial check before using for all entries.
    i.e., if not it_bsis[] is initial.
    SELECT  bukrs
            belnr
            gjahr
            buzei
            augbl
            bschl
       FROM bseg
       INTO TABLE it_bseg
       FOR ALL ENTRIES IN it_bsis
       WHERE bukrs IN s_bukrs
         AND gjahr = it_bsis-gjahr
         AND buzei = '01'
         AND augbl = it_bsis-belnr
         AND bschl  IN ('01', '15')
         AND qsskz = 'XX'
         AND zuonr IN s_zuonr.
    endif.
    Please do the changes, hope will work fine.
    Regards,
    Md Ziauddin.

  • Urgent: BSIS and MSEG link

    Hello,
    I cannot get the material number of the GR line in FI documents.
    I am using the tables BSIS and BSAS but cannot find any material number associated with them.
    BSEG is an option but it is giving time-out dump when data of more than 10 days are selected.
    Any suggestions will be appreciated.
    Regards,
    Sukriti

    Hi Sukriti,
    Never use BSEG or MSEG directly to fetch data as they always have huge data and it takes lot of time to fetch data.
    the link between BSIS and MSEG is as follows.
    BSIS-BELNR = MSEG-BELNR
    BSIS-GJAHR = MSEG-GJAHR
    BSIS-BUZEI   = MSEG-BUZEI
    BSIS-BUKRS = MSEG-BUKRS
    and filter in where condition based on MSEG-MATNR = materials from Select option or Parameters.
    May be you can create an index with the above 4 fields and also BSIS-HKONT in BSIS table.
    This would definitely give you the exact number of entries as in BSIS and MSEG.
    You can notice that in MSEG the Fields are not Key fields but they will give you unique entries.
    So you should be using join for BSIS and MSEG tables on the above 4 fields.
    hope this will solve your problem.
    If useful please dow reward
    Thanks
    Venugopal

  • BSIS and BSIK table Fields

    Dear Experts,
    I m coding a Vendor GL report and using bsik and bsis table.
    problem is when i check for a document ( say 1100000290 open document), i dont get any entry of prctr, bupla or secco in bsis and bsik tables. but when i chek same document in BSEG (which i don't want to use, because its a cluster table) , I get bupla, prctr and secco fields value.
    Do i need to use some other tables also ?????????
    Any suggestions.
    Regards,
    Maverick

    After selecting data from BSIS & BSIK you must be having the fields BUKRS, GJAHR, BELNR, BUZEI. Correct ?
    These fields are key fields of BSEG. You can select data from BSEG using FOR ALL ENTRIES and in the WHERE condition pass the fields BUKRS, GJAHR, BELNR, BUZEI. I don't think selecting data based on key fields from cluster tables will give any performance issues.
    Cheers,
    Suhas

  • How are BSIS and COEP linked?

    Is there a link between BSIS and COEP tables?
    Any reference doc number can be populated from COEP to BSIS automatically?
    My requirement is to find how the BSIS-XBLNR can be linked to COEP?
    pl advise.
    Ven

    To put my question in a better way,
    when I enter a document with FB50, it generates controlling docs and also populates the FI doc number in the reference field of COEP.
    When I post a document with KB21N, it does generate the FI docs but does not populate the reference doc field.
    I need to find how is FB50 behaving. I tried to do a debug but not of much help.
    - Ven

  • How table GLT0 work? (Different value between GLT0 and BSAS)

    Anyone know about how the table GLT0 work?
    After checked in sapenote sapnote 100273 which said "For an FI posting (for example, with Transaction FB01),
    the balances resulting from the posting are updated twice in the G/L Account Monthly
    Debits and Credits (table GLT0)."
    So, Any change amount value of items in accounting doc. This problem should to update, correct?
    For any change of amount value in item of accounting doc and currencies is change.
    Need to reupdate this  table with new currencies? or any logic
    Now, I found a problem is "Account balance" value in currency group (USD) in transaction FS10
    and total sum of "USD Amount" in transaction code FBL3 (If click to sum by currency)
    are different for 17.79 USD.
    I tried to get a logic of this 2 transaction code and found detail as below:
    FS10 : Get data from table GLT0 and for group currency report. Program select data
    from field KSLVT and KSLXX to display in report.
    FBL3 : Get all data until selected period in table BSAS and sum total amount from field BSAS-DMBE2
    (Amount of USD Currency)
    Actually, This 2 report should to have the same account balance.
    So, My question is
    1. When the table (GLT0) update?
    2. Can have a problem with the data in GLT0 (field KSLVT and KSLXX t)
    and sum of amount USD curency BSAS-DMBE2 are differenct?
    If can have, how is occur?
    Many thank in advance.

    Hi,
    Did you find any relationship between the data (sql data and Essbase)?
    While you are loading fresh data, there is no discrepancy.
    You find discrepancy at the time of incremental loading.
    It might be possible in incremental loading data can be added to already existing value in dimension.
    In that case you will find your Essbase data is 2times or 3 times more than base data (sql).
    Then check there might be some setting.
    Thanks
    Dhanjit G

  • Inconsitency in   BSIS &  BSAS Tables

    Due to the messup done by the consultants engaged by our organisation for SAP implementation with respect to SEM & BCS consolidation over and above the other goofups they made, we had to update certain fields ( Trading Partner & Recon Account - meant for related parties) directly in the tables.
    After such updation we encountered line itme reports not matching the Totals. We reset back the reconcilation accounts to the Orginal value. All tables except the BSIS & BSAS are ok, due to certain duplicate reocrds in BSIS and BSAS tables vis a vis BSID, BSAD, BSIK & BSAK, can anyone advice and /or guide us as to the repurcussions if we delete these duplicate rows in BSIS and BSAS with respect to report generation, future transactions, closing etc.
    Message was edited by:
            Brad Master

    It is baffling how SEM and BCS consultants ended up messing up your R/3 tables. That is one of the reason why there is always a separate ownership of the two process areas. Best practice is to have separate owners for FI and BCS areas. Never the twain shall meet!
    Regardless of who is to blame for the messup, it is NEVER a good idea for you to update the SAP tables directly. Period. No exceptions.
    The fact that someone (inhouse or same consultants?) actually suggested you do that and you did that is symptomatic of deeper problems in your organization.
    My two cents: don't paper over the already exacerbated problem. Get rid of cheap consultants and get some knowledgeable help.

  • Any ways to link bsis to ekpo or bsas to ekpo

    Hi all,
                     i would like to know if there is any way i can link bsis to ekpo or bsas to ekpo with the aim to retrieve the PO document number(ekpo-ebeln) and display it in fagll03 report.From my research, i know that in bsis or bsas, it does not have a field similiar to ebeln.Could i do a inner join and then put it in a temp wa and then update to my bsis and bsas table?
    Edited by: weelilin on Jul 21, 2009 10:11 AM

    Hi !!!!
    1. Use SQVI transaction,
    2. Create a View
    3. Enter title,
    4. Choose the Data source as Table Join
    5. Now use Insert table option.
    6. And insert the tables which you want. It will propose the relation between them.
    BSAS-BUKRS = EKPO-BUKRS
    BSAS_BUGDT = EKPO-AEDAT
    Thank

  • BSIS/BSAS tables not populated

    Dear Experts,
    I have a GL/account having too many items but FAGLL03 returns no items.
    I have found that the reason is that tables BSIS and BSAS are not being populated with line items. however tables BKPF and BSEG in addition to FAGLFLEXA are all populated.
    can you please assist why BSIS/BSAS are not populated thus FAGLL03 is not working? what is wrong with this GL account?
    Thanks for your assistance.
    Samir

    Hmmm... Is it normal FI document or it's posted through some interface? If it's normal document and the following is right:
    a) G/L account of the document is defined with 'line item' flag in this company code (SKB1 table)
    b) the document exists in BSEG
    c) BSEG-XKRES flag is 'X' on the line for this account
    Then, if all mentioned above is correct, I'd open OSS note.
    Regards,
    Eli

  • Inconsistency BSEG, BSIS, BSAS

    Hi, likeable consultants!
    In transactions reports: FBL3N and FS10N I have differents accounts balances
    display.
    analyzing BSEG Table, I have 15 line itens, and BSIS and BSAS have 18 line
    itens. I request a solution to adjust these 3 line itens to balance equal.
    I already had execute the RFSEPA01 and it don´t works.
    Somebody knows a program to equal these tables?
    Best kindly regards!

    After finishing the analysis I can confirm that the differences reported are due to the fact that you performed the ARCHIVING of documents in
    2001/2002 for BTSA company code. You can see transaction SARA for more
    details.
    I had a look at your system BTP, 300 on account 991110000,BTSA
    Account 991110000,BTSA is open item managed. From your customizing
    settings, the existing archive runs and the varaints existing for
    programm SAPF048I I assume you already did archiving and secondary
    index deletion on this account. So this explains why line items balance
    and GL summary balance differ ! There is no programm error.
    See consulting note 81489 which describes this issue:
    The balance of an account results from the balance of the open items. Inconnection with an archiving that has been carried out, the line item
    display - used with cleared items - must not therefore be interpreted asa balance display. For the balance display, there are separate
    correspond to the display balance of the open items from the line item
    display.
    Having archived and deleted secondary indexes ( with SAPF048I )
    for an account you can not use line item drill down as a balance
    display any more for a line item managed account.
    ( as not all line items are existing any more in table BSIS ! )
    The transactions meant to display the binding balances are FS10N,
    FK10N and FD10N.
    They also give you the line items details, but only of those line
    items not yet deleted ( by SAPF048I ).

  • Data source for BSIS & BSAS data

    Hi Experts,
    Could you please let me know whcih data source will provide BSIS and BSAS tables data?
    Thanks in advance.
    Regards,
    Raju

    Hi,
    BSIS is for open Item in Accounting document segment inFIGL
    BSAS for closing in the same.
    for this data comes from the BSEG table and Data source is 0FI_GL_4
    See this link
    http://sap.ittoolbox.com/groups/technical-functional/sap-bw/gl-business-content-is-very-limited-no-line-items-level-datasource-available-102750
    I hope this will help you.
    Assidn points if this helps.
    Regards
    Tg
    Edited by: Tg on Jul 10, 2008 8:24 AM

  • Tables BSIS , BSAS

    Hello
    Can you please tell why do we need tables BSIS and BSAS. What kind kind of transactions they contain (practical example)?

    Hi,,
    we need this tables at the time of making reports . based on requirement of client  we take this tables,
    what type of data is  stored in that .i.e
    BSIS is for open GL items.
    BSAS is for closed GL items.
    Regards,
    R.N.Reddy.

  • How to know if records in BSIS/BSAS are for customers or vendors?

    Hello Experts,
    I am getting records from BSIS and BSAS, now I need to know those records(from BSIS and BSAS)
    which are for customers or for vendors since that is my filter. Thank you and take care!

    Hi Guys,
    Sorry I can't see my radiobuttons so I can't assign points but I will do so later.
    Anyway, What I did was based from the records that I got from BSIS/BSAS, I did
    a select statement from BSID and BSAD. Please see my code below:
    *   Get G/L line items(Open items)
        SELECT bukrs hkont belnr
               buzei gjahr budat
               blart dmbtr shkzg
          FROM bsis
          INTO TABLE gt_bsis
           FOR ALL ENTRIES IN gt_t012k
         WHERE bukrs = gt_t012k-bukrs
           AND hkont IN lr_hkont
           AND budat <= p_budat.
    *   Get G/L line items(Cleared items)
        SELECT bukrs hkont belnr
               buzei gjahr budat
               blart dmbtr shkzg
          FROM bsas
          INTO TABLE gt_bsas
           FOR ALL ENTRIES IN gt_t012k
         WHERE bukrs = gt_t012k-bukrs
           AND hkont IN lr_hkont
           AND budat <= p_budat.
        APPEND LINES OF gt_bsis TO gt_bsis_bsas.
        APPEND LINES OF gt_bsas TO gt_bsis_bsas.
        IF NOT gt_bsis_bsas[] IS INITIAL.
          *   Get customer line items(Open items)
        SELECT bukrs belnr gjahr blart
               buzei budat dmbtr shkzg
          FROM bsid
          INTO TABLE gt_bsid_bsad
           FOR ALL ENTRIES IN gt_bsis_bsas
         WHERE bukrs = gt_bsis_bsas-bukrs
           AND gjahr = gt_bsis_bsas-gjahr
           AND belnr = gt_bsis_bsas-belnr.
    *   Get customer line items(Cleared items)
        SELECT bukrs belnr gjahr blart
               buzei budat dmbtr shkzg
          FROM bsad
          APPENDING TABLE gt_bsid_bsad
           FOR ALL ENTRIES IN gt_bsis_bsas
         WHERE bukrs = gt_bsis_bsas-bukrs
           AND gjahr = gt_bsis_bsas-gjahr
           AND belnr = gt_bsis_bsas-belnr.
        ENDIF.
    Then later on, I will loop through GT_BSIS_BSAS then I will check the current document
    if it exists in GT_BSID_BSAD by using READ statement. Is this correct? Thank you guys!

Maybe you are looking for

  • Iphone 4 will not sync all my photos after lion update

    I just upgraded to Lion, and my iphone 4 will no longer sync all my photos.  Nearly 600 are missing.  I recieved the below error message - Some of your photos, including the photo "AANP.JPG", were not copied to the iPhone "My iPhone" because they can

  • My internet isn't working although my wi-fi says it's connected and on full signal?

    I've tried restoring it to factory settings, rebooting the wi-fi, turning the router off and on again, using different IP addresses, turning the actual iPod off and on again, updated iTunes and the software to iOS 4.3.1 and still nothing. Any suggest

  • Managing Connections in a desktop Application or Applet

    Wondering how people usually manage connections in a fairly large GUI application (or Applet). I'm used to using a Connection Pool with Servlets. Is this worth using with an Application or is it ok to create a Connection at startup and use it through

  • Where do I download 64 bit photoshop cc for windows?

    where do I download 64 bit photoshop cc for windows? I can only find 32 bit. I had 64 bit downloaded but it started to crash so I uninstalled and reinstalled from creative cloud. But it only downloaded 32 bit and nowhere is there the option for 64 bi

  • How can I download a previous version of firefox? for mac

    I am a gov employee and only the older versions of firefox are compatible with our fedtraveler website. They list we must use firefox 3.0, 3.5, 3.6, 4.o, 5.0, 6.0, or 7.0 (for Mac osx Lion) only. The latest version 9.0 either does not work or is bloc