Hi masters, want bapi for customer balance report

HI Masters,
               please can any one give reply about bapi whch one is using for developing customer balance report in webdynpro java
I want to see the customer balance report in portal through developing webdynpro java application only. for developing , i need bapi regarding customer balance report. Customer when he login the portal he has to view his ledger balance in portal.please  give reply about the bapi to see customer ledger balance . we can do by transactional iview. but i need only through webndynpro java application
reply will appreciated.

Hi surya,
The tcode for customer balance report is FBL5N
BAPI_AR_ACC_GETKEYDATEBALANCE -
>Customer account balance at a key date .
Regards,
srikanth

Similar Messages

  • Problem in making logic for customer balance report

    Hi,
    I am working on a customer balance report in which i am picking the data from BSAD and BSID tables. I am facing a problem that i am able to calculate the opening balance in it but not able to calculate  closing balance. I am comparing the data with tcode FBL5N for opening and closing  balances for a given date range.  Kindly help me out where i am getting wrong:-
    Here the link to the code :-
    http://docs.google.com/View?id=dfxswwff_11fdktr7ct
    Edited by: nav009 on Feb 6, 2010 9:30 AM

    Hi Nikhil,
    Thanks for you response but i had developed the report and  i am able to pick the correct data but i am facing the problem in displaying the NETAMT which is displaying the data using this formula :-
    1.) NETAMT = NETAMT +  W_TAB1-DR + W_TAB1-CR.
    so that the last value matches with the closing balance.
    When i am using this formula i am not able to display the correct data of deducting or addition of the opening balance in it but the value matches with closing balance .
    2.) NETAMT = NETAMT + W_OPBAL-OPBAL +  W_TAB1-DR + W_TAB1-CR.
    When i am using this formula it is showing the first value correctly but not the last one which will be displayed in the closing balance.
    I want to have desired output to display the first value to be displayed as it is showing in the (2) and last value to be displayed as  it is showing in (1) last value.
    How can i achieve this  functionality? i really want to know...
    Edited by: nav009 on Feb 10, 2010 6:29 AM

  • How can i have customer balance report at Ship to Party Level

    HI All
    My client want to have a report for  customer balances  at ship to party level
    For example for a customer ABC has 4 ship to party and they want to track Sales at each ship to party level for Customer ABC
    Regards
    Sandip

    Thanks Buddi,
    Partner function SB works the way we wanted it to.
    Regards

  • How to get Daily Customer Balance Report?

    Hi
    I have received a requirement from the user where he has to send the Daily Customer balance report currently he is using the T.Code S_ALR_87012172 Customer Balances in Local Currency for fetching the monthly data.
    I want to know what are the ways to make the report and what is the best way out of them to do it. Can it be done through user Exit, BADI, query or we have to get the Z report made by the apaber.
    Also, if it is possible please tell me the way step by step for user exit, badi or query if that is to be used.
    Please help
    Thanks in advance
    Pankaj

    Thanks for your reply Aleksey...
    We are using the report S_ALR_87012172 - Customer Balances in Local Currency and user want the same report on daily basis like Total Debit/Credit, Balance carryforward and the Accumulated balance. I have checked but unable to find out any such output.
    Please suggest what to do whether to make chnges in report painter or have to write a query. If I write a query then plz suggest me the tables as I am trying to do that but unable to link the Balance carryforward and accumulated balance.
    Regards
    Pankaj

  • Customer Balance Report throught Abap

    Hi,
    I want to develop a report Customer Balance Report in which along with details i have to display the closing and opening balance of it. As per search through SDN i come to know that BSAD,BSID tables to be used so that data can reterived and for cross checking the out put Standard Report named S_ALR_87012172 and the Tcode FBL5N ..
    I want to know is this data is sufficient to start this report and the data for displaying the closing and the opening balance of the customer?

    Hi  ,
    To derive an opening balance, you need to decide on key date. The date one which you want to see an opening balance.
    Suppose that date is wf_keydt . Then your logic for calculating opening balance should be as folloes :
      SELECT kunnr bukrs belnr gjahr buzei blart shkzg dmbtr
               INTO TABLE it_data
      FROM bsid
      WHERE bukrs = p_bukrs
      AND   kunnr IN s_kunnr
      AND   budat <= wf_keydt
      AND   hkont = p_hkont
      AND   gsber = p_gsber
      AND   bstat = space
      AND   umskz = space.
      SELECT kunnr bukrs belnr gjahr buzei blart shkzg dmbtr
               APPENDING TABLE it_data
      FROM bsad
      WHERE bukrs = p_bukrs
      AND   kunnr IN s_kunnr
      AND   budat <= wf_keydt
      AND   augdt > wf_keydt
      AND   hkont = p_hkont
      AND   gsber = p_gsber
      AND   bstat = space
      AND   umskz = space.
      LOOP AT it_data INTO wa_data.
        CLEAR wa_tab.
        wa_tab-kunnr = wa_data-kunnr.
       wa_tab-dmbtr = wa_data-dmbtr. "+nvj15102007 security deposit added in output
        IF wa_data-shkzg = 'S'.
          wa_tab-opbal =  wa_data-dmbtr.
        ELSE.
          wa_tab-opbal =  wa_data-dmbtr * -1.
        ENDIF.
        COLLECT wa_tab INTO it_tab.
      ENDLOOP.
      REFRESH it_data.
    Hope this helps to you.
    Btw I am leaving for the day now. Any thing else do reply to me. I will revert to you tomorrow.
    Regards,
    Nikhil

  • BAPI For Customer Creation.

    Hi All,
    My requirement is that I want to create customer through report.
    1 -Fill a customer data in text file and upload through reports
    2-  In which Function module or BAPI need to pass the data.
    Please tell me BAPI name for creating customer.
    Regards
    Mohammad Arif

    No classic BAPI (ie. FM) available without restriction (*) so look at class cmd_ei_api method
    maintain_bapi.
    Regards,
    Raymond
    (*) BAPI_CUSTOMER_CREATEFROMDATA1 is restricted to online store...

  • Getlist bapi for customer based on sales org, distbtn chnl

    Hi,
        Is there any standard BAPI for customer Getlist , i want to filter based on distribution chanel and sales org and divison.
            Now am using BAPI_CUSTOMER_GETLIST  its showing all customer list i want to filter this based on distribution chanel and sales org and divison.
    Thanks ,
    Arun

    Hi Siva : )
    In VK11 we have a key combination radio button called Country/ Destination Ctr./Plant/TaxClCust/TaxClMat.
    I think it might be a custom key combination (so you might have to create a siliar one for yourself), but basically all I had to enter there was Country = GB, Destination Coutry = GB, plant SORG1 (it's called the same as the sales org and is linked 1-1), tax classification on Customer = 2 (because I want the central setting on the customer to be 2 = ICO, no tax), tax classification on material 1 = full tax goods and enter relevat tax code.
    Hope this helps.
    It worked for me.
    Kind regards,
    Tanja

  • Please update the functional specifications for Vendor Balance Report

    Dear All,
    Please update the functional specifications for Vendor Balance Report with
    proper descriptions.
    Please include
    1. How your selection screen should look like..
    2. Output format ( in an excel sheet)
    3. Logic for every field in the output format (viz. .. how do link the
    vendors from the selection screen to the BKPf and BSEG tables, how do you
    find open and closed items in BSEG , etc.)
    Please avoid statements like 'The total value of all the break-up should
    tally with the balance as shown in FBL1N for a given vendor for the given
    day.'
    You need to give the logic for the FBL1N, in that case.
    Regards
    Rama Mohan

    Hello again,
    Regarding having them update the specs, one can dream. Dreams are free. LOL. Hopefully the memory makers will update their specs as more makers start supporting a large memory configuration.
    The 4GB sticks I am using are http://shop.kingston.com/partsinfo.asp?ktcpartno=KTL-TP667/4G
    I did not do an extended test of the sticks in my MBP. Their home is in the ThinkPad I have because it is running Windows Server 2008 with Hyper-V.
    As you can see from the link above, these little suckers are pricey. But consider the price of 2GB SoDIMMs were $950 when they entered the market a couple of years ago. The price will drop.
    I asked the Kingston rep that sent these to me if online sites like newegg.com would have them soon. She indicated no, but the corporate buying sites like CDW and Zone would. So check around. They just started shipped a couple of weeks ago so be patient.
    If you have any other questions, please stop by http://blogs.technet.com/keithcombs/archive/2008/07/05/testing-my-apple-macbook- pro-with-8gb-of-ram.aspx and ask there. I'll see them much more quickly.
    Cheers,
    Keith Combs
    Microsoft

  • Bapi for customer scheduling agreement

    hi ,
    please tell a bapi for customer scheduling agreement(va31).
    Thanks,
    sridhar

    Hi Reddy ,
    what happend ? u told that u got the BAPI ?
    i already seen that FM ,Do one thing ? search for COMMIT WORK in VA31 program , i think u will get some idea.
    regards
    Prabhu
    Message was edited by: Prabhu Peram

  • BAPI for Customer Edit

    Hi all,
    Which are the BAPIs available for editing customer, I ve created the BAPI for customer creation using the standard program RFBIDE00, can this program be used for editing the customer information.
    pls suggest
    Regards
    Vishal

    This is most likely the BAPI you are looking for:
    BAPI_CUSTOMER_CHANGEFROMDATA1
    Or else try looking in Transaction BAPI under financial accounting / accounts receivable / customer....

  • Any bapi for update MCJ4 report(SAP performance reports)

    Hi,
    Any bapi for update MCJ4 report(SAP performance reports)
    or
    how to update MCJ4 report from my webdynpro application.
    Regards,
    Deepak Singh

    Hi,
    Have you gone through this ,We already have the discussion on this .
    [http://forums.sdn.sap.com/thread.jspa?threadID=1162642]
    BTW , As you say, you are going to create the Milsetsone what is your reference is it WBS element and project definition or network , How are you planning to bring the reference data from the legacy system [ As example the WBS element against which the Milestone s are craeted] into SAP . Becuase as far as i know milestones area attached with project definition and then further down to WBS element so you need to bring the Project definition + WBS element to change create the milsetone .
    Thanks,
    Anjaneya .

  • Customer Balances Report problem?

    Hi,
    I am facing some problem it may have been discussed before but it is urgent so I am posting it.
    1) User wants to see the S_ALR_87012172 - Customer Balances in Local Currency on daily basis or any report which is similar to that.
    As far as I know he can't have this report on date wise for that we may have to go for the customization.
    Please suggest any other T. code or way out if we have in SAP.
    2) I have checked the records and I am confused as when I am running the FBL5N then I can see the balances for a customer
    1660000056 DR 31.03.2010 50,000.00
    5432402564 GL 31.03.2008 56,545.00-
    1900005638 AB 30.06.2007 56,545.00
    50,000.00
    which is fine as all are open items and due but when I run S_ALR_87012168 - Due Date Analysis for Open Items
    Due -                        Total OI                                      Total OI - Total OI
    NAZIMA STORES     10,681.45                                    23,809.50
    Please suggest me why is it so.
    Thanks and Regards
    Nitin

    Hi,
    Thanks for your reply PPIO_ENTRY....
    The customer does not want the report that is in FD10N and FD11 he wants the report based on the T. code S_ALR_87012172 - Customer Balances in Local Currency or something related to that.
    Please suggest...
    Thanks and Regards
    Nitin

  • Vendor *** customer balance report

    hi friends
    i would like to know the balance outstanding ,at any point of time, of a vendor who is customer and
    also that of customer who is vendor . Do we have any system defined deports for this.
    thanq

    Hi Leo,
    For this scenario:
    you need to change your customer master data as well as vendor master data.
    In customer master data you give your vendor name and tick clearing with vendor in company code data of customer master.
    same with vendor master data, you need ot give your customer number in genral data and tick clearing with customer master data.
    Then you can use reports like FBL1N & FBL5N for net balance display.
    you need to tick vedor items/Customer item while executing reports.
    Best Regards
    Ashish Jain

  • BAPI for customer scheduling aggrement (VA31)

    Hi,
    I want to create customer scheduling aggrement using BAPI, but i hav't find any BAPI for this.
    So please tell me is their any BAPI available to create scheduling aggrement.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks,
    Rahul
    Edited by: Alvaro Tejada Galindo on Aug 22, 2008 4:21 PM

    Dear Jelena,
    'BAPI_SAG_CREATE' is used for creating Purchase Scheduling Agreement Tcode u2013 ME31L but my requirement is for creating customer scheduling agrrement Tcode - VA31.
    Pl. confirm is it possible to use the above BAPI for VA31 or not.
    Thanks,
    Rahul

  • Customer balance report - S_ALR_87012172

    Hi sap gurus, I searched forum but I couldn't get enough knowledge. how does S_ALR_87012172 calculate customer's balance value? based on posting date, clearing date, document date or other date? I'm checking with fbl5n but balances are different.as I understand, other sap users have same problem but there isn't clear information.
    difference between the balance of FBL5N and the balance of S_ALR_87012172
    Difference between FBL5N & S_ALR_87012172
    S_ALR_87012172 when compared with FBL5N does not reconcile
    diff in customer balance in the report S_ALR_87012172 & fbl5n

    Hello,
    You don't need to check clearing date.
    Please select data from BSID and BSAD less equal to key date. Is it equal to total balance report?
    You can balance report per each customer, I think you can check it for wrong balance's customer.
    Please share result to me.
    Regards,
    Burak

Maybe you are looking for