SAP Standard Regarding Control File
Hi experts,
Can you guys please guide me regarding this
Changed the control file location 1 of the control file out of 3 to archive log files location.
Placing the control file to the archive log location is that a Sap Standard? If yes please Provide any SAP document suggesting above
Regards
Ricky
Hi Ricky,
It is recommended that place the control files on different physical disks.
The reading/writing of the control files doesn't cause very much performance.
For example, if you already split the online redologs, archivelogs and datafiles in different physical disks, you can distribute the control files like this:
control_files='/oracle/SID/origlogA/cntrl/cntrlSID.dbf','/oracle/SID/sapdata1/cntrl/cntrlSID.dbf','/oracle/SID/saparch/cntrl/cntrlSID.dbf'
It's just a example, you can use it as a reference.
If you want some document, goto service.sap.com/instguides and find the guide for your products, in section 'Preparation and planning', you can find the information about controlfiles distribution.
Similar Messages
-
Rman causing control file contention
Hi,
may i ask for your opinions and advice regarding control file contention issues.
last week when rman was running it caused a locking issue with another session in another node and based on ash/awr reports there was a control file contention issue..
in need of your advice and opinions
thanks.Hi,
I have too little experience with RAC, so you better wait for some answers from experts on that matter.
Nevertheless, my thoughts are as follows:
* You have enqueue contention, and this should be taken care of by the GES part of your CRS layer: maybe a place to check if you can trace back any problems.
* I thought that the version management should be like : CRS version >= ASM version >= DB version .... and this is no longer your situation since your CRS version seems to be 10g when your database run 11g.
Maybe you could also mention if you use ASM, and where your control files are located.
Again, wait for experienced answers...
HTH,
Thierry -
Embedding SAP standard iviews in Tab controls with Web Dynpro
Hi,
I would like to develop a Web Dynpro application using TabStrip control. I have to display SAP standard iViiw(ex: KM navingation iView, expore iView) in each Tab. How can I embed iViews in each Tab in Web Dynpro.
Thanks
TatsHi,
using the IFrame UI element to display an iView inside a WD application will not work in general as the iFrame is reloaded after each request executed for the embedding WD application. In case that the iView is "stateless" this restriction is perhaps not so hard but you should nevertheless make sure that the ongoing reloading of the iFrame does NOT create new sessions again and again on the server-side for the iView running in the iFrame.
With the next NetWeaver release we will provide a capability to define page layouts using WD components. Doing this it will be easily possible to define a page layout showing several iViews in different tabs of a tab strip.
Best regards
Jochen -
SAP standard File formats for payments
Hi Gurus,
Can any one of you kindly provide the SAP standard file formats for "Check" and "WIRE" payments for the bank interface?
With the SAP standard file formats I need to contact my client's bank to know whether they can support the standard format for the interface.
Early response will be appreciated.
Thanks for the help.
Regards,
SPHi,
Good evening and greetings,
Please go through the following link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/70/42753ced012a49e10000000a11402f/frameset.htm
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
Regarding RESETLOG and NORESETLOG option while creating a control file
Hi,
I dont understand the need for resetlogs option while creating a controlfile for a db in NOARCHIVELOGMODE. I assume that reset logs clears all the redo log contents.
While taking a cold backup what I did was:
1. Shutdown instance
2. Copy all the files
3. Startup
Now I tried recovering the same database on a new machine (with different path btw.) coz of which i had to create a new control file. My question is: while restoring the database, do I need to create the control file with NORESETLOG or RESETLOG option?
When I tried using the NORESETLOG (NOARCHIVELOG) option I was able to recover the instance without any hassles.
ie
1. STARTUP NOMOUNT
2. CREATE NEW CONTROL FILE USING NORESETLOG (NOARCHIVELOG)
3. RECOVER DATABASE
4. ALTER DATABASE OPEN;
While the same thing with NORESETLOG (NOARCHIVELOG) option:
1. STARTUP NOMOUNT
2. CREATE NEW CONTROL FILE USING RESETLOG (NOARCHIVELOG)
3. RECOVER DATABASE USING BACKUP CONTROLFILE
This step asked me for some archivelogs which were not generated since the db is in NOARCHIVELOG mode.
I wonder why we require the RESETLOG OPTION SINCE A NORMAL SHUTDOWN PERFORMED BEFORE COLD BACKUP would have ensured that there is no redo information left in the redo logs.
Please let me know if I am thinking the incorrect way.
Regards and Thanx in Advance,
RajIf you had a db running in noarchivelog mode and had to clone the db and rename it, the create controlfile stmt:
create controlfile reuse <db_name> needs to be changed to: create controlfile SET <db_name>, in which case the db can only be opened with resetlogs. Hope this answers your question -
Regarding sql loader --- can we have control file to do a check on csv?
Hi,
I normally get a csv having data as
column1 ;columnb;columnc;
13 ; 12 ; 13 ;
11 ;13 ;33;
as the table where it needs to go is say table
xys( a number, b number , c number).
so the control file is fairly simple ...
But from now I need to restrict data entry if the change in format happens in the csv
say if it is like
column2;column1;column3,
12,13;12;
11;13;14;
or say the csv like
column1;column2;column3;column4;
11;13;14;15;
111;134;14;12;
in both cases sql loader should not run and throw the error saying the reason in the log.
how do i manage it in the control file `???
any ideas???
it is urgent pls help !!!
regards
SHUBH
Message was edited by:
SHUBHTry changing the following properties:
autosubmit = true;
immediate = true;
Here is a link where the user uses a transient attribute for the rows in his table:
Technology on my way...:): ADF 11g : CheckBox Demo (Select one checkbox in table, Select all/Deselect all)
Hope that helps.
Regards,
Frederico. -
Why BRBACKUP cmd does not save SAP control files?
Hello!
We experience some issues running BRBACKUP utility to save SAP's data objects.
When we run the BRBACKUP cmd, we see that all tablespaces and configurations files
are save, but BRBACKUP cmd does not save control files. Why, we don't know?
BRBACKUP run throught AIX crontab and it looks like this ...
brbackup -u system/disapinst01 -c -m full -t online
the init<SID>.ora file looks good, we can see that the *.control_files entry is OK.
*.control_files='/oracle/<SID>/origlogA/cntrl/cntrlDDI.dbf',
'/oracle/<SID>/origlogB/cntrl/cntrlDDI.dbf',
'/oracle/<SID>/sapdata1/cntrl/cntrlDDI.dbf'
SAP's ENVIRONMENT
- HW: IBM pSeries Server (JS21) BladeCenter 8677-3RV
- SW: Plataform IBM AIX V5.3.0.0 ML 5300-05
- DB: Oracle 10g
Somebody help us, please!brbackup copies one controlfile to /oracle/PRD/sapbackup and then backs up this copy.
look for a similar message in your log:
BR0319I Control file copy created: /oracle/PRD/sapbackup/CNTRLPRD.DBF 28680192
BR0077I Database file for backup: /oracle/PRD/sapbackup/CNTRLPRD.DBF -
SAP BW 7.0 - How to use control file?
Hello experts,
In my current project, I need to use a control file to load some flat files into BW.
In version 3.5 we had a option in the infopackage where we could select if it was a csv or a control file.
But in 7.0 version this option is not available anymore.
I found this threat: Use Control File to load data in BW7.0
But a .txt control file didn't work. Can somebody help me?
Thanks!!!WS adapter can be used as Direct connection or Integrated Server Communication. Basically this adapter will be used to make communication between two SAP System's Webservice runtime. WS adapter supports Webservice reliable messaging , SAML and more security features. Using Direct connection you can communicate two SAP systems. In this case, you dont need any ESR objects and you just need to configure ID objects only.
Have seen this [link|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce28613a8e5430e10000000a42189b/content.htm]
Hope that helps -
Regarding to creat control file
Dear all,
I am faceing problem to up oracle databse and getting error ORA01102: database could not mount.
sid is not match wid control file sid.
how can recover or create new controal file ?
Thanks inn advance
Thanks & regards,
MadhusDear All,
I have faceing new problem to mount database getting following error:
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1358954496 bytes
Fixed Size 2028792 bytes
Variable Size 687868680 bytes
Database Buffers 654311424 bytes
Redo Buffers 14745600 bytes
ORA-01103: database name 'P01' in control file is not 'S01'
pls. guide me,
thanks in advance
Regards,
madhus -
Urgent: DBrefresh error 354 while creating control file, oracle9i, SAP R3
Hi experts,
I have created trace file in Source system and moved the same to target system and edited and then while executing the trace file to create control file the following eeror is coming
my trace file is like this. . .
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "P47" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 336
MAXINSTANCES 50
MAXLOGHISTORY 8168
'/oracle/P47/sapdata9/btabd_63/btabd.data63',
'/oracle/P47/sapdata9/stabi_27/stabi.data27',
'/oracle/P47/sapdata9/btabi_122/btabi.data122',
'/oracle/P47/sapdata9/stabd_28/stabd.data28',
'/oracle/P47/sapdata9/btabi_123/btabi.data123',
'/oracle/P47/sapdata9/btabd_64/btabd.data64',
'/oracle/P47/sapdata9/btabi_124/btabi.data124'
CHARACTER SET WE8DEC
i run command like this:
SQL> @/oracle/P47/saptrace/usertrace/control.sql
ORACLE instance started.
Total System Global Area 1249618992 bytes
Fixed Size 732208 bytes
Variable Size 788529152 bytes
Database Buffers 459022446 bytes
Redo Buffers 1335296 bytes
<b>354</b>
when I press 'enter' again SQL prompt is comming
Please help
rgdsHi markus,
thanks for reply . .
control files are not created. . . .
alertSID logs shows as follows
orap47> tail -f alert_P47.log
ARCH shutting down
Thu Dec 13 13:01:51 2007
ARC0: Archival stopped
Thu Dec 13 13:01:51 2007
ARC1: Archival stopped
Thu Dec 13 13:01:54 2007
ARCH: Archiving is disabled
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
<b>When @/oracle/saptrace/usertrace/control.sql command given in sepearate SQL window</b>
Thu Dec 13 13:03:37 2007
Starting ORACLE instance (normal)
Disable cache advisory with old cache parameters
Thu Dec 13 13:03:37 2007
WARNING: EINVAL creating segment of size 0x000000004b800000
fix shm parameters in /etc/system or equivalent
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 3
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 80
sessions = 96
timed_statistics = TRUE
shared_pool_size = 704643072
enqueue_resources = 8000
control_files = /oracle/P47/sapdata1/cntrl/cntrlP47.dbf, /oracle/P47/sapdata2/cntrl/cntrlP47.dbf, /oracle/P47/sapdata3/cntrl/cntrlP47.dbf
db_block_buffers = 56033
db_block_checksum = FALSE
db_block_size = 8192
compatible = 9.2.0
log_archive_start = TRUE
log_archive_dest = /oracle/P47/saparch/P47arch
log_buffer = 1048576
log_checkpoint_interval = 0
db_files = 354
db_file_multiblock_read_count= 8
log_checkpoints_to_alert = TRUE
control_file_record_keep_time= 30
dml_locks = 2500
row_locking = always
replication_dependency_tracking= FALSE
transactions_per_rollback_segment= 20
rollback_segments = PRS_0, PRS_1, PRS_10, PRS_11, PRS_12, PRS_13, PRS_14, PRS_2, PRS_3, PRS_4, PRS_5, PRS_6, PRS_7, PRS_8, PRS_9
transaction_auditing = FALSE
remote_os_authent = TRUE
db_domain = world
parallel_max_servers = 20
hash_join_enabled = FALSE
background_dump_dest = /oracle/P47/saptrace/background
user_dump_dest = /oracle/P47/saptrace/usertrace
core_dump_dest = /oracle/P47/saptrace/background
optimizer_features_enable= 9.2.0
sort_area_size = 2097152
sort_area_retained_size = 0
db_name = P47
open_cursors = 800
optimizer_mode = choose
btree_bitmap_plans = FALSE
pushjoin_predicate = FALSE
optimizer_index_cost_adj = 10
newinitial_join_orders = FALSE
optimpeek_user_binds = FALSE
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
Thu Dec 13 13:03:39 2007
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=8
ARC0: Archival started
ARC1 started with pid=9
Thu Dec 13 13:03:39 2007
ARCH: STARTING ARCH PROCESSES COMPLETE
Thu Dec 13 13:03:39 2007
ARC0: Thread not mounted
Thu Dec 13 13:03:39 2007
ARC1: Archival started
ARC1: Thread not mounted
rgds -
Regard ora-01207: How Oracle judge file is more recent than control file - old control file
ORA-00283: recovery session canceled due to errors
ORA-01122: database file 2 failed verification check
ORA-01110: data file 2: '/tmp/auxsys.dbf_rman'
ORA-01207: file is more recent than control file - old control file
How Oracle judge file is more recent than control file - old control file, then it thrown out error ora-01207.
It must compare data file with control file, but what compare?Begin from the beginning.
Did you do a RESTORE DATABASE ?
Or did you selectively restore datafiles ?
Strange datafile name --- looks like it could have been a DATAFILECOPY done using rman.
It is a very bad idea to have a datafile in /tmp On some OSs, /tmp may get cleared of files on a reboot.
Hemant K Chitale -
hi,
very urgent
how to test the sap standard script without going to formhow to test finance without posting
how to test sd without order
how to test mm without materials
and finally how to test SAP without turning on the server?
you are dreaming man...
don't reward points if not helpful -
Hi friends,
I want to do homogeneous system copy.
I want to know the steps in homogeneous copy, and how to create control file from source system for target system.
And after that what activity is required .
thanks
Regards
Manojhi
while doing homogeneous copy sap will do some functinalaties through one sql file I think it will take control file backup and recreate it.
if u want to do manually
issue command
sql>alter database backup controlfile to trace;
look for trace file in udump dir from that file u can recreate controlfile or rename database.
before doing take complete cold backup of source.
start process with sap inst
it will do certain tasks ref in manual
let me know if u knoe some more inputs
vinod -
Do you trust the SAP standard rule set ?
Hello all,
I have the impression that, too often, the SAP standard ruleset has been taken for granted : upload, generate and use. Here is a post as to why not to do so. Hopefuly, this will generate a interesting discussion.
As I have previously stated in other threads, you should be very careful accepting the SAP standard rule set without reviewing it first. Before accepting it, you should ensure that your specific SAP environment has been reflected in the functions. The 2 following questions deal with this topic :
1. what is your SAP release ? ---> 46C is different than ECC 6.0 in terms of permissions to be included in the function permission tab. With every SAP release, new authorization objects are linked to SAP standard tcodes. Subsequently some AUTHORITY-CHECK statements have been adapted in the ABAP behind the transaction code. So, other authorizations need to provided from an implementation point of view (PFCG). And thus, from an audit perspective (GRC-CC), other settings are due when filtering users' access rights in search for who can do what in SAP.
2. what are your customizing settings and master data settings ? --> depending on these answers you will have to (de)activate certain permissions in your functions. Eg. are authorization groups for posting periods, business areas, material types, ... being used ? If this is not required in the SAP system and if activated in SAP GRC function, then you filter down your results too hard, thereby leaving certain users out of the audit report while in reality they can actually execute the corresponding SAP functionality --> risk for false negatives !
Do not forget that the SAP standard ruleset is only an import of SU24 settings of - probably - a Walldorf system. That's the reason SAP states that the delivered rule set is a starting point.
So, the best practice is :
a. collect SAP specific settings per connector in a separate 'questionnaire' document, preferably structured in a database
b. reflect these answers per function per connector per action per permission by correctly (de)activating the corresponding permissions for all affected functions
You can imagine that this is a time-consuming process due to the amount of work and the slow interaction with the Java web-based GRC GUI. Therefore, it is a quite cumbersome and at times error-prone activity ...... That is, in case you would decide to implement your questionnaire answers manually. There are of course software providers on the market that can develop and maintain your functions in an off-line application and generate your rule set so that you can upload it directly in SAP GRC. In this example such software providers are particularly interesting, because your questionnaire answers are structurally stored and reflected in the functions. Any change now or in the future can be mass-reflected in all (hundreds / thousands of) corresponding permissions in the functions. Time-saving and consistent !
Is this questionnaire really necessary ? Can't I just activate all permissions in every function ? Certainly not, because that would - and here is the main problem - filter too much users out of your audit results because the filter is too stringent. This practice would lead too false negatives, something that auditors do not like.
Can't I just update all my functions based on my particular SU24 settings ? (by the way, if you don't know what SU24 settings are, than ask your role administrator. He/she should know. ) Yes, if you think they are on target, yes you can by deleting all VIRSA_CC_FUNCPRM entries from the Rules.txt export of the SAP standard rule set, re-upload, go for every function into change mode so that the new permissions are imported based on your SU24 settings. Also, very cumbersome and with the absolute condition that you SU24 are maintained excellent.
Why is that so important ? Imagine F_BKPF_GSB the auth object to check on auth groups on business areas within accounting documents. Most role administrator will leave this object on Check/Maintain in the SU24 settings. This means that the object will be imported in the role when - for example - FB01 has been added in the menu. But the role administrator inactivates the object in the role. Still no problem, because user doesn't need it, since auth groups on business areas are not being used. However, having this SU24 will result in an activated F_BKPF_GSB permission in your GRC function. So, SAP GRC will filter down on those users who have F_BKPF_GSB, which will lead to false negatives.
Haven't you noticed that SAP has deactivated quite a lot of permissions, including F_BKPF_GSB ? Now, you see why. But they go too far at times and even incorrect. Example : go ahead and look deeper into function AP02. There, you will see for FB01 that two permissions have been activated. F_BKPF_BEK and F_BKPF_KOA. The very basic authorizations needed to be able to post FI document are F_BKPF_BUK and F_BKPF_KOA. That's F_BKPF_BUK .... not F_BKPF_BEK. They have made a mistake here. F_BKPF_BEK is an optional auth object (as with F_BKPF_GSB) to check on vendor account auth groups.
Again, the message is : be very critical when looking at the SAP standard rule set. So, test thoroughly. And if your not sure, leave the job to a specialized firm.
Success !
SamSam and everyone,
Sam brings up some good points on the delivered ruleset. Please keep in mind; however, that SAP has always stated that the delivered ruleset is a starting point. This is brought up in sap note 986996 Best Practice for SAP CC Rules and Risks. I completely agree with him that no company should just use the supplied rules without doing a full evaluation of their risk and control environment.
I'll try to address each area that Sam brings up:
1. Regarding the issue with differences of auth objects between versions, the SAP delivered rulset is not meant to be version specific. We therefore provide rules with the lowest common denominator when it comes to auth object settings.
The rules were created on a 4.6c system, with the exception of transactions that only exist in higher versions.
The underlying assumption is that we want to ensure the rules do not have any false negatives. This means that we purposely activate the fewest auth objects required in order to execute the transaction.
If new or different auth object settings come into play in the higher releases and you feel this results in false positives (conflicts that show that don't really exist), then you can adjust the rules to add these auth objects to the rules.
Again, our assumption is that the delivered ruleset should err on the side of showing too many conflicts which can be further filtered by the customer, versus excluding users that should be reported.
2. For the customizing settings, as per above, we strive to deliver rules that are base level rules that are applicable for everyone. This is why we deliver only the core auth objects in our rules and not all. A example is ME21N.
If you look at SU24 in an ECC6 system, ME21N has 4 auth objects set as check/maintain. However, in the rules we only enable one of the object, M_BEST_BSA. This is to prevent false negatives.
3. Sam is absolutely right that the delivered auth object settings for FB01 have a mistake. The correct auth object should be F_BKPF_BUK and not F_BKPF_BEK. This was a manual error on my part. I've added this to a listing to correct in future versions of the rules.
4. Since late 2006, 4 updates have been made to the rules to correct known issues as well as expand the ruleset as needed. See the sap notes below as well as posting Compliance Calibrator - Q2 2008 Rule Update from July 22.
1083611 Compliance Calibrator Rule Update Q3 2007
1061380 Compliance Calibrator Rule Update Q2 2006
1035070 Compliance Calibrator Rule Update Q1 2007
1173980 Risk Analysis and Remediation Rule Update Q2 2008
5. SAP is constantly working to improve our rulesets as we know there are areas where the rules can be improved. See my earlier post called Request for participants for an Access Control Rule mini-council from January 28, 2008. A rule mini-council is in place and I welcome anyone who is interested in joining to contact me at the information provided in that post.
6. Finally, the document on the BPX location below has a good overview of how companies should review the rules and customize them to their control and risk environment:
https://www.sdn.sap.com/irj/sdn/bpx-grc
Under Key Topics - Access Control; choose document below:
o GRC Access Control - Access Risk Management Guide (PDF 268 KB)
The access risk management guide helps you set up and implement risk
identification and remediation with GRC Access Control. -
I am getting error while creating Control file for a fla file upoad in HANA
Hi Experts,
I am getting the following error when I try to create crtrol file for a flat file extraction in SAP HANA.
Could not execute 'import data into table P935718."COPATBL" from 'COPATBL.csv' record delimited by '\n' fields ...'
SAP DBTech JDBC: [257] (at 14): sql syntax error: incorrect syntax near "into": line 2 col 1 (at pos 14)
Here is the code I have used to create control file after I creating the table.
import data
into table P935718."COPATBL"
from 'COPATBL.csv'
record delimited by '\n'
fields delimited by ','
optionally enclosed by '"'
error log 'P935718.COPATBL.err'
p935718 is my user ID, COPATBL is my table created, COPABL.CSV is a flat file.
Please help me in this regard.
Thanks,
GunaHello,
guessing from the error message it looks that you are trying to execute "import data" as SQL command.
Please note that import data is NOT SQL command but it is syntax for control file. You need to create file with this syntax on server and then use command: IMPORT FROM '/<path>/<filename>.ctl'
In a shortcut:
1.- create comma separated CSV file with your data - <source cvs>.csv
2.- upload CVS file to HANA server
3.- create the control file <filename>.ctl:
import data
into table <schema>."<table name>"
from '<source cvs>.csv'
record delimited by '
fields delimited by ','
optionally enclosed by '"'
error log '<file name>.err'
4.- execute command:
IMPORT FROM '/<path>/<filename>.ctl'
Please check following threads:
How to load CSV files into HANA
Will HANA supports Bulkload
Tomas
Maybe you are looking for
-
HT203171 my track pad is not working after the update of iTunes 11.1 version.
Two years old macbook pro track pad stuck up and moving without my fingers,this thing happens from 18 th of this month,on that day i hadbeen updated the new itunes for iOS7...after that my mac book pro trackpad not responding...please help...
-
How to setup the TDMS landscape
Hi, I need to setup the TDMS landsape. I have installed the TDMS (DMIS, DMIS_CNT, DMIS_EXT with latest patch levels) software on the sender, receiever and central system. I need to know the follow up steps from the technical standpoint, like its ment
-
OWB 11.2 with SAP V6, Eror while execution the mapping.
I have a simple staging mapping, I am trying to get data into my staging table from SAP system. So far I have created a simple 1-1 mapping. when I generate the code it produces a abap report which when I try to execute on SAP system I get a syntax er
-
File name used by plug-in for saving the image file.
I have a program that creates a web page that has an object tag with a call to a program and that program delivers a PDF file. When my users want to save that image the name of the image is a random name. Is there any way to make the plug-in, Adobe
-
HI, Iam configuring Invoice block - set tolerance limits in logistics invoice verification. it listed some standard tolerance keys like AN, AP, BD,BV etc, is there any place where i can create one new custom tolearnce key. my business requirement is