Checkpoint SCN in backupset belongs to different incarnation

Reallly stuck with this one :( We are on Oracle 10.2.0.4, Solaris 5.3). Took full backup + archivelogs on Server A. Copied backup to server B, where trying to restore via the following method:
1. Restore controlfile:
Rman target /
Startup nomount;
Restore controlfile from ‘/directory_name/c-control_file’2. Catalog backuppieces:
RMAN> alter database mount;
RMAN> catalog backuppiece ‘/new_directory/backup_piece';3.Crosschecking backup:
RMAN> crosscheck backup;
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=656 devtype=DISK
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/data/scratch/KRONOS/backup/anya/datafiles.rman recid=74 stamp=745857935
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/data/scratch/KRONOS/backup/anya/arch_KDEV_g8m78jfk_1544_20110315 recid=71 stamp=745857003
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/data/scratch/KRONOS/backup/anya/arch_KDEV_g9m78jfs_1545_20110315 recid=72 stamp=745857053
crosschecked backup piece: found to be 'AVAILABLE'
backup piece handle=/data/scratch/KRONOS/backup/anya/arch_KDEV_gam78jg5_1546_20110315 recid=73 stamp=745857069
Crosschecked 4 objects4. Backup is AVAILABLE
RMAN> list backup of database;
using target database control file instead of recovery catalog
List of Backup Sets
===================
BS Key  Type LV Size       Device Type Elapsed Time Completion Time
61      Full    21.00G     DISK        00:05:43     15-MAR-11     
        BP Key: 74   Status: AVAILABLE  Compressed: NO  Tag: TAG20110315T040105
        Piece Name: /data/scratch/KRONOS/backup/anya/datafiles.rman
  List of Datafiles in backup set 61
  File LV Type Ckp SCN    Ckp Time  Name
  1       Full 29951409518 15-MAR-11 /data/dbf/kdev/system01.dbf
  2       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs1.dbf
  3       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs2.dbf
  4       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs3.dbf
  5       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs4.dbf
  6       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs5.dbf
  7       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs6.dbf
  8       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs7.dbf
  9       Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs9.dbf
  10      Full 29951409518 15-MAR-11 /data/dbf/kdev/tkcs8.dbf
  72      Full 29951409518 15-MAR-11 /data/dbf/kdev/sysaux01.dbf
  81      Full 29951409518 15-MAR-11 /data/dbf/kdev/undo01.dbf
  82      Full 29951409518 15-MAR-11 /data/dbf/kdev/undo02.dbf
  83      Full 29951409518 15-MAR-11 /data/dbf/kdev/undo03.dbf
  84      Full 29951409518 15-MAR-11 /data/dbf/kdev/undo04.dbf
  85      Full 29951409518 15-MAR-11 /data/dbf/kdev/undo05.dbfWe can see that backup SCN is *29951409518*
4. Listing incarnation of database:
RMAN> list incarnation of database;
List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
1       1       KDEV     763526018        PARENT  29215810456 15-DEC-10
2       2       KDEV     763526018        CURRENT 29215838581 15-DEC-10Notice how this incarnation is different *29215838581* from backup SCN of *29951409518*. So when I run restore/recover, it fails:
set until sequence 3289;
set newname for datafile 2 to '/data/scratch/KRONOS/backup/anya/tkcs1.dbf';
set newname for datafile 3 to '/data/scratch/KRONOS/backup/anya/tkcs2.dbf';
set newname for datafile 4 to '/data/scratch/KRONOS/backup/anya/tkcs3.dbf';
set newname for datafile 5 to '/data/scratch/KRONOS/backup/anya/tkcs4.dbf';
set newname for datafile 6 to '/data/scratch/KRONOS/backup/anya/tkcs5.dbf';
set newname for datafile 7 to '/data/scratch/KRONOS/backup/anya/tkcs6.2> dbf';
set newname for datafile 8 to '/data/scratch/KRONOS/backup/anya/tkcs7.dbf';
set newname for datafile 9 to '/data/scratch/KRONOS/backup/anya/tkcs9.dbf';
set newname for datafile 10 to '/data/scratch/KRONOS/backup/anya/tkcs8.dbf';
set newname for datafile 1 to '/data/scratch/KRONOS/backup/anya/system01.dbf';
set newname for datafile 1 to '/data/scratch/KRONOS/backup/anya/undo01.dbf';
set newname for datafile 82 to '/data/scratch/KRONOS/backup/anya/undo02.dbf';
set newname for datafile 83 to '/data/scrat3> ch/KRONOS/backup/anya/undo03';
set newname for datafile 84 to '/data/scratch/KRONOS/backup/anya/undo04';
set newname for datafile 85 to '/data/scratch/KRONOS/backup/anya/undo05.dbf';
set newname for datafile 72 to '/data/scratch/KRONOS/backup/anya/sysaux01.dbf';
restore database;
switch datafile all;
recover database;
alter database open resetlogs;
release channel c1;
}Error:
Starting restore at 15-MAR-11
released channel: c1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/15/2011 15:27:02
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 85 found to restore
RMAN-06023: no backup or copy of datafile 84 found to restore
RMAN-06023: no backup or copy of datafile 83 found to restore
RMAN-06023: no backup or copy of datafile 82 found to restore
RMAN-06023: no backup or copy of datafile 81 found to restore
RMAN-06023: no backup or copy of datafile 72 found to restore
RMAN-06023: no backup or copy of datafile 10 found to restore
RMAN-06023: no backup or copy of datafile 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of datafile 7 found to restore
RMAN-06023: no backup or copy of datafile 6 found to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restoreHow do I fix this? Thank you!!!!

Got 3289 from disk, registered via RMAN as follows:
RMAN> catalog start with '/data/scratch/KRONOS/backup/anya/arch/KRNTSTORA1';
searching for all files that match the pattern /data/scratch/KRONOS/backup/anya/arch/KRNTSTORA1
List of Files Unknown to the Database
=====================================
File Name: /data/scratch/KRONOS/backup/anya/arch/KRNTSTORA1/o1_mf_1_3289_6qyhlwx0_.arc
Do you really want to catalog the above files (enter YES or NO)? yes
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /data/scratch/KRONOS/backup/anya/arch/KRNTSTORA1/o1_mf_1_3289_6qyhlwx0_.arcRan restore/recovery script:
RMAN> run {
2> allocate channel c1 type disk;
3> set until sequence 3290;
4> set newname for datafile 00002 to '/data/scratch/KRONOS/backup/anya/tkcs1.dbf';       
set newname for datafile 00003 to '/data/scratch/KRONOS/backup/anya/tkcs2.dbf';
set newname for datafile 00004 to '/data/scratch/KRONOS/backup/anya/tkcs3.dbf';
set newname for datafile 00005 to '/data/scratch/KRONOS/backup/anya/tkcs4.dbf';
set newname for datafile 00006 to '/data/scratch/KRONOS/backup/anya/tkcs5.dbf';
set newname for datafile 00007 to '/data/scratch/KRONOS/backup/anya/tkcs6.dbf';
set newname for datafile 00008 to '/data/scratch/KRONOS/backup/anya/tkcs7.dbf';
set newname for datafile 00009 to '/data/scratch/KRONOS/backup/anya/tkcs9.dbf';
set newname for datafile 00010 to '/data/scratch/KRONOS/backup/anya/tkcs8.dbf';
set newname for datafile 00001 to '/data/scratch/KRONOS/backup/anya/system.dbf';
set newname for datafile 00081 to '/data/scratch/KRONOS/backup/anya/undo01.dbf';
set newname for datafile 00082 to '/data/scratch/KRONOS/backup/anya/undo02.dbf';
set newname for datafile 00083 to '/data/scratch/KRONOS/backu5> p/anya/undo03';
set newname for datafile 00084 to '/data/scratch/KRONOS/backup/anya/undo04';
set newname for datafile 00085 to '/data/scratch/KRONOS/backup/anya/undo05.dbf';
set newname for datafile 00072 to '/data/scratch/KRONOS/backup/anya/sysaux01.dbf
6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21>
22> restore database;
23> switch datafile all;
24> recover database;
25> alter database open resetlogs;
26> release channel c1;
27> }
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: sid=656 devtype=DISK
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 16-MAR-11
channel c1: starting datafile backupset restore
channel c1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /data/scratch/KRONOS/backup/anya/system.dbf
restoring datafile 00002 to /data/scratch/KRONOS/backup/anya/tkcs1.dbf
restoring datafile 00003 to /data/scratch/KRONOS/backup/anya/tkcs2.dbf
restoring datafile 00004 to /data/scratch/KRONOS/backup/anya/tkcs3.dbf
restoring datafile 00005 to /data/scratch/KRONOS/backup/anya/tkcs4.dbf
restoring datafile 00006 to /data/scratch/KRONOS/backup/anya/tkcs5.dbf
restoring datafile 00007 to /data/scratch/KRONOS/backup/anya/tkcs6.dbf
restoring datafile 00008 to /data/scratch/KRONOS/backup/anya/tkcs7.dbf
restoring datafile 00009 to /data/scratch/KRONOS/backup/anya/tkcs9.dbf
restoring datafile 00010 to /data/scratch/KRONOS/backup/anya/tkcs8.dbf
restoring datafile 00072 to /data/scratch/KRONOS/backup/anya/sysaux01.dbf
restoring datafile 00081 to /data/scratch/KRONOS/backup/anya/undo01.dbf
restoring datafile 00082 to /data/scratch/KRONOS/backup/anya/undo02.dbf
restoring datafile 00083 to /data/scratch/KRONOS/backup/anya/undo03
restoring datafile 00084 to /data/scratch/KRONOS/backup/anya/undo04
restoring datafile 00085 to /data/scratch/KRONOS/backup/anya/undo05.dbf
channel c1: reading from backup piece /data/scratch/KRONOS/backup/anya/datafiles.rmanOracle restored/recovered without errors :) Thank you! However, I dont understand why 3289 was not included in the backup when it is needed for recovery. Database and archvielog backup takes place in the same script as follows:
run
allocate channel c1 type disk;
crosscheck archivelog like '/data/flash_recovery_area/KRNTSTORA1%';
sql 'alter system archive log current';
backup database format '${BACKUP_DIR}/datafiles__${BACKUP_TYPE}_${TIMESTAMP}%p_%s.rman';
backup archivelog like '/data/flash_recovery_area/KRNTSTORA1%'  format '${BACKUP_DIR}/arch_%d_%u_%s_%T';
backup current controlfile format '${BACKUP_DIR}/${ORACLE_SID}_${TIMESTAMP}_CTL';
delete noprompt archivelog like '/data/flash_recovery_area/KRNTSTORA1%' completed before 'sysdate-4' backed up 1 times to device type disk
}confusing :(

Similar Messages

  • Checkpoint scn in redolog and controlfile

    Hi
    The checkpoint scn in datafile headers are updated after checkpoint.
    How about redologs and controlfile?
    As far I read from the docs
    scn's are written to redo logs continuously (every commit), it should also stored in controlfile continuesly(every commit) so that controlfile will know where redochain ends ..
    Is that right?

    Pascal Nouma wrote:
    Yes Aman, I read it.
    As I said,
    I learned that scn is incremented in controlfile and datafile after checkpoint.
    However still have doubts about redologs..No, that's what my doubt is. If you have read the thread thoroughly, it explains that in the redo logs, there is open/close SCN. And I have shown its behavior too there. SCN is nothing but a time stamp(see Hans's reply also for the explanation, in the thread too , I have posted one) and as redologs contain nothing but transactions, each one would be having its starting and ending SCN(the article posted by Hans goes into great length to show it) . The files would have the high and low scn. I would suggest that you reread the thread one more time and come back with a more detailed question. I am not still sure that what is your doubt regarging the scn in the redologs. Control file's mechanism or data files's mechanism are different as the writes happen at certain events while redo logs are constantly being fliushed with the minimum frequency of 3seconds. So things are not really alike and its not good to compare bit by bit all the aspects in every file IMHO.
    HTH
    Aman....

  • Extend article wrt. different store which belong to different Company code

    Hi experts !!!!
    Would like to get u r suggesations
    We have Scenario like two company codes.
    In First company code we have  one Distribution centre and in Second Company code we have five store
    The Article we have created in distribution Center belongs to First Company code
    and same Article we need to extend to all store which belong to second company code
    please advice
    thanks in advance

    The scenario is called Cross Company Code Stock transfer.
    If your company's distribution center and store belong to different company codes and you need to transfer goods from one to the other, you must create a stock transport order with document type NB. This involves the process stock transfer with billing document. As in normal stock transport orders, an SD delivery with a
    specific delivery type (NLCC) is created for this combination of supplying site and document type NB. This ensures that an invoice can be sent to the store.
    Read more in detail on below mention link.
    http://help.sap.com/erp2005_ehp_03/helpdata/en/4d/2b917843ad11d189410000e829fbbd/content.htm

  • ORA-19648: datafile 132: incremental-start SCN equals checkpoint SCN

    I re-ran full backup but still cumulative backups failing with this error, looking for quick commands to fix this
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on T1 channel at 04/12/2010 20:55:16
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01427: single-row subquery returns more than one row
    ORA-19648: datafile 132: incremental-start SCN equals checkpoint SCN
    ORA-19640: datafile checkpoint is SCN 4361058556501 time 02/08/2008 20:32:22

    19645, 00000, "datafile %s: incremental-start SCN is prior to creation SCN %s"
    // *Cause:  The incremental-start SCN which was specified when starting an
    //          incremental datafile backup is less than the datafile's
    //          creation SCN.
    // *Action: Specify a larger incremental-start SCN.

  • CHECKPOINTS,  SCN, LSN

    Greeting to Everyone !
    I want to know more about  relationship between  CHECKPOINTS,  SCN, LSN. (to maintain data consistency )
    I read some articles  many things are confusing me.
    Ex:
    Every redo log file has both a log sequence number and low and high SCN. The low SCN records
    the lowest SCN recorded in the log file, while the high SCN records the highest SCN in the log file.
    Thanks in advance ..

    Hi Hemanth ;  Thanks for your reply.
    Anyhow i dont understnd  your last line points.  If possible , please rewrite with simple  explanation.
    and my direct question   1) IS  LSN really  required  to maintain data consistency  during hot backup ?
                                                       2)  Some links say check point  occurs every 3 seconds  in my case , i never seen .. number never changed unless forcing
    12:40:21 SQL> select checkpoint_change#,current_scn from v$database ;
    CHECKPOINT_CHANGE# CURRENT_SCN
               1439794     1441646
    12:40:44 SQL> select checkpoint_change#,current_scn from v$database ;
    CHECKPOINT_CHANGE# CURRENT_SCN
               1439794     1441654
    12:41:02 SQL> ALTER SYSTEM CHECKPOINT;
    System altered.
    12:42:54 SQL> select checkpoint_change#,current_scn from v$database ;
    CHECKPOINT_CHANGE# CURRENT_SCN
               1441700     1441703
    Thanks

  • Loadbalance for servers thats belongs from different Vlan

    Hi,
    We are using FWSM and ACE module in our switch. We have to configure our new application in cisco ACE. Our exiciting servers and vip are in vlan5 and new servers and vips are in vlan 6. vlan 6 is defined in FWSM. We have craeated one interface vlan 6 for the application. While checking the interface status  through "show interface vlan 6" we are getting the following error.
      Not assigned from the Supervisor, down on Supervisor
    We have already assigned vlan group to supervisor. We have allocated same interfce vlan to context also.
    kindly suggest what chould be the issue.
    Kindly suggest can we do the loadbalance for servers thats belongs from different Vlan???
    Thanks in advance.
    Regards,
    Ranjith

    Hi Daniel,
    We are using cisco 6509 switch with FWSM and ACE module.
    We have created interface VLAN 6 in FWSM and ACE and assigned the IP as follows.
    FWSM Interface VLAN 6 is 10.6.10.55 and ACE Interfce VLAN 6 is 10.6.10.60.
    We have 2 servers in the same vlan (.49 and .50). and they are physicaly connected to switch vlan 6 and logicaly connected to FWSM interface vlan 6.
    We have defined the VIP as 10.6.10.51 and that is not pinging from our network.
    Server default gateway and ACE default gateway is FWSM interface vlan 6 IP(ie, 10.6.10.55).
    We dont want to change the server gateway as ACE interface vlan 6 ip.
    KIndly suggest how can i achive the loadbalancing with out changing my server gateway to ACE IP.
    Thanks in advance.
    Regards,
    Ranjith

  • Project stock belongs to different plant than the plant in project definition

    Dear all,
    I have a case:
    Project belongs to plant A (which is entered in the project definition), but there's a material in project stock which is belongs to plant B (checked in MMBE, the material under this project, but under plant stock B).
    Is this the normal case of SAP standard? As I never seen this case before (always project stock belongs to the same plant as entered in the project definition).
    Awaiting for your answer& clarification.
    Thanks and best regards,
    Andy

    Thanks for your helpful answer.
    I'd like to explain more about this case:
    I found a PO and a good receipt document to the project stock, and the plant in these documents is plant B.
    Then the material appear in MMBE under project stock and plant B.
    But when I check the project in CJ20N, the plant in project definition is plant A.
    As the requirement is to reverse the goods receipt document, but when doing so, system issues a message as "inconsistency data", so I confuse is it because of the different in plant stock in goods receipt document and plant in project.
    That's why I ask is this the standard case if material in project stock belongs to different plant than the plant in project definition.
    Hope you understand clearly my situation.
    Do you have any more suggest in this case?
    Thanks and best regards,
    Nghia

  • Deliveries that belong to different shipping point assigned to shipments

    Hi,
    We have a scenario, where we have one plant - one shipping point and one transportation planning point.
    Users in the traaffic department are able to (human error) assign deliveries that belong to different shipping point to one shipment. In our case user is trying to create a shipment for canada warehouse by mistake he assigned couple of deliveries that belong to one of US warehouse. Is tehre any setting in the system to restrict this.
    thank you

    hi,
    Unfortunately into selection of deliveries there is no authority check for the shipping point.
    User only selects deliveries but not display/change.. Here it is when check is done but not
    at selection.
    It could only be achieved under modification into LV56LF01 FORM alle_lieferungen_lesen
    adding a check for authority object v_likp_VST.
    Good luck,
    david

  • Conversion between units belonging to different dimensions.

    Hello Friends,
    Is there any standard way available in BI 7.0 to convert unit cubic meter (M3) to Tonnes (TO). I am struggling to convert as both the units belong to different dimensions (M3 -> Volume and TO -> Mass).
    There is a function module in R/3 (MD_CONVERT_MATERIAL_UNIT) which does the required conversion. I am not able to find an equivalent in BI.
    Please assist as this is time critical. Thanks!
    Regards,
    Prem.

    Hello Prem,
    See this doc
    [How to Report Data in Alternate Units of Measure|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f]
    Thanks
    Chandran

  • Timekeeper Group - One Employee belonging to different Timekeeper Groups

    Hey guys,
    Got an issue here. I created two groups namely Test Group 1 and Test Group 2. An employee, say Robert, belongs to both of these groups. So when I enter timecard details for him in Test Group 1 in the Timekeeper Entry Window, his same timecard details get populated in the 2nd group, Test Group 2. I want to use these 2 group for different purposes. If I edit Robert's timecard details in one group, the same thing happens in the other. Is there anyway to stop this from happening? Like a profile option or something?
    Thanks in advance.

    I doubt if you would be able to do it. OTL only allows for a single timecard for a person during a period. If there is a timecard available for the period it will show up, irrespective of the timekeeper group the person is associated to.

  • Songs of the same album appear as belonging to different albums

    On three different moments I purchased from the iTunes Store three songs from the same album (21 - Adele), but despite artist, album name and album artwork are exactly the same for the three songs, in iTunes I see them as three different albums (ie, in Cover Flow view, three different covers).
    Note that iTunes put the three songs in the same folder, as it recognized them as belonging to the same album.
    Any idea how to fix this problem?
    Thanks

    See my article on Grouping Tracks Into Albums, in particular the topic Tried that, there are STILL too many covers!.
    tt2

  • Checkpoint & SCN

    Hi,
    I have 1 small doubt related to checkpoint and SCN,
    I have scheduled a hot backup at 4AM in the morning & ends at 7 AM in morning,
    before and after there are 10 log switches,
    But when i checked the at 3 pm , the view v$datafile shows the checkpoint time at 2:31 AM
    why is it so? if a checkpoint occurs at the redo log file switch.
    It means that there will be last checkpoint after 7AM or latest redo log switch..
    Please correct me if Im wrong
    Edited by: user10745179 on Sep 28, 2010 3:33 AM

    Hi Aman,
    thanks for ur reply ,
    but then what happens at the begin tablespace backup mode, at that time checkpoint occurs then why it is not updated
    Please tell if im wrong?
    Please tell me wht exactly happens?
    When the checkpoint will occur for other tahn clean shutdown?
    Edited by: user10745179 on Sep 28, 2010 4:43 AM
    Edited by: user10745179 on Sep 28, 2010 4:44 AM

  • Create trigger on view belong to different schema of same db

    Hi Guru's,
    I have two different schema in the same DB.
    Example : schema1 and schema2
    I have one view on schema1 and i have grant select to schema2 and create synonym for that view.
    Now i need to create trigger on synonym which created from view in schema1 and insert the data into different table from trigger when insert happen on view.
    first of all , is it possible?
    if its possible then do i need to give create any trigger on view to schema2.
    Or is there any other we can get this done..
    Many thanks.

    Hi,
    user590978 wrote:
    Hi Guru's,
    I have two different schema in the same DB.
    Example : schema1 and schema2
    I have one view on schema1 and i have grant select to schema2 and create synonym for that view.
    Now i need to create trigger on synonym I'm not sure I understand you.
    Triggers operate on tables and views (but I'll just say "table" from now on). It doesn't matter if the statement that caused the trigger to fire used the actual table name or a synonym.
    which created from view in schema1 and insert the data into different table from trigger when insert happen on view.
    first of all , is it possible?I'm not sure I understand you here, either.
    It is possible to have a trigger on a view in schema1, which INSERTs data into a table. That table can be in any schema, just so long as the trigger owner has privilges on INSERT into it.
    if its possible then do i need to give create any trigger on view to schema2.It's very dangerous, and usually a terrible idea, to grant the CREATE ANY privileges to users.
    Schema2 needs the CREATE ANY TRIGGER system privilege only to create a trigger in another schema, such as schema1. There's probably no reason to do that. Let schmea1 create the objects in its own schema.
    Post a test script that shows what you want to do. Include CREATE TABLE, CREATE VIEW, CREATE TRIGGER, CONNECT and INSERT statements, and the results you want (the contents of tables where the trigger INSERTed data). If you don't know how to code something, post the closest thing you can, and explain what you really want to do in that place.

  • Callin two different subscreens which belong to different function groups

    hi,
    I have a  main screen which contains two subscreens say 'sub1' and 'sub2'. This main screen is part of the function group say 'A'. 'sub1' is also part of this function group 'A' and hence i am able to get the data. But, 'sub2' is part of the function group 'B'. So when i call this subscreen i am unable to fetch the data. So, i wanted to know is there any way to fetch the data from the function group "B" and display it in the subscreen of function group "A".
    i wrote the codes like this:
    PBO:
    CALL SUBSCREEN sub1
            INCLUDING 'SAPLZNEW_ORDER' c_sub1.
      CALL SUBSCREEN sub2
            INCLUDING 'SAPLZ_CONTENT' c_sub2.
    PAI:
    call subscreen sub1.
    call subscreen sub2.
    The above is not working because the internal tables get refreshed when the call to subscreen 'sub2' is done.
    Help will be appreciated with points.
    Thanks.

    Hi
    U have to create 2 fm in function group B:
    - one to transfer the data from main screen (so fg A) to subscreen SUB2 (so fg B)
    - one to return the data from subscreen SUB2 (so fg B) to main screen (so fg A).
    PROCESS PBO.
      CALL SUBSCREEN sub1 INCLUDING 'SAPLZNEW_ORDER' c_sub1.
      MODULE TRANSFER_DATA_TO_SUB2.
      CALL SUBSCREEN sub2 INCLUDING 'SAPLZ_CONTENT' c_sub2.
    PROCESS PAI.
      call subscreen sub1.
      call subscreen sub2.
      MODULE GET_DATA_FROM_SUB2.
    So u need to insert a module before calling subarea SUB2 in order to transfer the data:
    MODULE TRANSFER_DATA_TO_SUB2.
       CALL FUNCTION 'Z_SET_DATA'
           EXPORTING
    ENDMODULE.
    The IMPORTING paramenter of this new fm has to allow to transfer all data u need to manage the subscreen of SAPLZ_CONTENT.
    Here u can insert all code in order to fill the input/output field of subscreen.
    In PAI u can insert another fm in ordert to get the data setted in subscreen of SAPLZ_CONTENT':
    MODULE TRANSFER_DATA_TO_SUB2.
       CALL FUNCTION 'Z_GET_DATA'
           IMPORTING
    ENDMODULE.
    The EXPORTING paramenter of this new fm has to allow to transfer all data u need to manage in main screen.
    It's import both function modules belong to the function group Z_CONTENT.
    Max

  • OBIEE-can we link two dimension tables belonging to different fact tables?

    Hi ,
    I have just started with OBIEE concepts....need your views on this issue:
    Fact 1 -> Dim 1, Dim2,Dim3 and so on..
    Fact 2 -> Dim a, Dim b,Dimc and so on...
    If I link Dim1 and Dim a with a valid key ,would that distort the star schemas to slowflake in BMM layer?
    Thanks in advance!
    Neha

    I don't see this that would make it snowflake more like what I think as conforming dimensions. You need to make sure the grain of the measures is at what level , the they are same grain then you should be good however if they are different then you would start seeing null values.
    Fact Measures use the same, conformed dimensions like Dim1 and Dim a if you trying to generate from multiple facts, the BI server was able to automatically stitch them together into a single result set. If they came from the same fact table that's easy as its only one single table, but if you are pulling from different fact tables, the conformed dimensions would allow them to be stitched into the same report
    Conformance means that these sources can be mapped to a common structure – the same levels – and also the same data members.
    Mark if helps.
    Thanks,
    SVS

Maybe you are looking for

  • Field-symbols : internal table

    Dear experts, I am trying to put contents of internal table from a standard transaction in this way but i am not getting. Further i get last record successfully if i try to follow the code of this link http://www.sapdevelopment.co.uk/enhance/enhance_

  • Link problem with Solaris 9

    hello, i habe a problem in linking my application under the Solaris 9 os using the forte cc environment. Linking on an older machine under Solaris 8 is ok. I get this error: ld: fatal: file fz_df_db_anmelden.o: wrong ELF class: ELFCLASS64 ld: fatal:

  • E amulet encding issue in URL

    I've an HTML page from which I'm redirecting the system to the URL below: http://www.minbuza.nl/nl/Reizen_en_Landen/Landenoverzicht/A/Albanië (notice last ë ) But when this URL opens in FF, it looks like URL below (which is wrong): http://www.minbuza

  • [solved]Emesene suddenly makes X restart all the time

    All of a sudden, emesene makes X restarts all the time. I can start the application with no problem. Logging in isn't a problem either but when I click on a contact or click on a menu like File, X restarts and I have to log back in. It happens with e

  • Project properties

    Im using fcpx 10.1.1 .   I want to change the project properties that were set by the first frame in my project.   Command J and window/project settings are greyed out.  Any advice on resetting the project properties for a project? thanks