Devloped an ALV report for daily cash receipts for selected date range

hi,   
             how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.

Hi,
You can develop simple reports using Report Painter.
You may be also interested in:
Check report SAPMF05A for credit memo
See the following Std reports on Payment Advices execute the Tcodes:
S_ALR_87009888
S_ALR_87009889
S_ALR_87009890
S_ALR_87009891
S_ALR_87009892
S_ALR_87009893
S_ALR_87009978
S_ALR_87009979
S_ALR_87009980
S_ALR_87009981
S_ALR_87009982
S_ALR_87009983
S_ALR_87010056
S_ALR_87010057
S_ALR_87010058
S_ALR_87010059
S_ALR_87010060
S_ALR_87010061
S_ALR_87010066
S_ALR_87010067
S_ALR_87012106
S_ALR_87012107
S_ALR_87012108
S_ALR_87012109
S_ALR_87012110
S_ALR_87012111
S_ALR_87012116
S_ALR_87012117
S_ALR_87012200
S_ALR_87012201
S_ALR_87012202
S_ALR_870122
S_ALR_87012204
S_ALR_87012205
S_ALR_87012350
S_ALR_87012351
S_ALR_87012352
S_ALR_87012353
S_ALR_87012354
S_ALR_87012355
sample ALV report:
tables:
marav. "Table MARA and table MAKT
Data to be displayed in ALV
Using the following syntax, REUSE_ALV_FIELDCATALOG_MERGE can auto-
matically determine the fieldstructure from this source program
Data:
begin of imat occurs 100,
matnr like marav-matnr, "Material number
maktx like marav-maktx, "Material short text
matkl like marav-matkl, "Material group (so you can test to make
                        " intermediate sums)
ntgew like marav-ntgew, "Net weight, numeric field (so you can test to
                        "make sums)
gewei like marav-gewei, "weight unit (just to be complete)
end of imat.
Other data needed
field to store report name
data i_repid like sy-repid.
field to check table length
data i_lines like sy-tabix.
Data for ALV display
TYPE-POOLS: SLIS.
data int_fcat type SLIS_T_FIELDCAT_ALV.
select-options:
s_matnr for marav-matnr matchcode object MAT1.
start-of-selection.
read data into table imat
  select * from marav
  into corresponding fields of table imat
  where
  matnr in s_matnr.
end-of-selection.
Now, we start with ALV
To use ALV, we need a DDIC-structure or a thing called Fieldcatalogue.
The fieldcatalouge can be generated by FUNCTION
'REUSE_ALV_FIELDCATALOG_MERGE' from an internal table from any
report source, including this report.
The only problem one might have is that the report and table names
need to be in capital letters. (I had it )
Store report name
i_repid = sy-repid.
Create Fieldcatalogue from internal table
  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
            I_PROGRAM_NAME         = sy-repid
            I_INTERNAL_TABNAME     = 'IMAT'  "capital letters!
            I_INCLNAME             = sy-repid
       CHANGING
            CT_FIELDCAT            = int_fcat
       EXCEPTIONS
            INCONSISTENT_INTERFACE = 1
            PROGRAM_ERROR          = 2
            OTHERS                 = 3.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
            I_CALLBACK_PROGRAM       = i_repid
            I_STRUCTURE_NAME         = 'marav'
            I_DEFAULT                = 'X'
            I_SAVE                   = 'A'
       TABLES
            T_OUTTAB                 = imat.
  IF SY-SUBRC <> 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC .
  ENDIF.
Hope this will help.
Regards,
Naveen.

Similar Messages

  • Devolped an ALV report for daily cash receipts for selected date range

    hi,   
                 how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.

    hi,   
                 how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.

  • Daily cash receipts report

    dear experts,
    what are the tables( with fields)  and conditions to develope a report on daily cash receipts.

    Depending on your Requirements, you can begin looking at the Tables BKPF, BSIS, BSID, BSAD, KNA1, and KNVV.

  • Daily Cash Receipt Report

    Hello,
    Do we have any Daily cash receipt report in SAP AR (Standard SAP)
    Nettem

    If you se lockbox then you can use FOEBL1, otherwise you can use FBL5N and choose the document type that is used for cash receipts.

  • Early Inspection for a Goods Receipt for production order

    Dear Experts,
    This  is with respect  Early Inspection for a Goods Receipt for inspction type 04.( 03 is also active in material master)
    We made partial confirmation  250 qty for production order using t code co11n ( total qty of production order is 1000).
    made the usage decision with an acceptance and posted all open stocks. to unrestricted.
    Now  in second partial confirmation prodn order  of 250 qty was made . This suppose to be rejected .  but sytem will add this 250 qty directly to unrestricted stock .  how to over come this .
    Regards
    Sandeep

    Don't make the UD until all stock has been receipted?
    You basically approved the batch.  So why wouldn't the system put the stock to unrestricted?
    Why would you make a UD when you still have stock to be posted anyway?  You can post stock without without making a UD so why not just post some if you need it, and wait on making the UD?
    Craig

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • Bapi for getting openitems with in the date range

    Hi experts,
                     Can anybody suggest me or is there any bapi for calculating balances for vendor with in the given date range.
    Thanks in advance,
    Regards,
    Murali Krishna T

    Hi,
    Please check
    BAPI_AP_ACC_GETBALANCEDITEMS Vendor Account Clearing Transactions in a given Period
    BAPI_AP_ACC_GETCURRENTBALANCE Vendor Account Closing Balance in Current Fiscal Year
    BAPI_AP_ACC_GETKEYDATEBALANCE Vendor Account Balance at Key Date
    BAPI_AP_ACC_GETPERIODBALANCES Posting Period Balances per Vendor Account in Current Fiscal Year
    Regards
    Hiren K.Chitalia

  • No schedule lines due for delivery up to the selected date

    Dear Experts,
    My order has no block. i tried with 3 months in selection date in VL01N.
    My schedule line in order has 0 confirmed quantity,
    Kindly confirm if error in VL01n No schedule lines due for delivery up to the selected date because of 0 confirmed qty
    Thanks
    Siva

    Hi,
    I think you should use the " Back order process". Using backorder processing, you can list sales documents relevant for requirements for particular materials and confirm them manually. You can assign available-to-promise (ATP) stock to
    Outstanding order quantities. In addition, you can withdraw already confirmed quantities and reassign them to different items. The stock may be reserved for other sales order. You can reassign the stocks to your sales order material.
    To do this, go to Co06 (Back order processing) , enter the Material number, Plant and the checking rule.
    Select any sales order and choose --> Edit --> Change confirmation. Make sure the confirmed quantity is "0".
    Then select the unconfirmed sales order, then choose --> Edit --> Change confirmation. Now you can enter the "Delivery quantity manually ".
    Now you can create the delivery document.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • Alv report to have 2 lines for column header

    How do I set the column header to have 2 lines?
    eg
              Week Ending  --- 1st  line
               09.10.2007    ---  2nd line
    My report always ends up with 2 detail lines when I tried to insert it into the catalog.

    Try this it may help you for multiple values for one instance....
    *Type-pools
    TYPE-POOLS: slis.
    Data declarations.
    DATA: BEGIN OF t_vbak OCCURS 0,
    vbeln TYPE vbeln,
    bstnk TYPE vbak-bstnk,
    erdat TYPE vbak-erdat,
    kunnr TYPE vbak-kunnr,
    END OF t_vbak.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln TYPE vbeln,
    matnr TYPE vbap-matnr,
    netpr TYPE vbap-netpr,
    waerk TYPE vbap-waerk,
    kwmeng TYPE vbap-kwmeng,
    meins TYPE vbap-meins,
    END OF t_vbap.
    DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
    DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
    DATA: v_repid TYPE syrepid.
    DATA: s_layout TYPE slis_layout_alv.
    DATA: v_tabname TYPE slis_tabname.
    DATA: t_events TYPE slis_t_event.
    start-of-selection event.
    START-OF-SELECTION.
    v_repid = sy-repid.
    Get the fieldcatalog for the first block
    PERFORM get_fieldcat1 CHANGING t_fieldcatalog1.
    Get the fieldcatalog for the second block
    PERFORM get_fieldcat2 CHANGING t_fieldcatalog2.
    Get the data for the first block
    SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
    INTO TABLE t_vbak
    FROM vbak WHERE vbeln > '0060000100'.
    Get the data for the second block
    SELECT vbeln matnr netpr waerk kwmeng meins UP TO 10
    ROWS
    INTO TABLE t_vbap
    FROM vbap WHERE vbeln > '0060000100'.
    init
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    i_callback_program = v_repid.
    First block
    v_tabname = 'ITAB1'.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    is_layout = s_layout
    it_fieldcat = t_fieldcatalog1
    i_tabname = v_tabname
    it_events = t_events
    TABLES
    t_outtab = t_vbak.
    Second block
    v_tabname = 'ITAB2'.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    is_layout = s_layout
    it_fieldcat = t_fieldcatalog2
    i_tabname = v_tabname
    it_events = t_events
    TABLES
    t_outtab = t_vbap.
    *Display
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    FORM GET_FIELDCAT1
    Get the field catalog for the first block
    FORM get_fieldcat1 CHANGING lt_fieldcatalog TYPE
    slis_t_fieldcat_alv.
    DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
    Order number
    s_fieldcatalog-col_pos = '1'.
    s_fieldcatalog-fieldname = 'VBELN'.
    s_fieldcatalog-tabname = 'T_VBAK'.
    s_fieldcatalog-ref_tabname = 'VBAK'.
    s_fieldcatalog-ref_fieldname = 'VBELN'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Customer purchase order.
    s_fieldcatalog-col_pos = '2'.
    s_fieldcatalog-fieldname = 'BSTNK'.
    s_fieldcatalog-tabname = 'T_VBAK'.
    s_fieldcatalog-ref_tabname = 'VBAK'.
    s_fieldcatalog-ref_fieldname = 'BSTNK'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Creation date.
    s_fieldcatalog-col_pos = '3'.
    s_fieldcatalog-fieldname = 'ERDAT'.
    s_fieldcatalog-tabname = 'T_VBAK'.
    s_fieldcatalog-ref_tabname = 'VBAK'.
    s_fieldcatalog-ref_fieldname = 'ERDAT'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Customer
    s_fieldcatalog-col_pos = '4'.
    s_fieldcatalog-fieldname = 'KUNNR'.
    s_fieldcatalog-tabname = 'T_VBAK'.
    s_fieldcatalog-ref_tabname = 'VBAK'.
    s_fieldcatalog-ref_fieldname = 'KUNNR'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    ENDFORM.
    FORM GET_FIELDCAT2
    Get the field catalog for the second block
    FORM get_fieldcat2 CHANGING lt_fieldcatalog TYPE
    slis_t_fieldcat_alv.
    DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
    Order number
    s_fieldcatalog-col_pos = '1'.
    s_fieldcatalog-fieldname = 'VBELN'.
    s_fieldcatalog-tabname = 'T_VBAP'.
    s_fieldcatalog-ref_tabname = 'VBAP'.
    s_fieldcatalog-ref_fieldname = 'VBELN'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Material number
    s_fieldcatalog-col_pos = '2'.
    s_fieldcatalog-fieldname = 'MATNR'.
    s_fieldcatalog-tabname = 'T_VBAP'.
    s_fieldcatalog-ref_tabname = 'VBAP'.
    s_fieldcatalog-ref_fieldname = 'MATNR'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Net price
    s_fieldcatalog-col_pos = '3'.
    s_fieldcatalog-fieldname = 'NETPR'.
    s_fieldcatalog-tabname = 'T_VBAP'.
    s_fieldcatalog-ref_tabname = 'VBAP'.
    s_fieldcatalog-ref_fieldname = 'NETPR'.
    s_fieldcatalog-cfieldname = 'WAERK'.
    s_fieldcatalog-ctabname = 'T_VBAP'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Currency.
    s_fieldcatalog-col_pos = '4'.
    s_fieldcatalog-fieldname = 'WAERK'.
    s_fieldcatalog-tabname = 'T_VBAP'.
    s_fieldcatalog-ref_tabname = 'VBAP'.
    s_fieldcatalog-ref_fieldname = 'WAERK'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    Quantity
    s_fieldcatalog-col_pos = '5'.
    s_fieldcatalog-fieldname = 'KWMENG'.
    s_fieldcatalog-tabname = 'T_VBAP'.
    s_fieldcatalog-ref_tabname = 'VBAP'.
    s_fieldcatalog-ref_fieldname = 'KWMENG'.
    s_fieldcatalog-qfieldname = 'MEINS'.
    s_fieldcatalog-qtabname = 'T_VBAP'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    UOM
    s_fieldcatalog-col_pos = '6'.
    s_fieldcatalog-fieldname = 'MEINS'.
    s_fieldcatalog-tabname = 'T_VBAP'.
    s_fieldcatalog-ref_tabname = 'VBAP'.
    s_fieldcatalog-ref_fieldname = 'MEINS'.
    APPEND s_fieldcatalog TO lt_fieldcatalog.
    CLEAR s_fieldcatalog.
    ENDFORM.
    ALV Report to have two different Reports
    Plz Reward points if contents are useful,,,

  • ALV report -How to display list contains no data?

    Hi Experts,
    I have developed an drill down alv report ? I like to display if 'List contains no data ' or 'No data to display' in Grid itself when there is no data to dissplay instead of an Message ?how can i do that?

    hi
        u should have used this command before calling your grid or list
    if gt_itab[] is not initial. --> comment this
    call function reuse or call method
    endif.
    assuming you have given a top of page for your grid output
    if helpful, reward
    Sathish. R

  • ALV Report how to display from and to date values in the header.

    I develoeped alv report . i want to display selection screen from and to date values in  top of page...
    any sample code pls guide me..

    You have to do many things...
    first find the selection details using the FM.
    RS_REFRESH_FROM_SELECTOPTIONS
    use the Blog to Align/populate the Header  from the selection table
    /people/community.user/blog/2007/05/07/alignment-of-data-in-top-of-page-in-alv-grid

  • Movement type for a goods receipt for u201CRelease order for a PRqRel"

    There is an intercompany sales at our case. Plant B enters the customer order by VA01. The requirements rooting from the customer order are bought from plant A  by Plant B. u201CRelease order for a stock transfer requisitionu201D is created automatically by entering the customer order and later using the TCode MD02. By this way Plant A can see the reauirements fort he customer order at Plant B. For the test purposes, I want to make a goods receipt for the u201CRelease order for a stock transfer requisitionu201D. The receipr will be at the Plant A but the customer order is at the Plant B. By the way, I have to point out that Plant A and Plant B are assigned to different company codes. How can I make the goods receipt? I cannot use 561 E. Because customer order belongs to differen company code. I fact, production should be done for this aspect but I donu2019t have enough experience for producing the goods by myself. Which movement type should I use for making a goods receipt for the u201CRelease order for a stock transfer requisitionu201D at Plant A?
    Thanks in advance fort he answersu2026

    Hi,
    This is controlled by the schedule line category In VOV6.
    Just check which category is used in your scenarion and change the movement type here. (I think your entry is NC)
    They are determined by the item category and MRP type in SPRO - SD > Sales > Sales Documents > Schedule lines
    Steve B

  • ALV Reports versus ABAP drilldown or high volume data

    Which is better with regards to performance? An ALV grid or an ABAP drilldown ?
    I am very concerned about performance given the high volume of data and therefore not sure if I should use ALV?
    input is appreciated
    J

    hi JJ,
    ALV reporting is always having lot of advantages over abap reproting in many ways,
    performace increases due to the use of
    object oriented cocepts like classes, objects and methods
    by using the line type and row type internable declarations..
    and user friendly out put
    Regards,
    GUDURI

  • Creating report based on user selected Date Range

    Hello.
    I am trying to display an Apex report that selects data for the report based on a user entered date range.
    It's a simple page with two date picker fields (p18_start and p18_end).
    The report region SQL looks like this:
    SELECT *
    FROM prj_items
    WHERE LM_DT BETWEEN :p18_start AND :P18_end
    One table, one field on the table to search and two Apex variables.
    I thought this would be fairly simple, but I am obviously missing something.
    I not even sure what other information is needed to help me figure this out.
    -Jody

    Hi,
    You can set defaults for the datepickers if you need to - this could be done in a computation on the page for each item and conditional on the item being null.
    When I've done something similar to this, I've created two hidden page items - eg, :P19_FIRST_DATE and :P19_LAST_DATE and populated these with the earliest/latest date that the user could reasonably select (perhaps, in your case, the MIN(LM_DT) and MAX(LM_DT) values).
    Then your SQL would be:
    select * from PRJ_ITEMS
    where LM_DT BETWEEN TO_DATE(NVL(:P19_START,:P19_FIRST_DATE), 'DD-MON-YY')
    AND TO_DATE(NVL(:P19_END,:P19_LAST_DATE), 'DD-MON-YY')If you don't want to set default dates, you could do something like:
    SELECT * FROM PRJ_ITEMS
    WHERE (:P19_START IS NULL AND :P19_END IS NULL)
    OR (:P19_START IS NOT NULL AND :P19_END IS NULL AND LM_DT >= TO_DATE(:P19_START,'DD-MON-YY'))
    OR (:P19_START IS NULL AND :P19_END IS NOT NULL AND LM_DT <= TO_DATE(:P19_END,'DD-MON-YY'))
    OR (LM_DT BETWEEN TO_DATE(:P19_START,'DD-MON-YY') AND TO_DATE(:P19_END,'DD-MON-YY'))There are various reasons why your two dates are being cleared when the page is reloaded. Firstly, you should check the branch that returns to the same page - make sure you are not clearing the cache for the page. Then, have a look to see if there is a "reset page" process (usually created for you when you create a form page). Then, check the Source settings for the items. Typically, these would be "Only when current value in session state is null" and a Source Type of "Static Assignment" with the "Source Value or Expression" left empty.
    Andy

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

Maybe you are looking for

  • Chart Linear Axis's title(Description) is not displaying chinese words!

    Recently on my project's end there is a need to translate the current english web portal to chinese web portal . In the middle of the transition , i found that i had a difficulty to replace the Linear Axis description with chinese words , the initial

  • HELP my wma doesn't play correct on my site

    i have a problem on my site.. www.freewebs.com/powerofnature it goes about a movie.. i was busy with programming it.. and i tested the video but it worked correct... so i programmed further.. but when i tested it again it didn't work.. when i push th

  • Why Are Some Of My Downloads Landing In The Trash?

    Why are some of my downloads landing in the trashcan? I just went to empty my trash can and when I opened it up I found about 5 files that I downloaded just last night. Why would my personal and important files have found thier way into my trash can?

  • Problem with forum

    Greetings I had been away from the discussion boards for a while, and when i tried to log in got a "This ID has been suspended for security reasons' error. I figured I might be using the wrong username or password (hey, it's been a while) so I chose

  • SAP-ISU-CRM

    Hi All, I am working in CRM-ISU projects...Kindly let me know any requirements are there in your organisation. I want to apply... My contact details are there at my business card. Regards, Shiv Kumar Edited by: Shiva Kumar on May 5, 2008 4:47 PM