Can anyone explain what consume() actrually does?

Can anyone explain what consume() actually does as it relates to a KeyEvent?
I read about this but I just can't seem to to understand it.
Thanks in advance.

Yes I read your reply. Your reply though, simply copied the text from the documentation which I already stated I did not understand. I was looking for a clearer explaination.

Similar Messages

  • Can anyone explain what this code does.

    <b>Below is the FM for a  SAP Exit Variable ( 0FPER - Fiscal Period Variable ) , I would really appreciate if someone can give some explanation what does the code do.</b>
    FUNCTION RSVAREXIT_0F_FPER.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
    *"             VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
    *"             VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
    *"             VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"             VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"             VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
    *"             VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
    *"       EXPORTING
    *"             VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"       EXCEPTIONS
    *"              UNKNOWN_VARIABLE
    *"              UNEXPECTED_VARTYPE
    *"              INVALID_PERIV
    *"              VARIABLE_INITIAL
    *"              NO_REPLACEMENT
      data:
      l_s_range   type rs_s_range,
      ld_periv    type rro01_s_rkb1f-periv,
      ld_curdate  like sy-datum,
      ld_poper    like t009b-poper,
      ld_fiscyear like t009b-bdatj.
      refresh e_t_range.
      clear l_s_range.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'BT'.
      case i_vartyp.
        when rro04_c_vartyp-formula.
    *--- Determine fiscal year variant
          call function 'BWCO_FISCVARNT_GET'
               exporting
                    i_s_rkb1d        = i_s_rkb1d
                    i_s_rkb1f        = i_s_rkb1f
                    i_thx_var        = i_thx_var
               importing
                    e_periv          = ld_periv
               exceptions
                    no_replacement   = 1
                    unknown_variable = 2
                    others           = 3.
          case sy-subrc.
            when 0.
            when 2.
              raise unknown_variable.
            when others.
              raise no_replacement.
          endcase.
          if ld_periv is initial.
            raise invalid_periv.
          endif.
    *--- Determine current fiscal year
          ld_curdate = sy-datum.
          call function 'DATE_TO_PERIOD_CONVERT'
               exporting
                    i_date         = ld_curdate
                    i_periv        = ld_periv
               importing
                    e_buper        = ld_poper
                    e_gjahr        = ld_fiscyear
               exceptions
                    input_false    = 1
                    t009_notfound  = 2
                    t009b_notfound = 3
                    others         = 4.
          if not sy-subrc is initial.
            raise invalid_periv.
          endif.
    *--- Determine the highest fiscal period in the current fiscal year
          CALL FUNCTION 'GET_ACCOUNT_OF_PERIODS'
               EXPORTING
                    I_GJAHR         = ld_fiscyear
                    I_PERIV         = ld_periv
               IMPORTING
                    E_ANZBUPER      = ld_poper
               EXCEPTIONS
                    INPUT_FALSE     = 1
                    T009B_NOTFOUND  = 2
                    T009_NOTFOUND   = 3
                    OTHERS          = 4
          IF SY-SUBRC <> 0.
                raise invalid_periv.
          ENDIF.
    *--- fill value ranges
          l_s_range-low = ld_poper.
          append l_s_range to e_t_range.
        when others.
          raise unexpected_vartype.
      endcase.
    endfunction.

    1) Fiscal year variant is determined using Function Module - 'BWCO_FISCVARNT_GET'
    2) With Fiscal variant & Current Date as input to Function Module - 'DATE_TO_PERIOD_CONVERT' gets Fiscal Year.
    3) With Fiscal year & variant as input to 'GET_ACCOUNT_OF_PERIODS' gets 
    the highest fiscal period in the current fiscal year

  • Can anyone explain what the other section section in the HDD usage description is for ? I recently used iphoto to send a mail and this "other "section inrease the usage by about 1GB....any ideas why ?

    Can anyone explain what the "other" (yellow colour) section in the HDD usage description is for and what it does.It is under the about this mac section and storage option?
    I recently used iphoto to send mail with photos attached and this "other" section increased by about 1GB. The mail size was around 900KB.....any ideas ?

    Shurig wrote:
    Thanks gor replying,,,this is my first time on this site.
    Any idea why the "other" continues to increase. I have just got got my mac so no new apps installed yet only been using it for mail and web browsing. I tried the iphoto mail last night and noticed the the "other" section had increased by 1GB which I thought was rather larger. Do you know what this setion actually does ?
    Also do you know if it is possible to delete the iphoto emails.
    All of your 'stuff' that is not Music Movies Apps Backups or Photos is in Other, that means all your emails, all your files etc, why don't you just leave well enough alone, this is not windows and doesn't need tinkering with,

  • When trying to sync my iphone in itunes i keep getting the error message "itunes cannot sync apps because the apps installed on the iphone could not be determined." can anyone explain what this means?

    when trying to sync my iphone in itunes i keep getting the error message "itunes cannot sync apps because the apps installed on the iphone could not be determined." can anyone explain what this means?

    I received the same error message after I had recently updated iTunes to 10.5.1 and I had wirelessly updated 13 apps.  I had to go into iTunes and select Apps, on the bottom right it said I needed to update 13 apps.  I updated the apps via iTunes and then synced again without an issue.
    iPhone 4S / OSX 10.6.8 / iTunes 10.5.1

  • Can anyone explain what a condition type means in pricing.

    Hi,
    Can anyone explain what a condition type means in pricing. And how to create condition type and how it effects Pricing conditions.
    As I am new to this area. Detailed explanation is highly appreciated.
    Thanks a lot,
    Rasheed

    Hello Rasheed,
    Below mentioned are the few important things related to pricing.
    - You first define Condition Tables .
    - Define Access Sequence and assign condition tables to it.
    - Define Condition Type and assign Access Sequence to it.
    - Now define Pricing Procedure and assign Condition Type to it.
    - Now you define Pricing Procedure Determination using Sales Org, Distribution    Channel ,Division,Document  Pricing Procedure and Customer Pricing Procedure which are the key fields.
    The above steps can be done in SPRO.
    -Now maintain the Condition Records(for eg:For the specific material what is the cost or for a specific customer what is the cost of the specific material etc) using Txn:VK11.
    - Once you maintain the Condition Records , you can reflect the same values in Condition Type in SPRO.
    Hope this information is helpful for you to relate Condition Type in Pricing,
    Please reward with points if this information is helpful for you.
    Regards,
    Shanthala.

  • Can anyone explain what the 'other' storage consists of and how I can decrease the size please?

    Can anyone explain what the 'other' storage consists of and how I can decrease the size please?

    Welcome to Apple Support Communities
    "Other" refers to OS X files, caches, downloads, documents. See Other in this website > http://pondini.org/OSX/LionStorage.html
    I would not worry about Other because they contain files that you need, but if you want to decrease the size, start deleting downloads and documents

  • Since syncing with iCloud all my photos in my photo app are much lower resolution than they were before. Can anyone explain what happened an how I might get back my high resolution photos?

    Since syncing with iCloud all my photos in my photo app are much lower resolution than they were before. Can anyone explain what happened an how I might get back my high resolution photos?

    Thanks again.
    Unfortunately I don't have iPhoto (running Windows).
    I did, however, figure out a work-around.
    I created an empty directory on my computer, and told iTunes to "Sync Photos from..." that empty directory. This deleted all the photos from the iPod (go figure).
    I then set the "Sync Photos from..." dropdown back to directory that actually contained all my photos, and sync'd again.
    And, yes, they all loaded onto the iPod at their better, higher resolution.
    Thanks for all your help. Photos (and wallpaper) are perfect, again

  • "System/Library/Extensions/CDSDAudioCaptureSupport.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact product's vendor for an update. Can anyone explain what it refers to.

    System extension cannot be used
    The system extension "System/Library/Extensions/CDSDAudioCaptureSupport.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact product's vendor for an update. Can anyone explain what it refers to.

    Please take a look at Kappy's solution and the following comments about Toast.

  • Can anyone explain what the field-get command in ABAP does

    Hi,
    I have just come across the command field-get in some code. I've never seen this command before and there doesn't seem to be any help or documentation on this.
    Can anyone advise how this command works?
    Thanks,
    Ruby

    Ignore question.

  • My iPhone is not syncing and iTunes is going wack. Can anyone explain what's happening?

    I guess this could constitute mainly as an iTunes problem, but there is disconnect with my IPhone 5. I have just recently added new songs to my iTunes and when I plugged my iPhone in, it didn't sync. At first I really didn’t care much about it. It usually does the same thing to my younger sister’s iPod touch. I assumed that all I’d have to do is go to my song menu and check the artists and songs I wanted to add. After doing this, I clicked apply and then sync and still the music didn’t download. Again, I didn’t worry much about it (and this could be my mistake) and I tried another solution that helped me with my old iPhone. I just checked off of music as a whole, clicked apply, synced, and then waited for iTunes to tell me the sync was over. This was unsuccessful. On iTunes, under ‘On this iPhone’ it said I had no music, however my iPhone still had all of my songs and playlists. This confused me so I took it a step further and caused more damage. I rechecked music (this time clicking add entire music library as opposed to only checked items), applied the changes, plugged my iPhone back in, and synced again. My iPhones library did not change. The number of songs I had remained the same. However, this time on the computer, iTunes told me I only had three songs under ‘On this iPhone’ but the capacity bar below told me a completely different number of songs than the ‘On this iPhone’ section and the number of song read on my iPhone. At this point I gave up meddling with everything and ejected my iPhone. I don’t want to delete and re-upload iTunes to my computer unless I absolutely have to (because I will lose all of my purchased music, apps, books, etc.). Does anyone know what’s wrong with my devices? Is there an easy fix, and if I have to delete and reload iTunes is there a way to do it without losing all of my stuff? I’m desperate for help, I don’t want to mess with it any more unless I’m absolutely sure the next time I plug my phone in it won’t experience and ultimate malfunction. Anyone with a solution is greatly appreciated.
    -Pibb

    Hey DaddyPaycheck and Japamac,
    Thanks both for your replies.
    +You are a tenacious one, that's for sure! :-)+
    I don't know if that's a good thing in this case.....;)
    I do agree with the statement that it cannot handle dual processors. I swapped the the "original" working CPU with the "original" one I thought was giving me problems. It is now running (although showing as single) with the CPU I thought was bad. Both sets, original and untested, will work together and register as dual, but will be unreliable and randomly freeze.
    +The defining bit of data would be if you could determine that one socket or the other is continually working, or if one is sporadic (thus explaining the occurrence of the pair working).+
    I'm having trouble narrowing down that part. I can swap them back and forth and get the same result-so both sockets seem to be working. But like I said when both pairs are couple together, it shows as dual, and it works for a certain amount of time. So I know they are working to a certain degree. But when they're mixed, only one (don't know which one) is being seen.
    Yes, I've run thermal calibration and everything goes fine. Even with the diagnostic disc, when the CPUs are mixed, hardware specs show one CPU. But when the original pairs are coupled, it will show both.
    This is like a splinter that I can't get out. It runs great as one CPU, and I could let it go like that, but knowing that it could (and should) be dual is driving me nuts.
    Is there anything either of you can think of that I can try?
    Message was edited by: fiveinchwrench

  • Can someone explain what DriverID=22 does exactly.

    Hi everyone,
    There is a very popular dsn-less connection provided by Jeff Patterson that most people are saying works great....
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // set this to a MS Access DB you have on your machine
    String filename = "d:/java/mdbTEST.mdb";
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database+= filename.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
    // now we can get the connection from the DriverManager
    Connection con = DriverManager.getConnection( database ,"","");
    However, when I use this code I get a login or password is incorrect error.
    If I remove the DriverID=22 the connection works fine. (btw - I am adding SystemDB= to the connection string because I am using a workgroup security file)
    I am just wondering if anyone knows why DriverID=22 does not work if you are using a workgroup security file.
    Also, does anyone know why he ends READONLY=true with a closing brace when there is no opening brace????
    If it helps i'll post my code, i just need to know how to post it properly on this forum (cut and paste looks crappy - no colours or tabs)
    Thanks a million.

    Here is a pseudo explaination of driverid...
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetdesktop_database_drivers_architecture.asp
    Here is another link which defines it for excel...
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetexcelsqldriverconnect.asp
    And if you drill on this you get the specific explaination for 22...
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetexcelsqlconfigdatasource.asp
    And have you tried any of the other URLs for MS Access which include neither driverid nor readonly?

  • Can anyone explain what "multi-tenant" means with respect to OAM and OIF?

    Hi,
    I noticed that OAM 11gR2 has several additional authentication modules and schemes out-of-the-box for "MT" or multi-tenant. I've actually tried them, but am not clear exactly what their purpose is?
    As a test, I configured the FederationMT module and FederationMTScheme to protect a test resource in OAM, and then when I access the resource, I first get a page with one field for username and a "Sign In" button. After I enter a user name, it goes to a form login page and I can log into the OIF IdP, and that's about it. I guess that I don't see what this accomplishes?
    If anyone is familiar with this, please advise.
    Thanks,
    Jim

    Hi,
    Thanks for the metalink article. I've read that, and I can understand what the article is describing, but I'm not 100% clear how that relates to the configuration parameters in the FederationMTPlugin. The article talks about a mapping file, but I don't see something like that for configuring the TenantDismbiguationPlugin?
    The first step in FederationMTScheme plugin is a TenantDisambiguationPlugin, which takes two parameters:
    KEY_IDENTITY_STORE_REF
    KEY_FEDERATED_TENANTS (a comma-separated list of "some things")
    The steps/orchestration for the FederationMTPlugin has:
    Initial Step: FedUserAuthenticationPlugin
    TenantDisambiguationPlugin OnSuccess: FedAuthenticationPlugin OnFailure: UserIdentificationPlugin
    UserIdentificationPlugin OnSuccess: UserAuthenticationPlugin OnFailure: failure
    UserAuthenticationPlugin OnSuccess: success OnFailure: failure
    FedAuthnRequestPlugin OnSuccess: success OnFailure: FedUserAuthentication
    FedUserAuthenticationPlugin OnSuccess: success OnFailure: TenantAmbiguationPlugin
    [The OnError results for all steps are failure, so I haven't shown them.]
    So, the first step is the FedUserAuthenticationPlugin (AssertionProcessing), and if that fails, the next step is the TenantDisambiguationPlugin.
    I guess all of my questions are around what that TenantAmbiguationPlugin does, and how it works?
    I'm guessing that what you enter on the 1st webpage, which asks for a Tenant, is matched against the comma-separated list that is in the plugins "KEY_FEDERATED_TENANTS" parameter.
    Is that correct?
    But:
    a) What happens if there is a match of what you entered vs. what's in the "KEY_FEDERATED_TENANTS" list?
    b) What happens if there is NOT a match of what you entered vs. what's in the "KEY_FEDERATED_TENANTS" list?
    That article you mentioned calls for a mapping file, that maps what is entered (the tenant) to a user identity store, but where is that in the TenantDisambiguationPlugin's parameters? The only other parameter for that plugin is the "KEY_IDENTITY_STORE_REF" parameter.
    Having said that, I described the steps and step orchestration in the FederationMTPlugin above. If the TenantDisambiguationPlugin is suppose to somehow map what's entered to a user identity store name, then, with respect to the FederationMTPlugin, is that mapped user identity store used for the UI and UA steps (i.e., as the "KEY_IDENTITY_STORE_REF" for the UI and UA steps)?
    Thanks for your help with this. Oracle's documentation certainly merits some improvement :(...
    Jim

  • Can anyone explain what the Samsung Galaxy 3 update was today?

    My Galaxy 3 updated today, and it says to go to verizon site for help, but I cannot find any info on what the update was for.  Can anyone help?

        Hi Strebing, I like to help you to our website link that deals with the software update for the Samsung Galaxy 3. Use the following link to be taken to the instructions for obtaining the update and benefits the update provides. The link is http://bit.ly/OVsSai.
    Thanks,
    EdW_VZW
    Follow us on Twitter @VZWSupport

  • I'm travelling and trying to back up my new iPhone to iCloud. I have sufficient storage, am connected to wifi and it's plugged into a power source and yet it doesn't seem to work. Can anyone suggest what I'm doing wrong?

    I'm travelling and trying to back up my new iPhone to iCloud. I have sufficient storage, am connected to wifi and it's plugged into a power source and yet it doesn't seem to work at all. I'm currently in India. Could that be the cause or can anyone suggest any reason why this wouldn't work?

    "gets stuck" - are there any error messages?
    If you get the error "Backup not successful" and you've tried deleting the last backup and trying to back up manually without luck, try the following test:   Go to...
    Settings>iCloud>Storage & Backup>manage Storage, tap your device name in the Backups section, then look under Backup options.  Turn off all apps from backup and then do a manual backup.  If that doesn't work, then this post will not help.  If the backup works, then go back to the app list and turn some on and try another backup.  If successful, keep repeating these steps.  If it fails at some point, then try to zero in on the one app that seems to make the backup fail.  (I had this problem and found one app failing, probably due to a corrupt data file.)
    This process will take time, but if a backup works with no app data being used but clearly fails with the original settings, then somewhere in the mix of apps is a "bad" one.

  • My phone won't connect to the internet even though it says I have 3G.  As soon as I get home it connects to the WIFI and I get a flood of emails etc come through.  Can anyone explain what the problem might be?

    Whilst I'm at work I can't seem to connect to the internet, despite the home screen telling me I have a 3G connection.  I can't get anything to refresh at all, until I go home and my phone auto connects to the WIFI and then I get all my emails and app notifications come through in a flood.
    All other aspects of my phone working fine.
    Can anyone help?
    Thanks

    Check to see if you have cellular data enabled for mail.
    Go to Settings > Cellular and check the apps under "USE CELLULAR DATA FOR:"

Maybe you are looking for

  • How can I see file with chinese name in Sunray USB storage?

    hi, All I installed Sunray4u3 on Solaris0805. the application server is win2003EE. I accessed usb storage from win2003, but I can only see files with English name , and could not see files with chinese name. Why? who can help? best regards xiong wei

  • I am having problems exporting video form Lightroom 4.2 should I downgrade?  Suggestions?

    I have recently been processing some time lapse videos when the 4.2 version was released and I updated my Lightroom.  With 4.1 it was taking approx. 20 - 25 min to export a 1 minute video, with 4.2 it started taking about 5-6 hours when it doesn't st

  • Account assignment U for materials

    i am encountering a problem while i am invoicing a Balnket PO. In PO i have chosen U and B as account assignment and Item cateory But when i am doing miro for partial amount by first going to Layout account assignment-cost centre and than selecting m

  • Creating Standby From RMAN Compressed backup taken on Primary ....

    I am creating a Standby from RMAN Compressed backup taken on Primary. On Primary, I have taken Compressed backup as follows: RMAN> run allocate channel c1 type disk; allocate channel c2 type disk; allocate channel c3 type disk; BACKUP AS COMPRESSED B

  • Bridge monitor size preview

    Feature request..... If you are rebuilding the bridge cache from scratch, it would be valuable to allow and option to allow you to specify the "Generate monitor-size preview"  monitor size.  This would be very useful if you are using an alternate mac