Clearing previous data
Hi All,
I have some VC models where I am displaying input form in one layer and after submit(Submit Form) I am displaying output layer. The problem i am facing is when user goes back to input screen by back button (History Back) and again enters different data what he sees in the output layer is previous run data until it is refreshed. I want to clear this previous data in output layer immediately when he clicks submit on first input layer.
Also can we make submit button 'default' so that when users selects all input variables and presses 'ENTER' the form should get submitted. I could not find any such property for the button.
Has anyone done this? please help me on this, this is a valid and a bit urgent requirement.....
Hi Satish,
You got it correct. In first run users selects some input and presses submit to see output layer. Now he clicks on 'back' (history back) button to see previous input layer. He changes some parameters and submits to see 'previous' output layer containing graph and table data for previous selection until the data is reloaded from back end. Instead of this after pressing submit he should see blank chart and table and once data comes from back end it should get displayed.
I got the point to apply similar technique in blog to my 'Back' button on output layer. but the problem i am facing to 'Clear the output layer' is how should be graph cleared off the data and delete all the rows in table.
We can clear forms by storing blank values but to graph how should i clear the data it has?
If you have done this please advise me and correct my thinking if i am getting it wrong...
Also can you also let me know your thoughts about how can we make submit button get clicked when we press 'Enter'? Usually in HTML and other UI techs we make it 'default' so that it gets clicked when we press enter key....
waiting for your reply...
Thanks in advance,
Swapnil
Similar Messages
-
How to clear previous data entries in sm30 transaction for table maintainen
Whenever i maintain 8-10 records in sm30 for table maintenanace and again when I go to SM30 for entering new records i am able to view previous entries .
then i click on new entries where data is cleared.
Now what i need is i want to clear the data before clicking "new entries".
means for user it should appear as a fresh screen.
is it possible if yes HOW?
please anyone suggest me way to do it immediatelyhi Nilesh,
when u r clicking new entries data is not cleared but u r going to other screen,so it will apppaer as blank screen.If u want to delete all the records ,then write the logic in ur code.
CASE SY-UCOMM.
when 'NEWENTRIES'
USe delete dbtable statemnt...then commit work.it will delete all the entries.
ENDCASE.
regards,
Nagaraj -
Hi All,
My program displays an idoc list(screen 100). Then if user selects any row in the method
gets the index no and details of that idoc are displayed in another screen(screen 200) .
Then control returns to this screen again. Now if user selects any row from idoc list (screen 100) then data is displayed along with data from previous screen .
In PBO of screen 200 : some code is :
create object go_docking
exporting
dynnr = '200'
extension = 65
side = cl_gui_docking_container=>dock_at_top.
create object go_grid_detail
exporting
i_parent = go_docking.
some code
create object go_custom_cont
exporting
container_name = 'DISPLAY_IDOC_CONTENT_200'.
create object go_grid_detail
exporting
i_parent = go_custom_cont.
some more code
call method go_grid_detail->set_table_for_first_display
exporting
is_layout = gs_layout
it_toolbar_excluding = lt_exclude
changing
it_fieldcatalog = fieldcatalog1
create object go_docking
exporting
dynnr = '200'
extension = 65
side = cl_gui_docking_container=>dock_at_bottom.
create object go_grid_detail
exporting
i_parent = go_docking.
In PAI of 200 screen i have used :
some code
free go_grid_detail.
free go_custom_cont.
go_docking->free( ). free go_docking.
After freeing all data and on call of screen 200 from screen 100 still it shows data from which was there previously on screen 200.
How can clear all previous data . Even i have free the docking still not working .
Kindly please help.Hi,
if go_grid_detail is type ref to cl_gui_alv_grid, call go_grid_detail->free( ) before container->free( ).
Regards,
Clemens -
Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts.
I prefer to view in All contacts on a double page spread with details on the right page. Searching doesn't seem to work correctly in this view.
It's always the second search that is problematic.
I've tried typing over and all it seems to do is confine the search to the the entries that have come up for the previous search.
I've tried to use the x to clear the previous entry and then type the next search, same problem. The only way seems to be to move from "All Contacts" to "Groups". Then the searched name appears and I can return to All Contacts to see full details.
Surely three key press' are not the way it's supposed to work?
FYI
Processor 2.7 GHz Intel Core i7
Memory 8 GB 1333 MHz DDR3
Graphics Intel HD Graphics 3000 512 MB
Software Mac OS X Lion 10.7.3 (11D50d)
Address book Version 6.1 (1083)
MacBook Pro, Mac OS X (10.7.1), 8Mb RAM 2.7Ghz i7AddressBook experts are here:
https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386 -
ADF: clearing all previous data in a page?
Hi Everyone,
im using Jdev 11G.
i have created 9 pages in ADF. i have used navigations to other pages through buttons from the first page.
all pages have data from different VOs.
Now the problem is : when i run the page for the first time it is working fine. but when i go back and run the page second time if data for some particular VO is not there (kept whereclause for VO in backing bean) then it should not display any data but it is displaying previous search data.
plz help to get out of this.
how to clear all the previous data while navigating to the page.
i have used VO.clearcache() methods also but didnt work.
Any ideas wil be really helpful.
Thank you.Hi Desmukh,
Thanks for ur reply.
im executing the VO queries but if the parameters is not exists in the VO then it returns all the values in the VO.
i have used: vo.setWhereClause("EMP_ID=:empid AND EMP_NAME=:ename");
vo.defineNamedWhereClauseParam("empid ", emp_id1, null);
vo.defineNamedWhereClauseParam("ename",emp_name1, null);
vo.executeQuery();
here emp_id1 and emp_name1 are the values im passing to VO to filter VO.
if these two values doesnt match with any of the values in the VO then it returns allrecords from VO on the page.
Plz help.
Thank you. -
HT4859 Is there a way to clear out data that was previously backed up on iCloud to make room ?
Is there a way to clear out data that was previously backed up on iCloud to make room ?
Welcome to the Apple Community.
Settings > iCloud > storage & Backup > Manage...., swipe to delete. -
FDM export to HFM - 2nd export did not clear all data from 1st export?
Has anyone experienced exporting a replacement FDM file to HFM where the 2nd file did not contain an account that was present in the original file and that account/value in the 1st file then remained in the HFM trial balance and caused it to be out of balance? Does the replace export option not clear all the prior file data? The only unusual part of it might be that the problem account was derived using logic group script? Thanks.
Thanks Hensen - Sure, it was easy enough to fix once I deduced what the problem was - although my solution was just to use the data clear function and reload. The real question is how to prevent it from happening again and it sounds like I can't do much about it - other than trying to train the users to watch out for do-over files that have fewer accounts than the original load?? Am I wrong to think that HFM should try to fully clear all previous data from a load file if there is a replacement or at least try to validate whether or not all prior accounts have been repopulated?? There's plenty of good validation in the validation step of FDM. Why not during the export step? If this makes sense, I'll put in another "enhancement request" to support.
-
How to clear PSA data in advance berfore upload data into PSA by process
Could someone tell me how to clear previous PSA data before upload data into PSA through process chain,tks
Hi,
Try
Deleting Requests from the PSA
http://help.sap.com/saphelp_nw04s/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/frameset.htm
Hope this helps.
Thanks,
JituK -
Clearing Document Date do not follow the define clearing date in F-03.
Hi,
Clearing Document Date do not follow the define clearing date BKPF-BUDAT in F-03.
My user received the unpresented check statement from the bank on 31 Dec 2010. As 1 Jan 2011 is holiday and he came back to the office on 5 jan 2011. He post manual upload (Debit : Bank Outgoing and Credit : Unpresented Cheque) posting date 31.12.2010 (period 12/2010 and 01/2011 still open) . Hence the next step (same date on 5 Jan 2011) is to clear the Bank outgoing using F-03. He put 31.12.2010 as his Clearing date BKPF-BUDAT but when the system post the clearing date is 04/01/2011.
Please helpHello,
Hope it helps.
But i can recall for the EBS bank statement upload into a previous fiscal year, ie, 31.12.2010. I had to close the current fiscal year temporarily.
See what happens in your system when it tries to clear with F-03. Though as mentioned re-check as F-03 will default to the system date --- today.
Regards
Waza -
Hi all,
Flex newbie here.. I just want to know how to clear the data
that i fetched from server on logout. My application have multiple
components and each component have different states. Once i logout
and login, am getting the previous state before i logout. How to
solve this problem? please help me out.I'd start with the "loginResultHandler" function and use it
to direct the user to a specific component within a ViewStack
whenever they login or log back in.
For example:
[Bindable]
private var currentUser:User = new User();
private var currentFunction:Function;
private function loginResultHandler(event:ResultEvent):void {
currentUser = event.result as User;
if (currentUser.loggedIn)
if (currentUser.roles == "admin")
Application.application.myViewStack.selectedIndex=0;
else
Application.application.myViewStack.selectedIndex=1;
loginForm.visible=false;
currentFunction.call();
else
Alert.show("Login unsuccessful", "Server Authentication");
This may or may not be the answer you are looking for but it
should get you going in the right direction. Check out some of the
great Flex tutorials at Lynda.com (
http://movielibrary.lynda.com/html/modListing.asp?pid=205)
Good luck! -
FXTrans Script does not clear previously translated currencies
Good morning Experts!
On Page 4 of the Document named "How to Configure Limited Currency
Translation" that was provided to me by SAP Support, with regards to the FXTrans Script, it states "The
translation process first determines what rates and currencies need to
be processed. It then clears any previous data that was generated by
earlier FXTrans processes for the same category and time scope as the
current run."
This is broken. The MultiCurrencyTranslation process is not clearing
out previous data at all. It's simply appending additional data each
time the process is run. Has anyone else seen this issue? I've run the process numerous times and our European revenue has doubled and tripled and quadrupled.
Is there a way to resolve this?
Any ideas are greatly appreciated.
Thanks!
SeanSean,
There is simple solution.
You can use CLEAR DESTINATION statement in the logic script.
As you know, this will clear destination so you should be careful to use this but it will clear destination and will write data.
I think it will solve your issue.
Thank you.
James Lim -
DropDown by index not clearing previous values
Dropdown by index issue.
I am having a problem with my dropdown not clearing previous entries.
I have a webdynpro that has two views, main and appraisal. I can enter the appraisal view from the main. The appraisal view contains a drop down. At this point, I the dropdown appears to work correctly. However, if I then enter a second appraisal, the drop down displays the value from the previous entry. I tried clearing out the drop down in wddomodifyview, but that just cleared out the actual line of the previous selection in the drop down, so I removed that code.
Here is what I have done so far.
Under Context in the appraisal view, I have created a node named DD1_1 which contains the attributes rating and rtext.
I have created a Supply Function attached to it called DD_MAPPING1_1, which contains the following code:
method DD_MAPPING1_1 .
* create local data variable to access context information
Data: context_node type ref to if_wd_context_node.
* create table based on context structure
Data: it_rating type STANDARD TABLE OF if_appraisal=>element_DD1_1,
wa_rating like line of it_rating.
clear wa_rating.
wa_rating-rating = ' '. wa_rating-rtext = ' '.
append wa_rating to it_rating.
wa_rating-rating = '1'. wa_rating-rtext = 'Below Expectations'.
append wa_rating to it_rating.
wa_rating-rating = '2'. wa_rating-rtext = 'Met Expectations (low)'.
append wa_rating to it_rating.
wa_rating-rating = '3'. wa_rating-rtext = 'Met Expectations (medium)'.
append wa_rating to it_rating.
wa_rating-rating = '4'. wa_rating-rtext = 'Met Expectations (high)'.
append wa_rating to it_rating.
wa_rating-rating = '5'. wa_rating-rtext = 'Exceeded Expectations'.
append wa_rating to it_rating.
context_node = wd_context->get_child_node( name = 'DD1_1').
context_node->BIND_TABLE( it_rating ).
endmethod.
I feel I am missing something, but seeing this is my first time attempting a dropdown, I am not certain what.
Any assistance would be appreciated.I have tried this code in the inbound plug handler:
DATA lo_nd_dd1_1 TYPE REF TO if_wd_context_node.
DATA lo_el_dd1_1 TYPE REF TO if_wd_context_element.
* navigate from <CONTEXT> to <DD1_1> via lead selection
lo_nd_dd1_1 = wd_context->get_child_node( name = wd_this->wdctx_dd1_1 ).
* get element via lead selection
lo_el_dd1_1 = lo_nd_dd1_1->get_element( ).
clear lo_el_dd1_1.
lo_nd_dd1_1->set_lead_selection(
element = lo_el_dd1_1
and the program is bombing out with the message
Invalid index 0 when setting lead selection; context node: APPRAISAL.1.DD1_1
Should I be using set_lead_selection_index?
Thank you for all your help.
Edited by: Ed Left on May 19, 2010 5:25 PM -
Clearing Previous Destinations and History on iPhone
How do I clear previous destinations and history on iPhone 5, System 8. There's no bookmark icon on the upper right.
Hi there Nancy Blazis,
It looks like "Clear History and Website Data" has moved in iOS 8. Take a look at the article below for more information.
Safari web settings on your iPhone, iPad, or iPod touch
Clear information from your device
To clear your history and cookies from Safari in iOS 8, tap Settings > Safari > Clear History and Website Data. In iOS 7 or earlier, tap Clear History and tap Clear Cookies and Data.
To clear other stored information from Safari, tap Settings > Safari > Advanced > Website Data > Remove All Website Data.
-Griff W. -
How do I prevent the dialog box from popping up every time I click Clear Private Data?
In v3.6 (and it looks like in v4.0 too), every time one clicks the Clear Private Data Now (using a toolbar button), a dialog box pops up to confirm that I indeed want to clear data and which data. Why?!!!
Why can this be set like it was in previous versions where a person sets which data they want cleared and be done with it? It's annoying. As such, I've used a v3.0.## since this annoying pop-up began in v3.5 or v3.6 or whenever it was.
And please don't ask, if I have it clear on close, why I want clear it during a browsing session. Just know that I do. And the fact that you have for a long time had the feature to clear during a session shows that you or someone thought it good to have this feature--not just when the browser closes.
I'd like to move to the current version, but this is so annoying. I'd move to Chrome, but for a few reasons, I'd prefer to stay with Firefox. For the love of gawd, can you please fix this?*Sanitisminau: https://addons.mozilla.org/firefox/addon/5364/
-
Syclo - Clearing/Unsetting Date fields
Hi All,
I'm having some trouble with clearing a date field. I need to have the option of setting a date field back to blank if the user request so.
I've tried to create a transaction where the date is a string property and set the date as blank. When running the application, clearing the date field results in the error message <Date> field is required and I'm not able to clear the field.
Thanks in advance for any hints on how to clear a date field.
Thanks!
Tags edited by: Michael ApplebyJason,
You cannot really clear a date field on screen by design. There is a concept of a special value in Agentry that gives you more flexibility. You could experiment with a special value tied to your date screen field. This should put a check box next to the date and allow you to turn it on/off allowing you to finish the transaction without setting it. I don't believe this will unset a value that has been previously saved, so this may not work for you. I have noticed that date special values seem broken in the latest clients anyway.
You could add your own check box next to the date and enable/disable the date based on whether the check box is checked or not.
You are working with MyObject and have a data field called MyDate. Create a Date field in the MainObject called DummyDate. This is the equivalent of a blank date since there is no data in it. In your transaction, your final date field is called DateFinal and ties to MyDate in the object. Create another Date property called DateScreen. Point your screen field to DateScreen. DateScreen transaction property initial value should be "From another object". Set it to MyObject -> MyDate field. DateFinal transaction property initial value is "Rule after data entry". The rule should check whether your date check box is checked or not. If checked, use the transaction value from DateScreen since this is the date the user entered on screen. If not checked, use MainObject ->DummyDate. Using DummyDate will set the date back to empty.
Jason Latko - Senior Product Developer at SAP
Maybe you are looking for
-
Hello, Yesterday I spent hours to be able to install the creative cloud application but was not successful due to 205 Error. I am downloading the installer (which is 670 Kb or something) then when I run the installer I am getting the 205 error somewh
-
Calculator doesn't work iMac 10.6.0
hi, after updating iMac, Mac OS X (10.6.8) to mountan lion - calculator in dashboard doesn't work properly ???
-
Contract Generation question: Formatting, Numbering of clauses, variables
Hi! I am trying to create a Contract Document Template (for Contract Generation) with Variables I created some Variable Collections, but when I link them to the Contract Template, they add on with a different formatting altogether, which is neither l
-
Character encoding problem (I think)
Hello everyone! I hope you can help me out with this problem: I have noticed just today that my RSS feeds in Safari come out gibberish, almost like the font Helvetica fractions, and changing the encoding does not fix it. I thought I can live with tha
-
It all started when iPhoto crashed...
I have a MacBook Pro running Mac OS X Version 10.7.5 I unwisely tried to import RAW images into iPhoto, not realizing they were incompatible and the havock it would wreak. It crased my system completely and I had the dreaded blank screen of death.