Estimatedrowcount not working in Batch mode

We have a page where we conditionally display navigation buttons based on whether a view's estimated row count is gt 10 rows. This is done via JSTL. Prior to getting to the page, a data-action refreshes the three views. In Batch mode, when we re-enter this screen a second time, all views return the estimated row count of RANGESIZE rows. If we reset the iterator range size to 6 or 7, the second time in, it would return 6 or 7 rows and the buttons would be GONE.
Interestingly enough, the dataaction displays the view object's getEstimatedRowCount(), and it is ALWAYS correct, however the front end does not work.
When we switch to IMMEDIATE mode, it works fine, however IMMEDIATE mode breaks another part of our application, where we attempt to find a row in an iterator inside of a data action. Of course, that section works fine in BATCH mode, but no IMMEDIATE.
We saw a thread out there on Metalink regarding this last issue - that setCurrentRowWIthKey returns a JBO-25020 in 10.1.2 in IMMEDIATE mode, but there was no solution.
Are there some words of advice for this sync mode issue and ways to resolve issues like this?
Again, assistance would be GREATLY appreciated!!!!

Are you using the parameter 'INSERT' in 'SAVE_TEXT' FM?
The module can be used to change existing texts and to create new texts. If it is clear that it is a new text, this can be specified via the parameter INSERT. The result is better performance as a test read is not performed.

Similar Messages

  • Multiple ALV reports not working in batch mode

    All,
    I have a report that creates a detail and a summary ALV report in one program.
    When run in the foreground it works great  - runs the ALV detail first and displays it and you arrow back and then the runs the ALV summary report and displays it.
    But when run in the background - I get the ALV detail report sent to the spooler but nothing for the ALV summary report.  Well I do get a second report sent to the spooler but it does not have any data displayed.
    I ran this in debug mode - faking out the program to believe it was in Batch Mode.
    Everything appears to look correct when it does the call to ALV - the outtab table has the summary data in it.
    Here is the calls to ALV:
    Function Module to display report in ALV List Format
      IF l_detail = 'X'.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = l_repid
            i_callback_user_command = c_ucomm
            i_grid_title            = p_title
            i_grid_settings         = w_alv_grid
            is_layout               = w_alv_layout
            it_fieldcat             = w_alv_field
            it_sort                 = w_alv_sort
            i_default               = 'X'
            i_save                  = ' '
            it_events               = w_alv_event
            is_print                = w_alv_print
          TABLES
            t_outtab                = t_detail
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
      ELSEIF l_summry = 'X'.
    be sure th file has the new SNO values assigned B4 calling!
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program      = l_repid
            i_callback_user_command = c_ucomm
            i_grid_title            = p_title
            i_grid_settings         = w_alv_grid
            is_layout               = w_alv_layout
            it_fieldcat             = w_alv_field
            it_sort                 = w_alv_sort
            i_default               = 'X'
            i_save                  = ' '
            it_events               = w_alv_event
            is_print                = w_alv_print
          TABLES
            t_outtab                = t_summry
          EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
      ENDIF.
    Maybe there something I should be calling or clearing out in the above parms when trying to create to spoolfiles from ALV in background mode.
    Any suggestions are most apprecaited.
    Thanks.
    Scott

    before calling the ALV create a separate spool for each list.
    if sy-batch = 'X'.
    get the print parameters with FM GET_PRINT_RARAMETERS
    pass the parameters (you can change them if you like) to
    NEW-PAGE PRINT ON PARAMETERS your_parameters NO DIALOG
    endif.

  • Validataion does not work in batch mode

    Hello community,
    We created an FI line item validation for transaction FBV1 that does a validation on a field and displays an error message if the validation fails. We have an RFC that uploads data from an Excel template and runs a BDC Call Transaction to upload and park the document. This worked well when we were on 4.6C but when we upgraded to ECC6.0, the Validation works fine when we manually call the FBV1 in SAP and the Validation DOES get triggered and displays a message if the line item validation fails but when we run FBV1 in batch mode, (RFC which contains a call transaction to FBV1) the validation does not work.
    I set up break a point in the generated program GBTBOFID where the exception error gets triggered and traced the FI Validation. The program will not display the error Validation message when run in batch but when run online, the error message gets triggered.

    Thanks for the prompt reply. I tryied a combination of the following options and did not have much luck with this one.
    Data: x_options type ctu_params.
         clear X_OPTIONS.
         X_OPTIONS-DISMODE = 'A'.
         X_OPTIONS-UPDMODE = 'S'.
         X_OPTIONS-CATTMODE = ' '.
         X_OPTIONS-DEFSIZE = ' '.
         X_OPTIONS-RACOMMIT = ' '.
         X_OPTIONS-NOBINPT = ' '.
         X_OPTIONS-NOBIEND = 'X'.
    CALL TRANSACTION 'FBV1' USING bdcdata options from X_OPTIONS
    After the call transaction the program automatically triggers some SAP generated code for a Validation check for FBV1 line item that we have put in through IMG. The message that should be displayed is in the FI validation check of FBV1.
    I put a break point in the SAP generated code for the Validation where the message should be displayed. The program executes the statement that should raise the exception and display the message. As soon as the statement is executed, conrol returns to the the the SAP transaction FBV1 program and the program continues to finish.
    The statement that executes and does not display the error message is:
    CASE valsevere.
            WHEN  'A'.
              MESSAGE ID msg_id    TYPE valsevere   NUMBER msg_nr
                      WITH msgv1 msgv2 msgv3 msgv4
                      RAISING abend_message.
            WHEN  'E'.    <=== *This option is true and the progam steps
                        " through the following message but does not display it.*
              MESSAGE ID msg_id    TYPE valsevere   NUMBER msg_nr
                      WITH msgv1 msgv2 msgv3 msgv4
                      RAISING errormessage.
            WHEN  OTHERS.
              MESSAGE ID msg_id    TYPE valsevere   NUMBER msg_nr
                      WITH msgv1 msgv2 msgv3 msgv4.
          ENDCASE.
    I should mention that in debug mode, I check the values of msg_id, msg_nr, msgv1 etc. and they all have values of a message class that we have created.
    The above code is in a SAP generated program for FI Validation (GBTBOFI0, include FGBB100R).
    -- We only have this issue when we use the FBV1 transaction in batch mode. Runing FBV1 directly online works fine.
    -- The issue is unique to ECC 6.0 environemnt. We did not have this problem in 4.6C
    Suggestions greatly appreciated.
    Edited by: Rob Burbank on Jan 20, 2010 12:15 PM

  • NTFS is not working in 64bit-mode

    NTFS is not working in 64bit-mode but in 32bit-mode all right !!! ***?!

    dont work int volume with XP and ext volume just sample NTFS file server ! I do not understand ! (((

  • My iPhone will not work in landscape mode anymore, how do i get to work again

    my iPhone will not work in landscape mode anymore, how do i get to work again??

    Double click round home button then slide icon on the bottom of screen to so you go all the way to left.  There you will see a square icon with a circle arrow .  That is the screen rotation control button.  Tap on that to lock/unlock screen rotatio

  • Input Textfields not working in fullscreen mode

    Input Textfields not working in fullscreen mode any one help me.

    Quotes from Adobe:
    "Users cannot enter text in text input fields while in full-screen mode. All keyboard input and key-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts that take the viewer out of full-screen mode."
    Check with this article to know more: http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

  • Can GATP work in batch mode

    Hi all,
    Can GATP work in batch mode i.e. all salesorders for a location/product has to go for availability check of stock in one batch.
    For example, stock of  Product A @ Loc A is 90 EA. 10 customers have ordered the same product. In this case i want to run the availability check of all orders in one batch so that all customers will starved equally.
    Please let me know if we can run GATP in batch mode for availability check.
    Thanks for help in advance.
    Regards,
    Sanjog

    You can schedule BOP in batch mode by tocde :
    /SAPAPO/BOP - Backorder Processing in the Background
    In this you can use filter to pull all the material/location as per your selection, can define filter in IMG or S_AP9_75000212 - Filter Type .
    Also you can sort  orders as per customer by special sorting rule.
    S_AP9_75000183 - Special Sorting
    Manish

  • Allow Bridge to work in Batch mode

    Whenever you go into a new photo directory, Bridge has to go through a laborious process of building the thumbnails and creating the huge file "droppings" called Adobe Bridge Cache.bc and .bct (note, these "droppings" stay around taking up space, so assuming they're important, why not let them be created in batch mode?
    In other words, why not be able to point Bridge at a directory called "Photos" or something, and tell it to go find the files in every folder/subfolder, create the "droppings" and not make people wait so long to get into a new directory the first time. I would much rather tell Bridge to go to work and come back an hour later and find out that I can now go from one directory to another without paying the penalty real time.
    Seems logical to me.
    Is there anything that can be done about the size of the "droppings" Bridge leaves behind? I'm looking at one that's 20MB right now, and I've seen them much larger on my system. I sure don't want to have to back them up in every directory unless absolutely necessary.
    Thanks for the consideration.

    Have you tried Tools > Cache > Build Cache for SubFolders?
    You can point it to your collection and let it go build it's 'droppings'.
    Since you didn't find this feature - is there a way we can make this more accessible to more users?
    Another approach is to have background indexing process that runs independent of Bridge and watches specific folders. Personally I am not a big fan of background apps - but maybe this feature would be user controlled: run always, run only when Bridge is running, run manually.
    Gunar

  • Yoga 2 Pro - Keyboard lock not working in stand mode

    Where can I find the Yoga Utilities suite (Yoga Transitions, Chef, etc.). I just isntalled fresh 8.1 Enterprise and turns out the D:\ partition didn't have the Yoga Utilities available, same on the support site (checked Yoga 13 as well). Pretty dumb, but I can't use the stand since the keyboard doesn't lock

    Hi i have this problem did you find a solution other than lenovo transition because i downloaded that and it still doesnt work....
    can you please help me if you have any ideas.
    my keyboard does not lock or disable in stand mode and sometimes it stops working in laptop mode...
    any help would be greaatly appreciated

  • Wireless works FINE in Safe Mode, WILL NOT work in Normal Mode

    Hi All:
    I've been smashing my head against the wall with this one. I have uninstalled ALL unnecessary applications I could find. Basically all that is left is Windows XP, Drivers and Patches in Add/Remove Programs. I have removed the wireless driver, downloaded a newer one and installed it, still nothing. I have tried it using no Wireless Security on the AP, and also using WPA, and wouldn't work with either in Normal Mode, but worked with both in Safe Mode. I ran a virus and spyware check (before uninstalling Norton), and it came out clean.
    The weirest thing is, sometimes it does connect and get an IP in Normal Mode, but when I run a ping to my local gateway, half the packets are lost (timeout), and the ones that do reply I see a response time ranging from 2ms to 5000ms with no other traffic. I have no idea what can be causing this. Any help would be greatly appreciated.
    If all else fails, I will resort to formatting it and installing WinXP from scratch, since I doubt it's hardware.

    It appears that some device whose driver does not load in Safe Mode malfunctions.
    If this occurs before loading any drivers for added devices, then you'll need service.
       Locate a Service Center
    -Jerry

  • Ctrl+tab is not working in editing mode

    I have JcheckBox and JTable in my JPanel. When user clicks or presses F2 to edit any cell value of the JTable a comboBox will appear with possible values. (This comboBox is coming from table CellEditor). When user presses ctrl+tab from the table focus should transfer to JComboBox all time. It is working only when the user presses ctrl+tab from the table cell which is not in editing mode. If the user presses ctrl+tab from the table cell which is in editing mode (i.e. focus is on the ComboBox of the cellEditor) it does not work. Please help me to find the solution.
    I give a sample code here for your reference.
    public class Frame1 extends JFrame {
    public Frame1()
    super();
    this.setLayout( null );
    this.setSize( new Dimension(400, 300) );
    JTextField ch = new JTextField();
    ch.setVisible(true);
    ch.setBounds(10, 10, 10, 10);
    this.add(ch, null);
    DefaultTableModel tmodel = new DefaultTableModel(3, 1);
    tmodel.setValueAt("0 0 1",0,0);
    tmodel.setValueAt("1 0 1",1,0);
    tmodel.setValueAt("2 0 1",2,0);
    JTable custLayersTable = new JTable(tmodel);
    custLayersTable.getColumnModel().getColumn(0).
    setCellEditor(new ComboEditor());
    custLayersTable.setBounds(new Rectangle(40, 40, 280, 145));
    custLayersTable.setSurrendersFocusOnKeystroke(true);
    this.add(custLayersTable, null);
    public static void main(String[] args)
    Frame1 a = new Frame1();
    a.setVisible(true);
    final class ComboEditor extends AbstractCellEditor
    implements TableCellEditor
    public Component getTableCellEditorComponent(JTable table,
    Object value,
    boolean isSelected,
    int row,
    int column)
    Vector<String> layerValSet = new Vector<String>();
    for(int i=0; i<3; i++)
    layerValSet.add(row+" "+column+" "+i);
    mComboModel = new DefaultComboBoxModel(layerValSet);
    mComboModel.setSelectedItem(value);
    mEditorComp = new JComboBox(mComboModel);
    return mEditorComp;
    public Object getCellEditorValue()
    return mEditorComp.getSelectedItem();
    private DefaultComboBoxModel mComboModel;
    private JComboBox mEditorComp;
    }

    Thanks a lot for your reply.
    Since the textField is in a different class i could not use the transferFocus API directly. I tried the following code in the keyreleased event of Combo Box but it was not working.
    KeyboardFocusManager.getCurrentKeyboardFocusManager().focusNextComponent(
    e.getComponent().getParent());
    I also tried the following code in stopCellEditing and is not working.
    KeyboardFocusManager.getCurrentKeyboardFocusManager().focusNextComponent();
    Is there any other way to achieve this?

  • BDC is not working in background mode and working fine in Foreground mode

    Hi Experts,
    I have created a BDC in SHDB for the transaction code:CWBQM for creating and deleting the record and converted the BDC recording into the program using call transaction. It is working fine in both foreground and background. When I given the same program for users testing one for the user was able to delete the records but Creation is not working in the same BDC. He is able to create the same records in another PC and the problem is only in that PC and only during the creation of the record. When I change the mode to 'A' mode for testing and request the user to execute and it is working fine the records created successfully. What could be the issue ?
    Thanks,
    Hema

    Hello,
    While recording BDC in SHDB try setting "Simulate background mode" flag and give a try.
    Cheers,
    Nag

  • Buttons not working in fullscreen mode

    Hi everyone,
         I have a site where our Flash content can be sent to fullscreen by the user. When in fullscreen mode, in some computers the buttons within the content and the mouse stop working completely. It still exits from fullscreen by clicking the escape buttons.
    I have a Win XP computer where it works in Firefox and IE but won't work within Chrome. They both have the latest player installed.
    I have a Windows Vista where it does not work in any browser.
    On a Linux box (version 10,1,53,64) it works on any browser.
    On another Win XP computer with version 10.0.45.2 it works with any browsers.
    On some Macs it works, on some it doesn't.
    The swf file was produced with Flash CS3.
    Any ideas?

    For that matter, the "return to menu" which is set to a Main button type, isn't working either.  that is one of the three.  After i had removed the damaged button and copied it from another it worked.  Then i simply edited the text of a different button (mind you one that still works) and the "return to menu" quit along with the bottom 2 buttons.  I just can't figure it out.  I have shut the app down and restarted and nothing seems to be working

  • Why export audio to movie command not visible and detect cuts command is not working in 64bit mode?

    Does anyone know why export to audio disappear from menu in 64bit mode?
    Why detect cuts command is not working well in 64 bit mode?
    I tested on several machines (brand-new iMac, brand-new MacPro with 10.8 OS, MacPro with 10.6.8),and everythig wotks in 32 bit mode. As I switch to 64 bit mode detect cuts only put one marker at the begening of film.
    I also noticed that Firewire output option in 64bit mode is not avaible.
    Is there a certain film format that I have to use to make it work? I tried DV PAL, but I had ther same result.
    Thanks a lot.

    Hi
    Those functions are not available when Logic is running in 64bit mode
    http://support.apple.com/kb/TS3171
    CCT

  • Fixed layout ePub page turn not working in portrait mode

    Hello all,
    First time poster here. I created a childrens book, full color ePub from the Apple 3.1 ePub template. Everything sems to work great in general.  But I wanted the book to be in portrait mode only to get the most out of the graphics. I have the package.opf file set for portrait mode, which shows just one page (correctly), but when turning pages the cool page turn animation does not work when testing on my iPhone5 and an iPad2.  Pages just slide left or right.  But when I change the opf to allow landscape mode, when testing on iDevices, it shows two pages at a time in any mode and the page turn effect works perfectly.  Any way to get the page turn animation to work on just a single page in Portrait mode? To add to it I have an ePub example book from a non-Apple publisher that defaults to single page portrait, and is mostly text (so I'm not sure if its fixed layout or not), and the single page portrait mode allows the page turn animation to work perfectly.
    Thanks all!
    EDL

    The small caps are wrong in Source Sans Regular. This are not correct small caps . This seams to be missing in the font.
    But in italic style you will find correct small caps. They only work in InDesign not in ePub.
    And if you look in my images (first from InDesign, second from Radium - iBooks looks the same) you can see many difference between InDesign and ePub.
    Note the word "pfiffig", the I at the beginning of "Igor" in second paragraph and the "a" in the italic paragraph.
    This is very frustrating! 

Maybe you are looking for