Data_table inspects "value" before other inputs are processed.

Hello,
The ordering in which JSF processes inputs and outputs in the presence of a data_table seems problematic, and I'm at a loss for a workaround.
When a form is submitted (via a command_button, for example), the data_table accesses its "value" reference before any of the other "inputs" in the form are processed by JSF. For example:
[snip]
<h:input_text value="#{TestBean.testValue}"/>
<h:data_table rows="2" value="#{TestBean.result}" var="object">
<h:column>
<f:facet name="header">
<h:output_text value="Name"/>
</f:facet>
<h:output_text value="#{object.name}"/>
</h:column>
</h:data_table>
<h:command_button action="#{TestBean.testAction}" value="Test"/>
[snip]
When this form is submitted, the value from input_text is set AFTER data_table calls TestBean.result. So, the ordering of method calls after submission is:
TestBean.result
TestBean.testValue
TestBean.testAction
In contrast, if a data_table is NOT used to get at TestBean.result, the ordering of the method calls is quite different:
TestBean.testValue
TestBean.testAction
TestBean.result
Is this a bug, or does data_table intentionally inspect its "value" before any of the other form inputs are processed? If so, what is the solution for ensuring TestBean gets all of the information it needs before TestBean.result is called in the data_table...? In other words, TestBean.result depends on TestBean.testValue.
Please let me know if any other info is needed!
Thanks,
Ryan

Hi Adam,
Thanks for your reply. I guess I could use some help making the leap from Controller/View mentalities. :)
How can a bean ever process input data if it can't depend on the data being there? Or, can you suggest a way to model the above example so that the "results" getter always knows the input from "testValue" has been set -- split it into two beans maybe?
Or, maybe do the processing inside the "testAction" instead of "results"? Even then, wouldn't that be assuming that when "testAction" is called, "testValue" has been set.
I'm afraid I don't understand how this can be modeled without some expectation that form values have been filled in the bean before other tasks are fired.
Thanks,
Ryan

Similar Messages

  • I put iPod on "songs, shuffle" but the shuffle isn't random!  Same artist repeats often, same songs repeat before other songs are played.  With over 2000 songs on the iPod, I shouldn't be getting repeats very often.  Anybody else?

    I put iPod on "songs, shuffle" but the shuffle isn't random!  Same artist repeats often, same songs repeat before other songs are played.  With over 2000 songs on the iPod, I shouldn't be getting repeats very often.  Anybody else?

    Shuffle is not perfect. What you are experiencing is normal.

  • Value in new depreciation area is Zero

    Hello All,
    I have created a new depreciation area 11. In OABC it is set as 01 (values from book depreciation). In OAYZ, I have assigned the new depreciation area to new asset classes. Then I transferred to value from old assets to new assets by ABUMN and run AFBN for opening the new depreciation area.
    In AW01N, I can see the new depreciation area for the asset but with zero value. In the transactions I see the transfer with transaction type 158 and with zero value for the new area. The transaction type taken for book depreciation is 310 and has the correct value. But earlier when I did the testing in quality the transaction type was 310 for both the areas.
    In AFBN, the check box Leave initial value was unchecked initially and when I ran it again I result was processed 0 and error 0. I reversed one asset and transferred to new asset class containing both depreciation area again. But again the value in depreciation area 11 is Nil.
    Please help.
    Thanks,
    Sangram

    Hi Sangram
    Since you are already executed AFBN with the option "Leave initial values", you cannot update the records now, as the table entries have already would have got created in tables ANLB,ANLC, etc.
    Now if you want to copy values from other depreicaiton areas to new dep area, one option is to copy a ZZZAFANEW1 by doing a small modification (that is by changing all ABAP commands INSERT to UPDATE) and execute this program.  This will update the values from the source depreciation area to target depreciation area, even if table record already exists.
    This code is available in SAP note no.317806
    Test it thoroughly before using it in Production client.  Also take care to enter a correct source and target depreciation area to avoid further problems.
    Hope this helps.
    Regards

  • Change item value before commit

    Hello,
    I have a form in which I issue an execute_query from a mouse click to retrieve database values from a data block onto a form. The user is then able to change the values of these items on the form and commit them via a button on the form. What I want to do is make sure that some of the values, based on another item in the block, are negative and if not, change them to a negative value. before the changes are commited. I can't seem to find the right trigger to accomplish this-- has anyone have an idea on how to do this?
    Thanks in advance.
    Jeff

    Hi,
    How about putting your code in :
    1. Pre-Update or
    2. When-Database-Record
    [Block Level trigger]
    The trigger text could be something like :
    If (:block.col is > 0 ) Then
    :block.col := :block.col * -1;
    End If;
    -- Shailender Mehta --

  • Changing value of one input field based on other.

    Hello All,
    I am having this interesting situation with changing a value of a INPUT form in jsp based on another INPUT.
    Lets say my form has 3 INPUT variables.
    1. YEAR (COMBOBOX) (using the SELECT OPTION)
    2. MONTH (COMBOBOX)(using the SELECT OPTION)
    3. TEXT
    If the user sets the year to 2003, I want to show all 12 months. But if the user sets the year to 2004, I want to show only the month of Jan and then not allow the user to change the value.
    I also need both these values to go as form input when the user hits submit.
    After reading the JSP/Javascript issues other people are having with regard to accessing variables across these two(i.e jsp and javascript), it looks like ther is no easy way to achieve this using
    "onChange=setValue()" on the YEAR field.
    What would be the best way to do this?
    Thanks,
    Chhaya

    u can use javascript funtion
    u can pass day month and year wiich will return false if wrong date was selected like leap year,selecting 31 feb etc.
    function validatedate(dd,mm,yy)
              cday=dd
              aday=dd
              cmonth=mm
              cyear=yy
    leapyearcal=cyear%400
              if(leapyearcal==0)
                   leapyear="OK"
              else
              {     leapyearcal=cyear%100
                   if(leapyearcal==0)
                        leapyear="no"
                   else
                        leapyearcal=cyear%4
                        if(leapyearcal==0)
                             leapyear="OK"
                        else
                             leapyear="no"
              if ((cmonth==1)||(cmonth==3) || (cmonth==5) || (cmonth==7) || (cmonth==8)|| (cmonth==10) || (cmonth==12))
                   aday=31
              if ((cmonth==4)||(cmonth==6) || (cmonth==9) || (cmonth==11))
                   aday=30     
              if ((cmonth==2)&& (leapyear=="OK"))
                   aday=29
              else if (cmonth==2)
                        aday=28
              if (cday>aday)
                        return true
              else
                        return false
    }

  • Many songs on my iPad are cut off before completion, or are scrambled (bits of different tunes mixed in with other tunes).

    I am running iTunes 11.0.3.42 on Windows 8, and am an iTunes match subscriber.  I have approximately 2700 songs in my library - maybe 1/2 and 1/2 ripped from my CD collection and the rest purchase exclusively through iTunes.  None of this music is pirated.
    When playing this music back on my iPad, I am finding that many songs are cut off before they complete.  When this happens, they continue to play, but it is just silence.  Additionally, many other tunes are scrambled, with bits of other songs mixed together into one.  When going back to iTunes on my PC, I will sometimes find that the songs play fine there - but sometimes they behave as they do on the iPad. 
    This happens whether or not I run my library with iTunes match on the iPad.  I have redownloaded all my songs to try to repair this, with mixed results.  It will often fix the songs that I was having trouble with - but then other songs will begin to show the same type of problems.  I know that 2700 songs is not an immense library, but it is too large for me to systematically review the whole library - which makes tracking these problems very difficult.
    I have seen similar types of complaints on the forums ranging over the last several years.  It also seems that these problems have been "solved" by many different methods.  Nothing I have found has worked for me - or only worked with the mixed results I mention above.  I wonder if these individuals have actually been getting the mixed results I am finding.
    This is truly frustrating, as I do not do anything exotic with my library, and have not pirated, but gotten my music honestly.  I also have ripped my entire CD collection into iTunes, and have gotten rid of the CD's - as I have NEVER had similar problems to this in all the many years I have been using iTunes.  Suddenly I find that I have a majorly corrupted library, with seemingly no way out.  I cannot even abandon iTunes since I have such an investment in it.  At a minimum of $.99 per song it would cost me almost $2700 to replace my library honestly, and that is at the low end of what I would pay.  I don't know about you - but I don't have three grand to blow on replacing a music library I already paid for just to get away from a crappy product (sorry Apple - but what the heck else would you call this nonsense?).  Makes a dude covet taking an eye-patch.
    I am screwed and doubt there's a way out - but I have no choice but to ask for help.  Anyone?

    shameless bump

  • How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    How to prepopulate value in webapps input fields or for any custom fields in for any other forms?

    What do you want to populate the form with?

  • Payroll: One Element Input Value dependent on Other Input Value

    Hi Guys
    Can we defined an input value in an element that is dependent on other input value. e.g. say when I am creating an entry to make accrual adjustments, converting 100 Annual Hours to 20 sick hours, I want users to enter 100 and 20 should be reflected automatically.
    Is this possible.

    I'm afraid you need a customization for this. I guess a forms personalization will not help you out. Or you enter it via an SIT (with the behavior stated), and you route that data to the element entry (via a user hook).

  • I upgraded my 3rd gen iTouch to iOS 5.1.1 and now its speed to repond is slower and the battery goes flat quicker than before the upgrade. Skype, Sky iCloud and other apps are turned off (I think). Has anybody else suffered with this? Any ideas?

    I upgraded my 3rd gen iTouch to iOS 5.1.1 and now its speed to repond is slower and the battery goes flat quicker than before the upgrade. Skype, Sky iCloud and other apps are turned off (I think). Has anybody else suffered with this? Any ideas?

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • Backup stopped before completing. The process cannot access the file because it is being used by another process

    I am working with a client who is attempting to backup to a NAS device 
    The device is a linksys NSS6000 (Cisco device).
    It’s a dual 1Gbit LAN device that supports CIFS / FTP and NFS transfers. It has only 1Gbit lan connected.
    The device has 4 *  500 gb sata drives in raid 1  attached.
    Cables go from cat 5 to fiber back to cat5. (The NAS  is located at a neighboring office) The switches are 1gbit.
    Server is a win2k8r1 fully up to date.
    When backing up to the NAS device, the following error occurs:
    Running backup of volume Local Disk(D:), copied (86%).
    Running backup of volume Local Disk(D:), copied (90%).
    Running backup of volume Local Disk(D:), copied (94%).
    Running backup of volume Local Disk(D:), copied (98%).
    Backup of volume Local Disk(D:) completed successfully.
    Backup stopped before completing.
    Summary of backup:
    Backup stopped before completing.
    The process cannot access the file because it is being used by another process.
    If we redirect the backup to a folder on a 2008 share, the backup completes successfully.
    Only when backing up to the linksys NSS6000 does the error occur.
    No other backup processes are writing to the NAS device so I can't understand why the process thinks the file is
    being used by another process.
    One thing we did notice that when the backup to the NAS device occurs, throughput is about 150 mbit average
    On the 2008 server shares we successfully backup to, the through put is 500 mbit.  Not sure if that is important, but
    might be worth mentioning.
    The following event log entry was noted at the end of the backup.
    The description for Event ID '519' in Source 'Microsoft-Windows-Backup' cannot be found. 
    The local computer may not have the necessary registry information or message DLL files to display the message,
    or you may not have permission to access them.  The following information is part of the
    event:'2009-05-12T10:13:31.617Z', '', '2147942432', '%%2147942432'
    Any ideas?
    Thanks..Michael

    I am also seeing the same problem backing up nightly to a brand new NAS device (WD My Book Live)
    All the error codes are the same as those in this thread.
    From Windows Event Viewer:
    The backup operation that started at '‎2011‎-‎03‎-‎25T06:00:19.811302700Z' has failed with following error code '2147942432' (The process cannot access the file because it is being used by another process.). Please review the event details
    for a solution, and then rerun the backup operation once the issue is resolved.
    Fault bucket 659897467, type 5
    Event Name: WindowsBackupFailure
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: Backup
    P2: 6.1.7600
    P3: 0x80070020
    P4: 7
    P5:
    P6:
    P7:
    P8:
    P9:
    P10:
    Attached files:
    C:\Windows\Logs\WindowsBackup\WindowsBackup.1.etl
    These files may be available here:
    C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Backup_6957d65de91fc4a853ecc7c78914bf7351fff0d1_14578325
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: dd480bf2-56a6-11e0-ae81-00217099bf56
    Report Status: 0
    From Report.wer  in  C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Backup_6957d65de91fc4a853ecc7c78914bf7351fff0d1_14578325
    Version=1
    EventType=WindowsBackupFailure
    EventTime=129455071508181139
    Consent=1
    UploadTime=129455071508201140
    ReportIdentifier=dd480bf2-56a6-11e0-ae81-00217099bf56
    Response.BucketId=659897467
    Response.BucketTable=5
    Response.type=4
    Sig[0].Name=Operation
    Sig[0].Value=Backup
    Sig[1].Name=AppVer
    Sig[1].Value=6.1.7600
    Sig[2].Name=HRESULT
    Sig[2].Value=0x80070020
    Sig[3].Name=TargetType
    Sig[3].Value=7
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.1.7600.2.0.0.256.48
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    State[1].Key=DataRequest
    State[1].Value=Bucket=659897467/nBucketTable=5/nResponse=1/n
    FriendlyEventName=WindowsBackupFailure
    ConsentKey=WindowsBackupFailure
    AppName=Windows host process (Rundll32)
    AppPath=C:\Windows\System32\rundll32.exe
    ReportDescription=Windows Backup failure

  • Check on Master Data Value (User Manual Input)

    Hi all,
    i have the following situation:
    User has to insert a set of Characteristic Value (these are not limited in level for any value nor variable) to be able to enter layout and does manual planning, with my great astonishment i have noticed that BPS does not do any check on the master data value inserted by the user, for example if user insert value '1' for 0payscalety CH instead of '01' the system does not give any error message and goes directly to perforate the Master Data with this wrong value.
    Does exist any setting/tip to avoid this unpleasant situation?
    Many thanks in advance
    Fabio

    Hello Fabio,
    personal I would not set up a data model, which makes differences between 01 and 1. It is known that this will make always problems in the future.
    I believe it is quite more unpleasant that SAP does not provide detailed documentation...
    You can use e. g.
    - conversion routine in BW char.
    - message, fox
    - char. rel. and / or ABAP
    - drop down list which does not allow manual input
    to manipulate before / after input. These are some of those possibilities, which SAP provides.
    regards
    Eckhard
    Message was edited by: Eckhard Lewin
    Message was edited by: Eckhard Lewin
    Message was edited by: Eckhard Lewin

  • Manipulate the value of User Input Variable

    Dear BI fellows,
    I have a requirement to change the value that the user entered in variable screen (the variable type is a characteristic value variable, w/ processing by: user input), after the user clicks the execute button.
    I tried creating 2 characteristic value variables, one w/ processing by: user input, to receive input from user, and the other one w/ processing by: user exit, which takes the value entered in the first variable and manipulate it, and eventually use this second variable to restrict data in the query.
    But the problem is, the first variable must be associated w/ any characteristic in the query, and it eventually restricts data in query as well, which I don't want.
    Thanks alot in advance.
    regards,
    arie

    I browsed further on SDN and found someone mentioned about using variable in Restricted Key Figure/Selection, and eventually hide this Restricted Key Figure/Selection.
    So we just make use of the first variable to receive user input and use the second variable w/ processing by: user exit to take value in first variable, manipulate it and use it to restrict the data.
    The first variable doesnu2019t restrict the data, it only restricts for that particular key figure (Restricted Key Figure/Selection) which I then hide it.
    Another thing is, I found that variable in Characteristic Restriction is executed first before variable in Restricted Key Figure/Selection.
    Thanks all.
    regards,
    arie
    Edited by: Arie Wirawan Margono on Jun 19, 2009 7:12 PM

  • Changing values before ATP-check in VA01/VA02

    Dear experts,
    I have a problem and I don't know where to start ...
    When creating or changing an order, the business want to change a specific value before coming to the screen of availability control ...
    They add a new item on the sales order ... After pressing enter we go immediately to the screen of the "characteristic value assignment" ... After adding some values on the characteristics, we press the button to go to the next screen (which is "availibilty control") ... Before getting to the screen, we should be able to change the value of the field "GR Process Time" (AFPOD-WEBAZ) of the corresponding production order (that also will be created) ... If this is possible, the "dely/conf.date" should immediately have the correct value !
    Does anyone know how I can do this ? Are there some enhancements where I can program this ?
    Thanks in advance for the (hopefully) quick answers !!!
    Greetz,
    Kurt.

    Hi,
    Perhaps you can do your own ATP before of the SO. You can achieve it with the function module MD_STOCK_REQUIREMENTS_LIST_API.
    You have two example reports: RMMD07EX and RMMD07DB.
    Instead a list, you can obtain an internal table and set the quantity and date. Other question is performance.
    I hope this helps you
    Regards
    Eduardo

  • What are process types in process chain

    hi any one tell me what are process types in Process chains

    Hi,
    In the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    If you insert into the chain a process that is linked to additional processes, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain if required.
    Only if the attribute realignment run is inserted automatically, do you also arrive at the variant maintenance screen.
    If you want to specify yourself the processes that are to be included in a chain, choose Settings ® Default Chains, and select the Do Not Suggest Processes option. As a result, the system does not suggest, generate, or insert automatically any processes into the chain. This setting is user-specific.
    If the chain that you create does not correspond to the standard, the system displays a warning. You can ignore these warnings if you are sure that you are creating a chain that meets your requirements. Warnings do not affect how the chain operates during runtime.
    Your chain is checked in the checking view and during activation. The system tells you if it discovers any errors.
    Creating a Process Chain Using the Maintenance Dialog for a Process
    You are in the maintenance dialog of a process that you want to include in a process chain.
    1. Choose the Process Chain Maintenance pushbutton and create a process variant.
    2. Save the variant and go back to the previous screen.
    A dialog window appears in which you enter a technical name and a description of the chain that you want to create.
    3. Confirm your entries.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    The various process categories, the application processes, and collection processes are displayed in the left-hand area of the screen. In the right-hand area of the screen, the process chain is displayed.
    If the process that you used to create a chain is linked to additional processes, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain if required.
    Only if the attribute realignment run is inserted automatically, do you also arrive at the variant maintenance screen.
    If you want to specify yourself the processes that are to be included in a chain, choose Settings ® Default Chains, and select the Do Not Suggest Processes option. As a result, the system does not suggest, generate, or insert automatically any processes into the chain. This setting is user-specific.
    If the chain that you create does not correspond to the standard, the system displays a warning. You can ignore these warnings if you are sure that you are creating a chain that meets your requirements. Warnings do not affect how the chain operates during runtime.
    Your chain is checked in the checking view and during activation. The system tells you if it discovers any errors.
    5. Use the drag-and-drop function to insert any additional relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Additional Steps to Creating a Process Chain
    6. When you add a process, you need to select a process variant or create a new variant. For collection processes, the system determines the variants.
    Various functions for working with the process are available from the context menu:
    Context Menu Entry for a Process Function Information
    Maintain Variants With the exception of the variants in the collection process, you can use this function to change all process variants.
    Exchange Variants You can swap the variants for an existing variant or a new variant.
    Display Scheduled Jobs Once the process chain is active, you can use this function to display the jobs that have been scheduled.
    Display All Jobs After at least one run of the process chain, you can display, for a specific process, all of the scheduled jobs for this process and all of the jobs with which this process was run. You arrive at the job overview from where you call up the relevant job log.
    Create Message You can also send messages to an application process of the chain, depending on the success or failure of the process.
    1. 1. From the context menu of a process, create an additional process variant of the Send Message type.
    2. 2. If you maintain a message, first specify whether you want the message to be sent when the process has been completed successfully or unsuccessfully. Then choose Next.
    3. 3. You arrive at a window, in which you can select an existing process variant or create a new one.
    4. 4. If you create a new process variant, edit the document that is going to be sent, and maintain a list of recipients.
    5. 5. Save your process variant and go back a step.
    The message process variant is now assigned to your application process. When the message is sent, the status information and the process log can also be sent.
    Wait Time
    You use this function only to debug a process run.
    Specify how long (in seconds) you want the delay to be between one event being triggered and the next process starting.
    You can capture the process by using transaction SM37 (Job Overview) or SM50 (Process Overview).
    Remove Process You use this function to remove a process from a process chain.
    Manage Data Target You use this function in connection with the following types of process variants
    1. • constructing indexes
    2. • deleting indexes
    3. • constructing database statistics
    4. • rolling up filled aggregates
    5. • compressing InfoCubes
    6. • activating ODS object data
    to call up the administration for each of the data targets.
    7. Hold down the left mouse button to connect the processes through events.
    Before you do this, select the process underneath the process type row, and position the cursor over the required process. When you select the process type row, the whole process is moved into the plan view.
    From the context menu of a link, you can display the event or remove the link again. To do this, highlight the link and right-click with the mouse.
    8. If necessary, specify whether you want the event to be triggered after the previous process has been completed successfully or unsuccessfully or whether you want the event to be triggered independently of the outcome of the process that precedes it.
    9. Under Attributes ®Display Components assign a display component to the process chain.
    10. Maintain additional process chain attributes if necessary.
    11. Check your process chain in the Check View and make any necessary corrections.
    The Legend explains the meaning of the different colors used to display the processes and links.
    From the context menu for a process, you can display the messages resulting from the check.
    12. Save your process chain if it does not contain any errors.
    Result
    Your process chain can be activated. After activation, the chain starts in accordance with the start process selections. For example, if you scheduled the start process directly and chose Immediately as the start date value, the chain run starts immediately after activation. In the Log View, you can display the reports for the chain runs.
    Hope it helps.
    Regards,
    Amith

  • Issue in populating values in a column based on values in other columns

    I have a situation as below:
    Src        Tar             New tar
    AC001  TAC001  
    AC002  TAC001      AC002
    AC003  TAC001
    AC011  TAC011
    AC012  TAC011      AC012
    AC021  TCA021
    AC022  TCA021
    Now, wherw I have New target as AC002, I need to copy the same value to TAC001 which is the 1st and 3rd row. Similarly, I need to copy AC012 to 4th record. And my last 2 rows will be null as I do not have any values for TCA021..Any thoughts on this would be apprecated..
    Thanks in advance..

    Hi
    almost all is said so i tip you How to Fish (with Pictures) - wikiHow because it is good asset for future when you are hungry
    Read also http://docs.oracle.com/cd/E11882_01/server.112/e41084/functions004.htm#SQLRF06174
    "Analytic functions compute an aggregate value based on a group of rows. They differ from aggregate functions in that they return multiple rows for each group. The group of rows is called a window and is defined by the analytic_clause. For each row, a sliding window of rows is defined. The window determines the range of rows used to perform the calculations for the current row. Window sizes can be based on either a physical number of rows or a logical interval such as time.
    Analytic functions are the last set of operations performed in a query except for the final ORDER BY clause. All joins and all WHERE, GROUP BY, andHAVING clauses are completed before the analytic functions are processed. Therefore, analytic functions can appear only in the select list or ORDERBY clause.
    Analytic functions are commonly used to compute cumulative, moving, centered, and reporting aggregates."

Maybe you are looking for

  • Bt Infinity hub and USB printing

    Hi all. I have recently got BT Infinity and the new homehub required. I am liking the service though the new hub does not allow me to plug a printer into the USB port on the back. I know the homehub does not officially support printing, but my previo

  • Cannot get ATV to go beyond initial screen

    I have an ATV 2nd generation.  I have been using ATV with no issues other than the typical poor internet connection that causes me to restart or reboot ATV.  I was having problems using ATV, so I performed the latest system update.  However, after pe

  • How to define new derivation rules in FM module

    Can somebody help me define a new derivation rule which is user specific in FM module. I want to map muliple Fund Centers to a single Cost center and also map many commitment items to a single GL. Thanks shivaji

  • Aligning text horizontally inside a rectangle shape?

    I have text on top of a rectangle made with a shape layer. I now want to align the text in the center of the rectangle shape. I select both layers, though the option to align the text sometimes shows and other times does not. When it does show the ho

  • Replacing an older Airport Express with an N

    My older Airport Express was used primarily for streaming music to a stereo system which was intermittently dropping out. Since proximity wasn't an issue it was suggested to upgrade to the N version. After installing the Disc Version 1.5 and plugging