Refreshing problem

Here I have 2 radio buttons.
first it will check with a ztable against entered supplying plant(s_werks)
and receiving plant(r_werks).
when i select first radio button,
it adds one plant(zplants-plant) to the r_werks.
when i select second radio button it adds same plant(zplants-plant) to
the s_werks.
when i run the report first time with selecting either first or second
radio button, it is displaying perfectly.
when i comes back and selects another radio button,
the zplant-plant field is displaying in both the columns, but it has to
display in only one column.
It is not refreshing the selection values....
AT SELECTION-SCREEN ON RADIOBUTTON GROUP R6.
   Select * from zplants
               where reswk in s_werks
                 and werks in r_werks.
     if sy-subrc eq 0.
       if l1_dat = 'X'. " l1 radio button
       r_werks-sign = 'I'.
       r_werks-option = 'EQ'.
       r_werks-low = zplants-plant.
       append r_werks.
       select single * from zritem where
                       l1_dvry in xblnr.
         if sy-subrc eq 0.
         select single * from zrhdr where
                     l1_sto = zritem-l1_sto
                     and receiv_plant in r_werks.
        endif.
      elseif l2_dat = 'X'. " l2 radio button
      s_werks-sign = 'I'.
      s_werks-option = 'EQ'.
      s_werks-low = zplants-plant.
      append s_werks.
      select single * from zritem where
                    l2_dvry in xblnr.
         if sy-subrc = 0.
         select single * from zrhdr where
                       l1_sto = zritem-l1_sto
                       and spply_plant in s_werks.
        endif.
     endif.
   endif.
  endselect.
anybody has solution...

As I look at the code, it appears as if you want to use R_WERKS when the user selects L1_DAT radiobutton and use S_WERKS when the user select L2_DAT radiobutton. If I am correct so far, the I would like to split your logic into two sections.
Section 1.
Do not show s_werks. To achieve this you need to define your radiobuttons as follows:
PARAMETERS: l1_dat RADIOBUTTON GROUP r6 DEFAULT 'X' USER-COMMAND werk,
            l2_dat RADIOBUTTON GROUP r6.
You need to define S_WERKS and R_WERKS as follows:
SELECT-OPTIONS: s_werks FOR zplants-werks MODIF ID swrk,
                r_werks FOR zplants-werks MODIF ID rwrk.
Now you need the following code.
AT SELECTION-SCREEN OUTPUT.
  IF l1_dat = 'X'.
    LOOP AT SCREEN.
      IF screen-group1 = 'SWRK'.
        screen-active = 0.
      ELSE.
        screen-active = 1.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ELSEIF l2_dat = 'X'.
    LOOP AT SCREEN.
      IF screen-group1 = 'RWRK'.
        screen-active = 0.
      ELSE.
        screen-active = 1.
      ENDIF.
      MODIFY SCREEN.
    ENDLOOP.
  ENDIF.
Section 2.
I will move your ON RADIOBUTTON GROUP code into the start-of-selection.
Please let me know if I am on the wrong track here.
Srinivas

Similar Messages

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Smartview 11.1.2.1.102 Refresh problems

    I have multiple users experiencing severe refresh problems after upgrading to smartview version 11.1.2.1.102.
    Users state Refresh is taking 10-15mins+ when in old version 9x it only takes 1-2mins. In addition users have rebuilt the excel files (copy in new workbook) then all is working fine but when saved/the next day the refresh goes very slow again!
    Please can any help?

    1. Deleting the Sheet Info fixes the problem for the moment - but the problem soon returns. Do you know what causes the problem, so we can cut the repeating cycle? Is this strictly a multi-user issue? We do have several users that may use the file. Some have version 11.1.2.1.000 (not 103). Oracle's tips doc (http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf) mentions uncompressed metadata stored in the worksheet.
    2. Is there a specific version that allows the Sheet Info fix? Oracle's tip sheet says they need Some have version 11.1.2.1.103, but the users we have seen so far can use this workaround on Some have version 11.1.2.1.000. I'd like to know when at what version this fix starts so I can push other users to update. It would be good to know at which version this issue starts.
    Thank you - great information in the thread!
    P.S. for reference:
    From http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf
    In EPM System Release 11.1.2.1, I am opening .xls files with Smart View functions in Excel 2010, but it’s very slow or seems to freeze Excel. How can I fix this?
    This is most likely due to an issue with uncompressed metadata stored in the workbook. In most cases, the issue can be found in the first sheet in hidden shapes. Note that the file will open but it may take a very long time, and in some cases the file will open fine with Smart View disabled. In other cases it will not matter. To solve this problem, save a copy of the file and follow the steps below for the version of Smart View you have.
    If you are using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while) with Smart View enabled.
    2 From the Smart View Ribbon, select Sheet Info.
    3 Select Delete Smart View Info.
    4 Select Workbook and all Sheet Info.
    174 Miscellaneous and Product-Specific Tips
    5 Click OK.
    6 Save the modified workbook.
    7 Reopen the workbook.
    If you are not using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while).
    2 Right-click on the tab of the first worksheet and select Select All Sheets.
    3 Right-click on the tab of the first worksheet and select Move or Copy.
    4 In the drop-down box, select (new book) and check Create a Copy.
    5 Save the workbook.
    6 Open the new workbook.
    7 Refresh the data.

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Container (JPanel) refresh problem

    Hello,
    In fact i have a panel (mainPanel) with a button OK, a another panel which display a specific MyJTable and combo box.
    In fact, when I clic OK Button, i want to charge my MyJTable with data depends on comboBox.
    First, i display a empty white panel and when i clic Ok i want to display my MyJTable.
    JPanel mainPanel = new JPanel();
    JPanel emptyPanel = new JPanel();
    JPanel combo = new JComboBox();
    JButton okButton = new JButton();
    MyJTable myJTable;
    mainPanel.add(emptyPanel);
    mainPanel.add(combo);
    mainPanel.add(okButton);I have a refresh problem, i try mainPanel.remove(emptyPanel) and thus mainPanel.add(myJTable), the remove works but the add no :(
    In ActionPerformed method when okButton:
    myJTable = new myJTable(combo);
    mainPanel.remove(emptyPanel);
    mainPanel.add(myJTable);
    mainPanel.repaint();Thanks for yu help!!

    Hi,
    have you tried playing with
    mainPanel.revalidate();
    mainPanel.revalidate();??
    Might help
    Phil

  • Screen refresh problem with Windows 7

    Hello all,
    I've recently begun testing Oracle with Windows 7 on a new HP 2540p notebook computer. I've encountered a very strange issue so far. After logging into Oracle, and Windows switches to Windows Basic theme, I should be taken to the main Navigator screen. But instead, the screen is simply white. If I drag (or nudge) the title bar just a bit, the screen refreshes and I can see the menu items. Then if I click on something (or even use hotkeys - ALT+F to get the file menu, for example), I don't see anything happen. But if I move the window just a bit, the screen refreshes and I can see that it did actually take my input, it just didn't re-draw the screen. I'm wondering if this may be a graphics driver issue (I do have the latest driver for the Intel Graphics Media Accelerator HD adapter), or if someone could point me toward a resolution to this problem. Any help is much appreciated.

    Dear All,
    Same problem of REFRESH PROBLEM also faced by but only a single and specific Windows 7 client.
    if you have resolved the issue , so please share with us.
    Thanks
    Eidy

  • Datagrid refresh problem?

    fileListArray.refresh();
    dg_curtainmanager.invalidateList();
    dg_curtainmanager.invalidateDisplayList();
    <mx:DataGrid id="dg_curtainmanager" showHeaders="true"  editable="true"  includeInLayout="false" dataProvider="{fileListArray}"  creationComplete=""  variableRowHeight="true"   wordWrap="true"  rowCount="{fileListArray.length}"  width="100%"  >
    <mx:DataGridColumn  headerText="Parent Folder"  sortable="true"  editable="false"   width="250" minWidth="65" wordWrap="true" >
                            <mx:itemRenderer>
                                <fx:Component>
                                    <mx:HBox width="100%"
                                             horizontalAlign="left" verticalAlign="middle">
                              <mx:Image source="@Embed(source='images/edit_16.gif')"  toolTip="Select Starting Folder" buttonMode="true" click="outerDocument.parentfolderimagclick()" />
                                        <mx:Label text="{data.document_folder_name}" color="black" />   
                                    </mx:HBox>
                                </fx:Component>
                            </mx:itemRenderer>
                            </mx:DataGridColumn>
    </mx:DataGrid>

    @welcomecan,
    What refresh problem you are facing.. in DataGrid? When you change your DataProvider for your grid the values are not being changed or somethingelse..??
    Please always be clear in explaining your problem in order to get it resolved..
    Thanks,
    Bhasker

  • Forms Refresh Problem on The Web??

    i have a form coded in 6i. in this form i have around 20 buttons one below another and each of the button has a stacked view associated with it. whenever i click on a button i am opening the relative stacked view on th content canvas and repositioning the rest of the bottons and views by moving them down.
    Now the problem is it works fine in client-server, but when i run it on the web, when i try to open any of the buttons the screen scrolls automatically to the top. I also noticed that if i wait for a few seconds(or sometimes minutes) the form takes me to the correct position. i think there is some refresh problem. i tried Syncronize also but to no use.
    i would appreciate If someone can help me out on this ASAP. (thanks for the patience in reading this long mail!!)

    Try to instal the latest version of Jinitiator. I have similar problems, but my case is not so bad. Jinitiator develops very quickly and as i have heard it works now fine.

  • G5 quad gf6600 refresh problems

    I have refresh problems (never had it with 2.5 bipro)
    in photoshop the layers do weird things and leaves traces.
    in lightwave if i select a point op poligon, nothing seems to happen, only when i resize the view it refreshes.
    lightwave is freshly installed, ph is a port from the old mac

    upgraded programs

  • Refresh problem with dreamweaver cs5.5

    Hello,  I hope someone can help out soon with my problem. We currently have a great running site that is hosted OFFSITE. Our programmer built a new site which is the one having the refresh problems with.  It's hosted on an ON-SIGHT server . thank you
    Problem:
    Sometimes randomly, but almost always when opening other pages, DW freezes for about 5-10 seconds, sometimes crashing (presumably when it takes longer).
    It occurs whether changes are made to files or not. I'm using split view it happens mostly whien trying to click something in code view at top.
    Test Results:
    I was able to consistently reproduce the problem when opening files in the directory.
    I was unable to reproduce the problem when opening multiple Include files (that do not use templates).
    Thoughts:
    Is there something in the template causing the refresh problem?
    Something in the new website page source, or in their shared template, may be loading from a (slow) external resource.
    Something in the DW settings?
    HELP THANK YOU

    Could you post a screen capture of your File > New dialogue window when you choose it from the menu?
    Page From Template should be an option on the far left if I recall correctly (it has been changed in newer versions, but I think 5.5 still used this method). You won't see it in the Welcome Screen or if you hit Ctrl +N. You have to use the menu option to select New...
    You should then be presented with a list of sites, when the site is chosen, the templates should show in the middle column.
    Or are you saying your template isn't showing when you choose the Page From Template option and select the site?

  • Javabean Refresh Problem

    HiHi,
    I have got a problem of refreshing a modified java program.
    I have created a javabean before, there are three fields are defined as float type.
    However, I have got some problem of using float, so I made a change on it to double.
    At the same time, there is a jsp program using this java program. After I compiled the
    java program and put it into the server side (weblogic). I found that there is a probelm
    "NoSuchMethodError" every time when I call the jsp. Then I press space of that jsp
    program and actually made no change of it. And put it into the server
    side again, since there is always a refreshing problem of both java and jsp program
    in weblogic. But I still failed, so I rename both the java and jsp program and try it. Finally the
    same problem still happens.
    So I dunno that it is really a refreshing problem or something I have done wrongly.
    Could anyone help me? Thank you very much!
    Betty

    restart you server and see ...
    when ever you change your javabean you have to restart the server, bcoz the class gets loaded in to the server, once you start it, so, if you change it, it is not going to be changed in the server where the class gets loaded, so, it still has the old copy, so, you have to restart the server for it to reflect the changes ....

  • Console Refresh Problem

    Hi All,
    I have a minor, but annoying refresh issue in the SCVMM console.
    I have one particular hyper-v cluster which for which the console is unable to refresh the overview, the wheel spins forever.  The daily & monthly performance portions refresh ok.  This only happens for one cluster and is irrespective of the
    user and machine the console is running from.
    Any input appreciated.
    Stu

    Hi,
    normally to find out why it is stuck a ETL trace is needed from the VMM Server. There aren't any known issues in Windows Server 2012 R2 OS and SCVMM 2012R2 combination as far as I know regarding the refresh problem. Are there any hints on the VMM Server
    like failed Jobs regarding this problem ? Additionally did you check the Cluster Nodes VMM Event Logs ?
    Regards,
    Cengiz Kuskaya

  • Row ranges  1-15, 16-30 in select list has refresh problem

    Hi, Gurus:
    I use APEX 4.1.1 with Oracle 11GR2. I have a question that was discussed before here, but I still have trouble to understand it. I have some reports that cannot refresh content when I choose another page of the same report. I used row ranges 1-15, 16-30 in select list with pagination. It did not work. However, I used the exactly same report page settings for some other queries producing exactly same columns, except the query logic is slightly different thus number of rows in report are different. row ranges 1-15, 16-30 in select list with pagination works well in other reports.
    I came across discussions and set partial page refresh to no for those report pages with refreshment problem. This time it worked well, but it was extremely slow as my query is very slow. I was wondering why some of report do not need to set partial page refresh to no and have no problem to refresh, but some of reports have problem to refresh (I even copied the report page without problem for those reports with problem and just change queries.)? Is there any other way to refresh these reports quicker other than SQL tuing?
    Please help me.
    Sam
    Edited by: lxiscas on Dec 31, 2012 11:36 AM
    Edited by: lxiscas on Dec 31, 2012 11:49 AM

    I just found that it is due cache page settings, I should set it to no as a developer

  • Refreshment problem when place image.

    Hi Experts,
    When I insert image using script then there is a refreshment problem.
    In place of second image there place first image.
    while if I debug this it place in correct order. But in Run case script not place image in order.
    There is a refreshment problem After place First image it not refresh  and have first image.
    How solve this problem That i place image in proper order in Script Run mode.
    #target indesign
    var myDocument=app.activeDocument;        //Active document have 10 spread with text frame
    for(int i=0; i<10;i++)
    var ImagePath="D:\Indesign\" + i + ".indd";         // There are 0.indd to 9.indd, 10 image in "D:\Indesign\"
    var myTextFrame=myDocument.spreads.item(i).textFrames.firstItem();
    myTextFrame.place(File(ImagePath)); // ImagePath is path of image
    Thanks.

    My problem is like this :
    I want place image in a text box
    File(menu)-->place....-->(Dialog open then Select Image file then click on open)->then image is attach  with cursor. (I do not click on .indd open screen).
    Now I run the script from ExtendedTool Kit
    #target indesign
    var myDocument=app.activeDocument;
    var myTextFrame=myDocument.spreads.item(0).textFrames.firstItem();
    $.sleep(2000);
    myTextFrame.place(File("/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"));
    $.sleep(2000);
    var graphic=myTextFrame.allGraphics[0];
    graphic.select(SelectionOptions.REPLACE_WITH);
    graphic.geometricBounds =["-47.853527","-157.370275","1231.018230","709.576702"];
    When this script run then it place the image which I am select from File(menu)-->place....-->(Dialog open then Select Image file then click on open).
    Not from the path "/C/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp.jpg"
    This is the problem to place image.  So there is image duplicasy and some image missing.
    Is there is solution of this problem ?
    How remove image which is already attach with cursor ?
    Thanks.

  • QAAWS refresh problem.

    hi,
    I am QAAWS to display report in Xcelsius.Do we have any refresh problem when we used QAAWS for Xcelsius when we have fresh data.
    Do we have any alternative for this.
    Regards,
    Shiva Kumar G.C

    Are you using 'Refresh on Load' or triggering the refresh from another component?  I don't think your question is clear, are you receiving the data from QaaWS in the Xcelsius model?  Can you comsume the WSDL in another application to verify the SOAP messages are being sent back and forth from the Web Services.
    Thanks,
    Ryan

  • MSI GeForce4 Ti4200 128MB refresh problem

    Hi all!
    I have following WinXP refresh problem:
    When I set refresh rate to value bigger than 75Hz, system tells me that refresh rate was changed, but my monitor still shows me 75 Hz.
    My HW configuration:
    Athlon XP 2000+
    ABIT KD7 (VIA KT400 chipset)
    MSI GeForce4 Ti4200 128MB
    IBM DeskStar 45GB 7200 rpm
    17" AOC 7GLr
    I have tried various graphic card drivers (both drivers that were on CD supported by MSI and downloaded detonators from nVidia), for my monitor i have correct drivers from AOC. I was able to set refresh rate to 100Hz using PowerStrip 3.3. In SiSoft Sandra Professional i found warning, that i should use PnP/DDC compatible monitor or video adapter.
    Guys from AOC support told me, that problem is probably in my graphic card.
    Can you help me?
    Thanks in advance.  :(

    I experienced the same problem with a new msi 440mx VTD (8x). I tried the latest detonator drivers (41.07 and 41.09) and could not get more than 75Hz refresh in any resolution, though the configuration told me it was 85Hz. In Monitor Inf my Iiyama MT-9017T has the specs 96kHz and 55-160Hz, that used to give me 1024x768@100Hz with my old graphics adapter.
    my configuration:
    Athlon XP 1600+
    Epox KTA3pro (KT133a)
    WIN2000

Maybe you are looking for

  • How can I display a specified row from a chart in a 2nd chart in Numbers?

    I have a chart in Numbers '09, which contains tasks with their due dates. This chart is rather large and is divided into several categories (i.e. home, work, taxes, etc.). Each row in the chart has a task name and due date in addition to other inform

  • No longer able to drag and drop

    after purchasing songs from itunes I am no longer able to drag and drop from itunes to ipod

  • Kernal Panic early in boot up.

    Got myself a brand spankin new MBP 15in 2.4 the other day! But, first time bootin the sucker up, got a kernal panic not 2 seconds into boot. Didn't even get past the white screen with the apple logo. Hm... Not a good sign... Especially when you're bo

  • Why do I get "Internal Error (-5002) occurred" when doing external recon via SDK ?

    I can reconcile an invoice and matching incoming payment as below: Table OJDT is: BatchNum TransId BtfStatus TransType BaseRef RefDate Memo Ref1 Ref2 CreatedBy LocTotal FcTotal SysTotal TransCode OrignCurr TransRate BtfLine TransCurr Project DueDate

  • How Do I Get Music into One Grouping?

    On my iTunes I have a lot of music. I also have a lot of groupings for one artist. I have two little boxes for Selena Gomez and the Scene under the Artists tab and a bunch of TobyMac. I have found that it makes one more little box for every song that