TABLE GLT0

Hi everybody,
I have the problem that table GLT3 is unequal to table GLT0.
0. All neccessary mapping tables have been completed (e.g. account -> item, partner information, consolidation transaction types and so on...)
1. I activated the Consolidation Ledger 09 using transaction OCCI.
2. I also maintained the ledger currency (EUR) using transaction OCZ2)
3. I loaded data from year 2006, period 1-16
4. I executed the balance carryforward without getting error messages!
5. In 2007 I also loaded data from year 2007, period 1-16...I recognized that all period values in table GLT3 are equal to GLT0, but the balance carryforward values in GLT3 are not equal to GLT3 values (even though I got message that balance carryforward has been executed correctly from 2006 to 2007).
6. I deleted again table GLT3 and repeated same procedure very often...I got the same result: period values don?t differ between both tables, but balance carryforward values differ!
Could you help me please?
Do you have an idea which mistake I did?
Do you have an exactly documentation how to get the data from GLT0 in GLT3 (also for historical data migration)?
Thanks a lot,
Misko

Hi,
   Use the following procedure:-
1) Delete all data with OCDZ
2) Recreate Data for 1st year CXNW
3) Check Data   OCBV
4) If differences exist > Post via OCBV or GC41
5) Carry forward GVTR
6) Repeat steps 2-5 upto current year.
Note a) Start with the first year that has GLT0 data.
       b)  Make sure NOONE makes any postings at all while you carry this out.
Kind regards

Similar Messages

  • Report to display total and detail from table GLT0 and FBL3N

    hi guys,
    we have the requirement to show a report with total amount per GL account from table GLT0 and to as well display the detail from tcode FBL3N ..
    shall i use normal report via SE38, if yes, what is the table that stores detail from FBL3N  or does report painter support the above requirement..pls advice

    use report SAPF070 as sample
    (compare documentation!)
    hope that helps
    Andreas

  • 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

  • To view Balance Sheets of previous period from table GLT0 in ECC 6.0 with N

    How,
    We are on ECC 6.0 , with New Ledger activated from FY:2009 .
    Now, when we run the Transaction F.01 (Program: RFBILA00) it gives us the balance sheet figures picked
    from the Table FAGLFLEXA .
    It does not show us the Balance sheet figures of Balance currently in the Classic GL table GLT0 .
    ie: f.01 to show report from 0L as well as GLT0 . (ie from Leading Ledger as well as Classic Ledger)
    Pl.suggest ow can we view B/S of entries in Classic GL table GLT0 for previous years.
    Regards,

    The balances in both tables should be the same, right?  It is just that in FAGLFLEXA you may have some extra line items due to document splitting.

  • Report Painter - Table - GLT0

    Hi All,
    I am trying to create an Balance Sheet report in report painter. I am using the table GLT0.
    I am able to get the current period amount - i.e. net of debit and credit; but i am not able to get the balance carry forward amount for the accounts. Which basic key figure should be used to get the Balance carry forward amount?
    Thanks and regards,
    Ankur

    Hi,
    I am builiding an report on Balance sheet accounts thru Report Painter. and there if i Put in Period "0" in the selection criteria or hard code it the general selection data.. my balance carryforward figure will be included in the output.
    Hopefully this may resolve your query. I am sorry i dont have any documentation on this.
    Thanks and regards,
    Ankur

  • Classic G/L table GLT0 related question

    Hi Gurus:
    Have you seen instances where data in GLT0 is not in balance with BSIS table? When document clearing occurs, BSIS and GLT0 are updated simultaneously? Is it possible to have differences between these tables?
    Regards
    RG

    No, as BSIS will contain only open (non-cleared) items. You should take BSAS along.
    For those accounts which are not managed as open item, but still have line items, the amount should be the same. Of course, under assumption, that the line item management was there from the beginning.
    Regards,
    Eli

  • GL Account Deletion - Table GLT0

    Hi
    With regard to GL Accounts, is it safe to assume that unless a Balance Sheet Account has an entry in GLT0 it has no transactional history?
    Thanks in advance......

    HI,
    Yes write .... GLTO is majorly used for reporting .... report write / pinter
    With regards
    babu

  • GL Balance sheet accts extracts using GLT0 table

    Hi Experts
    Please advise me as I need some help urgently
    My client wants to extract all the closing balances from GL Balance sheets accts to their third party tool for reconciliation, we are using Version 4.7
    Balances in all the currencies (Transaction, Local and Group currency)
    I looked at the table GLT0: Am not able get the correct period number its obly displays period 16, and also the cumulative balance
    e.g. Previous months closing balance is this months opening balance right am not getting any previous months movements
    and if I clear any open items of previous months invoice its reflecting in the current period but remains same as previous period,
    please advise on which table to look at
    the bottom line is all GL balance for (Trail balance) extracts, I have to give instructions to the ABAPER for the extracts
    please explain in details which table to look at and also the fields,
    thanks
    Kumar

    Krishna
    Many thanks for your reply, can you please clarify me in details please
    in table GLT0 all the periods are independent and the previous months balance is not rooling out to this month so please clarify me the logic so that makes my life very easy, thank you
    regards
    Kumar

  • Download the KTOPL  field data and GLT0 table data into one Internal table

    Hi,
    I have downloaded GLT0 table fields  data to PC file . But i need to download KTOPL(Chart Of Accounts) data also. in GLT0 table there is no KTOPL field.
    But in SKA1 table have KTOPL field. Then what is the issue is GLT0 data & KTOPL field data needs to download into one Internal Table.
    anybody could you please solve this problem. immediately need to solve this.
    Below is the code.
    REPORT ZFXXEABL_1 NO STANDARD PAGE HEADING
                    LINE-SIZE 200.
    Tables Declaration
    TABLES : GLT0.
    Data Declaration
    DATA :   FP(8)           TYPE C,
             YEAR           LIKE GLT0-RYEAR,
             PERIOD(3)       TYPE C,
             DBALANCE         LIKE VBAP-NETWR VALUE 0 ,
             CBALANCE         LIKE VBAP-NETWR VALUE 0.
    *Internal table for for final data..
    DATA : BEGIN OF REC1 OCCURS 0,
           BAL             LIKE GLT0-TSLVT value 0,
           COAREA          LIKE GLT0-RBUSA,
          CA(4)           TYPE C,
           KTOPL           LIKE ska1-ktopl, 
           CCODE           LIKE GLT0-BUKRS,
           CREDIT          LIKE  VBAP-NETWR,
           CURRENCY        LIKE GLT0-RTCUR,
           CURTYPE(2)      TYPE N,
           DEBIT           LIKE VBAP-NETWR,
           YEAR(8)         TYPE C,
           FY(2)           TYPE C,
           ACCOUNT         LIKE GLT0-RACCT,
           VER             LIKE GLT0-RVERS,
           VTYPE(2)        TYPE N,
           CLNT            LIKE SY-MANDT,
           S_SYS(3)        TYPE C,
           INDICATOR      LIKE GLT0-DRCRK,
           END OF REC1.
    DATA : C(2) TYPE N,
           D(2) TYPE N.
    DATA REC1_H LIKE REC1.
    Variable declarations
    DATA :
           W_FILES(4) TYPE N,
           W_DEBIT LIKE GLT0-TSLVT,
           W_CREDIT LIKE GLT0-TSLVT,
           W_PCFILE LIKE RLGRAP-FILENAME ,
           W_UNIXFILE LIKE RLGRAP-FILENAME,
           W_PCFILE1 LIKE RLGRAP-FILENAME,
           W_UNIXFIL1 LIKE RLGRAP-FILENAME,
           W_EXT(3) TYPE C,
           W_UEXT(3) TYPE C,
           W_PATH LIKE RLGRAP-FILENAME,
           W_UPATH LIKE RLGRAP-FILENAME,
           W_FIRST(1) TYPE C VALUE 'Y',
           W_CFIRST(1) TYPE C VALUE 'Y',
           W_PCFIL LIKE RLGRAP-FILENAME.
    DATA: "REC LIKE GLT0 OCCURS 0 WITH HEADER LINE,
          T_TEMP LIKE GLT0 OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF REC3 OCCURS 0.
          INCLUDE STRUCTURE GLT0.
    DATA: KTOPL LIKE SKA1-KTOPL,
          END OF REC3.
    DATA: BEGIN OF T_KTOPL OCCURS 0,
          KTOPL LIKE SKA1-KTOPL,
          SAKNR LIKE SKA1-SAKNR,
          END OF T_KTOPL.
    Download data.
    DATA: BEGIN OF I_REC2 OCCURS 0,
           BAL(17),        "             like GLT0-TSLVT value 0,
           COAREA(4),      "          like glt0-rbusa,
           CA(4),          "  chart of accounts
           CCODE(4),       "           like glt0-bukrs,
           CREDIT(17),     "          like  vbap-netwr,
           CURRENCY(5),    "       like glt0-rtcur,
           CURTYPE(2),     "      type n,
           DEBIT(17),      "           like vbap-netwr,
           YEAR(8),        "  type c,
           FY(2),          " type c, fiscal yr variant
           ACCOUNT(10),    " like glt0-racct,
           VER(3),         "    like glt0-rvers,
           VTYPE(3),       " type n,
           CLNT(3),        "like sy-mandt,
           S_SYS(3),       "like sy-sysid,
           INDICATOR(1),   "   like glt0-drcrk,
          END OF I_REC2.
    Selection screen.                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK BL1  WITH FRAME TITLE TEXT-BL1.
    SELECT-OPTIONS : COMPCODE FOR GLT0-BUKRS,
                      GLACC FOR GLT0-RACCT,
                      FISYEAR   FOR GLT0-RYEAR,
                    no intervals no-extension,      "- BG6661-070212
                       FISCPER FOR GLT0-RPMAX,
                     busarea   for glt0-rbusa,
                      CURRENCY  FOR GLT0-RTCUR.
    SELECTION-SCREEN END   OF BLOCK BL1.
    SELECTION-SCREEN BEGIN OF BLOCK BL2  WITH FRAME TITLE TEXT-BL2.
    PARAMETERS:
      P_UNIX AS CHECKBOX,                  "Check box for Unix Option
      P_UNFIL LIKE RLGRAP-FILENAME,        " Unix file Dnload file name
       default '/var/opt/arch/extract/GLT0.ASC',  "- BG6661-070212
      P_PCFILE AS CHECKBOX,                "Check box for Local PC download.
      P_PCFIL LIKE RLGRAP-FILENAME         " PC file Dnload file name
                 default 'C:\GLT0.ASC'.           "- BG6661-070212
          DEFAULT 'C:\glt0_gl_balance_all.asc'.     "+ BG6661-070212
    SELECTION-SCREEN END   OF BLOCK BL2.
    *eject
    Initialization.                                                     *
    INITIALIZATION.
    Try to default download filename
    p_pcfil = c_pcfile.
    p_unfil = c_unixfile.
    if sy-sysid eq c_n01.
       p_unfil =   c_unixfile.
    endif.
    if sy-sysid eq c_g21.
       p_unfil =   c_g21_unixfile.
    endif.
    if sy-sysid eq c_g9d.
       p_unfil =   c_g9d_unixfile.
    endif.
    Default for download filename
    *{ Begin of BG6661-070212
      CONCATENATE C_UNIXFILE
                  SY-SYSID C_FSLASH C_CHRON C_FILENAME INTO P_UNFIL.
    *} End of BG6661-070212
    AT SELECTION-SCREEN OUTPUT.
    loop at screen.
       if screen-name = 'P_PCFIL'.        "PC FILE
         screen-input = '0'.
         modify screen.
       endif.
       if screen-name = 'P_UNFIL'.        "UN FILE
         screen-input = '0'.
         modify screen.
       endif.
    endloop.
      if w_first = 'Y'.
        perform path_file.
        w_first = 'N'.
      endif.
    if w_cfirst = 'Y'.
       perform cpath_file.
       w_cfirst = 'N'.
    endif.
    Start-of-Selection.                                                 *
    START-OF-SELECTION.
    *COLLECT DATA
      PERFORM COLLECT_DATA.
    *BUILD FILENAMES
      PERFORM BUILD_FILES.
    *LOCAL
      IF P_PCFILE = C_YES.
       PERFORM LOCAL_DOWNLOAD.
      ENDIF.
    *UNIX
      IF P_UNIX = C_YES.
        PERFORM UNIX_DOWNLOAD.
      ENDIF.
      IF P_PCFILE IS INITIAL AND P_UNIX IS INITIAL.
        MESSAGE I000(ZL) WITH 'Down load flags both are unchecked'.
      ENDIF.
    END-OF-SELECTION.
    IF P_PCFILE = C_YES.
    WRITE :/ 'PC File'  , C_UNDER, P_PCFIL.
    ENDIF.
    *&      Form  DOWNLOAD
          Download                                                       *
    FORM DOWNLOAD.
      P_PCFIL =  W_PATH.
      DATA LIN TYPE I.
      DESCRIBE TABLE I_REC2 LINES LIN.
      WRITE:/ 'No of Records downloaded = ',LIN.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
               FILENAME            =  P_PCFIL
               FILETYPE            =  C_ASC   "c_dat   "dat
           TABLES
                DATA_TAB            = I_REC2  " t_str
               fieldnames          = t_strhd
           EXCEPTIONS
                FILE_OPEN_ERROR     = 1
                FILE_WRITE_ERROR    = 2
                INVALID_FILESIZE    = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                OTHERS              = 8.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDFORM.
    *&      Form  WRITE_TO_SERVER
          text                                                           *
    -->  p1        text
    <--  p2        text
    FORM WRITE_TO_SERVER.
      DATA : L_MSG(100) TYPE C,
             L_LINE(5000) TYPE C.
      P_UNFIL =  W_UPATH.
      DATA LIN TYPE I.                           
      DESCRIBE TABLE I_REC2 LINES LIN.           
      WRITE:/ 'No of Records downloaded = ',LIN. 
      OPEN DATASET P_UNFIL FOR OUTPUT IN TEXT MODE.        " message l_msg.
      IF SY-SUBRC <> 0.
        WRITE: / L_MSG.
      ENDIF.
    perform header_text1.
      LOOP AT I_REC2.
        TRANSFER I_REC2 TO P_UNFIL.
      ENDLOOP.
      CLOSE DATASET P_UNFIL.
      WRITE : / C_TEXT , W_UPATH.
      SPLIT W_UNIXFILE AT C_DOT INTO W_UNIXFIL1 W_UEXT.
      CLEAR W_UPATH.
      IF NOT W_UEXT IS INITIAL.
        CONCATENATE W_UNIXFIL1  C_DOT W_UEXT INTO W_UPATH.
      ELSE.
        W_UEXT = C_ASC. " c_csv.
        CONCATENATE W_UNIXFIL1 C_DOT W_UEXT INTO W_UPATH.
      ENDIF.
    ENDFORM.                               " WRITE_TO_SERVER
    *&      Form  BUILD_FILES
    FORM BUILD_FILES.
      IF P_PCFILE = C_YES.
        W_PCFILE = P_PCFIL.
    ***Split path at dot**
        SPLIT W_PCFILE AT C_DOT INTO W_PCFILE1 W_EXT.
        IF NOT W_EXT IS INITIAL.
          CONCATENATE W_PCFILE1 C_DOT W_EXT INTO W_PATH.
        ELSE.
          W_PATH = W_PCFILE1.
        ENDIF.
      ENDIF.
      IF P_UNIX = C_YES.
        W_UNIXFILE = P_UNFIL.
        SPLIT W_UNIXFILE AT C_DOT INTO W_UNIXFIL1 W_UEXT.
        IF NOT W_UEXT IS INITIAL.
          CONCATENATE W_UNIXFIL1  C_DOT W_UEXT INTO W_UPATH.
        ELSE.
          W_UPATH = W_UNIXFIL1.
        ENDIF.
      ENDIF.
    ENDFORM.
    FORM CPATH_FILE.
    CLEAR P_PCFIL.
       CONCATENATE C_PCFILE
                   C_COMFILE SY-SYSID C_UNDER SY-DATUM SY-UZEIT
                   C_DOT C_ASC INTO  P_PCFIL.
    ENDFORM.                    " CPATH_FILE
    FORM PATH_FILE.
    CLEAR P_UNFIL.
      if sy-sysid eq c_n01.
       CONCATENATE C_UNIXFILE
                   C_COMFILE SY-SYSID C_UNDER SY-DATUM SY-UZEIT
                    C_DOT C_ASC INTO  P_UNFIL.
      endif.
      if sy-sysid eq c_g21.
      concatenate c_g21_unixfile
                  c_comfile sy-sysid c_under sy-datum sy-uzeit
                   c_dot c_asc into  p_unfil.
      endif.
      if sy-sysid eq c_g9d.
      concatenate c_g9d_unixfile
                  c_comfile sy-sysid c_under sy-datum sy-uzeit
                   c_dot c_asc into  p_unfil.
      endif.
    ENDFORM.                    " PATH_FILE
    Local_Download                                                       *
          Local                                                          *
    FORM LOCAL_DOWNLOAD.
    perform header_text.
    LOOP AT REC1.
    REC1-CLNT = SY-MANDT.
    REC1-S_SYS = SY-SYSID.
    MOVE:  REC1-BAL TO I_REC2-BAL,
            REC1-COAREA TO I_REC2-COAREA,
           REC1-CA TO I_REC2-CA,         
            REC1-KTOPL TO I_REC2-CA,       
            REC1-CCODE TO I_REC2-CCODE,
            REC1-CREDIT TO I_REC2-CREDIT,
            REC1-CURRENCY TO I_REC2-CURRENCY,
            REC1-CURTYPE TO I_REC2-CURTYPE,
            REC1-DEBIT TO I_REC2-DEBIT,
            REC1-YEAR TO I_REC2-YEAR,
            REC1-FY TO I_REC2-FY,
            REC1-ACCOUNT TO I_REC2-ACCOUNT,
            REC1-VER TO I_REC2-VER,
            REC1-VTYPE TO I_REC2-VTYPE,
            REC1-CLNT TO I_REC2-CLNT,
            REC1-S_SYS TO I_REC2-S_SYS,
            REC1-INDICATOR TO I_REC2-INDICATOR.
    APPEND I_REC2.
    CLEAR  I_REC2.
    ENDLOOP.
      IF NOT I_REC2[] IS INITIAL.
        PERFORM DOWNLOAD .
        CLEAR I_REC2.
        REFRESH I_REC2.
       ELSE.
       WRITE : / ' no record exist due to unavailability of data'.
      ENDIF.
    ENDFORM.                               " LOCAL_DOWNLOAD
    *&      Form  UNIX_DOWNLOAD
    FORM UNIX_DOWNLOAD.
    LOOP AT REC1.
    REC1-CLNT = SY-MANDT.
    REC1-S_SYS = SY-SYSID.
    MOVE:  REC1-BAL TO I_REC2-BAL,
            REC1-COAREA TO I_REC2-COAREA,
          REC1-CA TO I_REC2-CA,         
            REC1-KTOPL TO I_REC2-CA,       
            REC1-CCODE TO I_REC2-CCODE,
            REC1-CREDIT TO I_REC2-CREDIT,
            REC1-CURRENCY TO I_REC2-CURRENCY,
            REC1-CURTYPE TO I_REC2-CURTYPE,
            REC1-DEBIT TO I_REC2-DEBIT,
            REC1-YEAR TO I_REC2-YEAR,
            REC1-FY TO I_REC2-FY,
            REC1-ACCOUNT TO I_REC2-ACCOUNT,
            REC1-VER TO I_REC2-VER,
            REC1-VTYPE TO I_REC2-VTYPE,
            SY-MANDT TO I_REC2-CLNT,
            SY-SYSID TO I_REC2-S_SYS,
            REC1-INDICATOR TO I_REC2-INDICATOR.
    APPEND I_REC2.
    CLEAR  I_REC2.
    ENDLOOP.
      IF NOT I_REC2[] IS INITIAL.
        PERFORM WRITE_TO_SERVER.
        CLEAR I_REC2.
        REFRESH I_REC2.
      ELSE.
       WRITE : / ' no record exist due to unavailability of data'.
      ENDIF.
    ENDFORM.                               " UNIX_DOWNLOAD
    *&      Form  HEADER_TEXT
          text                                                           *
    -->  p1        text
    <--  p2        text
    *form header_text.
      concatenate c_bal c_ba c_ca c_cc  c_credit c_currency c_curtype
         c_debit c_fisyear c_fisvar c_acct c_ver c_vtype c_indicator
               into t_strhd
               separated by c_comma.
      append t_strhd.
    *endform.                               " HEADER_TEXT
    *&      Form  HEADER_TEXT1
          text                                                           *
    *form header_text1.
      concatenate c_bal c_ba c_ca c_cc  c_credit c_currency c_curtype
        c_debit c_fisyear c_fisvar c_acct c_ver c_vtype c_indicator
               into t_strhd1
               separated by c_comma.
      append t_strhd1.
      transfer t_strhd1 to p_unfil.
    *endform.                    " HEADER_TEXT1
    *&      Form  COLLECT_DATA
          Collect Data                                                   *
    FORM COLLECT_DATA.
    SELECT * FROM GLT0 INTO  TABLE REC3
                        WHERE   BUKRS IN COMPCODE
                        AND     RYEAR IN FISYEAR
                        AND     RPMAX IN FISCPER
                        AND     RACCT IN GLACC
                        AND     RTCUR IN  CURRENCY.
    SELECT KTOPL FROM SKA1
                 INTO TABLE T_KTOPL
                 FOR ALL ENTRIES IN REC3
                 WHERE SAKNR = REC3-RACCT.
    LOOP AT REC3 .
       select *
       from glt0
       into table t_temp
       where rldnr = rec-rldnr
         and rrcty  = rec-rrcty
          and rvers  = rec-rvers
         and bukrs = rec-bukrs
         and ryear = rec-ryear
          and racct  = rec-racct
           and rbusa  = rec-rbusa
           and rtcur <> 'ZAR'
         and rpmax  = rec-rpmax.
    if sy-subrc = 0.
            rec1-bal = '0.00'.
    else.
      rec1-bal = rec-hslvt.
      endif.
    *READ TABLE T_KTOPL WITH KEY SAKNR = REC-RACCT BINARY SEARCH.
    MOVE T_KTOPL-KTOPL TO REC3-KTOPL.
    CLEAR:  CBALANCE, DBALANCE.
    REC1-BAL = REC3-HSLVT.
    IF REC3-DRCRK = 'S'.
    IF REC3-HSLVT NE C_ZERO.
           YEAR   = REC-RYEAR.
           PERIOD = '000'.
           CONCATENATE PERIOD C_DOT YEAR INTO FP.
           REC1-INDICATOR = REC-DRCRK.
           REC1-DEBIT = C_ZERO.
           REC1-CREDIT = C_ZERO.
           REC1-CCODE = REC-BUKRS.
           REC1-YEAR  = FP.
           REC1-CURRENCY = REC-RTCUR.
           REC1-ACCOUNT  = REC-RACCT.
           rec1-bal      = rec-hslvt.
           dbalance = rec1-bal.
           REC1-CURTYPE = C_CTYPE.
           REC1-FY      = C_FY.
           REC1-COAREA   = REC-RBUSA.
           REC1-VER     = REC-RVERS.
           REC1-VTYPE   = C_CTYPE.
           REC1-CA      = C_CHART.
           APPEND REC1.
            C = 0.
          PERFORM D.
    ENDIF.
    IF REC3-HSL01 NE C_ZERO.
            YEAR   = REC3-RYEAR.
            PERIOD = '001'.
            CONCATENATE PERIOD C_DOT YEAR INTO FP.
            REC1-INDICATOR = REC3-DRCRK.
            REC1-DEBIT = REC3-HSL01 .
            REC1-CCODE = REC3-BUKRS.
            REC1-YEAR  = FP.
            REC1-CURRENCY = REC3-RTCUR.
            REC1-ACCOUNT  = REC3-RACCT.
           rec1-bal      = REC3-hsl01 + dbalance.
           dbalance = rec1-bal.
            REC1-CURTYPE = C_CTYPE.
            REC1-FY      = C_FY.
            REC1-COAREA   = REC3-RBUSA.
            REC1-VER     = REC3-RVERS.
            REC1-VTYPE   = C_CTYPE.
          REC1-CA      = C_CHART. 
            REC1-KTOPL = REC3-KTOPL. 
            APPEND REC1.
            C = 1.
         PERFORM D.
    ENDIF.
    IF  REC3-HSL02 NE C_ZERO.
          REC1-DEBIT = REC3-HSL02.
       YEAR   = REC3-RYEAR.
       PERIOD = '002'.
      CONCATENATE PERIOD C_DOT YEAR INTO FP.
         REC1-INDICATOR = REC3-DRCRK.
       REC1-DEBIT = REC3-HSL02.
       REC1-CCODE = REC3-BUKRS.
       REC1-YEAR  = FP.
       REC1-CURRENCY = REC3-RTCUR.
       REC1-ACCOUNT  = REC3-RACCT.
      rec1-bal      = REC3-hsl02 + dbalance.
      dbalance = rec1-bal.
            REC1-CURTYPE = C_CTYPE.
            REC1-FY      = C_FY.
            REC1-COAREA   = REC3-RBUSA.
            REC1-VER     = REC3-RVERS.
            REC1-VTYPE   = C_CTYPE.
          REC1-CA      = C_CHART. "-BF7957-070503
            REC1-KTOPL = REC3-KTOPL.  "+BF7957-070503
       APPEND REC1.
       C = 2.
    PERFORM D.
    ENDIF.
    IF  REC3-HSL03 NE C_ZERO.
            YEAR   = REC3-RYEAR.
            PERIOD = '003'.
            CONCATENATE PERIOD C_DOT YEAR INTO FP.
               REC1-INDICATOR = REC3-DRCRK.
            REC1-DEBIT = REC3-HSL03.
            REC1-CCODE = REC3-BUKRS.
            REC1-YEAR  = FP.
            REC1-CURRENCY = REC3-RTCUR.
            REC1-ACCOUNT  = REC3-RACCT.
           rec1-bal      = REC3-hsl03 + dbalance .
           dbalance =  rec1-bal.
            REC1-CURTYPE = C_CTYPE.
            REC1-FY      = C_FY.
            REC1-COAREA   = REC3-RBUSA.
            REC1-VER     = REC3-RVERS.
            REC1-VTYPE   = C_CTYPE.
           REC1-CA      = C_CHART. "-BF7957-070503
             REC1-KTOPL = REC3-KTOPL. "+BF7957-070503
            APPEND REC1.
          C = 3.
    PERFORM D.
    ENDIF.
    IF  REC3-HSL04 NE C_ZERO.
           REC1-DEBIT = REC3-HSL04.
              YEAR   = REC3-RYEAR.
              PERIOD = '004'.
             CONCATENATE PERIOD C_DOT YEAR INTO FP.
                REC1-INDICATOR = REC3-DRCRK.
             REC1-DEBIT = REC3-HSL04.
              REC1-CCODE = REC3-BUKRS.
              REC1-YEAR  = FP.
              REC1-CURRENCY = REC3-RTCUR.
              REC1-ACCOUNT  = REC3-RACCT.
             rec1-bal      = REC3-hsl04 + dbalance .
            REC1-CURTYPE = C_CTYPE.
            REC1-FY      = C_FY.
            REC1-COAREA   = REC3-RBUSA.
            REC1-VER     = REC3-RVERS.
            REC1-VTYPE   = C_CTYPE.
          REC1-CA      = C_CHART.  "-BF7957-070503
            REC1-KTOPL = REC3-KTOPL.  "+BF7957-070503
            APPEND REC1.
             dbalance = rec1-bal.
              C = 4.
              PERFORM D.
    ENDIF.
    Thanks and Regards,
    Ram

    use logical database SDF, nodes ska1 and  skc1c
    A.

  • GLT0 and GLPCT tables

    Hi all
    Can anyone tell me whats the purpose of the tables GLT0 and GLPCT? The table GLT0 has fields TSL01 through TSL16 with same field text name as "currency"? whats difference among all these fields?
    Explain me the use of these two tables along with fields, please !
    Thanks
    Shakir

    Hi Shakir,
    GLT0 is used for getting transaction figures for GL accounts while GLPCT is used for Profit Center accounting. These tables are updated as a part of FI-SL i.e special ledgers where you define ledgers for reporting purposes.
    SAP has divided periods on the basis of 1 - 16 based on fiscal year variant. If a company divided year into 12 periods then only TSL01 to TSL12 will be populated or if its divided into 16 period then TSL01 to TSL16 fields will be populated. TSL is used for storing amount in Transaction currency then there is HSL (company code currency) , KSL ( for local currency) etc.
    Cheers,
    Vikram
    Pls reward for helpful replies!!

  • FS10N cumulative value Table and Fields

    Hi,
    FS10N balances, cumulative balances in which table it will store this values. I am not able to see cumulative balances in BKPF or BSEG. In which table we can see the cumulativie values by period wise for FS10N.
    Thanks
    srinu

    Hi,
    Table GLT0 for classical G/L
    the BAPI is : BAPI_GL_ACC_GETPERIODBALANCES
    These informations will be very useful for your ABAPer if you need an Abap report
    Regards
    Tarek

  • How to reconcile table GLT1?

    Dear Gurus,
    Can anyone tell me how to reconcile value in table GLT1 same to balance carryforward for G/L account balance, customer and vendor account balance? Using program or any other method?
    Table GLT1 is used to generate Balance sheet report via report writer. Because of the opening balance not correct, it caused the report generated not correct as well.
    Pls advise asap.
    Thanks.
    Loi

    Hi:
      GLT1 is part of the special ledger.It contains the summary balance for all entry posted posted. It only populates values once iit is activated in t code GCVO. However if your opening balance not tallying you can use Table GLT0 for the opening balance too. Opening balance in it are stored in field HSLV (Balance carried forward in local currency). Please check hope it will resolve your issue.
    Regards

  • Table for new GL

    Hi,
    in NEW GL which table is used as data source.??
    regards

    With old G/L in R/3, the tables GLT0 (totals), BSEG, BKPF (Line Item) get filled. in BI side u have to use data model
    0FI_GL_1 --> 0FI_GL_1 --> 0FIGL_C01 (for Totals)
    0FI_GL_4 --> 0FI_GL_4 --> 0FIGL_O02 (for Line item)
    With New G/L in R/3, the tables FAGLFLEXT (totals), FAGLFLEXA, BSEG, BKPF (Line Item) get filled. in BI side u have to use data model
    0FI_GL_10 --> 0FI_GL_10 --> 0FIGL_C10 (for Totals)
    0FI_GL_14 --> 0FIGL_O14 (for Line item)

  • Trial Balance Tables

    Hi All
    Actually my requirement is, When I run accounts receivale report profit center wise then system is showing some balances in null/dummy profit center. Now I update profit center of these documents from null to some other in table FAGLFLEXA and report is showing correct, no balances in null profit center. But effect of this is not showing in TB(Trial Balance), TB report is showing same balances. Kindly guide which other tables I have to update in order to get the effect in TB.
    Regards,
    Rajesh Vasudeva

    Hi,
    refer tables
    GLT0
    GLT1
    Also check the link:
    http://help.sap.com/saphelp_sbo2005asp1/helpdata/en/41/82a84f64254b41a05d813cdde39f82/content.htm
    to get more idea.
    Edited by: AD on Dec 2, 2008 5:28 AM

  • FI table for Report painter

    Which table I will take to create FI report in Report Painter ?
    Please help me..
    Thanks & Regards,
    Ananda

    Hi,
    If you are in ECC environment use Table FAGLFLEXT is suitable to create Library & Report Group & Report by using report painter.
    if you are in ECC but not actvation new GL / you are in up to 4.7 then use table GLT0
    regards
    Viswa

Maybe you are looking for

  • PowerMac G5 vs new Mac mini?

    I hope this is the right place to ask this (maybe I ought to put the question in the Powermac G5 forum as well...) I currently have a G5 Dual 2 GHz, and it's definitely starting to show it's age! I have been looking at getting a MacPro but the cost i

  • How to publish my site iWeb on a FTP servor ?

    How to publish my site iWeb on a FTP servor since Mobilme is no longer available ?

  • ITunes Lib On MacBook To External Back To MacBook

    How do I accomplish this? I just bought Leopard and I wish to retain my iTunes library and my ratings and playlists and I wish to delete everything on this computer and do a fresh install of this new OS. How may I transfer my current iTunes library t

  • Single-instance manual standby for a three-node RAC database

    Hi all, I am wondering how it is possible to create a manual standby database for a rac primary database. Oracle versione is standard edition 11.1. I have experience creating and managing manual standby for single-instance database; I am wondering if

  • Preview for pdf reading

    Hi all; So.. I accidentally deleted Preview, and I just can't find it in downloadable format. I'm too lazy to find my mac installation cd, but if I did, would that help me install it without reinstalling the whole OS? I'm fine with Acrobat, but for s