Stack looses pick when selecting in stack mode

Quite often when selecting the best item in a stack (alt-T view) the stack looses its stackpick. On the lefthand side of the screen (where the current pick should be displayed) only black emptiness is shown (this is the bug), the righthand side shows the currently selected item (which is how it should be).
It is quite simple to get the stackpic back to display again, but it is very annoying.
I have not been able to pinpoint it such that it can be reproduced with 100% certainty. I will describe the circumstance in which it happens in my case (don't know what is essential for this bug to raise its head). It happens in a 4500 images large library, in a 4300 images project. The database is repaired quite often (once to several times daily, because of thumbnails bug). I also quite often use the split-browser view (showing two projects/albums) in the browser (alt-clicking a project or album gives the split browser view). Sometimes the same images are shown in both projects/albums shown in the browser).
Does anyone else also experience this problem?
Koen

I actually think I may have figured this out.  I took a network trace during the crash.  What I found is that Lync is performing repeated LDAP searches over and over until it crashes from the stack overflow.  Digging into
the searches, I found the same two user CN's being alternated one after another.
It appears that this crash may be the result of a "Circular Reference" where the two users are each listed as the others manager in their user object.
Example:
User1: Manager = User2
User2: Manager = User1
Proving this as the cause will take me some additional time as these two users are at the top of the Org Chart.  :)
I'll update this post with the results when I get them. 

Similar Messages

  • Stack overflow exception when selecting the Organization tab on a contact card

    I have encountered a reproducible crash in the Lync 2013 client.  The crash happens after selecting the "Organization" tab when viewing a contact card.
    The crash appears to happen because of a stack overflow with MSO.DLL.  I have applied the latest hotfix for that module but the crash persists.
    Before I open a case with MSFT, can anyone offer any insight?  Perhaps this is being seen elsewhere?
    Exception Stack:
    SYMBOL_NAME:  mso!Ordinal3863+4970
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: MSO
    IMAGE_NAME:  MSO.DLL
    DEBUG_FLR_IMAGE_TIMESTAMP:  50ee6c2f
    FAILURE_BUCKET_ID:  STACK_OVERFLOW_c00000fd_MSO.DLL!Ordinal3863
    BUCKET_ID:  APPLICATION_FAULT_STACK_OVERFLOW_mso!Ordinal3863+4970
    WATSON_STAGEONE_URL: 
    http://watson.microsoft.com/StageOne/lync_exe/15_0_4420_1017/5067326f/bcryptprimitives_dll/6_1_7600_16385/4a5bd987/c00000fd/000048c0.htm?Retriage=1
    Followup: MachineOwner
    0:004> kvn 1000
     # ChildEBP RetAddr  Args to Child             
    00 042c314c 738d4863 128db2d0 00000000 00000000 bcryptprimitives!AesCtrRng_Generate+0x1e (FPO: [Non-Fpo])
    01 042c321c 738d47a4 128db2b8 1524cb1b 00000008 bcryptprimitives!MSCryptAesCtrGen+0x166 (FPO: [Non-Fpo])
    02 042c3248 72781e65 0c2c8ae8 1524cb1b 00000008 bcryptprimitives!MSCryptGenRandom+0xc9 (FPO: [Non-Fpo])
    03 042c3260 6b8c1de1 12811348 1524cb1b 00000008 bcrypt!BCryptGenRandom+0x5c (FPO: [Non-Fpo])
    04 042c3278 65daaa26 1524cb1b 00000008 042c32ac cryptdll!DefaultRngFn+0x21 (FPO: [Non-Fpo])
    05 042c3288 65db4a73 1524cb1b 00000008 00000000 kerberos!KerbRandomFill+0x10 (FPO: [Non-Fpo])
    06 042c32ac 65daa2ec 1524cb05 80000001 042c3484 kerberos!KerbMakeSignatureToken+0x4e8 (FPO: [Non-Fpo])
    07 042c341c 750df30c 128d8248 80000001 042c34a8 kerberos!SpSealMessage+0x3d7 (FPO: [Non-Fpo])
    08 042c343c 750e128c 070c6c80 80000001 042c34a8 sspicli!LsaSealMessage+0x6e (FPO: [Non-Fpo])
    09 042c3460 7707ad44 0c53adfc 80000001 042c34a8 sspicli!EncryptMessage+0x3e (FPO: [Non-Fpo])
    0a 042c34d0 7707abdc 1513b5f0 00000132 00000000 Wldap32!CryptStream::SignAndSealLdapStream+0x184 (FPO: [Non-Fpo])
    0b 042c3518 770745d6 1513b5f0 000000d7 00000006 Wldap32!CryptStream::LdapSendSsl+0x12b (FPO: [Non-Fpo])
    0c 042c3534 77078527 0c53af5c 1278cef8 00000000 Wldap32!LdapSend+0xd8 (FPO: [Non-Fpo])
    0d 042c3558 770787b2 12c79fa0 0c53ad78 12597998 Wldap32!SendLdapSearch+0x64a (FPO: [Non-Fpo])
    0e 042c3594 770a91f4 0c53ad78 152f06e4 00000000 Wldap32!LdapSearch+0x28f (FPO: [Non-Fpo])
    0f 042c35e0 585c882f 0c53afa4 152f06e4 00000000 Wldap32!ldap_search_extW+0x48 (FPO: [Non-Fpo])
    WARNING: Stack unwind information not available. Following frames may be wrong.
    10 042c3624 585d2b7c 00000000 402af114 152f06e4 MSO!Ordinal8903+0x4f04
    11 042c3734 585d30e0 152f06e4 042c3768 12ae9be0 MSO!Ordinal3863+0x43b6
    12 042c3aa8 585d3136 152f06e4 12ae9be0 0c385808 MSO!Ordinal3863+0x491a
    13 042c3e14 585d3136 152e4d94 12ae9be0 0c385808 MSO!Ordinal3863+0x4970
    14 042c4180 585d3136 152f0404 12ae9be0 0c385808 MSO!Ordinal3863+0x4970
    <SNIP>
    4b1 043bfb44 579e9c53 1293ddb0 043f7130 043bfb6c MSO!Ordinal2317+0x240
    4b2 043bfb54 579e9bf7 1293ddb8 12c54790 1293ddb8 MSO!Ordinal2317+0x12b
    4b3 043bfb6c 5778abcd 1293ddb8 12c54790 5777ccab MSO!Ordinal2317+0xcf
    4b4 043bfb9c 5777bc92 043bfc0c 043bfbf0 003602e0 MSO!Ordinal5372+0x66
    4b5 043bfbb4 57778a6f 043bfc0c 00000000 003602e0 MSO!Ordinal4578+0x1bc
    4b6 043bfbe8 577776fd 00000000 577776fd 043bfc0c MSO!Ordinal630+0x18ed
    4b7 043bfc3c 768033aa 003602e0 043bfc88 77a19ef2 MSO!Ordinal630+0x57b
    4b8 043bfc48 77a19ef2 003602e0 69d72777 00000000 kernel32!BaseThreadInitThunk+0xe (FPO: [Non-Fpo])
    4b9 043bfc88 77a19ec5 577776a4 003602e0 ffffffff ntdll!__RtlUserThreadStart+0x70 (FPO: [Non-Fpo])
    4ba 043bfca0 00000000 577776a4 003602e0 00000000 ntdll!_RtlUserThreadStart+0x1b (FPO: [Non-Fpo])
    0:004> lmivm mso
    start    end        module name
    57760000 58f92000   MSO        (export symbols)       MSO.DLL
        Symbol file: MSO.DLL
        Image path: C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE15\MSO.DLL
        Image name: MSO.DLL
        Timestamp:        Thu Jan 10 01:22:23 2013 (50EE6C2F)
        CheckSum:         01833BC0
        ImageSize:        01832000
        File version:     15.0.4481.1000
        Product version:  15.0.4481.0
        File flags:       0 (Mask 3F)
        File OS:          40004 NT Win32
        File type:        2.0 Dll
        File date:        00000000.00000000
        Translations:     0000.04e4
        CompanyName:      Microsoft Corporation
        ProductName:      Microsoft Office 2013
        InternalName:     MSO
        OriginalFilename: MSO.DLL
        ProductVersion:   15.0.4481.1000
        FileVersion:      15.0.4481.1000
        FileDescription:  Microsoft Office 2013 component

    I actually think I may have figured this out.  I took a network trace during the crash.  What I found is that Lync is performing repeated LDAP searches over and over until it crashes from the stack overflow.  Digging into
    the searches, I found the same two user CN's being alternated one after another.
    It appears that this crash may be the result of a "Circular Reference" where the two users are each listed as the others manager in their user object.
    Example:
    User1: Manager = User2
    User2: Manager = User1
    Proving this as the cause will take me some additional time as these two users are at the top of the Org Chart.  :)
    I'll update this post with the results when I get them. 

  • I have selected Print and a image is shown.  When selected in library mode the image I want is shown, different image in print mode?   How do I get the image in library mode to show and print?

    When I select an image in library mode the image I want it  is shown.  When I go to print mode a different image is shown.  Why doees this happen?  How do I get my required image to show and print?
    Thanks, Bob

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Nokia N8 locks when selecting offline mode

    Any other N8 users experiencing similar functionality/problems?
    I'm fairly certain that when I first got my phone, when selecting the Offline mode - which I do at night to save power - it just went into and out of it no problems. 
    I have since set up the remote locking feature and was asked to change my lock code from the default 12345 for obvious reasons.  However now when I enter the Offline mode the phone auto-locks.  Not a major issue as I just unlock it with my code, just more of an annoyance really.
    I have made sure the setting to lock the phone when sim removed is off, to no avail. Any ideas?
    Solved!
    Go to Solution.

     Same here, and can confirm it does this when remote locking is enabled.
      I would imagine it does this as going into offline mode is the same as taking the SIM out
    and the phone thinks the SIM is being changed, so it is a security precautionI beleive.
    Cheers.
    Ray

  • Why do most of my stacks come ungrouped when I make changes to other files in the same folder?

    I have a folder of about 3000 graphics and photos that I use for work. I've meticulously organized them all by using unique file names, keywords, and sorting. However, when I make changes to a set of files (especially using the batch rename tool), a large percentage, even a majority, of the other stacks in the folder come ungrouped.
    This has been happening to me for several months, and so far I can't see any type of order or factor that makes certain files come ungrouped. Many times, it's the same files that come ungrouped, but in addition to those, there will be other random stacks that I lose. My stacks are only a few files big (each stack is comprised of the same picture in different file types) and with how many files I have, this has become seriously detrimental to my workflow and efficiency. Anywhere from 20-70 stacks will become ungrouped. I almost always have my files sorted by filename, and when I rename files using batch rename, I give them such similar names that I'd think there would be no reason for the rest of my files to come ungrouped. For example, if there are three files I want to group, I will give them a name like background_001, background_002, and background_003. After I do this, I'll discover that my stacks with names like template_(sequence number) and UI_(sequence number) have come ungrouped. It will do this with pages and pages of stacks at the same time, regardless of how I have the files / stacks sorted. It doesn't happen everytime I rename a batch, either. I just created 10 batches of 3 like-named files each, and after this last batch, about a hundred files came ungrouped.
    I understand that doing things like changing the sorting method of files, or renaming a file so that it's thrown in the middle of a stack, will ungroup my stacks. I don't think I'm doing any of these things (I've been trying desperately to make sure I don't change the sorting method of my files or do anything to a file that might have an effect like this). I don't use ratings or color labels in these folders, the only tools I use are batch rename, keywords, and stacks.
    Is there any way to preserve my stacks so this stops happening in the future, or I can correct it when it does?

    This is my first time posting here, so I'm sorry, I re-read my post several times and honestly did think I provided enough information, but you're right, it wasn't the right kind. So please (continue to) bear with me, I'm really not trying to be ignorant. I honestly assumed the issue was something I was doing wrong in Bridge, nothing to do with my computer specs.
    I am using a late-2008 Macbook, running Yosemite 10.1.1 (screenshot below)
    On the Mac I am using Bridge CC 6.1.1.115 and Photoshop CC 2014 (2014.2.1 release, 20141014.r.257 x64)
    Here is a link to the System Info from Photoshop on the Mac
    Here is a screenshot of my System Overview on the Mac
    Here is a screenshot of my Photoshop performance preferences on the Mac
    I am also using a Dell desktop with Windows 8, running Photoshop CC 2014 (2014.2.1 release, 20141014.r.257 x32) and Bridge CC 6.1.0.116 x32 (on a separate CC account with separate files that I don't try to sync or anything)
    Here is a link to the System Info from Photoshop on the Windows computer.
    Here is a screenshot of the system overview on the Windows
    Here is a screenshot of my Photoshop Performance preferences on the Windows computer
    I work with jpg, psd, ai, svg, and pdf files. Most of my stacks are three different file types of the same image, usually jpg, psd/ai, and pdf.
    I have not recieved any error messages
    I am not having issues opening raw files, I am not having printing issues, I have listed the troubleshooting steps I have taken.
    Is there any information you need that I missed? I'm trying not to be a dingus, but I'll have to ask you to be patient with me in the meantime. I haven't ever looked up half the hardware/software details that were suggested and I don't know how to off the top of my head, so I provided what I already knew how to

  • Keywording stacks.  Request for  'all in stack' selection.

    I stacked a folder of 400 images into 12 stacks, keyworded each stack. Came back the next day, typed in a keyword - there is my stack.
    But it won't expand. Stack indicator goes from '80' to '1 of 80'. I thought this was a bug .. but after eliminating the keyword, the stack expands and I see the keyword only sticks to the top copy of the stack.
    If I keyword a stack, it should go through to every image. There needs to be a 'select all in stack' option. Now I have to open each stack, select photos, keyword, close stack.
    A work-around is to keyword before I 'group in stack'. Maybe add a keyword to each stack (stack1, stack2) so I can actually group a stack and keyword later. Not very elegant.

    You can select stack, click left side to open stack. Cmd/Ctl click last image in stack to selesct all in stack and then Keyword Stamp (show Keywrod in Toolbar) or use Keywording in Right Panel or D&D keywords.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core, Pentax *ist D
    http://donricklin.blogspot.com/

  • The error message "No more virtual tiles can be allocated" appears when I try to use the effects in the quick editing mode in my Elements 13. The baton OK has to be pressed several times for loading all effect patterns. The error returns when selecting th

    The error message "No more virtual tiles can be allocated" appears when I try to use the effects in the quick editing mode in my Elements 13. The baton OK has to be pressed several times for loading all effect patterns. The error returns when selecting the particular pattern.
    The problem does not appear, if PH Elements 13 is executed in the administrator mode.
    The available computer resources are rather  large enough: CPU INTEL i7 4 cores,  16GB RAM, 1TB HDD + 32GB SSD, Windows 8.1.
    Please, advice how to solve this problem? Maybe, there is patch or updating available?

    Dear n_pane,
    Thank you for the quick answer. In the meantime I found other way to pass by the problem. I increased the cache level up to the maximum value 8.
    The errors reported as "No more virtual tiles can be allocated" vanish, but I still do not understand, why PSE 13 cannot work properly by the lower cache levels, having available maximum resources it needed (10443 MB RAM and 26.53GB SSD space for scratches), or cannot collaborate with the fast SSDs properly.
    I wish you all the best in the New Year 2015!

  • Photoshop 7 locks up when selecting the color picker.

    My wonderful Photoshop 7 has worked perfectly for years, but now, when selecting the colour picker, the whole site locks up, requiring ending the task and losing the work in hand.

    What operating system are you using?
    I'd start by resetting the photoshop 7 preferences:
    How to delete/reset Photoshop preferences

  • When I click "File" and then "New" it keeps opening a new file as a layer and not a background. RGB is selected as the mode.

    When I click "File" and then "New" it keeps opening a new file as a layer and not a background. RGB is selected as the mode.
    With new files opening as a layer and not a background I'm not able to create multiple layers and it wont let me convert the layer to the background.
    How did this happen. I used PS just yesterday and had no problems. Today my computer did mandatory updates and now this.

    Yes. You are using the Ellipse Tool's Pixel option. So it is laying down pixels as it is supposed to do without creating a layer.
    Choose the Shape option:
    Also Layer menu > New Layer creates layers and the curled paper at the bottom of your Layers palette also creates a New Layer. I hope those work.

  • Aperture jumps to wrong picture when working with stacks

    Hello
    I am working with stacks on Aperture 3.3 and Mountain Lion.
    I experience the following annoying bug:
    Each time I take an action on any stack (say adding a picture to the stack, collapsing the stack, extracting a picture from the stack, etc), the action gets completed but the viewer then keeps jumping to another picture in the same event (always the same picture) instead of keeping the cursor on the just acted-upon picture.
    This is really annoying, in particular since I am working on a large event with 2,000 pictures and thus each time this happens I have to scroll back through hundreds of pictures to get back to the one where I was working. In effect this renders the stacks functionality useless.
    I have tried already the various repair/rebuild options for the library, to no avail...
    Any ideas / pointers?
    Many thanks!
    Alex

    Hi mikeleung81
    No one ever responded to my original post;-(
    I have further experimented and read around, improved the situation but have not been able to fully solve, here is specifically where I am at:
    - have observed further problematic symptoms including random ordering of pictures when copying them to albums, crashes when exporting slideshows, etc
    - I have performed multiple time the various repair/rebuild options for the library
    - also moved back my library from an external drive to the iMac hard drive, and created more space on the hard drive which was quite full (moved iTunes db to the external drive)
    - I have also manually degrouped each stack, then re-grouped one by one (I observed a couple of odd behaviours of jumping around on specific stacks while doing this, which tells me that the issue may lie in individually corrupted stacks)
    - ended up with a database that was behaving correctly for a while, but then started to exhibit again same symptoms
    - at this stage I believe issue may be linked to my system being underpowered (memory leakage): 2007 iMac, 2GB of memory to handle 100GB library. I am anxiously awaiting the release of the new iMac to upgrade and hopefully solve...
    Curious about similarities / differences on your side?
    AH

  • No available selection for stack target at maintenance optimizer

    Hi all,
    I have an issue. You can see from the screen shoot. I can not select target stack. What should i do at this moment? I want to configure for an ERP test system.
    Thanks and best regards.

    Hello,
    This type of issue is a consequence of an error that went on before. The errors are usually caused by LMDB definition.
    In order to determine what has gone wrong, please check the log tab. Also, the product version that you chose in Maintenance Optimizer and the LMDB definition are interesting information .
    If system information privacy is a concern, you can open a support message for component SV-SMG-MAI.
    Best regards,
    Miguel Ariño

  • JVM crashes when selecting a CLOB in a OracleCallableStatement

    Hi all:
    We have a lot of places in our codebase where we "batch" a no. of
    selects using the OracleCallableStatement for better performance (i.e.
    save multiple roundtrips to the db). Recently we upgraded to Oracle
    8.1.7 and converted the LONG column in one of our tables to CLOB. Once
    we did that, every place in the system where we use a "batch" select
    (using refcursor) the JVM crashes (no stack trace, just the infamous Dr.
    Watson on NT and SIGBUS SEGV on Solaris)
    We are running wl510 sp10 , driver is weblogic oci (oci817_8).
    Here is a sample code
    cstmt = (OracleCallableStatement)con.prepareCall(
    "BEGIN \n"
    + " OPEN ? FOR SELECT A, B, C FROM TAB1 where ..;\n"
    + " OPEN ? FOR SELECT X, Y, Z FROM TAB2 where ..;\n"
    + " END;");
    cstmt.registerOutParameter(1, Types.OTHER);
    cstmt.registerOutParameter(2, Types.OTHER);
    cstmt.execute();
    rs = cstmt.getResultSet(1);
    Is there an update or patch for the driver which resolves this issue?
    thanks much,
    mohan

    I wanted to provide little history of what I am trying to achieve.  Currently, I have the following code:
    PrinterJob printJob = PrinterJob.getPrinterJob();
            if (printJob.printDialog()) {
                String printerName = printJob.getPrintService().getName();
                String printJobName = printJob.getJobName();
                PrintReportOptions printOptions = redirectPrinter(printerName, printJobName);
                sendReportOutputAndClose(reportClientDoc, printOptions);
    I want to capture the number of copies user selects from the dialog.  When I do printJob.getCopies(), it always returns 1.  Not sure how to get that # of copies user selected.  I also wanted to the dialog to be in Native mode because I don't want to give access to modify Margins and other page properties which are part of COMMON dialog mode.  If I create the dialog printJobAttribute.setDialog(JobAttributes.DialogType.NATIVE); then VM crashes when selecting a non-default printer but I am able to get the number of copies.  The key is I need to use NATIVE dialog and get the number of copies.  One option is to display in COMMON dialog mode and then hide the "Page Setup" and "Appearance" tabs.  Can this be done ?  I am new to Java and Crystal so any suggestions would help.

  • ALV grid list  report when selected  from  selection screen

    Hi folks,
                I need to get ALV grid display in my list report when selected the interval values from  the selection screen. If I change the values in list of ALV grid it needs to be updated when I press UPDATE pushbutton. The output of list should be in ALV grid display.I need sorting ,flitering,totaling functionality in the list output.
    For example if I selected BUKRS = 100 and 200 in the selection screen ,I need to display the ALV grid list in below the selection screen as ALV grid display...
    Its urgent as  I am new to ALV grid functionality...
    Thanks in advance..

    hi raja,
    check with the folllowing code.
    REPORT zca0m_zca0fcstftop NO STANDARD PAGE HEADING
                                    MESSAGE-ID zcsv_usrtbl_maintain.
    Type pools                                                           *
    TYPE-POOLS : slis.                          " Used for ALV display
    Tables
    TABLES: zca0fcstftop,
            dd04t,                         "R/3 DD: Data element texts
            tactt.                         "Activities that can be protected
    internal tables
    DATA: BEGIN OF wa_zca0fcstftop .
            INCLUDE STRUCTURE zca0fcstftop.
    DATA: END OF wa_zca0fcstftop.
    DATA: t_zca0fcstftop LIKE STANDARD TABLE OF wa_zca0fcstftop.
    DATA: BEGIN OF i_fcode OCCURS 0,
            fcode LIKE sy-ucomm,
          END OF i_fcode.
    *Record for variant selection
    DATA : BEGIN OF ws_variant,
             selected TYPE c,
             variant  LIKE ltdx-variant,  "Variant name
             text     LIKE ltdxt-text,    "Variant description
           END OF ws_variant.
    *Table for variant selection
    data : itab_variant LIKE STANDARD TABLE OF ws_variant WITH HEADER LINE.
    Variant selection pop-up global variables
    DECLARATION OF TABLECONTROL 'VARIANT_CNTL' ITSELF
    CONTROLS: variant_cntl TYPE TABLEVIEW USING SCREEN 0200.
    LINES OF TABLECONTROL 'VARIANT_CNTL'
    DATA:     g_variant_cntl_lines  LIKE sy-loopc.
    DATA:grid1 TYPE REF TO  cl_gui_alv_grid ,
         g_custom_container TYPE REF TO cl_gui_custom_container.
    Work fields
    DATA: table_name LIKE dd02l-tabname,   "To store table name
          field_name LIKE dd03l-fieldname, "To Store Field Name
          act_auth LIKE tactz-actvt,       "To pass Activity ID
          tab_maint LIKE dd02l-tabname,    "To pass Table Name to be Maintd.
          wg_confirm_ind,                  "To trap User responses
          flag,                            "To trap changes made to an entry
          f_copy,                          "To Identify 'COPY' Command Use
          f_select,                        "To decide between Select-options
                                           " and Internal Table
          l_transaction_code LIKE tstc-tcode,
          v_langu LIKE sy-langu,
          v_repid LIKE sy-repid,
          s_variant TYPE disvariant.
    DATA: ok_code LIKE sy-ucomm.
    DATA:selected_rows TYPE lvc_t_row  ,
         sel_rows TYPE lvc_t_row WITH HEADER LINE.
    DATA:t_lines TYPE i.
    Constants                                                            *
    CONSTANTS :
               c_x TYPE c VALUE 'X',             " Constant 'X'.
               c_f TYPE c VALUE 'F'.             " Constant 'F'.
    Parameters and Selection Options
    *Selection Screen for table maintenance
    *Selection option for Plant
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-b01.
    PARAMETERS:  p_werks   LIKE zca0fcstftop-werks OBLIGATORY.
    SELECT-OPTIONS: s_prdfml  FOR zca0fcstftop-product_family,
                    s_bmach   FOR zca0fcstftop-base_machine,
                    s_factop FOR zca0fcstftop-factory_top,
                    s_optval  FOR zca0fcstftop-option_value,
                    s_week    FOR zca0fcstftop-week.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-b02.
    PARAMETERS     : p_varant LIKE ltdx-variant.          " ALV variant
    SELECTION-SCREEN END OF BLOCK block2.
    At selection screen                                                  *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_varant.
      PERFORM alv_variant_f4 CHANGING p_varant.
    AT SELECTION-SCREEN ON p_werks .
    Validating Plant on the selection screen
      PERFORM validate_plant.
    Initialization
    INITIALIZATION.
    Check Authorization for the Transaction
    Authorization Check For T Code
      SELECT tcode
         INTO l_transaction_code
         FROM tstc UP TO 1 ROWS
         WHERE pgmna = sy-repid.
      ENDSELECT.
      AUTHORITY-CHECK OBJECT 'S_TCODE'
                          ID 'TCD' FIELD l_transaction_code.
      IF sy-subrc NE 0.
        MESSAGE e001 WITH l_transaction_code.
      ENDIF.
      v_langu = sy-langu.                             " language
      v_repid = sy-repid .                            " abap Program name
    Start Of Selection
    START-OF-SELECTION.
      CALL SCREEN 0050.
    *&      Form  validate_plant                                           *
          Validating Plant on the selection screen                       *
    FORM validate_plant .
      DATA : l_werks LIKE t001w-werks.                          " Plant
      IF p_werks IS NOT INITIAL.
        SELECT SINGLE werks
            FROM t001w
            INTO l_werks
            WHERE werks EQ p_werks.
        IF sy-subrc NE 0.
          MESSAGE e100(ra) WITH text-001 .
        ENDIF.
      ENDIF.
      AUTHORITY-CHECK OBJECT 'Z_PP_PLANT'
               ID 'ACTVT' FIELD '03'
               ID 'WERKS' FIELD p_werks
               ID 'TCD' FIELD l_transaction_code.
      IF sy-subrc NE 0.
        MESSAGE e000(oo) WITH 'No authorization for plant:'(e80) p_werks.
      ENDIF.
    ENDFORM.                    " validate_plant
    *&      Form  get_data                                                 *
          Get data                                                       *
    FORM get_data .
      SELECT * FROM zca0fcstftop
        INTO TABLE t_zca0fcstftop
        WHERE werks           = p_werks
          AND product_family IN s_prdfml
          AND base_machine   IN s_bmach
          AND factory_top    IN s_factop
          AND option_value   IN s_optval
          AND week           IN s_week.
    ENDFORM.                    " get_data
    *&      Form  fill_fcode
    FORM fill_fcode USING    value(p_0029).
      i_fcode-fcode = p_0029.
      APPEND i_fcode.
      CLEAR i_fcode.
    ENDFORM.                               " fill_fcode
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'UPDATE'.
      CLEAR flag.
    ENDMODULE.                             " STATUS_0100  OUTPUT
    *&      Module  MODIFY_0100  OUTPUT
    MODULE modify_0100 OUTPUT.
      IF sy-ucomm = 'CHNG' OR
           sy-ucomm = 'PICK'.
        LOOP AT SCREEN.
          CHECK screen-group1 = 'CHG'.
          screen-required = '0'.
          screen-output   = '1'.
          screen-input    = '0'.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    Check if you are in create mode & if yes then set the screen elements
    as mandatory
      IF ok_code = 'CREA'.
        LOOP AT SCREEN.
          CHECK screen-group1 = 'CHG'.
          screen-required = '1'.
          screen-output   = '1'.
          screen-input    = '1'.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                             " MODIFY_0100  OUTPUT
    *&      Module  Check_Exit  INPUT
          text
    MODULE check_exit INPUT.
      IF ( sy-ucomm = 'BACK' OR sy-ucomm = 'CANC' OR sy-ucomm = 'EXIT' ) AND
           ( flag = 'Y' ).
        CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
          EXPORTING
            defaultoption  = 'Y'
            textline1      = text-008
            textline2      = text-009
            titel          = text-004
            cancel_display = ' '
          IMPORTING
            answer         = wg_confirm_ind.
        CASE wg_confirm_ind.
          WHEN 'J'.                                             "Yes
            sy-ucomm = 'SAVE'.
            CLEAR flag.
          WHEN 'N'.                                             "No
            sy-ucomm = 'BACK'.
            CLEAR flag.
        ENDCASE.
      ENDIF.
    ENDMODULE.                             " Check_Exit  INPUT
    *&      Module  Exit_0100  INPUT
          text
    MODULE exit_0100 INPUT.
      SET SCREEN 0. LEAVE SCREEN.
    ENDMODULE.                             " Exit_0100  INPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'SAVE'.                       "Save
        Check to see if the user has the appropriate authorization
          IF p_werks NE zca0fcstftop-werks.
          could not update - not in selection
            MESSAGE e000(oo) WITH 'Entry not within selection'.
            SET SCREEN 0. LEAVE SCREEN.
            PERFORM get_data.
          ENDIF.
          IF f_copy = 'X'.
            INSERT zca0fcstftop.
            IF sy-subrc = 0.
              MESSAGE s004.
              PERFORM initialize.
              SET SCREEN 0. LEAVE SCREEN.
              PERFORM get_data.
            ELSE.
              MESSAGE w005.
            ENDIF.
          ELSE.
            MODIFY zca0fcstftop.
            IF sy-subrc = 0.
              MESSAGE s004.
              PERFORM initialize.
              SET SCREEN 0. LEAVE SCREEN.
              PERFORM get_data.
            ELSE.
              MESSAGE w005.
            ENDIF.
          ENDIF.
          PERFORM get_data.
        WHEN 'BACK'.                       "Back
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'CANC'.                       "Cancel
          SET SCREEN 0. LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
      COMMIT WORK.
    ENDMODULE.                             " USER_COMMAND_0100  INPUT
    *&      Form  Initialize
    FORM initialize.
      CLEAR :   table_name,
                field_name,
                wg_confirm_ind,
                f_copy,
                flag,
                t_zca0fcstftop,
                zca0fcstftop,
                wa_zca0fcstftop,
                i_fcode.
      REFRESH: t_zca0fcstftop.
    ENDFORM.                               " Initialize
    *&      Form  alv_variant_f4
          text
         <--P_VARIANT  text
    FORM alv_variant_f4  CHANGING variant.
      DATA: rs_variant LIKE disvariant.
      DATA nof4 TYPE c.
      CLEAR nof4.
      LOOP AT SCREEN.
        IF screen-name = 'VARIANT'.
          IF screen-input = 0.
            nof4 = 'X'.
          ENDIF.
        ENDIF.
      ENDLOOP.
      rs_variant-report   = sy-repid.
      rs_variant-username = sy-uname.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = rs_variant
          i_save     = 'A'
        IMPORTING
          es_variant = rs_variant
        EXCEPTIONS
          OTHERS     = 1.
      IF sy-subrc = 0 AND nof4 EQ space.
        variant = rs_variant-variant.
      ENDIF.
    ENDFORM.                               " ALV_VARIANT_F4
    *&      Module  STATUS_0050  OUTPUT
          text
    MODULE status_0050 OUTPUT.
    In this module Initialize the container and put the grid in it
      DATA:grid_layout  TYPE lvc_s_layo,
           fieldcat TYPE lvc_t_fcat,
           wa_fieldcat LIKE LINE OF fieldcat.
      PERFORM set_auth.
      SET PF-STATUS 'UPD_0050' EXCLUDING i_fcode.
      SET TITLEBAR 'UPD_0050'.
      IF g_custom_container IS INITIAL .
        CREATE OBJECT g_custom_container
           EXPORTING
              container_name = 'FTDATA'.
        CREATE OBJECT grid1
           EXPORTING
            i_parent = g_custom_container.
      ELSE.
        CALL METHOD grid1->free.
        CALL METHOD g_custom_container->free.
        CREATE OBJECT g_custom_container
           EXPORTING
              container_name = 'FTDATA'.
        CREATE OBJECT grid1
           EXPORTING
            i_parent = g_custom_container.
      ENDIF.
    Every time refresh The variables
      PERFORM initialize.
      PERFORM get_data.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'ZCA0FCSTFTOP'
        CHANGING
          ct_fieldcat      = fieldcat.
      grid_layout-grid_title = text-t01.
      grid_layout-sel_mode = 'A'.
      grid_layout-stylefname = 'CT'.
      s_variant-report   = sy-repid.
      s_variant-username = sy-uname.
      s_variant-variant  = p_varant.
      CALL METHOD grid1->set_table_for_first_display
        EXPORTING
          i_structure_name = 'ZCA0FCSTFTOP'
          is_layout        = grid_layout
          is_variant       = s_variant
          i_save           = 'A'
        CHANGING
          it_outtab        = t_zca0fcstftop
          it_fieldcatalog  = fieldcat.
      Create Object to receive events and link them to handler methods.
      When the ALV Control raises the event for the specified instance
      the corresponding method is automatically called.
    CREATE OBJECT event_receiver.
    SET HANDLER event_receiver->handle_button_click FOR grid1.
    ENDMODULE.                 " STATUS_0050  OUTPUT
    *&      Module  USER_COMMAND_0050  INPUT
    MODULE user_command_0050 INPUT.
      CALL METHOD grid1->get_selected_rows
        IMPORTING
          et_index_rows = selected_rows.
      DESCRIBE TABLE selected_rows LINES t_lines.
      IF t_lines > 1 .
        MESSAGE e048(zcsv_sfdr).
      ENDIF.
    Clear Header
      CLEAR wa_zca0fcstftop.
      sel_rows[] = selected_rows .
      READ TABLE sel_rows INDEX 1.
      READ TABLE t_zca0fcstftop INTO wa_zca0fcstftop INDEX sel_rows-index.
      CASE ok_code.
        WHEN 'EXIT'.
          PERFORM exit_program.
        WHEN 'CREA'.
          CLEAR zca0fcstftop.
          ok_code = sy-ucomm.
          zca0fcstftop-werks = p_werks.
          CALL SCREEN 100.
        WHEN 'COPY'.
          MOVE wa_zca0fcstftop TO zca0fcstftop .
          CLEAR wa_zca0fcstftop.
          f_copy = 'X'.
          CALL SCREEN 100.
        WHEN 'CHNG'.
          CHECK NOT wa_zca0fcstftop IS INITIAL.
          MOVE wa_zca0fcstftop TO zca0fcstftop .
          CLEAR wa_zca0fcstftop.
          ok_code = sy-ucomm.
          CALL SCREEN 100.
        WHEN 'DELE'.
          CHECK NOT wa_zca0fcstftop IS INITIAL.
          CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
              defaultoption  = 'N'
              textline1      = text-005
              textline2      = text-006
              titel          = text-007
              cancel_display = ' '
            IMPORTING
              answer         = wg_confirm_ind.
          IF wg_confirm_ind EQ 'J'.
            DELETE zca0fcstftop FROM wa_zca0fcstftop .
            IF sy-subrc EQ 0.
              MESSAGE s004.
            ELSE.
              MESSAGE e005.
            ENDIF.
          ELSEIF wg_confirm_ind EQ 'N'.
          ENDIF.
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                 " USER_COMMAND_0050  INPUT
    *&      Form  exit_program
    FORM exit_program .
      CALL METHOD g_custom_container->free.
      CALL METHOD cl_gui_cfw=>flush.
      SET SCREEN 0.
      LEAVE SCREEN.
    ENDFORM.                    " exit_program
    *&      Form  set_auth
    FORM set_auth.
      REFRESH: i_fcode.
    Check authorization for change
      MOVE '02' TO act_auth.        "02 --> Change
      MOVE 'ZCA0FCSTFTOP' TO tab_maint.
      AUTHORITY-CHECK OBJECT 'ZZ:TABLMNP'
        ID 'ACTVT' FIELD act_auth
        ID 'TABLE' FIELD tab_maint.
      IF sy-subrc NE 0.
        PERFORM fill_fcode USING 'CHNG'.
      ENDIF.
    Check for authorization for create
      MOVE '01' TO act_auth.        "01 --> Create
      MOVE 'ZCA0FCSTFTOP' TO tab_maint.
      AUTHORITY-CHECK OBJECT 'ZZ:TABLMNP'
        ID 'ACTVT' FIELD act_auth
        ID 'TABLE' FIELD tab_maint.
      IF sy-subrc NE 0.
        PERFORM fill_fcode USING 'CREA'.
        PERFORM fill_fcode USING 'COPY'.
      ENDIF.
    Check for authorization for delete
      MOVE '06' TO act_auth.        "06 --> Delete
      MOVE 'ZCA0FCSTFTOP' TO tab_maint.
      AUTHORITY-CHECK OBJECT 'ZZ:TABLMNP'
        ID 'ACTVT' FIELD act_auth
        ID 'TABLE' FIELD tab_maint.
      IF sy-subrc NE 0.
        PERFORM fill_fcode USING 'DELE'.
      ENDIF.
    ENDFORM.                    " set_auth
    *&      Module  check_change  INPUT
    MODULE check_change INPUT.
      flag = 'Y'.
    ENDMODULE.                 " check_change  INPUT
    regards,
    vikas.
    plz reward if helpful

  • Bing Maps on IE 11 browser, The mouse click event is only working when we have compatibility mode on.

    I have tried out the code in this article in ASP.Net web forms with c#  and javascript.
    I am using Ajax to call the C# from Javascript and load the data from database.
    I have used following article to show the pushpins and there infoboxes.
    http://blogs.msdn.com/b/rbrundritt/archive/2013/11/08/multiple-pushpins-and-infoboxes-in-bing-maps-v7.aspx?CommentPosted=true#commentmessage
    My code works great on IE 11 , when I have compatibility mode on,
    but when compatibility mode is off, the mouse click event is not being received by the Javascript function.
    Is this expected behavior of bing maps, Are there any workarounds for this problem?
    Thanks
    Nate

    Hi Ricky, I have tried using Chrome and I see the same issue. The mouse events are not being captured. 
    Here is my code
    <%@ Page Title="" Language="C#" MasterPageFile="~/Maps.Master" AutoEventWireup="true" CodeBehind="BingMaps.aspx.cs" Inherits="MyMaps.secure.BingMaps" %>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderBody" runat="server" >
    <asp:ScriptManager ID="ScriptManager" runat="server"
    EnablePageMethods="true" />
    <div id="MapHolder" style="; width:1000px; height:800px; " />
    <asp:Literal ID="Literal1" runat="server">
    </asp:Literal>
    </asp:Content>
    <asp:Content ID="Content3" ContentPlaceHolderID="ScriptSection" runat="server">
    <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0">
    </script>
    <script type="text/javascript" >
    var map = null, infobox, dataLayer;
    $(document).ready(function () {
    GetMap();
    function GetMap() {
    // Initialize the map
    map = new Microsoft.Maps.Map(document.getElementById("MapHolder"),
    { credentials: "lincensekey", zoom: 2 });
    dataLayer = new Microsoft.Maps.EntityCollection();
    map.entities.push(dataLayer);
    var infoboxLayer = new Microsoft.Maps.EntityCollection();
    map.entities.push(infoboxLayer);
    infobox = new Microsoft.Maps.Infobox(new Microsoft.Maps.Location(0, 0), { visible: false, offset: new Microsoft.Maps.Point(0, 20) });
    infoboxLayer.push(infobox);
    PageMethods.GetLocations(RequestCompletedCallback, RequestFailedCallback);
    function AddData(MapPoints) {
    for (var i = 0, len = MapPoints.length; i < len; ++i)
    var pushpin = new Microsoft.Maps.Pushpin(new Microsoft.Maps.Location(parseFloat(MapPoints[i].lat),parseFloat(MapPoints[i].lon))
    icon: MapPoints[i].group,
    height: 50, width: 60, text: MapPoints[i].city
    pushpin.Title = MapPoints[i].name;
    pushpin.description = MapPoints[i].desc;
    Microsoft.Maps.Events.addHandler(pushpin, 'click', displayInfobox);
    dataLayer.push(pushpin);
    function displayInfobox(e) {
    if (e.targetType == 'pushpin') {
    infobox.setLocation(e.target.getLocation());
    infobox.setOptions({ visible: true, title: e.target.Title, description: e.target.description });
    function RequestCompletedCallback(result) {
    result = eval(result);
    AddData(result);
    function RequestFailedCallback(error) {
    var stackTrace = error.get_stackTrace();
    var message = error.get_message();
    var statusCode = error.get_statusCode();
    var exceptionType = error.get_exceptionType();
    var timedout = error.get_timedOut();
    alert("Stack Trace: " + stackTrace + "<br/>" +
    "Service Error: " + message + "<br/>" +
    "Status Code: " + statusCode + "<br/>" +
    "Exception Type: " + exceptionType + "<br/>" +
    "Timedout: " + timedout);

  • In my Ameritrade account the sub-header titles don't work when selected.

    In my Ameritrade account the sub-header titles don't work when selected. Is it maybe an add on or the beta version 14.01a of firefox or something else?
    I can't give the address as it is a confidential site, sorry. But for example when you pick trade and try to select buy or sell tab it does nothing. I tried downloading the lastest beta version 14.01a which I like to use but this didn't help? Thank you.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for