V IMP : Report for Cash Customer Bill wise details

Hi ABAP Gurus,
Any body is having the report on Cash Customer Bill wise Details (with invoice details) ? Input criteria - Company Code, Plant, Cash Customer Name(customer Name given while creating cash customer) & Date Range(Document date). I am using the tables BSEC,BKPF,VBRP,BSAD,BSID. Out put i have to get Date, Doc No, Particulars QTY UOM Material Rate and Gross amount(Opening & Pending Amount) as line items.
Please send me code on this. It's very urgent. Tomorrow is it's delivery date.
I will reward points.
My mail ID is [email protected]
Thanks and Regards,
Sundeep.

Hi,
Check the following links:
http://www.sap-img.com/sap-fi.htm
http://www.sapbrainsonline.com/TUTORIALS/FUNCTIONAL/FI_tutorial.html
Regards,
Bhaskar

Similar Messages

  • How to Created custom report for Ship not Billed (SD/FI)?

    Hi all,
    I am anticipating  to write some abap reports..Here is one of them..
    Anyone can help  me with writing a Report , how to do 'Custom Report for shipped not Billed(SD/FI)' ..But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea, how it can be acheived...what kind of report should be used , techniques, tables etc...:)
    Appreciate your help!
    Regards,
    Boby

    Hi Boby,
    You need to create custom transaction to achive these results.
    you will have selection-screen ,it would be :
    Date : Here date would be mandatory  - Ranges Option
    Customer  - Optional field - Ranges
    Order #  Sales Order (Optional) Ranges
    Invoice #  - Invoice # (Optional) Ranges
    You will get the data based on ur selection-screen criteria ...
    First you will have customer order details from diffrent table
    VBAK,
    VBAP,
    LIKP
    LIPS
    VBRK,
    VBRP
    KNA1,
    VBFA Tables ( See the my sample program )
    Output would be :
    Customer #   Custome Name    Order #   Delivery #   Invoice #   Netpr, Netquantity ,
    Check the condition  whether invoice table has VBRK-RFBSK  = ''.
    See the my sample program : This is sales report by monthly..
    REPORT ZFDSALES_REPORT no standard page heading
                           message-id zwave.
    Data Declaration Part
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
          IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Reward Points if it is helpful
    Thanks
    Seshu

  • Sql query to find the balances for a customer account wise.

    Hi,
    Could someone help me with the sql query to find the balances for each customer account wise. This is need to generate the report.
    presently we are using this query, but the output doesnot return the expected result.
    SELECT sum(nvl(ps.acctd_amount_due_remaining,0)) "Balance"
    FROM      ra_cust_trx_line_gl_dist_all gld,
              gl_code_combinations c,
              ar_payment_schedules_all ps,
              RA_CUSTOMER_TRX_ALL rat,
              ra_customers rc
    WHERE      c.CHART_OF_ACCOUNTS_ID = 101
    and gld.code_combination_id = c.code_combination_id
         and rat.CUSTOMER_TRX_ID=gld.CUSTOMER_TRX_ID
         and rat.CUSTOMER_TRX_ID=ps.CUSTOMER_TRX_ID
    and ps.customer_id=rc.customer_id
         and ps.status='OP'
         and ps.gl_date <= :PDATE
         and ps.org_id=:PORGID
         and ps.class in ('GUAR','INV','DM','DEP')
    and c.SEGMENT4=:Account_id
    and ps.customer_id=:Customer_id
    Thanks in advance.
    Kalyan.

    Can someone help us with this.

  • Interactive report for displaying customer information

    hi,
        how to create an   interactive report for displaying customer information based on selection smade ,and corresponding bank details.

    pls check the sample code
    Use the tables Kna1 and knbk to get the customer details.
    ***extract the data into internal table
    select * from dbtab into itab.
    *In the loop hide the field you want to trigger the interactive list.
    loop at itab.
    write: / itab-kunnr, itab-name1.
    Hide itab-kunnr.
    endloop.
    use at line selecton to get desired output based on the condition
    at line-selection.
    select * fro dbab into itab where field = itab-kunnr.
    awards points if help ful.

  • Report for payment due billing doc with taxes

    Hi All,
    I want the report for payment due billing documents with following fields and after payment is done( F-28 )  that document should not appear in the report for the said period.
    Billing date, Billing doc no, Net value, Tax Amount
    Thanks and regards,

    Dear Swarup
    You have to table join in SQVI - VBRP  for Billing date, Billing doc no, Net value, Tax Amount and BSEG  for payment updation details.
    Take the help of ABAPer and develop a zee report to fulfill the requirement.
    thanks
    G. Lakshmipathi

  • Standard report for cash book & Bank book

    Hi Guru's,
    Please tell me the transaction codes for reporting cash journal & Bank book in standard sap
    Thanks.
    Santosh Rothe

    Hi,
    For standard report for cash book & Bank book
    Cash Journal : T.code FBCJ
    Report -  S_ALR_87012309 - Print Cashbook
    You can also try this report
    J3RFCASH15 - Cash Journal Reports
    For Bank Book
    There is no standard report for Bank Book
    S_ALR_87012348 - Cashed Checks per Bank Account
    S_ALR_87012349 - Outstanding Checks Analysis per G/L Account and Vendor
    Please let me know if you need more information.
    Regards
    Sridhar M

  • Standard reports for cash and fundflow reports?

    Hi,
    i need a requirement to maintain reports for cash and funds flow statements?Actually relevant to these reports i use to maintain customize only but coming to fundflow and cash flow there is much complications to do that.
    so is there any standard reports to maintain fundflow and cash flow reports which is relevant to FI-CO
    Thanks in Advance
    vass

    Hi
    You have Cash flow statement based on 0FIGL_VC1
    http://help.sap.com/saphelp_nw70/helpdata/EN/7d/6cfa40ee14f26fe10000000a1550b0/frameset.htm
    You also have Cash flow statement based on 0BCS_C10, but not sure it does suits to your requirement.
    http://help.sap.com/saphelp_nw70/helpdata/EN/39/09503e50a9054be10000000a114084/frameset.htm
    Hope it helps

  • How go generate Popularity Trends report for a custom list in SharePoint 2013

    Hi, 
    I want to generate  Popularity Trends report for a custom list in SharePoint 2013, is it possible?
    Thanks
    khadar pasha

    According to
    this link you should be able to access this option from the Items tab. for this to work, the Analytics Processing Component needs to be running.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Report for Cash flow (fund flow from Bank GL)

    Hi Expert,
    I would like to have your advice on how can I create this type of report?  Is it better using Fund Management?
    My client is asking on cash flow report in which the report should show all fund (cash at bank) movement.  Basically, the report should have 2 main category, which are Cash Inflow / Cash Outflow,for example:
    Cash Inflow
    - Payment received from customer
    - Interest received from FD at Bank
    - Other receipts
    - Government Subsidy Received
    - Government Grant
    Cash Outflow
    - Payment to vendor
    - Finance charge paid to bank (overdraft/loan, etc)
    - Operating Expenses
    - CAPEX
    - Other Payments
    For cash inflow, double entries involve to bank GL is as follows:
    DR Bank
    CR Item listed in cash inflow section, for example: payment received from customer (or CR csutomer), FD interest received (Revenue item of P/L), etc
    For cash outflow, double entries involve to bank GL is as follows:
    DR  Item listed in cash outflow section, for example: payment to vendor (or DR vendor), Payment to non-trade vendor (for asset purchase, etc), Interest paid (expense item of P/L), etc
    Questions:
    Since my debit or credit leg of my bank account, currently does not have any indicator that can explicitly indicator the nature of my inflow and outflow, how can I produce my report of cash flow show above?
    Note: It is extremely heavy for customized ABAP program to extract my bank entry and point back to the opposite leg to find the nature of my inflow/outflow as well.
    Kindly advise.
    Thanks in advance,
    sbmel

    Hi
    In ECC 6.0 EhP4 - A new feature has been added inorder to provide such a kind of cash flow report... You need to activate Business Function PSM_FA_CASH..
    Refer this link http://help.sap.com/erp2005_ehp_04/helpdata/EN/42/e34f2c31023ee1e10000000a1553f6/frameset.htm...
    ... Under Business Functions in SAP ERP > Enterprise Busn Func > Accounting > Public Sector management > PSM, Cash basis accounting & Cash flow reporting
    Once you activate it, you will find additional nodes of IMG under SPRO > Public Sector management.....
    This works the same way as Doc Splitting... technically speaking, this new feature is extended arm of Doc Spliting... In Doc Splitting, you assign item Categories to each GL Account.... Similarly, you will assign a "Revenue / Expense Account" to each GL Account.... This R/E Account can be any alpha numeric text.... This R/E account then gets added as a Doc Splittin Char and is populated in every FI Doc that you post
    I have tried this in a test client a year ago and was more or less satisified with it barring some exceptions....
    br, Ajay M

  • Std report for List of Billing documents

    We want to display all billing documents for multiple customers.
    VF05 is for single customer.
    Is there any standard report available for this.
    Thanks & Regards

    Hi Sagar,
    You can go to transaction SQVI and here create table join for tables VBRK & VBRP.
    Select the relevant fields as your input and list fields.
    Give the input field as billing date range.
    So for eg, now if you enter say 01.01.2008 - 31.01.2008, you can see all the billing documents created between these two dates irrespective of whoever your customer is.
    Hope this helps.
    Reward points if helpful.
    Regards
    Ravi

  • New report for Cash Position (TC - FF7A)

    Hi
    I want to draw cash position (FF7A) report in following format:-
    1) Receipt
                   AR Collection
                   Other
                   Total Receipt
    2) Disbursements
                   Payroll
                   Bonus
    3) Accounts Payable
                   Purchase
                   Freight
                   Other Exp
    I have done the necessary configuration for Cash Management and getting result as per standard report. Can anybody let me know how to draw above report for TC - FF7A. If possible revert in detail
    Regards
    DD

    Hi,
    Please explore custom reporting option because I don't see FF7A/FF7B giving the desired output.
    Manish

  • SAP Report for Cash payment more than Rs 20000/ within a year

    Hi Friends,
    Is there any report which will help me to find out the cash payments more than INR 20,000 during the year? If not then please provide the logic to develop this report
    Thanks & Regards,
    Nainesh
    Moderator: Please, avoid asking basic questions

    Hi Nainesh
    Use FBL3N report and input your Cash Payment GL accounts which are used in FBCJ for cash payments
    It will give you a list of all payments made and you can filter the report based on amount...
    Also, you can include Vendor account as "Off setting" field.. If off set account is not available in the report, include it from Extras > Settings > Special FIelds... This will generate a workbench request which you need to transport from DEV to Production
    Also, if Offset field is not ppopulated, refer SAP OSS note 112312... This has all the steps you would need
    Regards
    Ajay M

  • Report for release of billing docs

    Hello,
    Which SAP report is used to release billing documents for accounting?
    Thank you

    Hello,
    Thank you for the transaction code.
    We want to run report through transaction SE38.
    Hence I am looking for report or program for release of billing document to accounting.
    Thanks again.

  • Report for Inquiry sales person wise  very urgent

    Hello Experts,
    Please help me in the followings.
    I want to generate a report for SD year and financial month wise.
    I want to display the field in the report. if the input is q1(quarterly basis)
    example
    <b>                              apr,    may,       jun,        q1</b>
        inquiry                    <b>16.43 </b>  <b>12.98</b>   <b>  4.04</b>       <b> 33.45</b>
        Aperson                  0.32     0.80         -          <b>1.12  </b>
        Bperson                 14.94    11.30      3.86       <b> 30.10</b>
        Cperson                 1.10       0.39       -            <b> 1.49</b>
        Dperson                  0.07       0.49       0.18       <b> 0.73 </b>
    I am looking for the horizontal total as well as vertical total of the inquiry.
    bold data refers the total amount. 
    please see the data properly then you came to know easily. the display is not shown properly in the sdn.
    Thanks
    Balaji.R

    Hi,
    Check the following links:
    http://www.sap-img.com/sap-fi.htm
    http://www.sapbrainsonline.com/TUTORIALS/FUNCTIONAL/FI_tutorial.html
    Regards,
    Bhaskar

  • Function module for displaying customer address changes detail

    Hi ,
    Can anyone tell me any code or function module which gives me customer addresses before changes or after changes customer address.
    Regards,
    Gaurav T.

    GT,
    First check acustomer in 'XD04' which has got some change doc history. See all changes in XD04 for that customer.
    Then go to CDHDR table,
    OBJECTCLAS = 'DEBI'.
    OBJECTID      = Customer Number (10 digit with 0 padding).
    UDATE           = Update/change date (Take from XD04).
    Run the table & put the same values in CDPOS along with the CDHDR-CHANGENR & get the field wise changes in Customer with new & old values.
    Try this out or else call me.
    Regards,
    SP.

Maybe you are looking for