Balance Sheet G/L-PL reporting for period range by debit and credit amounts

Hi, good afternoon
This report displays period intervals. One column must display G/L accounts and the others must perform: Initial balance, total debit and total credit.
Example:
<b>Period: mm.dd.yyyy to mm.dd.yyyy</b>
Columns:
G/L Account - Initial Balance - debit - credit - Current Balance
Thanks for attention, ragards!

Hi, I do not get what exactly your question is, but I think you are looking for a "report"
I do not remember  any that meets exactly your requirements. I have seen similar reports... but you can only define the periods, not the dates.
Check this one:
S_ALR_87012277
You should take a look to these too:
S_PL0_86000030
S_PL0_86000031
Regards

Similar Messages

  • Need help in dynamic report for a range of year and period

    Dear all,
    I need help in creating an ALV report with dynamic columns based on the Year and period entered on the selection screen. for example if in the year we enter 2002 and period range from 10 to 12 then we should get the 3 columns display for cost(example) for period 10/2002, 11/2002 and 12/2002.
    Can anyone help me in achieving this dynamically since the user can enter the year also in intervals along with the period and data also needs to be populated in the corresponding columns.
    An example code would be of great help.
    Thanks,
    Amit

    Hi,
    Use field symbols as follows.
    TYPE-POOLS : SLIS.
    TABLES : MARC,T001W.
    DATA : BEGIN OF ITAB OCCURS 0,
           MATNR LIKE MARC-MATNR,
           END OF ITAB.
    DATA : FIELDSTAB TYPE LVC_T_FCAT,
           STAB      TYPE LVC_S_FCAT,
           T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           S_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
           NEW_LINE TYPE REF TO DATA,
           NEW_TABLE TYPE REF TO DATA,
           INDEX(3) TYPE C,
           STR(70),
           TEXT(6),
           CNT(1),
           TEXT1(16),
           REPID LIKE SY-REPID.
    FIELD-SYMBOLS : <FS> TYPE STANDARD TABLE,
                    <WA> TYPE ANY.
    SELECT-OPTIONS : S_WERKS FOR MARC-WERKS NO INTERVALS,
                     S_MATNR FOR MARC-MATNR NO INTERVALS.
    INITIALIZATION.
      REPID = SY-REPID.
    START-OF-SELECTION.
      SELECT * FROM MARC
               INTO CORRESPONDING FIELDS OF TABLE ITAB
               WHERE MATNR IN S_MATNR
               AND   WERKS IN S_WERKS.
      SORT ITAB BY MATNR.
      DELETE ADJACENT DUPLICATES FROM ITAB COMPARING MATNR.
      STAB-FIELDNAME = 'MATNR'.
      STAB-DATATYPE  = 'CHAR'.
      STAB-INTLEN    = '18'.
      APPEND STAB TO FIELDSTAB.
      CLEAR CNT.
      LOOP AT S_WERKS.
        CLEAR TEXT.
        CNT = CNT + 1.
        CONCATENATE  'EISLO' CNT INTO TEXT.
        STAB-FIELDNAME = TEXT.
        STAB-DATATYPE  = 'CHAR'.
        STAB-INTLEN    = '16'.
        APPEND STAB TO FIELDSTAB.
        CLEAR S_WERKS.
      ENDLOOP.
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = FIELDSTAB
        IMPORTING
          EP_TABLE        = NEW_TABLE.
      ASSIGN NEW_TABLE->* TO <FS>.
      CREATE DATA NEW_LINE LIKE LINE OF <FS>.
      ASSIGN NEW_LINE->* TO <WA>.
      PERFORM MOVE_DATA.
      CLEAR S_FIELDCAT.
      S_FIELDCAT-FIELDNAME = 'MATNR'.
      S_FIELDCAT-TABNAME = ITAB.
      S_FIELDCAT-SELTEXT_M = 'Part Number'.
      S_FIELDCAT-NO_ZERO = 'X'.
      S_FIELDCAT-DDICTXT   = 'M'.
      APPEND S_FIELDCAT TO T_FIELDCAT.
      CLEAR CNT.
      LOOP AT S_WERKS.
        CLEAR T001W.
        CNT = CNT + 1.
        SELECT SINGLE * FROM T001W WHERE WERKS = S_WERKS-LOW AND SPRAS = SY-LANGU.
        CLEAR TEXT.
        CONCATENATE 'EISLO' CNT INTO TEXT.
        S_FIELDCAT-FIELDNAME = TEXT.
        S_FIELDCAT-SELTEXT_M = T001W-NAME2.
    S_FIELDCAT-NO_ZERO = 'X'.
        S_FIELDCAT-DDICTXT   = 'M'.
        APPEND S_FIELDCAT TO T_FIELDCAT.
        CLEAR S_WERKS.
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          IT_FIELDCAT = T_FIELDCAT[]
        TABLES
          T_OUTTAB    = <FS>.
    *&      Form  MOVE_DATA
          text
    FORM MOVE_DATA.
      LOOP AT ITAB.
        CLEAR STR.
        CONCATENATE ITAB-MATNR ' ' INTO STR SEPARATED BY SPACE.
        LOOP AT S_WERKS.
          CLEAR MARC.
          SELECT SINGLE * FROM MARC WHERE MATNR = ITAB-MATNR AND WERKS = S_WERKS-LOW.
          IF SY-SUBRC EQ 0.
            CLEAR TEXT1.
            TEXT1 = MARC-EISLO.
            CONCATENATE STR TEXT1 INTO STR SEPARATED BY SPACE.
          ELSE.
            CONCATENATE STR '0' INTO STR SEPARATED BY SPACE.
          ENDIF.
        ENDLOOP.
        <WA> = STR.
        APPEND <WA> TO <FS>.
        CLEAR ITAB.
      ENDLOOP.
    ENDFORM.                    "MOVE_DATA
    Reward points if helpful.
    Regards,
    Sankar..

  • Profit is different in Balance sheet & in P& L Report?

    Hi
    I have got report from My client like Profit is different in Balance sheet & in P&l report? for same period
    what will be the cause?

    Hi
    Check whether the date are same in Both reports in selection Criteria. Also update the Financial report templat for Both BL & P&L. then check?
    Also check the selection criteria anything u have selected in Expanded mode... try to get without any selection, just give only date field same in both reports.
    Giri

  • QUERY FOR CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE

    Hi Friends,
       I need query for CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE for selection criteria from date and to date.
       I know the Trial Balance Report will sort out this issue... but i need routeday wise report
    1. Business Partner Master Data - i created one UDF field called U_Routeday (MONDAY, TUESDAY, WEDNESDAY,THURSDAY,FRIDAY)
    2. The query should be like selection criteria 
                                  - Routeday [%0]
                                  - Posting Date [%1]                           
                                  - Posting Date [%2]
    CardCode
    Debit
    Credit
    Balance
    D10503
    25031.50
    24711.50
    2962.00
    D10641
    5466.00
    7460.00
    285.00
    D10642
    2866.00
    142.00
    give any helpful query ASAP... Thanks in advance

    Hi,
    Try this query:
    Declare
    @fromdate as datetime
    Declare
    @Todate as datetime
    Declare
    @Code as nvarchar(25)
    set
    @fromdate = ( select min(Ta.[RefDate]) from OJDT ta where
    Ta.[RefDate] >= [%0])
    set
    @Todate = ( select max(Tb.[RefDate]) from OJDT tb where Tb.[RefDate]
    <= [%1])
    set
    @code = (select max(Tc.[ShortName]) from JDT1 tC where Tc.[ShortName]
    = [%2])
    SELECT
    [Name] as AcctName, [Jan]= sum([1]), [Feb]= sum([2]), [Mar]=
    sum([3]), [Apr]= sum([4]),  [May]= sum([5]), [June]= sum([6]),
    [July]= sum([7]), [Aug]= sum([8]), [Sept]= sum([9]), [Oct]=
    sum([10]), [Nov]= sum([11]), [Dec]= sum([12]), total = sum
    (isnull([1],0)+ isnull([2],0) + isnull([3],0) + isnull([4],0) +
    isnull([5],0) + isnull([6],0) + isnull([7],0) + isnull([8],0) +
    isnull([9],0)+ isnull([10],0) + isnull([11],0) + isnull([12],0))
    from
    (SELECT
    T0.[ShortName] as Name, sum(T0.[Debit]-T0.[Credit]) as T,
    month(T2.[RefDate]) as month FROM JDT1 T0  INNER JOIN OACT T1 ON
    T0.Account = T1.AcctCode INNER JOIN OJDT T2 ON T0.TransId =
    T2.TransId WHERE T2.[RefDate] between @fromdate and @todate and
    T0.[ShortName]  = @code  GROUP BY T0.[ShortName],T2.[RefDate] ) S
    Pivot
    (sum(T)
    For  Month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    group
    by [Name],[1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12]
    Let me know your result.
    Thanks & Regards,
    Nagarajan

  • Cost Analysis Report - For a range of process orders

    Dear all,
    Is there a standard report available to get the cost analysis for a range of process order? COR3 --> Go to --> Cost --> Analysis. Here I can see the cost analysis for one report. But I wanted to get the cost analysis report for a range of process orders. Please help.
    Thanks
    Nagarajan

    Dear
    You can use cost analysis report like
    1.S_ALR_87099932 - Variances Between Costing Runs
    2.S_ALR_87099931 - Price vs Cost Estimate
    3.S_ALR_87099932 - Variances Between Costing Runs
    5.KOC4
    Regards
    JH

  • Report FS Item debit and credit separated

    Dear Gurus,
    In FI Financial Statement Variant is usual to separate debit and credit balance in diferent nodes for some accounts. This is done because debit is taken as asset and credit as liability.
    I'm triying to do this in FS Item Hierarchy, but unable. Consolidation database stores total account balance (debit + credit), and query shows the same information. I tried with the sign in the FS item definition, but it changes in both nodes.
    Any clues on how to do this?
    Thanks in advance for your help.
    Best regards,
    Manuel.

    Hello Manuel,
    Thanks for your detailed information. Now it's more understandable what you meant.
    OK. Here we go.
    There are 2 characteristics in SEM-BCS which may change the sign of the incoming during data load amounts : MovementType and FS item itself. Debit sign represent plus and credit sign u2013 minus. The signs may act together: if the data load method usage of both signs is set up, then the resulting amount is determined as following:
    Resulting amount = Incoming amount * SignOfItem * SignOfMoveType.
    Certainly, itu2019s possible to use a sign only one of the characteristics or not to use at all.
    Again, it is related only to the uploaded information. And the sign of the turnover should be determined by the supplying system, since itu2019s clear that on the asset account might be credit activities, and for example, on a liability account u2013 debit activity.
    The system expects the internal presentation of amounts in the database as conforming the accounting logic (with small numbers of exceptions):
    Assets in B/S and Expenses in I/S as positive and
    Equity and liabilities in B/S and Revenues in I/S u2013 negative.
    The external presentation of  reports depend completely on:
    1.     hierarchies built on FS items (if used in queries)
    2.     structure of queries.
    Theoretically, I may construct a BEx query where all positive amounts will be in one column and all negatives u2013 in another one.
    >
    > As a workaround, I think that the following will do (if possible): 0BCS_C50 infocube has only total balance for each account. The solution would be to show total balance in assets if credit balance or show total balance in liabilities if debit balance.
    Then, if to remember about internal presentation of the amounts in the B/S, it's easier to apply the following logic:
    Negative amounts on the assets accounts is to be reclassified to liabilities and
    Positive amounts on the liabilities accounts  is to be reclassified to assets.
    Reclasses in SEM-BCS may do such a job.

  • How to separate debit and credit values in gl statement report (daywise)

    hi
    experts,
    i have report.
    selection criteria is
    chars of account.
    gl account
    date .
    how to separate debit and credit values in gl statement?.(i know there is a indicator shkzg).
    but send me code.
    op
    date,   total credit,total debit , balances.
    also calculate opening and closing balance.
    u created such type of report then plz help me.
    thanks&regards.\
    ajay.

    Hi,
    Usually it can be determined using the field shkzg. If it contain 'S' its debit and if it contains 'H' then its credit.
    Before showing the amount you need to do like;
    IF wa_gl-shkzg = 'H'.
    wa_gl-dmbtr = wa_gl-dmbtr * (-1). " dbmtr - amount
    ENDIF.
    This will solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Jun 3, 2009 12:29 PM

  • Not able to generate total for debit and credit columns in FSG

    SR 3-1507064871
    Version - 12.0.6
    Created a FSG report using "Note 311912.1 - How to Create FSGs to show Debit and Credit Balances in Different Columns"
    But not being able to get the totals of the columns.
    When trying to do totals, it always sum up and brings the result as zero.
    Edited by: user10637798 on Mar 15, 2010 3:17 AM

    Please relink all executables on test and retest the issue
    if issue still exist then
    please see
    A Few Tests Might Be Corrupted When Running A Diagnostics Test [ID 1377769.1]
    please reapply those patches with adpatch option given in the doc and retest the issue on test
    AppsMAsti
    Sharing is Caring

  • How to know debit and credit transaction key for movement type

    Hi,
    With T. code OMWB  account assignment simulation we can see all the accounts which are involve for debit and credit enties   but I want to know is there any T. code or method  with which we can know  which transaction key will be debit and which will be credited  like  for movement type  101 the transaction keys are GBB, BSX  WRX  etc.  i want o know whethere GBB a

    Hi,
      Thanks for your reply,  but with this we can see the for GBB which is the credit account and which account is use for debit entry,  like this for all transaction event key like WRX, BSX etc. we can see the G/L account use for Debit and credit,  but i want to know for particular selction of Plant, material , movement type,  my GBB account will have entry in debit account or credit account  How we can know this.
    regards,
    zafar

  • Use of cost relevant Item categories L2N and G2N for debit and credit memo

    Dear Forum memebers,
    For  credit and debit memo  one of the customised client repot is showing  cost value which is not expected for credit and debit memo in the invoice register.
    This is due to use of L2N and G2N which are cost relevant item categories.
    Why should debit and credit memo item category should be cost relevant.??
    Best Regards,
    Kanwal

    Well if your company do not want to adjust the cost of goods sold when any credit / debit is raised, then yes you can go ahead.
    Thanks
    Sai
    Edited by: Sai on Nov 18, 2009 7:47 PM

  • Sum Debit and Credit where code between 1001001001 and 1001001999 in Report

    Hi all
    I Create a Simple Report
    Which is
    SELECT initcap(Acc_name),to_char(acc_id),to_char(acc_id),control_detail,+
    Opening_balance, NVL(cb.C,0) as Credit, NVL(Cb.D,0) as Debit,+
    Opening_balance+NVL(cb.D,0)-NVL(Cb.C,0) Closing_balance,+
    Cb1.dr,cb1.cr,+
    Opening_balance+NVL(cb.D,0)-NVL(Cb.C,0)+nvl(cb1.Dr,0)-nvl(cb1.Cr,0)Ending+
    from COA,+
    *(Select cb_acc_id,sum(nvl(dabit,0)) D ,sum(nvl(credit,0)) C from cb*
    where vdate < :Date_from+
    Group by cb_acc_id)CB,+
    *(Select cb_acc_id,sum(nvl(dabit,0))Dr ,sum(nvl(credit,0))Cr from Cb*
    Where vdate between nvl(:Date_from,vdate) and nvl(:date_to ,vdate)+
    Group by cb_acc_id)CB1+
    Where acc_id = cb.cb_acc_id (+) and+
    acc_id =cb1.cb_acc_id (+)+
    CONNECT BY PRIOR acc_id = CATAGORY_id+
    START WITH acc_id between 01 and 1000+
    ORDER SIBLINGS BY acc_id+
    Now i need To sum Debit and Credit where code between 1001001001 and 1001001999
    Need Help
    Regard
    Shahzaib ismail

    Hi,
    Usually it can be determined using the field shkzg. If it contain 'S' its debit and if it contains 'H' then its credit.
    Before showing the amount you need to do like;
    IF wa_gl-shkzg = 'H'.
    wa_gl-dmbtr = wa_gl-dmbtr * (-1). " dbmtr - amount
    ENDIF.
    This will solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Jun 3, 2009 12:29 PM

  • New pricing procedure for debit and credit memo

    Hello Sir,
    After defining new pricing procedure of debit and credit memo for retro billing.copy control using pricing type b in VTFF but it take billing pricing in credit and debit memo.not in new pricing .Is am missing something please suggest proper solution .

    Thanks for precious time given please go through this
    Tax Calculate
    Basic
    10.0000
    100.0000
    12%
    1.2000
    12.0000
    2%
    0.0240
    0.2400
    1%
    0.0120
    0.1200
    Total
    11.2360
    112.3600
    12.50%
    1.4045
    14.0450
    Net
    12.6405
    126.4050
    tax calculate like this but it come
    Basic
    10.0000
    100.0000
    12%
    1.2000
    12.0000
    2%
    0.0240
    0.2400
    1%
    0.0120
    0.1200
    Total
    11.2360
    112.3600
    so,plz suggest how it calculate including vat
    vat/cst

  • Balance Sheet not showing correct sign for Liability and Equity

    Hai,
    I am using SAP PL 40,
    In SAP Balance sheet Report,
    Liability Ledgers and Equity Ledgers is not showing correct sign. i mean,
    In my Liability Ledger the value is
    INR-10000.
    In Balance sheet it showing 
    INR1000.
    And also, is it possible to bring Dr and Cr column in Balance Sheet?
    Now, it's coming in single Column.
    Please help me out.
    Regards,
    Thanga Raj.K
    09710445987

    Hi
    It's the system definition that under Standard Balance Sheet Report, the
    Liabilities are displayed with POSITIVE SIGN although we know that the
    balance for those liabilities accounts are negative. The reason for it
    is that the liabilities accounts are defined as Passive Account, so when
    the balance is negative, it's displayed with positive sign.  And when
    the balance is positive, it is displayed with negative sign. The
    definition is mainly for the purpose of the reporting. In most of the
    localizations, the financial reports supplied by the business should
    display Liability and Equity with positive sign.
    If you really want to display them in negative sign , you can define a
    customized report template in Financials->Financial Report Templates->
    and select all liabilities and tick the box in front of 'Reversal Sign'.
    Regards,
    Syn Qin
    SAP Business One Forums Team
    Edited by: Syn Qin on Aug 22, 2008 8:49 AM

  • Standard report for period end stock report

    Hi all,
    My client is looking for a SAP standard report for material.Their req is as follows.
    Open Bal (Stock)
    Add: Purchase/Production
    Less: Sales/Consumption
    Closing Bal(Stock)
    I have sugegested them MC.9,MB51,etc....but they are not satified.
    They are not willing to go for a 'Z' report too....
    Can any one suggest me whether their is any function module or bapi or badi thro' which i can fullfill my clients req. or any other better alternative like report painter,set,etc which suit my requirement.
    (can you please let me know from table i can get these datas......just for knowledge purpose)
    hope that anybody will guide me...
    We are in 6.0 version
    God Bless
    Regards

    Try Standard Report MB5B once.
    Regards,
    Ashok

  • AWR Report for period of 30 min

    All,
    It would be glad if anyone has any job that would take AWR Report for 30 min.
    Regards,
    ORA

    Thanks hawk,
    sorry for the confusion..
    Ok i shall modify my question...when i took the report manually the "Elapsed time" was for 1 min...(Everything was successful)
    How can i take the same for about 15-30 min.
    Regards,
    ORA

Maybe you are looking for