Customer Transactions - Balance

Hi,
Can anybody assist me to do the following.
1. How to get the customer Balance ( opening balance)
2. all the transactions in a particular period (inv, payments, adjustment)
3. for closing balance ( opening balance + sum(transaction amounts))
I know only Invoice tables RA_CUSTOMER_TRX_ALL and LINES tables and customer name, sites, site uses tables only.
But, no familiar with the Transaction Tables.
Regards,
--Prasanth                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

check my post on
How can we get vendor balance(AP) and customer balance(AR) using SQL?
Ugur

Similar Messages

  • Balance sheet valuation not active (Customizing transaction OMWE)

    Hi,
    For FIFO Valuation, I have done the following SPRO setting:
    1. Activate balance sheet valuation (Trans: OMWE) - as LIFO not relevant, FIFO active.
    2. Defined LIFO/FIFO valuation levels (Trans: OMWL) - set as Plant (valuation area).
    3. Configured FIFO Valuation areas for year 2008.
    4. Define LIFO/FIFO method (Trans: OMWP) - FIFO01 as CUR u2013 current
    5. No changes made to movements relevant to FIFO (Trans: OMW4);
    While running the MRF1, the system is throwing the following message:
    Balance sheet valuation not active (Customizing transaction OMWE)
    Message no. MY043
    Pls. help in rectifying the problem.
    Pls. note that I have already activated the LIFO/FIFO-relevant Check box while creating the Material.
    Do I need to execute MRF4 before executing MRF1?
    Regards,

    hey guys... can anyone help  me to solve this issue....

  • Customer Open Balance Aging Report S_ALR_87012178

    hello,
    we are using this report Customer Open Balance Aging Report S_ALR_87012178 but when run, it brings customers' names from VD03 search field, instead it would be handy to see full names from Name-field. I understand S_ALR_87012178 is a static report, but my question would be is there any other transaction/report which shows the same but with customers' full name?
    thanks in advance

    S_ALR_87012178 is the only standard customer aging report.
    Following two solutions I could think of to fit your requirements.
    Develop a custom report by copying standard customer reports that have full customer name and make changes according to your need.
    Or
    In report S_ALR_87012178 the customer name is populated in Address field. So you can use this field as your customer name and develop a custom report.
    Thanks

  • SAP table for customer account balances by document currency

    Hi experts,
    We have a requirement to produce a monthly customer statement by customer currency or customer's document currency. Example is that the company code local currency is USD and the customer currency is EUR. The customer will be allowed to carry over a balance to next period under a certain threshold so there will be a carry over beginning balance from the previous period which needs to appear on the statement. Transaction FD10N only displays customers balances in the local or company code currency which is USD in this example.
    Question: Does anyone know if there is an SAP table that stores period beginning balances by customer account currency or customer's document currency?   
    We have not been able to find one and want to get additional input prior to building our own custom table.
    Many thanks in advance for your assistance.
    Regards,
    NormaF

    Hi:
        Make use of BAPI_AR_ACC_GETKEYDATEBALANCE to calculate customer opening balance. You need to develop Z report using table BSID and BSAD other SD related tables . There is not SAP standard report that shows the customer opening balance as carried forward from previous month.. You can make alteration for for showing balances in document currency.
    Regards

  • Reclassification of Customer & Vendor Balances in Group Currency

    Hello
    It is with regards to the Reclassification of Customer & Vendor
    Balances vide T Code FAGLF101 - Sorting/Reclassification (New) as per
    IFRS.
    The reclassification entries are getting generated in Document & Local
    Currency but no values are getting accounted in Group Currency. The
    reclassification entries should also get accounted in Group Currency.
    We had also implemented following notes related to the same but were
    unable to get the required results.
    1365637 - FAGLF101: Transaction currency amount in postings
    1463016 - FAGL_CL_REGROUP: Additional local currencies (re-
    measurement)
    1493437 - FAGLF101/FAGL_CL_REGROUP: Additional local currencies
    Can some one please comment why the entries are not be flowing in Group
    currency in IF ledger. OR are there any additional notes need to be
    implemented.
    Regards
    Atul

    Hi Atul............
    This language seems you are asking your doubts related to some other version of SAP and this is SAP Business One Forum.
    You are requested to post your question to correct forum because unfortunately you can not get any help from this forum.
    And if you have the other doubts regarding same version then please close all those threads and post it to right one....
    Regards,
    Rahul

  • Customer credit balance to include linked vendor balance

    Hi Expert,
    As per requirement, i need to include Vendor balance (associated to customer master) in customer credit balance (Table KNKK - Filed Receivables).
    Can you provide any pointer towards this on how the same can be achieved (either by SAP configuration OR Z Developments).
    Thanks in advance...
    Regards,
    Ravi Mantri

    Hi
    Enter Customer Number in Vendor Master (General data/Control data) and go to Company code data /payment transactions tab and select clearing with vendor check box
    Do the same in Customer Master as well by linking with above Vendor.
    Srinivas

  • Tcode for Vendor and Customer Trial balance

    Hi,
    I want to generate Vendor trial balance & customer trial balance. I want name of each vendor and customer with the normal and special GL balance written against it
    Ex:
    Vendor A     -    Rs.100-
    Vendor B     -    Rs. 2300-
    Vendor C     -    Rs. 1000
    Total -- XXXXX -
    > This should match with my Vendor Reco account total.

    If standard report does not suffice your requirement, then create your own.
    FOR vendor USE K in transaction code instead of D.
    Hello,
    The following example I have given is for customers.
    The only difference is in transaction codes. For customer you go to FDI1, for vendor you go to FKI1 (reports).
    For Customer you go to FDI4, for vendor you go to FKI4 for forms.
    Remaining all are the same.
    Hello,
    Go to transaction code FDI4
    Select Form Type RFFRRD20 Line item analysis
    Give your form name and description
    Structure (Two axis) - as defaulted
    Click on Create
    You will have lead column
    Delete the rows 2, 3 and 4
    Double click on column 1
    Enter the customer numbers from 1 to 999999
    First column double click (A)
    Slelect following values
    Due date analysis 1
    Days for net due date 0 to 30
    Give the short name, medium name and long text for the column.
    Repeat this step in next columns like 31 to 60, 61 to 90, 91 to 120 and 121 to 99999 days etc in other columns and select due date analysis 1. (B,C,D,E)
    Create one more column by way of formula. To create a new column you need to double click on blue line. Put formula add all five columns you have created above. (F = ABCDE)
    You prepare one more column with
    Due date analysis 2 (G)
    Now you prepare one more column add (F+G) = This will be total open items = over due and not due.
    Now go to FDI1 and prepare a report - assign the form created in FDI4 to the report.
    Characteristics you need to select are
    Account Type (Select Account Type as D for customers)
    Currency
    Customer
    Document Type
    Special G/L Ind
    Company Code
    Change the output types and options according to your requirement.
    Refer FDI2 and FDI3 for other standard reports created.
    Refer FDI5 and FDI6 for other standard forms created.
    Save your report and execute.
    Regards,
    Ravi

  • Customer trail balance

    Hello,
    My client requires customer trail balance like opening balance, sales, receipts and closing balanes format.
    please suggest me the table to get the exact information as per my client requirement.
      now i am refereing the tables namely BSAD, BSID, BSIS.
      is there any other table to consider.
    and the report has to execute on company code and business area level.
    Points awaiting1!
    Regards,
    Sankar

    Hi Durga Sankar,
    Customers - KNC1.
    This table stores total debits/credits for the month
    Also have a look on...
    BSID, "open items (Accounting: Secondary Index for Customers)
    KNA1, "customer master
    RF140, "temp stru (Work Fields for Correspondence (SAPF140*))
    BSAD, "cleared items (Accounting: Secondary Index for Customers (Cleared Items))
    KNVV, "sales data (Customer Master Sales Data)
    KNKK. "credit mgt (
    Also see below example...
    http://www.erpgenie.com/abap/code/abap35.htm
    Also have a look on below BAPIs and Function Modules through which program can details...
    BAPI_AR_ACC_GETBALANCEDITEMS   Customer account clearing transactions in a give
    BAPI_AR_ACC_GETCURRENTBALANCE  Closing balance of customer account in current f
    BAPI_AR_ACC_GETKEYDATEBALANCE  Customer account balance at a key date
    BAPI_AR_ACC_GETPERIODBALANCES  Posting period totals per customer account in cu
    CUSTOMER_BALANCE
    CUSTOMER_BALANCE_SPECIAL_GL
    BAPI_BKK_ACCNT_GET_BALANCE     Read Balances of Customer Account
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • Creation of custom Transaction for confirm goods in SRM

    Hi Experts
    i need to create a custom transaction same as standard one  for confirm goods/servics in SRM portal.
    In sap GUI, the transaction is BBPCF03
    Can you please suggest any good sources where i can learn to Custome Tcodes for my requirement
    Thanks in advance
    Edited by: kittu reddy on Nov 19, 2008 7:27 AM

    Hi Hussaini,
    Here are the steps.
    1> Customization needs to be completed in SPRO. Logistics Execution -> Mobile Data entry section. Also compare entries with LM01 for understanding.
    2> In the 'Define menu management', you can create dynamic menus. For Menu or transaction type, if you enter "1", a menu appears; if you enter "2", a transaction appears. Custom transactions can be created and assigned here.
    Once that is done, when you execute LM01 you will see your custom transactions come up. Make sure that these are created keeping in mind the RF device screen size and limitations.
    Regards,
    Anand.

  • How to fetch the customer debit balances form the KNC1 database table

    Hi Experts,
    I am creating a ABAP report which would dispaly the customer credit balances for the currenct fiscal year.
    I am fetching the values form KNC1 database table.....But in this table values are stored year wise.
    But I want to display for the current fiscal year that means if teh user selects the 07/2011 as the month on the sleection screen then the debit balances from 072010 to 062011 should be dispalyed.
    Could anyone please help me out to fetch this the debit balaces form KNC1 database table in the above format.
    Or is there any other way to solve this problem?
    Awating your urgent reply.
    Many Thanks,
    Komal.

    Hi Komal,
    First, you have to compute the initial period and the final period.
    Next, you must read table KNC1 for the years comprised between these two periods.
    Last, you must read the fields of table KNC1. For that, you should compose dynamically the name of the field, and then ASSIGN it to a FIELD-SYMBOL.
    Now, just add up the values!
    Please try the following code:
    FIELD-SYMBOLS: <fs>.
    DATA: t_knc1 TYPE TABLE OF knc1 WITH HEADER LINE.
    DATA: d_debits LIKE knc1-um01s.
    PARAMETERS: p_kunnr LIKE knc1-kunnr,
                p_bukrs LIKE knc1-bukrs,
                p_spmon TYPE spmon.
    DATA: l_fieldname(20) TYPE c.
    DATA: l_date LIKE sy-datum,
          l_date_from LIKE sy-datum,
          l_date_to LIKE sy-datum.
    DATA: l_period(2) TYPE n.
    DATA: l_num_times TYPE i.
    START-OF-SELECTION.
    "Compute the initial and final periods
      CONCATENATE p_spmon '01' INTO l_date.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          months  = '-1'
          olddate = l_date
        IMPORTING
          newdate = l_date_to.
      CALL FUNCTION 'RE_ADD_MONTH_TO_DATE'
        EXPORTING
          months  = '-12'
          olddate = l_date
        IMPORTING
          newdate = l_date_from.
    "Read table KNC1
      SELECT *
        INTO CORRESPONDING FIELDS OF TABLE t_knc1
        FROM knc1
        WHERE kunnr = p_kunnr
          AND bukrs = p_bukrs
          AND gjahr BETWEEN l_date_from(4) AND l_date_to(4).
    "this will yield at most 2 records, one for present year, and another one for the previous year.
    "but if you select i.e. period '01.2012', initial_date = '01.01.2011' and final_date = '31.12.2011'
    " --> thus only one year --> one record
      CLEAR: d_debits.
      LOOP AT t_knc1.
    " If there's no year change
        IF l_date_from(4) = l_date_to(4).
          DO 16 TIMES.
            l_period = sy-index.
            CONCATENATE 'UM'      "compute dynamically the field name
                        l_period
                        'S'
              INTO l_fieldname.
            ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>.   "assign
            ADD <fs> TO d_debits.                  "and add up
          ENDDO.
        ELSE.
    " If there IS a year change
          IF t_knc1-gjahr = l_date_from+0(4).
            l_num_times = 16 - l_date_from+4(2) + 1.    "you must loop 16 - initial_period + 1 times for the first year
            DO l_num_times TIMES.
              l_period = sy-index + l_date_from+4(2) - 1.
              CONCATENATE 'UM'                "compute dynamically the field name
                          l_period
                          'S'
                INTO l_fieldname.
              ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>.    "assign
              ADD <fs> TO d_debits.              "and add up
            ENDDO.
          ELSE.
            l_num_times = l_date_to+4(2).            "you must loop final_period times for the second year
            DO l_num_times TIMES.
              l_period = sy-index.
              CONCATENATE 'UM'               "compute dynamically the field name
                          l_period
                          'S'
                INTO l_fieldname.
              ASSIGN COMPONENT l_fieldname OF STRUCTURE t_knc1 TO <fs>.     "assign
              ADD <fs> TO d_debits.        "and add up
            ENDDO.
          ENDIF.
        ENDIF.
      ENDLOOP.
    You'll have the result on variable 'd_debits'.
    I hope this helps. Kind regards,
    Alvaro

  • Page Breaks for Customer Open Balance Letter when printing

    Hi All,
    We are running 'Customer Open Balance Letter' report and printing the output(View Output). Which is printed irrespective of page breaks.
    I mean print is like in a single page two letters got printed, which in not expected.
    Are we missing any thing in print setup or the way of printing.
    Please let me know the possibilites of printing a letter per page or different letters printed in different pages without customization of that report.
    thanks in advance.
    Edited by: 834095 on Jun 1, 2011 2:34 AM
    Edited by: 834095 on Jun 1, 2011 2:34 AM

    What is your application release?
    What is the type of the report (text, postscript)?
    Is the issue with this specific report only? Can you reproduce the issue if you print to another printer?
    What if you download the output file to your desktop and print it, can you reproduce the issue then or it is when you print directly from the application only?
    Please post the details of the printer setup/style/driver.
    Thanks,
    Hussein

  • Customer Open Balance

    Can we get Customer open balance based on inventory organization
    I need to customize Report customer open Balance Report to drill down
    open balaces based on inventory organization instead of operating UNit
    Thanks
    Sankuratri

    When you post the partial payment, the system marks the document number of the original open item in the line item for the partial payment. The original open item and the partial payment remain open.
    The system stores the document number, fiscal year and number of the invoice item in the partial payment. <b>You can find this information in the 'Payment for' field.</b> Thus you can refer to the original open item from the partial payment. When you post the remaining amount for the invoice, both the partial payment and the invoice are cleared.
    This is per documentation for <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/01/a9bb94455711d182b40000e829fbfe/content.htm">partial payments</a> , you may want to test it out. Hope a similar feature is available for credit memos.

  • Custom Transaction using RSDMD to go to MD Screen Directly

    Hi,
    I have created a custom transaction for Master Data Maint. which uses RSDMD and the InfoObject name.
    By using this custom transaction I can reach to
    the screen to filter the records. Here I click on
    execute (F8) to reach the actual data.
    I used SHD0 to create this custom-transaction.
    How do I include the "execute / F8" functionality in my custom transaction, so that when I use custom-transaction I can go directly to the data.
    Would appreciate your help.
    Thank you,
    Pramod.

    Hi Mark,
    Your design of going for Name01, Age01 , Date01.....
    is absolutely correct. Stdandard SAP even does the same thing.
    Regarding the dump...you can do one thing..try referring
    standard infotypes which uses table control like Basic pay infotype 0008.
    If you get any help from there then its fine..or just post send the dump analysis (point 3 of dump) to forum i guess from that definitely we can conclude at the reason for dump...
    Enjoy SAP.
    Pankaj

  • Vendor /Customer Trial Balance between a particular date

    HI
    Is there a standard report in SAP which provides Vendor/Customer Trial balance. We are using the standard  SAP Reports for
    Vendor S_ALR_87012082 Vendor balances in local Currency
    Customer S_ALR_87012172 Customer Balances in local currency
    We also need to filter the data in Trial Balance based on profit centers. All our plants are created as profit centers
    Regards
    Sanil Bhandari

    na

  • How to Run a Custom Transaction in Back Ground after give the Input?

    Hi,
        I have problem that how to execute a Custom Transaction in Back Ground after end user will save a variant for input. In my Transaction there is no menu to save a Variant & to Execute in Back Ground.
    Please suggest me how to do this in my Custom Transaction.

    Hi Ramana,
    what kind of report you want to  execute? the report is Executable Report or Modulepool prog. ??
    if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
    Why you want to run it in background with transaction code if you have this options?
    Regards,
    Sunil kairam.

Maybe you are looking for

  • Transport request number in LO extraction

    What we have to mention in transport request number  field  while doing LO extraction ? where to find it ??

  • Flex Builder Icon

    Flex Builder 2.0.1 is using the older Macromedia-Style spherical icon. Any idea when the new Icon will be used? I notice Ted Patrick is already using the new Flex(Fx) icon on his blog. I was hoping this update would start using the new branding as th

  • Driver program for the Smart form

    Hi all. I have an issue in smart forms. we are implementing RE(Real Estate) module with the version ECC 6.0. In the RE ,for printing the forms.I know the name of the SMART form only. how can i know the corresponding Driver program. Plaese help me to

  • Migrating on premise site collections to SharePoint online using powershell

    Hi folks, Intention:-migrating on premise site collection to SharePoint online. Is there any power-shell script or list availabe products. Please give idea and let me know that script. Thanks,

  • Why is the clock time off on my imac

    The clock on my iMac is off about 10 minutes. How does this happen with a battery back up?