How to know which row is newly created in the table

Hi all
i have one classic table with a button to add new row.
when page renders initially it displays some record .Here user can either update the previously existing record or may create new ones .
after adding one more row when users submits it , in back-end i need to go thru all the rows in the view to do some validations .but i need to insert newly created row using API. how can i know which row haas been newly created,
pls help

you can know which row is new using different techniques at different places, depending where you want to do it.
1. In AMImpl: if the PK column attribute of the row does not have a value, then you know this is a new row.
2. In EOImpl: insertRow will be executed only if it is a new row.
3. In Pl/SLQ package (if being called from EOImpl): You can check the creation_date or OVN for the row and determine if this is a new row.
4. You can use the method mentioned in this thread
Row Status Question
Thanks
Tapash

Similar Messages

  • How to know which of 2 frames is behind the other ?

    Hi all,
    I have a few frames in my application, and sometimes I need to know which one is on top. For that I used to do the following test on all of them :
    frame.getFocusOwner() != null
    The problem is that test is not reliable, for example when a modal dialog has just been closed there is no frame that has focus.
    Does anyone know how to find out which of 2 frames is behind the other?
    Thx in advance

    You could add a window listener to them and follow the window activated /deactivated events to determine which in on top. That will definatatly work better then the getFocus() thing.

  • How to identify which data has been inserted  to the table in specific date

    Hi,
    i created one table without data column.. i am inserting data in that table.
    i want which data has been inserted today..
    Please help.
    Thanks,

    If you are in Oracle 10g you can use ORA_ROWSCN.Note that unless the table was created with ROWDEPENDENCIES enabled, though, ORA_ROWSCN is tracked at the block level rather than the row level. So a block with one new row and many old rows could appear as having all been entered today.
    Justin

  • How I can know which row is parent item code or child item in matrix?

    Hi,
    In marketing document, when insert a item into contents page, if it is a BOM then all child item will be inserted into matrix automatically. My question is when i view the rows in matrix how i can know which row is normal master item and which row is a child item row? From the UI, i can only see the child item code looks readonly but how i can know it in my add-on code? I tried to get the edittext box object from item No. cell, but i can't find any difference.
    Thanks!
    Lan

    Sorry, i found an issue when i try to retrieve the BOM Type column value. I am in adding mode, when i insert a BOM with components, the bom type will appears as "Component of a Sales BOM". But in the event, when I try to get the value from this cell (it is combobox), it gives another value which is not same with the one it appears in the matrix. Is anyone know how to solve my problem?
    Thanks!
    Lan

  • How to know which process is consuming high percentage of cpu?

    Hi,
    How to check which process is consuming high percentage of cpu ?
    how to know the cpu time is atleast 80% of the elapsed time and how to know which code the process is running?
    I know we can check high performance cpu can be find by TOP command
    but i dont know on solaris?
    please help me on this?

    One way is to use my Snapper script for getting the breakdown ( see http://blog.tanelpoder.com/2007/12/06/oracle-session-snapper-v106-released/ for more info ).
    An example snapshot (taken over 60 second period) is below:
    SQL> @snapper out,gather=tw 60 1 "select sid from v$session where type = 'USER'"
    -- Session Snapper v1.07 by Tanel Poder ( http://www.tanelpoder.com )
    HEAD, SID, SNAPSHOT START , SECONDS, TYPE, STATISTIC , DELTA, DELTA/SEC, HDELTA, HDELTA/SEC
    DATA, 2, 20080710 11:39:18, 61, TIME, repeated bind elapsed time , 1314, 22, 1.31ms, 21.54us
    DATA, 2, 20080710 11:39:18, 61, TIME, parse time elapsed , 21518, 353, 21.52ms, 352.75us
    DATA, 2, 20080710 11:39:18, 61, TIME, PL/SQL execution elapsed time , 809888, 13277, 809.89ms, 13.28ms
    DATA, 2, 20080710 11:39:18, 61, TIME, DB CPU , 11204956, 183688, 11.2s, 183.69ms
    DATA, 2, 20080710 11:39:18, 61, TIME, sql execute elapsed time , 12441308, 203956, 12.44s, 203.96ms
    DATA, 2, 20080710 11:39:18, 61, TIME, DB time , 13825800, 226652, 13.83s, 226.65ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, read by other session , 4432, 73, 4.43ms, 72.66us
    DATA, 2, 20080710 11:39:18, 61, WAIT, log file sync , 1215135, 19920, 1.22s, 19.92ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, db file sequential read , 1458168, 23904, 1.46s, 23.9ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, enq: TX - row lock contention , 11600, 190, 11.6ms, 190.16us
    DATA, 2, 20080710 11:39:18, 61, WAIT, row cache lock , 420, 7, 420us, 6.89us
    DATA, 2, 20080710 11:39:18, 61, WAIT, SQL*Net message to client , 1842, 30, 1.84ms, 30.2us
    DATA, 2, 20080710 11:39:18, 61, WAIT, SQL*Net message from client , 9490531, 155582, 9.49s, 155.58ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, PL/SQL lock timer , 35759582, 586223, 35.76s, 586.22ms
    DATA, 2, 20080710 11:39:18, 61, WAIT, events in waitclass Other , 302, 5, 302us, 4.95us
    DATA, 20, 20080710 11:39:18, 61, TIME, repeated bind elapsed time , 1332, 22, 1.33ms, 21.84us
    DATA, 20, 20080710 11:39:18, 61, TIME, parse time elapsed , 21439, 351, 21.44ms, 351.46us
    DATA, 20, 20080710 11:39:18, 61, TIME, PL/SQL execution elapsed time , 799773, 13111, 799.77ms, 13.11ms
    DATA, 20, 20080710 11:39:18, 61, TIME, DB CPU , 11303744, 185307, 11.3s, 185.31ms
    DATA, 20, 20080710 11:39:18, 61, TIME, sql execute elapsed time , 12404247, 203348, 12.4s, 203.35ms
    DATA, 20, 20080710 11:39:18, 61, TIME, DB time , 13792389, 226105, 13.79s, 226.1ms
    DATA, 20, 20080710 11:39:18, 61, TIME, sequence load elapsed time , 752, 12, 752us, 12.33us
    DATA, 20, 20080710 11:39:18, 61, WAIT, log file sync , 1228759, 20144, 1.23s, 20.14ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, db file sequential read , 1339772, 21963, 1.34s, 21.96ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, row cache lock , 395, 6, 395us, 6.48us
    DATA, 20, 20080710 11:39:18, 61, WAIT, SQL*Net message to client , 1901, 31, 1.9ms, 31.16us
    DATA, 20, 20080710 11:39:18, 61, WAIT, SQL*Net message from client , 9496607, 155682, 9.5s, 155.68ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, PL/SQL lock timer , 35786481, 586664, 35.79s, 586.66ms
    DATA, 20, 20080710 11:39:18, 61, WAIT, events in waitclass Other , 96, 2, 96us, 1.57us
    Tanel Poder
    http://blog.tanelpoder.com

  • How to know which master data objects need to activated  in R3

    SALES OVERVIEW CUBE -0SD_C03
    How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.
    its very urgent please advise.
    R/3 in RSA5
    Sales Master Data
    0ACCNT_ASGN_TEXT               Account assignment group for this customer   
    0ACCNT_GRP_TEXT                Customer account group                       
    0BILBLK_DL_TEXT                Locked                                       
    0BILBLK_ITM_TEXT               Billing block for item                       
    0BILL_BLOCK_TEXT               Billing block in SD document                 
    0BILL_CAT_TEXT                 Billing Category                             
    0BILL_RELEV_TEXT               Relevant for Billing                         
    0BILL_RULE_TEXT                Billing rule                                 
    0BILL_TYPE_TEXT                Billing Type                                 
    0CONSUMER_ATTR                 Consumer                                     
    0CONSUMER_LKLS_HIER            Consumer                                     
    0CONSUMER_TEXT                 Consumer                                     
    0CUST_CLASS_TEXT               Customer Classification                      
    0CUST_GROUP_TEXT               Customer Group                               
    0CUST_GRP1_TEXT                Customer Group 1                             
    0CUST_GRP2_TEXT                Customer Group 2                             
    0CUST_GRP3_TEXT                Customer Group 3                             
    0CUST_GRP4_TEXT                Customer Group 4                             
    0CUST_GRP5_TEXT                Customer Group 5                             
    0DEALTYPE_TEXT                 Sales Deal Type                              
    0DEL_BLOCK_TEXT                Delivery block (document header)             
    0DEL_TYPE_TEXT                 Delivery Type                                
    0DISTR_CHAN_TEXT               Distribution Channel                         
    0DIVISION_TEXT                 Division                                     
    0DLV_BLOCK_TEXT                Schedule line blocked for delivery           
    0DOC_CATEG_TEXT                SD Document Category                         
    0DOC_TYPE_TEXT                 Sales Document Type                          
    0INCOTERMS_TEXT                Incoterms (Part 1)                           
    0INDUSTRY_TEXT                 Industry keys                                
    0IND_CODE_3_TEXT               Industry code 3                              
    0IND_CODE_4_TEXT               Industry code 4                              
    0IND_CODE_5_TEXT               Industry code 5                              
    0IND_CODE_TEXT                 Industry code                                
    0ITEM_CATEG_TEXT               Sales document item category                 
    0ITM_TYPE_TEXT                 FS item type                                 
    0KHERK_TEXT                    Condition Origin                             
    0MATL_GRP_1_TEXT               Material Group1                                         
    0MATL_GRP_2_TEXT               Material Group 2                                         
    0MATL_GRP_3_TEXT               Material Group 3                                         
    0MATL_GRP_4_TEXT               Material Group 4                                         
    0MATL_GRP_5_TEXT               Material Group 5                                         
    0MATL_TYPE_TEXT                Material Type                                            
    0MAT_STGRP_TEXT                Material statistics group                                
    0NIELSEN_ID_TEXT               Nielsen ID                                               
    0ORD_REASON_TEXT               Order reason (reason for the business transaction)       
    0PICK_INDC_TEXT                Indicator for picking control                            
    0PRODCAT_TEXT                  Product Catalog Number                                   
    0PROD_HIER_TEXT                Product Hierarchy                                        
    0PROMOTION_ATTR                Promotion                                                
    0PROMOTION_TEXT                Promotion                                                
    0PROMOTYPE_TEXT                Promotion Type                                           
    0PROV_GROUP_TEXT               Commission Group                                         
    0REASON_REJ_TEXT               Reason for rejection of quotations and sales orders      
    0REBATE_GRP_TEXT               Volume rebate group                                      
    0RECIPCNTRY_TEXT               Destination country                                      
    0ROUTE_TEXT                          Route                                                    
    0SALESDEAL_ATTR                Sales deal                                               
    0SALESDEAL_TEXT                Sales deal                                               
    0SALESORG_ATTR                 Sales organization                                       
    0SALESORG_TEXT                 Sales Organization                                       
    0SALES_DIST_TEXT               Sales district                                           
    0SALES_GRP_TEXT                Sales Group                                              
    0SALES_OFF_TEXT                Sales Office                                             
    0SCHD_CATEG_TEXT               Schedule line category                                   
    0SHIP_POINT_TEXT               Shipping point/receiving point  
    In BW
    Base Unit of Measure     0BASE_UOM
    Bill-to party                    0BILLTOPRTY
    Calendar Day                  0CALDAY
    Calendar Year/Month      0CALMONTH
    Calendar Year/Week      0CALWEEK
    Change Run ID              0CHNGID
    Company code              0COMP_CODE  
    Cost in statistics currency          0COST_VAL_S
    Credit/debit posting (C/D)            0DEB_CRED
    Distribution Channel       0DISTR_CHAN
    Division                                     0DIVISION 
    Number of documents    0DOCUMENTS
    Sales Document Category          0DOC_CATEG
    Document category /Quotation/Order/Delivery/Invoice 0DOC_CLASS
    Number of Document Items         0DOC_ITEMS
    Fiscal year / period
    Fiscal year variant                      0FISCVARNT
    Gross weight in kilograms           0GR_WT_KG
    Number of Employees    0HDCNT_LAST
    Material                                     0MATERIAL
    Net value in statistics currency    0NET_VAL_S
    Net weight in kilograms 0NT_WT_KG
    Open orders quantity in base unit of measure 0OPORDQTYBM
    Net value of open orders in statistics currency 0OPORDVALSC
    Payer                            0PAYER
    Plant                             0PLANT
    Quantity in base units of measure 0QUANT_B
    Record type                   0RECORDTP
    Request ID                    0REQUID
    Sales Employee            0SALESEMPLY
    Sales Organization         0SALESORG
    Sales group                   0SALES_GRP
    Sales Office                   0SALES_OFF
    Shipping point                0SHIP_POINT
    Ship-To Party                0SHIP_TO
    Sold-to party                  0SOLD_TO
    Statistics Currency                    0STAT_CURR
    In R3 RSA5 we have all the Master data data sources as mentioned above, and BW also. How to find the related Master data Infosource in R/3 Master data Data sources.
    Thanks in advance,
       Bhima.
    Message was edited by: Bhima Chandra Sekhar Guntla

    Hi,
    <i>How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.</i>
    I think, you are looking for master data sources(text,attributes,hier).Am i right?
    If so, This cube has almost all SD master data characterstics. So you can activate all the all master data datasources of SD in r/3 (SD-IO).
    Any way you requirement does not stop only by using this cube . You will activate all other cubes in SD also. So if you want to activate only needed master data datasources when you are activating a cube, the job becomes senseless. There is no problem(wrong) in activating all master data available under that application , even though you want to activate only one cube.
    With rgds,
    Anil Kumar Sharma .P

  • How to know which interfaces are going to which switch?

    How to know which interfaces are going to which switch ?
    I know that cdp will show this information. But CDP will not show info about the devices connected to my device and whose link between is administratively down.
    Regards,
    Chandu

    I don't want to the end devices location.
    For example, i have a switch that connect to multiple switches few using etherchannels and few using stand-along ports.
    So assume that one of the link whether it may be entire port-channel or a stand alone link that connects to another switch has been shut down manually by some x person...
    Then how can i know that which interfaces are connecting to that switch. In this case i think CDP will not  help because it will hold the information of ports that are up.
    Regards,
    Chandu

  • How to know which BAPi is being used for creation of PO in classic scenario

    Hello Experts,
    We are in SRM 7.0 classic scenario.
    How can we know which BAPI is being used in the calssic scenario i.e. How can we know if we are usind BAPI_PO_CREATE or BAPI_PO_CREATE1 for creation of PO?
    Any pointers will be highly appreciated.
    Thank you in advance,
    Thanks & Regards,
    RKS

    Hi RKS
    yesterday BLOG by our SUMMER WANG helps every SRM consultant to debug the PO error
    /people/summer.wang/blog/2010/05/11/trouble-shooting-of-srm-po-transfer-error
    Good work Summer wang !!
    Muthu

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • How I know which manageability tools(Oracle Change Management Pack,Oracle C

    Dear all,
    How I know which manageability tools(Oracle Change Management Pack,Oracle Configuration Management Pack,Oracle Diagnostic Pack,Oracle Tuning Pack, etc.) are installed on my oracle databases? Is there v$view to look at? Thank you in advance for your help.

    The usual method is described in http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHGFIAF

  • How to know which object is in which transport requeset

    hi frnds
    how to know which object is in which transport request

    hi Preethi
    try with transaction se01 then clic on the tools icon under the menu you will get a list of function.
    then select search for object in transport request (maybe the text is a bit different) then enter information like for example R3TR  OSOA and the name of a datasource. if you don't know the meaning of R3TR use the match code and use it also for objects you want to find infosource infoobject etc... don't forget to mark the flag select if your transport request is released or not and then execute you will get the list of all transport requests containing your search object.
    hope this could help you
    best regards
    Boujema

  • I have a second generation I Pod touch.  How do I know which games I can download from the Apple Store?

    I have a second generation I Pod touch.  How do I know which games I can download from the Apple Store?

    Hello, Suzanne. 
    Thank you for visiting Apple Support Communities. 
    Unfortunately there isn't a list available at this time for applications that are specific for your iOS/Software version.  However, once you know which iOS/Software version you have installed, you can browser various applications and look for ones that meet your system requirements.  I have included a screenshot below on how to look for this information. 
    iPhone, iPad, iPod: How to find the software version
    http://support.apple.com/kb/ht2188
    Cheers,
    Jason H. 

  • How to know which type of jdbc driver used in my application

    How to know which type of jdbc driver used in my application.

    My approach will be....
    Type1: you have to have ODBC s/w install on your machine...even the connection string starts with jdbc:odbc....so it can be identifed easily
    Type2: you have to install client s/w in your machine...if you are using oracle oci driver ...you need to install oracle client s/w
    Type3: you use servername / port to connnect to middleware
    Type4: you do not need any client s/w
    So, If your application works without any client s/w on your machine....you might be using Type4/Type3 driver.....otherwise Type2
    Someone pls add more ....

  • How to know which type of apple device am using

    how to know which type of apple device am using

    Check iPad model with the Serial Number
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Settings>General>About>Serial Number

  • How to know which version Netweaver is been installed in the system

    How to know which version Netweaver is been installed in the system.
    I wanted to know whether i have installed NW04 SP Stack 13 or higher.
    Suggestions / Hints are wellcome
    -Naren

    hi,
    Pretty simple yar
    In portal goto>sysconfig>support-->u can find the Version in the content area at the bottom.
    There u find the SAP WAS version and EP version.
    in NWDS
    goto help---->About sap NWDS -->then popup will disply you find the version.
    Vesion: 2.0.14 like
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

Maybe you are looking for