How to dislay the cumulative balance

hi ABAPERS,
how r u all, please solve my problem
how to dislay the present cumulative balance by adding the previous cumulative +
normal balance.
Thanks & Regards 
farhee.

Hi,
Let me know clearly what u want.
If u have some values needs to be added in a itab.
LOOP AT itab.
AT END OF MATNR.
SUM.
v_*** = v_*** + itab-bal
ENDAT.
ENDLOOP.
Write:/ v_***.

Similar Messages

  • The cumulative balance displayed in FS10N does not match the sum of the det

    Hello,
    The cumulative balance displayed in FS10N does not match the sum of the details.  For example, we have a GL disbursement account that has a ***. Balance of 8 million.  The debit is 2 million and the credit is 10 million. But, when you drill down on the ***. Bal. for the current period, the sum of the details is 9 million.  According to our users, the 2 balances should equal.  I did a search in this forum and found 1 post stating they had the same issue and the answer was to run f.16. Has anyone experienced this and if so, how did you handle it?  I'm not sure how f.16 functions.  Do we have to run it for each consecutive year?  I'm not a FI specialist.  I'm responsible for data archiving and the users think it's related to archiving.  However, we have a test system that was resynced with production prior to when archiving was done and it shows that this issue is pre-existing.
    Thank you very much in advance,
    Lourdes

    Hello,
    There is a possibility that you have activate line item display for some of the accounts at a later stage. Meaning that earlier postings were not be shown for the earlier postings but only totals will be made available. Therefore, obviously there is bound to be difference between line item report and totals report.
    You need to identify which accounts are being changed with line item display at a later stage.
    In case if you forget to keep GL Line item display for an account, but the posting are already made the following steps you would required to get the line item display retrospectively.
    1. Note that you are NOT required to make the balance of that GL account to ZERO. Please do not confuse with Open Item Management.
    2. Put the check box line item display for the account in FS00. Make sure you are entering right company code.
    3. Block the account for posting in COA Segment and Company Code Segment in FS00
    4. Go to SA38 and run program RFSEPA01 (Give correct GL Account and Company Code)
    5. Now, remove the block you kept on the GL Account in FS00.
    This will reset the line item display retrospectively.
    Hope this will solve your problem.
    Regards,
    Ravi

  • How to Print the Account Balance in Outgoing Payment PLD

    Hello Experts
    How to Print the Account Balance in Outgoing Payment PLD
    Dixit Patel

    Hi,
    you can use udf in the outgoing payment to record  the vendor's account balance and then using the query FMS ;
    select balance from ocrd where cardcode = $[$4.0.0]
    Assign the query in the UDF so that each time after entering the vendor code, the balance appears.
    After add the payment, the balance is recorded.
    In PLD, you can create the UDF field to make the balance appears in the outgoing report.
    Rgds,
    JimM

  • How to upload the account balances

    I need to upload the gl account balances. How to upload the gl balances from legacy system. There is any t.code in SAP to upload. Please guide me step by step in this regard

    use LSMW To upload from your legacy system
    http://help.sap.com/bp_blv1500/BL_US/documentation/LSMW_EN_US.doc
    Points will be appreciated
    Regards,
    Zaid

  • How to query the opening balance for an specific account for an spec. date

    Hi all,
    for my user query I need to calculate the opening balance for an cash account for an specific date.
    Any ideas, how can I do this?
    Or may be you know a field in an SBO table that already contains information I need...
    Best Regards,
    Inna

    Hi Inna,
    to find the opening balance for an account or a business partner, please see SAP Note [1114253|https://service.sap.com/sap/support/notes/1114253] :
    Symptom
    How to find the opening balance of a business partner or G/L account.
    Other terms
    Account, customer, supplier, vendor, creditor, debitor, start, initial, first, opening balance, business partner, G/L, SAP Business One
    Reason and Prerequisites
    Consulting
    Solution
    There are several possible approaches:
    Approach 1 - Business Partner Opening Balance:
    1. Go to Business Partners -> Business Partner Master Data -> find the Business Partner
    2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
    Approach 2 - Business Partner Opening Balance:
    1. Go to Business Partners -> Business Partner Master Data.
    2. Click on the orange link arrow next to the field 'Account Balance' in the header region of the window.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Double click on the column header 'Posting Date' to find the earliest transaction on the business partner account. This transaction could be opening balance, verify this with the company accountant.
    Approach 3 - G/L Account Opening Balance:
    1. Go to Financials -> Chart of Accounts -> click on the account name once.
    2. Click on the orange link arrow next to the field 'Balance'.
    3. Untick the boxes next to 'Posting date from', 'Display' and 'Display Unreconciled Trans. Only'.
    4. Click on the button 'Refresh'.
    5. Find 'OB' in the column 'Origin', this is the opening balance journal entry.
    Approach 4 - Business Partner and/or G/L Account Opening Balance:
    1. If using SAP Business One 2005 SP01 or earlier, go to Reports -> Query Generator -> click on 'Execute'.
    2. If using SAP Business One 2007 or later, go to Tools -> Queries -> Query Generator -> click on 'Execute'.
    3. Ignore the red system message in the bottom of the screen.
    4. Click on the pencil icon in the top left of the window, the field with 'SELECT *' will change colour to white, then yellow when activated by clicking in the field.
    5. Copy the query below:
               SELECT T0.[TransId], T0.[Debit], T0.[Credit] , T0.[CreatedBy], T0.[TransType] FROM [dbo].[JDT1]  T0 WHERE T0.[TransType] = '-2'  and T0.[ShortName]  = '[%1]'
    6. Click on 'Save' and give the query an appropriate name and select the appropriate category.
    7. Click on 'Execute'.
    8. Click on 'Existing Values'.
    9. Select the G/L account or the Business Partner name from the list and click on 'OK'.
    10. The system message 'Records retrieved by this query #' (# = number of records) will pop up. Click on 'OK'.
    All the best,
    Kerstin

  • How to clear the PPC balance to change the material type?

    Dear experts,
    Our customer need to change some material type (valuation class as well) from semi-finished product to purchase part. It uses Product Cost Collector for semi-finished/finished product and never makes settlement for any PCC.
    To change the material type through MMAM requires zero stock and cleared PCC balance. So we removed the stock of the semi-finished product and settled the PCC for every month of this year.
    Since the products could have entry this year and last year, even if we settled their balances of this year, it still can not be changed the material type.
    And we do not know how to settle the PCC balance of last year because only one field YEAR can be entered on screen KK87/CO88. If I enter settleme period 11, posting period 12 and fiscal year 2007, system will give error "Period 12 is not allowed".
    But we happend to find one product has no entry this year but has balance value of last year. Its material type can be changed w/o any errors, which seems last year balance has no impact material type change. I get confused.
    Can any one advise whether I'm wrong and where?

    Hi Sharan,
    Matl Povided to Vendor stock will appear in Subcontracting scenario.
    If at all you have given some material to a subcontractor , this will be consumed automaticaly when you will recieve the ordered material from subcontractor.that is 543 movement will take place in the backgroung when u do the GR.
    In case if u need to clear the stock u can do 542 and take the stock back to unrestricted.
    Edited by: Donsandy on Jan 21, 2009 6:19 PM

  • New-GL-how to assign the zero balance accounts to scenarios

    Dear Experts
    Please help me how/where to assign the zero balance accounts to scenarios.
    Standard functionality supports: Profit Center derication as mentioned below:
    Derivation based on master data--If the line item contains a cost object, the profit center in the master data of the cost object is used.
    Derivation based on product category
    Derivation based on organizational structure
    Derivation based on document splitting - For line items in the Accounts Payable, Accounts Receivable, Cash, and Taxes sub-ledgers, a profit center is only derived if you are using profit center segment accounting with clearing or with balancing. For journal entries, document splitting is always performed for the line items in these sub-ledgers after the other line items have been created.we are concerned abt the 1st scenario & 4
    Default profit center-FAGL3KEH -If no profit center could be determined based on the product category, organizational structure, or document splitting, the standard profit center we specified when configuring the corresponding ledger is used.
    But I am looking for a specific requirement to configure the Zero balance clearing account to the scenarios.
    Thanks
    Rama

    That information will not be any use.
    You can carry forward any number of times - the last should be after closing of previous years accounts.
    Hope it is clear.

  • How to get the opening balances for lessthan selected date in cubes.

    Hi All,
    my task is to get the opening balances for the selected date.
    Ex: If I select date say 31-1-2013, I should get the sum of values which are less than the selected date.
    in sql:
    select sum(balance) from banktrans where banktrans.transdate < 31-1-2013;
    BankTable                            BankTrans
    BankId                               BankId
                                            balance
                                            transdate
    BankTable (records):
    SCB
    BankTrans(records):
    a) SCB, 15000, 10-02-2013
    b) SCB, 20000, 31-01-2014
    c) SCB, 50000, 21-09-2012
    If I select date as 31-01-2014, I should get the value as 65000 
    If I select date as 10-02-2013, I should get the value as 50000
    Date will be dynamic selection from years months days hirearchy ( time dimension)
    How can i achieve this?  
    any help is much appreciated.
    Thanks,
    Rakesh

    Dear David,
    I've tried the below with static date but i'm not getting the values which are sum of less than the given date.
    I've given 1st jan 2013 as static date and I need to get the sum of values which are less than the 1st jan date.
    CREATE
    MEMBER
    CURRENTCUBE.[Measures].[OPENBALANCE]
    AS
    Sum({Null:[Time].[Years
    Quarters Months Weeks Days].[Days].&[2013-01-01T00:00:00]},[Measures].[AmountCur]]),
    FORMAT_STRING
    = "Standard",
    VISIBLE
    = 1
    can you plz check the above once and guide me.
    Thankyou,
    Rakesh

  • How to find the cumulative Sum

    How to get the fastest result in 180 million records table to get the BTN(BillingTelephoneNbr) wise MonthlySalesCost.
    select B.BTN,b.cost,sum(a.cost) as cum_sal
    from Monthly_BTN a,Monthly_BTN b
    where a.rowid <= b.rowid
    group by b.rowid,b.BTN,b.cost.
    Above query is taking up the too much time.
    Option:-
    a) partition the table
    b) rebuild the index
    c) alter the index
    d) any other suggestion??
    Let me know the best way.

    I don't understand why you need a self-join.
    See the following example, with cumulative sum about deptno :
    SCOTT@demo102> ed
    Wrote file afiedt.buf
      1  select empno, deptno, sal, sum(sal) over (partition by deptno order by empno)
      2  from emp
      3* order by deptno , empno
    SCOTT@demo102> /
         EMPNO     DEPTNO        SAL SUM(SAL)OVER(PARTITIONBYDEPTNOORDERBYEMPNO)
          7782         10      24500                                       24500
          7839         10      50000                                       74500
          7934         10      13000                                       87500
          7369         20       8000                                        8000
          7566         20      29750                                       37750
          7788         20      30000                                       67750
          7876         20      11000                                       78750
          7902         20      30000                                      108750
          7499         30      16000                                       16000
          7521         30      12500                                       28500
          7654         30      12500                                       41000
          7698         30      28500                                       69500
          7844         30      15000                                       84500
          7900         30       9500                                       94000
    14 rows selected.
    SCOTT@demo102> So, your query would be :
    select BTN,cost,sum(cost) over (partition by BTN order by BTN,cost) as ***_sal
    from Monthly_BTN
    order by BTN,cost;Anyway, a query without where clause on a huge table (180 million records) seems to me like a little strange, are you sure that you will read all rows ?
    Nicolas.
    partition or not partition about BTN... like you want.
    Message was edited by:
    N. Gasparotto

  • IN FF67 BRS how to edit the closing balance

    Hi Gurus,
    How to delete or edit the closing balance already entered in FF67 and also after savings but before posting....
    Also kindly tell me what to do with the line items already entered in the ff67 but for some reasons it has not got posted.... wht could be the possible reasons...
    thanks in adv
    Edited by: Vikas on Feb 12, 2009 7:52 AM

    The easy way to solve this issue (without having to delete the whole bank statement with special reports) is as follows:
    1) It is not possible to change the begin- or end-balance in the starting screen, even when the amounts seem to be editable.
    2) However there is an option if you proceed to the next screen, where you enter the individual bank statement lines. You proceed as by choosing menu path: Goto > Change Controls
    3) A pop-up screen will appear. In this screen you are allowed to change the begin or end balance
    That's the way to go. Good luck.

  • How to get reports cumulated balances? need help please

    Dear all,
    I need your help please in this issue.
    I am creting a report using reports designer in oracle, well the fact is i don't know how to do the following:
    if i have for example in the report the following to be diplayed :
    Date Amount Balance
    25/5/2011 2000
    27/5/2011 5000 should be calculated and equal to 2000+5000=*7000*
    28/5/2011 4000 calculated and equal to 7000 + 4000=*11000*
    29/5/2011 1000 calculated equal to 11000 + 1000 = 12000
    what is the method so i can get the balance values calculated 7000, 11000 and 12000? what do i do? any hints please
    thanks for your help

    Using analytic function can be done through query as below...
    SQL> SELECT EMPNO, ENAME, SAL, SUM(SAL) OVER (ORDER BY SAL ROWS UNBOUNDED PRECEDING) RUNNING_BALANCE
      2  FROM SCOTT.EMP
      3  /
         EMPNO ENAME             SAL RUNNING_BALANCE
          7369 SMITH             800             800
          7900 JAMES             950            1750
          7876 ADAMS            1100            2850
          7521 WARD             1250            4100
          7654 MARTIN           1250            5350
          7934 MILLER           1300            6650
          7844 TURNER           1500            8150
          7499 ALLEN            1600            9750
          7782 CLARK            2450           12200
          7698 BLAKE            2850           15050
          7566 JONES            2975           18025
          7788 SCOTT            3000           21025
          7902 FORD             3000           24025
          7839 KING             5000           29025
    14 rows selected.
    SQL> -Ammad

  • How to check the load balancing in Oracle 11gR2 2 node RAC

    Dear All,
    Can any one please assist me how to check whether the incoming connections are evenly distributing across the nodes..?
    We have two nodes, when we check the sessions counts in both nodes, Most of the time we could see node -1 has more no of sessions than node-2..? So just wanted to know whether load balancing is happening or not ...? If not how to enable it and distribute the incoming connections evenly..?
    Oracle 11gR2 / RHEL5

    SQL> select inst_id,count(*) from gv$session where username is not null group by inst_id;
    INST_ID COUNT(*)
    1 43
    2 40
    Not sure how to check the users are connecting through scan or not ..? But below are scan setttings...
    SQL> !srvctl config scan_listener
    SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
    SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521
    SQL> !srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node za-rac-prd-02
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is running on node za-rac-prd-01
    SCAN Listener LISTENER_SCAN3 is enabled
    SCAN listener LISTENER_SCAN3 is running on node za-rac-prd-01
    SQL> !srvctl config scan
    SCAN name: rac_prd.abc.local, Network: 1/10.100.130.0/255.255.255.192/eth6.64
    SCAN VIP name: scan1, IP: /rac_prd.abc.local/10.100.130.55
    SCAN VIP name: scan2, IP: /rac_prd.abc.local/10.100.130.54
    SCAN VIP name: scan3, IP: /rac_prd.abc.local/10.100.130.53
    SQL>

  • How to load the GL Balances data to ECC using BODS 4.0

    Hi All,
    Could provide the suggestions, how to load in the GL balances files into SAP ECC ( F-02 , F-04, F-08 ) using BODS 4.0 Version other than LSMW.
    Is there any simple mechanism to upload the GL files , will be appreciated if you could sent any document / links . We do not have the LSMW enough licences to use it.
    Thanks
    Kumar

    Thanks Harsha, there is NO IDOC for these posts/ loads , for these there would be a bespoke IDOC or BAPI development is required , but we do not want to go through an additional development cost, we looking for options without ABAP development activity. can you suggest any easy options to load financial postings / loads using only BODS .

  • How to see the customer balance as on particular date wise

    hello expert,
    i want to see the customer balance as on particular date wise.  i have already search the given standard t code. is there any option to see the report. please advice me.
    Thanks and regards
    konishko
    Moderator: Search SDN

    Hi,
    Please try reports S_ALR_87012168/S_ALR_87012174.
    Regards,
    SAPFICO

  • How to use the Load Balancer Plug-in to serve multiple domains

    In SJSAS8.1 SE/EE the asadmin commands that create and maintain a load balancer configuration operate within a domain. When the load balancer configuration is exported an xml file is created that contains all the information for that domain. To make the load balancer plug-in balance the load for multiple domains, the loadbalancer.xml files can be manually merged to conatin the data that is exported from each domain's load balancer configuration.
    For example, 2 domains are created, both having a load balancing configuration. After exporting both configurations using the asadmin export-http-lb-config command, the user would then cut and past the cluster information into the single loadbalancer.xml file that resides under the web server's config directory.
    An example of the manually merged loadbalancer.xml file follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <loadbalancer>
    <cluster name="domain1">
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1026 https://localhost:38181" name="i1"/>
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1027 https://localhost:38182" name="i2"/>
    <web-module context-root="ab" disable-timeout-in-minutes="30" enabled="true"/>
    <health-checker interval-in-seconds="5" timeout-in-seconds="60" url="/"/>
    </cluster>
    <cluster name="domain2">
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1029 https://localhost:38189" name="i3"/>
    <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://localhost:1030 https://localhost:38188" name="i4"/>
    <web-module context-root="webservice" disable-timeout-in-minutes="30" enabled="true"/>
    <health-checker interval-in-seconds="5" timeout-in-seconds="60" url="/"/>
    </cluster>
    <property name="response-timeout-in-seconds" value="60"/>
    <property name="reload-poll-interval-in-seconds" value="5"/>
    <property name="https-routing" value="false"/>
    <property name="require-monitor-data" value="false"/>
    <property name="route-cookie-enabled" value="true"/>
    </loadbalancer>
    Hope this helps - Mark

    Mark, be my savior, I work for SUN as subcontractor at client site. the only one at site ...so I depend on this forum for solutions........
    still having trouble failingover to second instance. I have two AccessManagers behind this loadbalancer.
    Here is what I saw......
    **************LOGS**********************
    [20/Jun/2005:14:22:47] failure (15102): for host 128.114.65.13 trying to GET /amconsole/base/AMA
    dminFrame, service-passthrough reports: timed out waiting for request body
    [20/Jun/2005:14:22:47] warning (15102): reports: lb.runtime: ROUT1014: Non-idempotent request /
    amconsole/base/AMAdminFrame cannot be retried.
    So I went and updated the loadbalancer.xml (see at the end of the msg). Now I get a different kind of problem...
    **************LOGS******************************
    [20/Jun/2005:15:25:18] failure (15295): for host 128.114.65.13 trying to GET /amconsole/base/AMA
    dminFrame, service-passthrough reports: timed out waiting for request body
    [20/Jun/2005:15:25:18] info (15295): reports: lb.runtime: RNTM3003 : Error servicing the request : NoVal
    Here is my loadbalancer.xml file...
    <loadbalancer>
    <cluster name="cluster1">
    <instance name="instance1" enabled="true" disable-timeout-in-minutes="1" listeners="http://idm-test-1.ucsc.
    edu:80 "/>
    <instance name="instance2" enabled="true" disable-timeout-in-minutes="1" listeners="http://idm-test-2.ucsc.
    edu:80 "/>
    <web-module context-root="amconsole" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lber
    ror.html" >
    <idempotent-url-pattern url-pattern="/*" no-of-retries="3" />
    </web-module>
    <web-module context-root="amserver" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lberr
    or.html" >
    <idempotent-url-pattern url-pattern="/*" no-of-retries="3" />
    </web-module>
    <web-module context-root="ampassword" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lb
    error.html" />
    <web-module context-root="amcommon" disable-timeout-in-minutes="1" enabled="true" error-url="sun-http-lberr
    or.html" >
    <idempotent-url-pattern url-pattern="/*" no-of-retries="3" />
    </web-module>
    <health-checker url="/" interval-in-seconds="15" timeout-in-seconds="2" />
    </cluster>
    <property name="reload-poll-interval-in-seconds" value="60"/>
    <property name="response-timeout-in-seconds" value="30"/>
    <property name="https-routing" value="false"/>
    <property name="require-monitor-data" value="true"/>
    <property name="active-healthcheck-enabled" value="true"/>
    <property name="number-healthcheck-retries" value="3"/>
    <property name="route-cookie-enabled" value="true" />
    </loadbalancer>
    **************************************************************

Maybe you are looking for

  • Problems in Domain Creation of Weblogic Integration 8.1

    Hi, I am trying to create a domain in WLI 8.1 on Solaris machine. I am creating the domain by running the script config.sh in bea/weblogic81/common/bin directory. But it is creating the domain with default two conection Pools both pointing to PointBa

  • It is question on portlet pdk struts tags link

    hi: <td> <jsp:useBean id="rowEditSet" class="java.util.HashMap"/> <c:set target="${rowEditSet}" property="event" value="setCurrentRowWithKey"/> <c:set target="${rowEditSet}" property="Arg0" value="${Row.rowKeyStr}"/> <pdk-html:link action="/browseCus

  • Analog desktop clock option disappeared in Leopard

    The option to have a semi-transparent floating desktop clock seems to have disappeared in Leopard... Clicking on the purple ? in the Date/Time Preferences states: "To see a clock in the menu bar or on the desktop, select Show the date and time. Choos

  • Application Manager doesn't recognise Cloud apps

    Hi all... Now I am experioencing what I presume is another example of an activation server hiccup. I just upgraded OS from Lion to Mountain Lion 10.8.2. The first time I opened an application (InDesign) it asked me to license the software; I entered

  • How i back up my Apple id

    How can i back up my Apple id