Refreshing alv but how?
while using alv, how can we refresh it?
if it is not first display then of course will be refreshed but how, I do not know.
Anyone that can help me?
How it is understood that it is refreshed?
When clicked a tool or button?
Thanks in advance.
Deniz.
See The example COde :
REPORT Z_GET_REFRESH no standard page heading.
type-pools : slis.
tables : makt,
mara.
data : i_fieldcat type slis_t_fieldcat_alv.
CONSTANTS :
gc_refresh TYPE syucomm VALUE '&REFRESH'.
data : begin of i_makt occurs 0,
matnr like makt-matnr,
maktx like makt-maktx,
end of i_makt.
data : v_repid like sy-repid,
g_user_command type slis_formname value 'USER_COMMAND',
g_status_set type slis_formname value 'SET_PF_STATUS',
lt_event_exit TYPE slis_t_event_exit,
ls_event_exit TYPE slis_event_exit.
DATA:LC_GLAY TYPE LVC_S_GLAY.
select-options s_matnr for mara-matnr .
start-of-selection.
select matnr maktx from makt into table i_makt
where matnr in s_matnr.
end-of-selection.
Fill the fieldcatlog
perform fill_field.
Call the FM
perform call_fm.
*& Form fill_field
text
--> p1 text
<-- p2 text
FORM fill_field.
data wa_fieldcat type slis_fieldcat_alv.
clear : wa_fieldcat.
wa_fieldcat-tabname = 'I_MAKT'.
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-outputlen = '18'.
wa_fieldcat-seltext_l = 'Material #'.
wa_fieldcat-col_pos = '1'.
append wa_fieldcat to i_fieldcat.
clear : wa_fieldcat.
wa_fieldcat-tabname = 'I_MAKT'.
wa_fieldcat-fieldname = 'MAKTX'.
wa_fieldcat-outputlen = '40'.
wa_fieldcat-seltext_l = 'Material Desc'.
wa_fieldcat-col_pos = '2'.
append wa_fieldcat to i_fieldcat.
ENDFORM. " fill_field
*& Form call_fm
text
--> p1 text
<-- p2 text
FORM call_fm.
v_repid = sy-repid.
LC_GLAY-EDT_CLL_CB = 'X'.
CLEAR ls_event_exit.
ls_event_exit-ucomm = gc_refresh. " Refresh
ls_event_exit-after = 'X'.
APPEND ls_event_exit TO lt_event_exit.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = g_status_set
I_CALLBACK_USER_COMMAND = g_user_command
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS = LC_GLAY
IS_LAYOUT =
IT_FIELDCAT = i_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT = lt_event_exit
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IT_EXCEPT_QINFO =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = i_makt
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " call_fm
FORM USER_COMMAND *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield. "#EC CALLED
data i_RSPARAMS like RSPARAMS occurs 0.
CASE R_UCOMM.
WHEN '&IC1'.
read table i_makt index rs_selfield-tabindex.
SET PARAMETER ID 'MAT' FIELD i_makt-matnr.
if not i_makt-matnr is initial.
call transaction 'MM02' and skip first screen.
endif.
when '&REFRESH'.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
CURR_REPORT = v_repid
IMPORTING
SP =
TABLES
SELECTION_TABLE = i_RSPARAMS
EXCEPTIONS
NOT_FOUND = 1
NO_REPORT = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
submit z_get_refresh with selection-table i_RSPARAMS.
rs_selfield-refresh = 'X'.
ENDCASE.
MOVE '&REFRESH' TO r_ucomm.
ENDFORM.
FORM set_pf_status *
FORM SET_PF_STATUS USING rt_extab TYPE slis_t_extab.
DELETE Rt_extab WHERE fcode = gc_refresh.
SET PF-STATUS 'STANDARD_FULLSCREEN' OF PROGRAM 'SAPLKKBL'
EXCLUDING Rt_extab.
*SET PF-STATUS 'STANDARD' EXCLUDING rt_extab.
SET TITLEBAR sy-tcode.
ENDFORM.
Reward Points if it is helpful
Thanks
Seshu
Similar Messages
-
Refreshing ALV when action is triggered using button
Hello Friends,
I have a drop down list having 3 values "Last 30 Days", "Last 60 Days" and "Last 90 Days". If I select Last 30 Days and click on button "Search" it gives me record for the last 30 days. But, if I click again on "Last 60 Days" it duplicates the record that was already in. So it does not refresh the previous result. I have added the code as below to refresh ALV but, it refresh the table but not the ALV. My View name is "MY PO INVOICES" and the context node name is 'MY_PO_INV' .
DATA ln_node type REF TO if_wd_context_node.
ln_node = wd_context->get_child_node( 'MY_PO_INV' ).
ln_node->invalidate( ).
Please let me know how do I refresth the result in the ALV display when I trigger the event.
Thks & Rgds,
HemalHello All,
Thanks very much for your responses. I tried to bind the alv table. But, I think I am doing some thing wrong here. Below is my code. Please let me know where I am doing wrong. Appreciate your help.
lv_thirtydays = 'LAST 30 DAYS'.
lv_sixtydays = 'LAST 60 DAYS'.
lv_ninetydays = 'LAST 90 DAYS'.
if ZDAYS = lv_thirtydays.
lv_zpostingdate = sy-datum - 30.
ENDIF.
lv_zpostingdate_to = sy-datum.
if ZDAYS = lv_sixtydays.
lv_zpostingdate = sy-datum - 60.
ENDIF.
if ZDAYS = lv_ninetydays.
lv_zpostingdate = sy-datum - 90.
ENDIF.
ln_node = wd_context->get_child_node( 'MY_PO_INV' ).
ln_node->invalidate( ).
LOOP AT lt_context_value_set INTO cocd_context_value_set.
lv_zcompany = cocd_context_value_set-text.
lv_zusername = username.
lv_zdays = ZDAYS.
CALL FUNCTION 'ZEBP_MY_PO_INV_SEARCH'
EXPORTING
bldat = lv_zpostingdate
bldat_to = lv_zpostingdate_to
bukrs = lv_zcompany
usnam = lv_zusername
ZDAYS = lv_zdays
tables
invsrch = zsearch.
ln_node->bind_table( zsearch ) .
SORT zsearch BY zcompany.
DATA lo_nd_get_po_inv TYPE REF TO if_wd_context_node.
lo_nd_get_po_inv = wd_context->get_child_node( name = wd_this->wdctx_my_po_inv ).
CALL METHOD lo_nd_get_po_inv->bind_table
EXPORTING
new_items = zsearch.
ENDLOOP.
Thks & Rgds,
Hemal -
When i close called form. i want to refresh calling form.but how?
i am using call_form ( name_in(':Global.App_Path')|| file_name, hide, Do_replace, no_query_only,pl).
when i close called form. i want to refresh calling form.
how can i do it.You have a block called : EMP, so you have to re-query-it with the following:
Go_Block('EMP');
execute_query ;Francois -
In alv report , how to reserve 20 lines from beginning of page
hi experts
in alv report , how to reserve 20 lines from beginning of page.
regards
subhasis.If by reserve you mean should not move on scrolling then make them KEY from fieldcatalog.
But I think maximum of 10-12 can be handled by that.
Regards,
Amit
Reward all helpful replies. -
ALV report: How to merge 2 columns into 1 column?
Hello,
I have a list of data which I would like format the header to look as below:
| -
Quater 1---- | -
Quater 2 -
| -
Quater 3---- | -
Quater 4---- | <--- header 1
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | <--- header 2
| -
F---- | -
S- | -F-- | -
S- | -F-- | -
S- | -F-- | -
S- | <- header 3
xxxxxxx | xxxxxx | xxxxx | xxxxx | xxxxxx | xxxxx | xxxxxx | xxxxx | <--- data lines start here....
Is there anyway I able to achieve this layout?
I found quite a numerous of "cell_merge" information on ALV but I do not know how exactly it work and how to modify it?
Would be appreaciate if anyone of you able to guide me with sample code.
Thanks in advance,
Aish :PHi,
U can do this by using Row position in FIELD CATALOG.
Steps are:
u2022 First we have to declare an internal table of output type with few dummy character type fields.
u2022 Use this structure when populating field catalog.
u2022 When populating field catalog we have to change row position, column position, offset value, field length, text, reference table and field name (if required), justification etc.
u2022 Pass this field catalog as exporting parameter into function module u2018REUSE_ALV_LIST_DISPALYu2019.
Type declaration for Output table
TYPES: BEGIN OF ty_address,
add_detl(1) TYPE c, u201CDummy field
add_init(1) TYPE c, u201CDummy field
pers_detl(1) TYPE c, u201CDummy field
res_detl(1) TYPE c, u201CDummy field
off_detl(1) TYPE c, u201CDummy field
addrnumber TYPE ad_addrnum, "Address number
name1 TYPE ad_name1, "First Name
name2 TYPE ad_name2, "Middle Name
name3 TYPE ad_name3, "Last Name
home_city TYPE ad_city3, "Residential City
city2 TYPE ad_city2, "District
post_code1 TYPE ad_pstcd1, "Residential postal code
city1 TYPE ad_city1, "Office City
post_code2 TYPE ad_pstcd2, "Office postal code
tel_number TYPE ad_tlnmbr1, "First telephone no.
tel_extens TYPE ad_tlxtns1, "First Telephone No.: Extension
fax_number TYPE ad_fxnmbr1, "First fax no.
END OF ty_address.
In the above type declaration first five fields are used to populate field catalog only for the first and second line headings. These fields do not contain any data.
Main processing:
To get multiple line ALV layout we have to declare few dummy fields. When we build field catalog, then we have to put those dummy fields in proper places. In our example last 12 fields are known as valid fields with data and first 5 fields (1 at first line and 4 at second line) are knows as invalid or dummy variables containing no data.
When we build field catalog, we call a perform name CREATE_CATALOG using
Column position Row position
Field name Table name
Justification Text heading
Reference table Reference field
Output length Offset value
For the first row, we have to set row position 1, column position 1. When we call the perform we have to pass, these two values in addition with dummy field name (ADD_DETL), table name (I_ADDRESS), justification (left or right), text (Address Details), Reference table and Reference field name (we can pass SPACE, if not required), Output length and Offset value (Length from left margin or last field, for the first row it is 225. Means the text u201CAddress Detailsu201D will be printed at 225th char position).
l_off = 225. "Offset Value
l_pos = 1. "Column position
l_row = 1. "Row position
l_just = u2018Lu2019. "Allignment (u2018Lu2019 for Left)
l_outlen = 50. "Field length
Address Details *****************
PERFORM create_catalog USING
l_pos l_row 'ADD_DETL' 'I_ADDRESS' l_just text-002 space space l_outlen
l_off.
Perform CREATE_CATALOG is used to append the field catalog table with the passing parameters.
SUBROUTINE ***************************************
FORM create_catalog USING p_pos TYPE sycucol
p_row TYPE sycurow
p_field TYPE any
p_tab TYPE any
p_just TYPE char1
p_text TYPE reptext
p_reftab TYPE any
p_reffld TYPE any
p_outlen TYPE outputlen
p_off TYPE outputlen.
s_fieldcat-col_pos = p_pos. "Column position
s_fieldcat-row_pos = p_row. "Row position
s_fieldcat-fieldname = p_field. "Field name
s_fieldcat-tabname = p_tab. "Table name
s_fieldcat-just = p_just. "Justification
s_fieldcat-reptext_ddic = p_text. "Text heading
s_fieldcat-ref_tabname = p_reftab. "Reference table
s_fieldcat-ref_fieldname = p_reffld. "Reference field
s_fieldcat-outputlen = p_outlen. "Output length
s_fieldcat-offset = p_off. "Offset value
APPEND s_fieldcat TO i_fieldcat.
CLEAR s_fieldcat.
ENDFORM. " create_catalog
Regards,
Joy. -
HI
I WANT TO REFREAH ALV AFTER I PRES ON BUTTON.
WHEN I USE REUSE_ALV_GRID_DISPLAY
IN USER-COMMAND I USE
FORM USER_COMMAND USING P_UCOMM TYPE SYUCOMM
P_SELFIELD TYPE SLIS_SELFIELD.
P_SELFIELD-REFRESH = 'X'
how can i refresh when i use class
CL_SALV_TABLE?
thanks
have nice dayhi yossi,
check these links..
Refresh in ALV.
Alv Grid and Refresh Button
ALV grid Refresh.
http://www.sap-img.com/abap/how-to-refresh-alv-list-grid-once-it-is-displayed.htm
http://sap.ittoolbox.com/groups/career/SAP-CAREER/refresh-alv-report-421919
Re: Refresh ALV with a new value
Re: Update/refresh ALV grid -
Hi,
how to refresh an ALV LIST display?
Thanks.Hi,
Content and Structure Change
Use
You are able to change the internal data table in various ways. Depending on which type of change you use, you have to proceed differently to make the change visible on the front end in the ALV output as well.
You are able to make the following changes:
· You change content or the sequence of the individual data records
Afterwards you need to refresh the ALV output
· You replace the entire data table
Refresh Display of the ALV Output
If you have changed single values, added rows or deleted rows in the data table of list-type ALV outputs, you need to complete these changes in the ALV output as well by refreshing the ALV display.
For Changes in the Tree Structure you do not have to refresh the display. In the other ALV tools, you do not have to refresh the ALV output when you make the following changes:
§ Changes to the Display of Columns
§ Changes Sequence of Columns in the ALV display
§ Changes to the DDIC Reference of Columns
By default, the ALV output automatically scrolls to the beginning. However, you are able to determine that the current display (position on the screen) not be changed.
You are able to refresh the ALV output in two ways:
· All settings for filters and sorting remain.
This setting can lead to newly inserted data records not being displayed because the filter setting hid exactly these data records.
· All settings for filters and sorting remain.
Features
For changes to content and structure, you are able to make the following settings:
· Refresh ALV output
· Swap the data table of the ALV output
Refresh ALV output
With the refresh, you ensure that the changed values are available on the front end as well.
Display type
ALV Tool
Classic ABAP list
Full screen
In the Container
Simple, two-dimensional table
Yes
Yes
Yes
Hierarchical-sequential list
Yes
Tree structure
No
No
Methods
Function
Class
Method
Refresh ALV output without deleting filter and sort settings
CL_SALV_TABLE
CL_SALV_HIERSEQ_TABLE
REFRESH
(Parameter REFRESH_MODE: SOFT)
Refresh ALV output and delete filter and sort settings
REFRESH
(Parameter REFRESH_MODE: FULL)
Change the Structure of the Data Table with SET_DATA
Depending on which ALV tool you are using, the parameters of the SET_DATA method are different:
If you assign a new structure with SET_DATA, all objects that referred to the previous structure will be deleted such as all sort objects in list-type ALV outputs or all node objects in tree structures.
Methods
Function
Class
Method
Change structure and data table
CL_SALV_TABLE
CL_SALV_HIERSEQ_TABLE
CL_SALV_TREE
CL_SALV_HIERSEQ_LEVEL
SET_DATA
Change the Structure of the Data Table with the SET_DATA Method
ALV Tool
Parameter
Remarks
Simple, two-dimensional table
T_TABLE
Table for structure and contents of the ALV output
Hierarchical-sequential list
(in CL_SALV_HIERSEQ_TABLE)
LEVEL
Hierarchy level whose structure you wish to change
T_TABLE
New table of hierarchy level
T_BINDING
List of up to five foreign-key relationships
(in CL_SALV_HIERSEQ_LEVEL)
VALUE
New table of hierarchy level
T_BINDING
List of up to five foreign-key relationships
Tree structure
T_TABLE
Initial table
Empty table, only sets the structure -
Dear experts,
I have used REUSE_ALV_GRID_DISPLAY to display some data of an internal table. I modified it and I need to display the refreshed data again.
How can I do that?
Thank you...
RoxaniHi,
In ALV, to refresh the table you have to call the method "refresh_table_display".
It has the syntax very similar to creating the table.
It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed)
or
if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications).
the synatx is :-
<b>call method grid (name of grid )->refresh_table_display
exporting
IS_STABLE = <STRUCT OF TYPE LVC_S_STBL> (THIS IS FOR DATA REFRESHING)</b>
<b>I_SOFT_REFRESH = <VARIABLE OF CHAR 01> (THIS IS FOR ICON REFRESHING).</b>
<b>Refresh grid display</b>
Use the grid method REFRESH_TABLE_DISPLAY
<b>Sample code:-</b>
http://www.erpgenie.com/sap/abap/controls/alvgrid.htm#Refresh%20grid%20display
TO refresh the ALV Lsit :
http://www.sap-basis-abap.com/abap/auto-refresh-alv-list.htm
Regards
Sudheer -
Refresh ALV ( Internal Table Will Be Change)
Hi friends
I am using 2 internal table. And they have their own field catalog. I can refresh alv grid.
If my refresh data have stuation 1 I am using Inta another stuation I am using Intb.
How can I refresh my ALV grid with different catalog and internal table?Hi,
yes you can do that,
Check this sample code, in your case you have to use two performs for display. with the help of SELFIELD-EXIT = 'X'. you can get what you want.
REPORT ZTEST_ALV.
type-pools:slis.
DATA: GT_SFLIGHT TYPE TABLE OF SFLIGHT.
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
FIELDCAT type SLIS_FIELDCAT_ALV.
data: l_layout type SLIS_LAYOUT_ALV.
SELECT * FROM SFLIGHT INTO TABLE GT_SFLIGHT.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_STRUCTURE_NAME = 'SFLIGHT'
I_INCLNAME = sy-repid
CHANGING
CT_FIELDCAT = gt_fieldcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
perform alv_display.
*& Form status
* text
form status USING P_EXTAB TYPE SLIS_T_EXTAB .
set pf-status 'AAA' excluding p_extab.
endform. "status
*& Form USER_COMMAND
* text
* -->P_UCOMM text
* -->P_SELFIELD text
FORM USER_COMMAND USING P_UCOMM LIKE SY-UCOMM
P_SELFIELD TYPE SLIS_SELFIELD.
case p_ucomm.
when 'TEST'.
fieldcat-no_out = 'X'.
modify gt_fieldcat from fieldcat
transporting no_out where fieldname = 'PRICE'.
p_selfield-exit = 'X'.
perform alv_display.
endcase.
ENDFORM. "USER_COMMAND
*& Form alv_display
* text
FORM alv_display .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
IS_LAYOUT = l_layout
I_CALLBACK_PROGRAM = sy-repid
I_STRUCTURE_NAME = 'SFLIGHT'
I_CALLBACK_PF_STATUS_SET = 'STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = GT_FIELDCAT[]
TABLES
T_OUTTAB = GT_SFLIGHT.
ENDFORM. " alv_display
Regards
vijay -
HT1918 Changed Apple ID on Mac, but how do I change the ID on iPhone and iPad
I changed my Apple ID on my Mac through iTunes, but how do I change the Apple ID on my iphone and ipad? I have done a sync with the ipad, since the change and nothing changed. Thanks.
Try logging out of your account on the iPad / iPhone / iPod Touch by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in and see if that 'refreshes' the account on it.
-
In ALV report how to do this..
Hi,
I worte one zreport, it displays the output in the Grid format.
Goto tr code : coois-> give some material number u will get output in the grid format..->above the grid u will look the bar on that u will see ENDUSER DOC, DISPLAY GRAPHIC, LAYOUT SETTINGS....
My requirement is : I have to add this bar to my grid report, please explain to me.
Thanks and Regards,
SuryaHi Jai.
We can not display barcode in ALV but in Smartform and Script is possible becuase we can set font "BARCODE" or any fonts to our variable.
What you should do is create general ALV report ,Smatform for printing barcode and botton for call
Smartform in ALV program.When a line is selected and click botton then take data in that line and call
Smartform for printing barcode that what I have done.
Hope it help .
SayC. -
Where can I buy a larger hard drive for my late 2008, 15" macbook pro? From reviewing questions and answers on the support community it would appear that having Apple remove the old and install the new hard drive is recommended. But how/where?
Welcome to Apple Support Communities
You can install the new hard disk yourself if you want to. You just need a 2'5" SATA II hard drive, which is compatible with your MacBook Pro. You can buy one at OWC > http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/ You can filter hard drives by computer, so press a "Click to view all...", choose your computer in the sidebar and it will give you the compatible hard drives.
There are different brands for the MacBook Pro. The most recommended are HGST and Seagate, which have good reputation. A 7200 rpm hard drive will give you extra performance -
Server 1 : Oracle 7.3.4 (as a Master site)
Server 2 : Oracle 7.3.4 (as a Snopshot site)
Client PC: SQL*Plus (Oracle 7.3.4 Client)
Step 1: on Client PC, start 2 SQL*Plus dialog Windows,
one(Window A) for <Server 1> , another(Window B) for <Server 2>;
Step 2: on <Window A> do:
SQL>connect scott/tiger@Server1
SQL>CREATE SNAPSHOT LOG ON scott.dept ;
SQL>select * from dept;
DEPTNO DNAME LOC
10 AAAAAA AAAAA
20 BBBBBB AAAAA
30 CCCCCC AAAAA
Step 3: on <Window B> do:
SQL>connect scott/tiger@Server2
SQL>CREATE DATABASE LINK oracle USING 'Server1';
SQL>CREATE SNAPSHOT all_dept REFRESH fast
start with sysdate NEXT SYSDATE+1/(24*60)
AS SELECT * FROM scott.dept@oracle;
-- refresh interval: 1 minute
SQL>select * from all_dept;
DEPTNO DNAME LOC
10 AAAAAA AAAAA
20 BBBBBB AAAAA
30 CCCCCC AAAAA
Step 4: on <Window A> do:
SQL>insert into dept values (50,'MMMMMM','NNNNN');
SQL>commit;
SQL>select * from dept;
DEPTNO DNAME LOC
10 AAAAAA AAAAA
20 BBBBBB AAAAA
30 CCCCCC AAAAA
50 MMMMMM NNNNN
<one or two minutes later ... ... >
Step 5: on <Window B> do:
SQL>select * from all_dept;
DEPTNO DNAME LOC
10 AAAAAA AAAAA
20 BBBBBB AAAAA
30 CCCCCC AAAAA
conclusion: Simple snapshot can not refresh automatically ???????
SQL>exec DBMS_SNAPSHOT.REFRESH( list => 'all_dept',method => 'F');
SQL>select * from all_dept;
DEPTNO DNAME LOC
10 AAAAAA AAAAA
20 BBBBBB AAAAA
30 CCCCCC AAAAA
50 MMMMMM NNNNN
conclusion:Simple snapshot can refresh manually.
How to solve this problem?????
Thank you very much
Zhang Ming-anWhen you are manually refreshing the snapshot as scott/tiger, and your database link was defined with a 'connect to/identified by ' clause, your login credentials will be scott/tiger. When the refresh happens from the job queue, it does not use those credentials, It uses some default set. What you should probably do is:
1. create public database link Oracle using 'server1';
2. as scott/tiger, create database link Oracle connect to scott identified by tiger;
3. your automatic refresh should work now. -
Need to change my main BT email address, but how?
I'd prefer a reply from an OFFICIAL BT Forum Mod if possible, please.
I need to change my main BT email address, but how do I go about doing this?
The address is being used as a spoofed address by spammers and I am getting non-delivery notices from the intended receipients' mail servers. Not the end of the world, but it's a PITA.
Normally, I'd just dump the address and create a new one, but this is the main address attached to my account, which I cannot just change.
Advice and/or help (FROM A MOD ONLY) would be appreciated. I've already tried the Contact Us from BT and the Online Chat thing, but both times got idiots from India who had no idea what I was talking about.
TIA.
OB
I'm a Private person; I respect those who respect my Privacy.is that not for your MY BT account not your btyahoo email address
normally you need to conatact the mods for that change
contact mods
can take up to 3 working days for mods to contact you
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’. -
I lived in the US for a few years, spent a fortune on iTunes [my then local Apple ID account]. Now I live in South Africa and want to use Match. I have a local credit card but how do I use my new / 2nd Apple ID and gain access to all my US music??
You have to be in a country to use its store - you will need to be in the US and have a US billing address on your account to be able to use the US store (that applies to buying and redownloading).
You can use iTunes Match in South Africa, do you not have a backup copy of all of your US iTunes purchases so that you can subscribe to it and upload those that aren't in the South African store to it ?
Maybe you are looking for
-
Are there Sensory Accessibility Tools for Safari?
Hi, I have sensory processing issues. Obviously these are worse everywhere else, and when trying to go about in public without getting hit with incapacitatingly painful sensory bombardment, but these are still needlessly frustrating on the web. I und
-
My iBook isn't running very well.
I have a 1GHz iBook G4 with 768 MB RAM, running 10.4.5. It's about a year and a half old and I have Applecare. I have used it has my primary computer for the majority of that time. I use it for web browsing, chatting, graphic and web design (your bas
-
Am I just not undestanding how it works or am I doing something wrong? Thanks for any help.
-
How to Hightlight the Data in Jsp Page
How to Hightlight the Data in Jsp Page, I am doing doing search page,based on values given search page those are sent to servlet,in servlet based on some conditions if particuler id i am getting then i am redirecting to Respective jsp page with highl
-
Help! .MOV movie no longer appears when view website (but it's on my iweb)
Back in 2007 I created a .mov file which I published via my iwebsite. And has been visable by pulling up my webpage on the internet. (I am a tiger user and still using ilife06.) However, recently I modified that webpage and republished it. But now, w