Listener for selection xtype

Hi Experts,
My requirement is to set a checkbox upon selecting some dropdown properties in the "Basic" Tab. The checkbox that I need to set is in the "Advanced" Tab.
I got hold of the checkbox in the Advance tab from the listener and I set the value to true but it doesn't seem to be setting persistently.
Code:
var checkBox = this.findParentByType('tabpanel').find('title', 'Advanced')[0].find('name','./somecheckbox')[0];
console.log('Before' + checkBox.getValue());  // prints empty
checkBox.setValue(true);
console.log('After: ' + checkBox.getValue()); // prints true
But when I go to the Advanced tab the check box is not checked.
How do I make this persistent?
Thanks in advance.

you can use myTable.addMouseListener() to add a listener to the table;
then to get the row index where the event happened you can use:
myTable.rowAtPoint(yourEvent.getPoint());
for instance:
myTable.addMouseListener(new MouseAdapter(){
public void mousePressed(MouseEvent me){
//there you get the row index
int myIndex=myTable.rowAtPoint(me.getPoint());
});

Similar Messages

  • Listener for selection in JTable

    Hello everybody,
    following problem. I have to check, if an selection in an JTable is valid or not. For this purpose I need to have a listener, which is invoked when a line or multiple lines of a JTable have been selected.
    Thanks for your help

    you can use myTable.addMouseListener() to add a listener to the table;
    then to get the row index where the event happened you can use:
    myTable.rowAtPoint(yourEvent.getPoint());
    for instance:
    myTable.addMouseListener(new MouseAdapter(){
    public void mousePressed(MouseEvent me){
    //there you get the row index
    int myIndex=myTable.rowAtPoint(me.getPoint());
    });

  • Creating a generic selection listener for af:table

    Hi,
    I'm using JDeveloper 11.1.1.5.0, and I have a simple requirement to set up a custom selection listener for an af:table component.
    So far, I was doing this by using a custom function to invoke the EL to perform the makeCurrent operation. However, I came across Frank Nimphius' PDF on how to build a generic selection listener, and this seemed like a better way to go about it. The problem is, the CollectionModel class used in the sample code is now deprecated. Is anyone aware of the currently supported way to implement a generic selection listener?
    Thanks,
    Gill

    this snap shot of the code i write it to get the current employee id whcich is selected
        public void select(SelectionEvent selectionEvent) {
            // Add event code here...
             RichTable  _table = (RichTable)selectionEvent.getSource();
             CollectionModel _tableModel = (CollectionModel)((RichTable)selectionEvent.getSource()).getValue();
            JUCtrlHierBinding _adfTableBinding = (JUCtrlHierBinding)_tableModel.getWrappedData();
            DCIteratorBinding _tableIteratorBinding = _adfTableBinding.getDCIteratorBinding();
            //Acess the ADF iterator binding that is used with ADF table binding
            Object _selectedRowData = _table.getSelectedRowData();
            JUCtrlHierNodeBinding _nodeBinding =
                (JUCtrlHierNodeBinding)_selectedRowData; //get the row key from the node binding and set it //as the current row in the iterator
              Key _rwKey = _nodeBinding.getRowKey();
              _tableIteratorBinding.setCurrentRowWithKey( _rwKey.toStringFormat(true));
            DCIteratorBinding it = _adfTableBinding.getDCIteratorBinding();
           System.out.println( it.getCurrentRow().getAttribute("EmployeeId"));
        }this code i written 11.1.2

  • SWF panel listener for changed selection

    In short, my question is as follows. Is it possible to create a listener which
    detects when the current selection in the Flash authoring tool has changed,
    and informs my SWF panel? This does not have to be a listener per se,
    it can be some hand-crafted process which consumes some reasonable amount of processor time.
    I describe my question more precisely below.
    Suppose that I want to create an SWF extension panel for Flash (in Flash or Flex),
    and I would like the panel to display a property of the object currently selected on scene
    in the Flash IDE -- like the instance name of the object (if it exists).
    I can use JSFL to detect the instance name of the selected object, and pass the string to the
    SWF panel using call(), for instance. The problem is that I don't know how
    to detect that the user has selected the object, or that the selection has changed.
    Ideally, I would like to add an event listener that listens for such an action in the flash authoring tool.
    However, using JSFL, this does not seem to be possible (I can only listen to events such as frame changed
    or layer changed, but not selection changed).
    I tried the following solutions:
    1. Periodically check in JSFL whether the current selection has changed.
    The problem is that in JSFL, there is no sleep function, or anything alike. The javascript
    methods setInterval and setTimeout do not work in JSFL. Therefore, in order to periodically check for changes,
    one must actively loop. This is extremely resource-consuming -- in fact, it hangs the flash IDE.
    2. The periodic check can be triggered by the SWF panel itself. In actionscript, I can use setInterval to periodically
    invoke the selection update function via JSFL. I have set the interval to 400 milliseconds, which gives a reasonably quick
    reaction to changes. However, the functionality I want to implement is in fact more complicated than just retrieving the
    instance name of the selected object. As a consequence, performing this operation every 400 milliseconds still consumes
    too much processor time (the flash IDE consumes 30% of my processor time, even if the user doesn't do anything).
    Therefore, I still would like to find a solution which does not use the processor when the user does not do anything in the Flash IDE.

    I'm trying to do the same thing. Did you find a solution?

  • Table event listener for both columns and rows

    My table listener only gives me the printed values when I click on different rows and not when I click on different columns. Do I need 2 listeners (one inside the other one) to get a change recorded each time I click on a cell in the table? Here is the listener code:
          ListSelectionModel rowSM1 = jTable1.getSelectionModel();
          rowSM1.addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
              System.out.println("I am here");
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              if (e.getValueIsAdjusting()) {
                return;
              if (lsm.isSelectionEmpty()) {
                //no rows are selected
              else {
                selectedSiteRow = new Integer(lsm.getMinSelectionIndex() + 1).toString();
                System.out.println("selectedSiteRow = " + selectedSiteRow);
                SetupNum = selectedSiteRow; // row that the user selected
                ObjectNum = "1";
                objnum = "1";
                dataModels.remove("O"); // remove the object tables from the dataModels hashtable
                dataModels.remove("P"); // remove the object tables from the dataModels hashtable
                for (int i = 0; i < wholefile.size(); i++) {
                  setupnum = selectedSiteRow;
                  if (wholefile.elementAt(i).toString().charAt(0) == 'O') {
                    processLine(wholefile.elementAt(i).toString(), columnNamesO);
                    String keyO = "O";
                    DefaultTableModel modelO = (DefaultTableModel)dataModels.get(keyO);
                    jTable2.setModel(modelO); // change the table to the new table model
                  if (wholefile.elementAt(i).toString().charAt(0) == 'P') {
                    processLine(wholefile.elementAt(i).toString(), columnNamesP);
                    String keyP = "P";
                    DefaultTableModel modelP = (DefaultTableModel)dataModels.get(keyP);
                    jTable3.setModel(modelP); // change the table to the new table model
        );The words "I am here" only appear when I click on rows and not when I click on columns of that same row. Anyone know why?
    Also, each time I click on a row, "I am here" appears 2 times. I know I read that someone else had that problem. I will try to find the solution to that one in the forum.
    Thanks.
    Allyson

    I found out how to get the column, but I can't seem to get them together. Here is the listener for the column:
          ListSelectionModel colSM1 = jTable1.getColumnModel().getSelectionModel();
          colSM1.addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
              if (e.getValueIsAdjusting()) {
                return;
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              if (lsm.isSelectionEmpty()) {
                //no columns are selected
              else {
                SelectedC = lsm.getMinSelectionIndex();
          });These are 2 different listeners and I really want to find out what row,column has changed. Is there any way to combine these somehow? Thanks.
    Allyson

  • Same listener for 2 databases

    Hi,
    i installed oracle EM GRID CONSOLE on my linux system with database called "emrep"
    and then i installed another database "orcl"
    now when i log into grid console and i view my targets i see only one listener
    called "LISTENER0_oracle.ebenezer.com"
    and when i see the serviced databases for this listener, i see both the databases under this listener.
    does this mean that one listener in one system is all required to service how many databases as possible.
    or do we need one unique listener for each database. if then how can i create unique listeners.
    Can someone help me please.
    Thanks,
    Philip.

    Philip,
    I will try to answer at your questions.
    so from what u r saying is, if i have 3 databases in
    my linux system under different oracle_homes.
    all i need is one listener.ora file and have all 3
    databases start under this one file. and i can delete
    the other 2 listener.ora files, because i dont need
    them at all.For this, my answer is a question : why have different ORACLE_HOME if databases are in same version ? This is Ok when database are in different oracle version.
    1. if i want to know how many listeners are in setup...You can see it with lsnrctl command, after set well ORACLE_HOME (for linux, export ...) :
    set ORACLE_HOME=e:\oracle\ora92
    E:\oracle\ora92\bin>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 9.2.0.7.0 - Production on 16-NOV-2005 22:44:
    41
    Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gocha)(PORT=1522)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 9.2.0.7.0 - Produc
    tion
    Start Date                16-NOV-2005 22:44:04
    Uptime                    0 days 0 hr. 0 min. 40 sec
    Trace Level               off
    Security                  OFF
    SNMP                      OFF
    Listener Parameter File   E:\oracle\ora92\network\admin\listener.ora
    Listener Log File         E:\oracle\ora92\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=gocha)(PORT=1522)))
    Services Summary...
    Service "demo9i" has 1 instance(s).
      Instance "demo9i", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    E:\oracle\ora92\bin>>
    2. when i create a listener using net configuartion...For my part, manually seems the only one solution in your case.
    >
    3.when i have 3 databases and i when i login through...When you are logon to database, you can see what db with
    select * from v$instance;But to connect to an other db, you need first set as well your ORACLE_SID
    export ORACLE_SID=emrep
    sqlplus '/ as sysdba'>
    4. when i create a database by default the listener...Default name is well in most of case, but you can give a name to know the environment (like LISTENER_DEV, LISTENER_PROD...)
    Perhaps you need to read some Oracle docs. You can find here http://www.oracle.com/pls/db102/portal.portal_db?selected=1 too many docs, I can advise you to read 2 Day DBA to start as well your dba life.
    Good luck in your job,
    Nicolas.

  • Disclosure Listener for PanelTabbed

    Hi All
    <<Jdeveloper 11.1.2.3.>>
    I have a paneltabbed component with 5 tabs (show detail item). My scenario is Every-time user clicks on a tab I need to perform same set of tasks (like refreshing the VO to check for new data).
    Only If the user selects Tab3 then the logic executed is different.
    What is the best of achieving this.
    Do I need to write a disclosure listener for every single tab or I can have a same disclosure listener for 4 tabs which does same action and one other disclosure listener for Tab3.
    Kindly guide me with the correct approach.
    regards,
    bnkr

    Hi,
    Here is the sample code with only one disclosure event for all tabs with condition inside to check which tag is disclosed:
    <af:panelTabbed id="pt1">
    <af:showDetailItem text="Tab 1" id="sdi1"
         disclosureListener="#{<Bean>.tabDisclosed}">
        <af:outputText value="Tab 1 Contents" id="ot1"/>
        <af:clientAttribute name="disclosedTab" value="Tab1"/>        
    </af:showDetailItem>
    <af:showDetailItem text="Tab 2" id="sdi2"
         disclosureListener="#{<Bean>.tabDisclosed}">
        <af:outputText value="Tab 2 Contents" id="ot2"/>
        <af:clientAttribute name="disclosedTab" value="Tab2"/>        
    </af:showDetailItem>              
    <af:showDetailItem text="Tab 3" id="sdi3"
         disclosureListener="#{<Bean>.tabDisclosed}">
        <af:outputText value="Tab 3 Contents" id="ot3"/>
        <af:clientAttribute name="disclosedTab" value="Tab3"/>        
    </af:showDetailItem>
    </af:panelTabbed>
    // Bean Code
        public void tabDisclosed(DisclosureEvent disclosureEvent){
            if (disclosureEvent.isExpanded() == true) {          
                if(disclosureEvent.getComponent().getAttributes().get("disclosedTab").equals("Tab3")){
                    //TODO Code when Tab 3 is disclosed              
                }else{
                    //TODO Code for other tabs
    Note that af:clientAttribute is set for each showDetailItem where we pass the value for disclosedTab attribute to identify which tab is disclosed
    Sireesha

  • Options gone for select,edit, and print under HP Smart Web banner since HP dialed in to fix crash

    The buttons are gone for selecting, editing, and printing under my HP Smart Web since HP dialed in and fixed another problem.  I have uninstalled and reinstalled the software but still no luck.  All that shows up is the "HP Smart Web Printing" banner with the X to exit; that's it, no options listed below.  My computer has completely crashed twice since I started using it 1/4/10.  The second time the person dialed in and changed the bios and a few things in msconfig but I don't see anything there that would cause the smart web printing.  HELP.  Am I missing something really silly since I am a new user of HP Smart Print?
    Thank you in advance if you can help!
    ^j^Put behind you the troubles of yesterday, today's a new day full of blessings.
    ^j^May you and your loved ones be blessed with peace, love, joy,and health now and forever.
    ^j^Put behind you the troubles of yesterday, today's a new day full of blessings.
    ^j^May you and your loved ones be blessed with peace, love, joy,and health now and forever.
    ^j^Carrie

    I am REALLY annoyed to read this post. I have spent a lot of time to try and fix my computer (which I don't have with 5 kids...not your problem I know and NOT the point). It should NOT be this hard to update and fix a product. I DON'T WANT the Bing bar...and am feeling like I am being forced to accept it to make my puter run correctly because it is supported by HP. What....kind of service is THAT???????? I hope that someone from HP....admin or whatever...reads this. I am "madder" than mad. I have had HP products for years with few problems...and all of which I could find a solution for. This is unacceptable...and I hope someone listens. I don't know if I can trust HP again....when it won't even use the browser most use without problems. Sorry to the rest of the "forum" for venting...but I can't get help...am frustrated...find this out now...and it is nothing personal.

  • Component listening for a event

    I need to make 1 component listen for an event in another component..
    JMenuItem listens for a TreeSelectionEvent and in case something selected enables... and disables otherwise...
    addTreeSelectionListener() is not possible for a JMenuItem component...
    so how do i do that?
    the code below is not acceptable because there is a lot of JMenuItem objects and it's a bit messy and difficult to add each...
    tree.addTreeSelectionListener(blah) {
    JMenuItem.setEnabled(false);
    i want a component checking himself for a proper condition...
    in case it will require too much hardware resourses what would you suggest?

    Do you ever get to a point in programming where you think that perhaps i have choosen the wrong hobby to get infatuated about
    That code worked really well targetplanet but it had a side effect that just makes me nutts lol
      as it triggered a mouse event function in the component that was initialized in Main and just made my web site go nuts . the component that we initialized was a skin but its itemRenderer component that followed had the mouse event! perhaps i better start again with me learning perhaps i missed something
    or perhaps i should just have one component to one job instead of trying to be clever and mutitask with less components!

  • Stopping key listener for component?

    I have a listener for the
    arrow key strokes. When I select my clip the arrows work fine. However, there is also a slider on the stage. If I touch the slider the left and right keys
    now adjust the slider, this is not desired. How to I prevent the slider from using the keyboard input?
    Thanks

    I didn't use the prevent default, couldn't get it to work. However on my up handler of the slider I just set the focus back to the stage and it see
    med to be a good workaround.
    Thanks!

  • How to make component listen for a specific event of another component

    for example, i have several buttons and want them listen for a TreeSelectionEvent... in case anything selected they become active
    i don't want a JTree component activate these buttons...

    here's an overkill,
    import java.util.*;
    abstract class DoWhatever {
        public static Hashtable ht = null;
        public static Object DoWhat( String s, Object obj ) {
         if( null == ht ) {
             ht = new Hashtable();
             ht.put( ThisDoWhatever.NAME, new ThisDoWhatever() );
             ht.put( ThatDoWhatever.NAME, new ThatDoWhatever() );        
         return ( (DoWhatever) ht.get( s ) ).doWhatever( obj );
        public abstract Object doWhatever( Object obj );
    class ThisDoWhatever extends DoWhatever {
        public final static String NAME = "this";
        public Object doWhatever( Object obj ) {
         System.out.println( NAME );
         return null;
    class ThatDoWhatever extends DoWhatever {
        public final static String NAME = "that";
        public Object doWhatever( Object obj ) {
         System.out.println( NAME );
         return null;
    public class DoThisOrThat {
        public static void main( String[] args ) {
         DoWhatever.DoWhat( args[ 0 ], null );
    }

  • Listen for menu item

    Is it possible to trigger something when a menu item it selected? I DON'T mean to create a menu item and the assign a script to it, but for example listen for a user clicking Search from the Help menu in Safari?
    If so, could someone point me in the right direction please.
    Thanks.

    +Short answer...+
    No. AppleScript does not work this way.

  • Error while executing a sql query for select

    HI All,
    ORA-01652: unable to extend temp segment by 128 in tablespace PSTEMP i'm getting this error while i'm executing the sql query for selecting the data.

    I am having 44GB of temp space, while executing the below query my temp space is getting full, Expert please let us know how the issue can be resolved..
    1. I dont want to increase the temp space
    2. I need to tune the query, please provide your recomendations.
    insert /*+APPEND*/ into CST_DSA.HIERARCHY_MISMATCHES
    (REPORT_NUM,REPORT_TYPE,REPORT_DESC,GAP,CARRIED_ITEMS,CARRIED_ITEM_TYPE,NO_OF_ROUTE_OF_CARRIED_ITEM,CARRIED_ITEM_ROUTE_NO,CARRIER_ITEMS,CARRIER_ITEM_TYPE,CARRIED_ITEM_PROTECTION_TYPE,SOURCE_SYSTEM)
    select
    REPORTNUMBER,REPORTTYPE,REPORTDESCRIPTION ,NULL,
    carried_items,carried_item_type,no_of_route_of_carried_item,carried_item_route_no,carrier_items,
    carrier_item_type,carried_item_protection_type,'PACS'
    from
    (select distinct
    c.REPORTNUMBER,c.REPORTTYPE,c.REPORTDESCRIPTION ,NULL,
    a.carried_items,a.carried_item_type,a.no_of_route_of_carried_item,a.carried_item_route_no,a.carrier_items,
    a.carrier_item_type,a.carried_item_protection_type,'PACS'
    from CST_ASIR.HIERARCHY_asir a,CST_DSA.M_PB_CIRCUIT_ROUTING b ,CST_DSA.REPORT_METADATA c
    where a.carrier_item_type in('Connection') and a.carried_item_type in('Service')
    AND a.carrier_items=b.mux
    and c.REPORTNUMBER=(case
    when a.carrier_item_type in ('ServicePackage','Service','Connection') then 10
    else 20
    end)
    and a.carrier_items not in (select carried_items from CST_ASIR.HIERARCHY_asir where carried_item_type in('Connection') ))A
    where not exists
    (select *
    from CST_DSA.HIERARCHY_MISMATCHES B where
    A.REPORTNUMBER=B.REPORT_NUM and
    A.REPORTTYPE=B.REPORT_TYPE and
    A.REPORTDESCRIPTION=B.REPORT_DESC and
    A.CARRIED_ITEMS=B.CARRIED_ITEMS and
    A.CARRIED_ITEM_TYPE=B.CARRIED_ITEM_TYPE and
    A.NO_OF_ROUTE_OF_CARRIED_ITEM=B.NO_OF_ROUTE_OF_CARRIED_ITEM and
    A.CARRIED_ITEM_ROUTE_NO=B.CARRIED_ITEM_ROUTE_NO and
    A.CARRIER_ITEMS=B.CARRIER_ITEMS and
    A.CARRIER_ITEM_TYPE=B.CARRIER_ITEM_TYPE and
    A.CARRIED_ITEM_PROTECTION_TYPE=B.CARRIED_ITEM_PROTECTION_TYPE
    AND B.SOURCE_SYSTEM='PACS'
    Explain Plan
    ==========
    Plan
    INSERT STATEMENT ALL_ROWSCost: 129 Bytes: 1,103 Cardinality: 1                                                        
         20 LOAD AS SELECT CST_DSA.HIERARCHY_MISMATCHES                                                   
              19 PX COORDINATOR                                              
                   18 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10002 :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                         
                        17 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                    
                             15 HASH JOIN RIGHT ANTI NA PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,098 Cardinality: 1                               
                                  4 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 63 Bytes: 359,283 Cardinality: 15,621                          
                                       3 PX SEND BROADCAST PARALLEL_TO_PARALLEL SYS.:TQ10001 :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                     
                                            2 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                
                                                 1 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621           
                                  14 NESTED LOOPS ANTI PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 40,256,600 Cardinality: 37,448                          
                                       11 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 6,366,160 Cardinality: 37,448                     
                                            8 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1002               
                                                 7 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 1 Bytes: 214 Cardinality: 2           
                                                      6 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000 Cost: 1 Bytes: 214 Cardinality: 2      
                                                           5 INDEX FULL SCAN INDEX CST_DSA.IDX$$_06EF0005 Cost: 1 Bytes: 214 Cardinality: 2
                                            10 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448                
                                                 9 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448           
                                       13 TABLE ACCESS BY INDEX ROWID TABLE PARALLEL_COMBINED_WITH_PARENT CST_DSA.HIERARCHY_MISMATCHES :Q1002Cost: 0 Bytes: 905 Cardinality: 1                     
                                            12 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT SYS.HIERARCHY_MISMATCHES_IDX3 :Q1002Cost: 0 Cardinality: 1                
                             16 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT CST_DSA.IDX$$_06EF0001 :Q1002Cost: 1 Bytes: 5 Cardinality: 1

  • 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.

  • 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.

Maybe you are looking for

  • ISDN Authorization with RADIUS using ISE 1.1.2

    Hi, I am trying to move my ISDN dialup branches authentication/authorization from old ACS 4.1 to ISE appliance. Before it was through ACS 4.2 with TACACS protocol but now since we are moving to ISE we are moving them to ISE with radius. Problem is th

  • Itunes wont download properly, help?

    When i download itunes it downloads most of it but it stops near the end and comes up with something saying "service 'Apple Mobile Device' failed to start. Verify that you have sufficient privileges to start system services." When i click ignore, it

  • Sharing Internet with AirPort

    Hello Okay to start my iMac here is connected directly to a DSL modem with no router through Ethernet. I saw that you can share Ethernet connections and use AirPort to create a Computer-to-Computer network and enable internet connection sharing. Woul

  • I do not want iOS to update itself automatically, does it do this?

    I am new to the iPhone, and iOS. I have an iPhone 4s running iOS 5.0.1 I hear 5.0.2 is coming out any day now. As a Mac user I always like to wait after an update is released to read the feedback. Will iOS update itself automatically? If so how do I

  • Aperture 3 does not import video from iPhone

    Aperture 3 does not want to import my videos from iPhone anymore. This used to work perfectly fine before, now Aperture hangs as soon as I try to upload any video. Is this a known bug??