Rollback segment is filling up during creation of the database
Hi
The Rollback segment is showing around 520mb immediately after
creation of the database after following the wizard provided in
the enterprise manager of oracle. What might be the reason. How
to reduce it. Could any one give me a solution for this matter.
Thanks in Advance.
I tried creating the password file using the following command:
orapwd file=/home/oracle/product/9.2.0/dbs/orapwHR.ora
password=HR entries=5
and got the same error:
ORA-01501 Create Database failed.
ORA-01990 -ERROR opening password file '/home/oracle/product/9.2.0/dbs/orapw'
ORA-27037 Unable to obtain file status.
Linux error: 2: No such file or directory.
Additional information: 3.
Does anybody know how to fix this problem?
Thanks,
Katya
Similar Messages
-
An error occurred during creation of the central repository. (BODI-300020)
I am trying to create a central repository for Data Service, the following error appear
Creating repository... (BODI-300026)
Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms.sql>. (BODI-20002)
Reading SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\admin\repo\MSSQL\ms_content.sql>. (BODI-20002)
Reading SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20001)
Executing SQL file <C:\BO\DataServices_12\Admin\repo\options.sql>. (BODI-20002)
Verifying repository... (BODI-300077)
Importing objects... (BODI-300036)
Adding Data Quality new substitution configuration... (BODI-300133)
An error occurred during creation of the central repository. (BODI-300020)
It's a sql DBMS, and the default user language is spanish, during the installation was the same issue.
The first installation user language was english and everything was ok, then the default user anguage was set to spanish and the jobs crashed because an english format was sent to the al_history table. I tried to recreate the repository and an error ocurrer during the creation.
has someone faced the same problem?what is the version of Data Services ? if its 12.2, then there was a bug that is fixed in 12.2 SP1 (12.2.1.0), apply the SP1 or it would be better if you apply the latest fix pack for 12.2 i.e 12.2.1.2
the problem was with date format used in insert was different than the user's default date format. -
Entity Bean Rollback fails: caches are out of synch with the database
We are encountering a critical issue where the rollback of a session transaction rolls back any database changes, but doesn't roll back bean changes in memory. When we next access the bean, it returns information that should have been rolled back. The memory cache is out of synch with the database.
We have a simple session bean S, using container managed transactions. We also have an entity bean E using bean managed persistence. E has a single member <name>.
We implement a method s() in S with <trans-attribute> Required as follows:
public void s() {
Context lookupContext = getLookupContext();
SHome shome = (SHome) lookupContext.lookup(SHome.NAME);
S s = shome.findByPrimaryKey(thePrimaryKey);
System.out.println("-- current name = " + s.getName());
s.setName("IGNORE");
EJBContext ejbContext = (EJBContext) getContext();
ejbContext.setRollbackOnly();
Since this is BMP, the setName call issues our SQL update against the S record. When the session transaction rolls back, the database changes are also rolled back. But the entity bean in memory shows the modified name. We can see this in the next call to s() since the getName() returns IGNORE rather than the original value. We have also gotten debugged into the underlying instance cache associated with the S bean descriptor. I.e.
AbstractEJBHome ejbHome = (AbstractEJBHome) lookupContext.lookup(SHome.NAME);
AlternateHashTable aht = ejbHome.getBeanDescriptor().getCache();
Looking at this map of bean instances also shows that the bean instance for S is not rolled back.
From previous conversations with the server technologies team, we understand that during the transaction, we should be working on a cloned copy of the S bean. Upon rollback, the copies should be discarded rather than merged back to the cached bean. They seem to be merged regardless of rollback state.
We are using OC4J 10.1.3.0.0 (build 060119.1546.05277).Actually, what one or the developers in my group found out is two things:
1) The clone is a shallow copy.They copy the references but not objects themselves. This has been causing problems for us.
2) It seems that you don't work on a copy and you work on the original and they keep a copy. Now, this is fine IF you don't have multiple threads working on the same Entity bean and we moved our application from Weblogic where it throws an exception if that Entity bean is in use to OC4J which is suppose to copy the bean and doesn't so you have multiple threads possibly modifying the same object. -
ORA-01581: attempt to use rollback segment...
We've started getting "ORA-01581: attempt to use rollback segment (31) new extent (3) which is being allocated" messages in our production database over the last couple of days. Of course, each time we get these the rollback segment number is different, and we are getting these randomly from different applications that connect to the same database. We are using automatic undo management, so the rollback segments are not really under our control. The action in the Oracle docs for this error message doesn't give any specific actions that we should take, but we continue to get these.
We started to get these about the same time as we ran out of available sessions on the database (sessions = 1500 and we had 1500 open sessions). Could these be related? Could there be some open session that may be causing the rollback segment issue? Would a restart of the database fix this? Of course the max sessions issue was cleaned up two days ago but the rollback segment issue is a lingering problem.
Any help would be appreciated. We couldn't find anything for this online and Oracle hasn't responded to our service request yet.
Thanks,
BobbyAs I understand it, you can not explicitly set the size for the undo segments in automatic undo management mode. From the Concepts guide:
"In automatic undo management mode, the system controls exclusively the assignment of transactions to undo segments, and controls space allocation for undo segments."
It looks like we are also using the default storage options that are set when the UNDO tablespace was created. Here is the DDL used to create this tablespace:
CREATE SMALLFILE UNDO TABLESPACE "UNDOTBS" DATAFILE '/alpha/oradata/prod01/undotbs01.dbf' SIZE 750M REUSE AUTOEXTEND ON NEXT 25600K MAXSIZE 2000M , '/alpha/oradata/prod01/undotbs03.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 51200K MAXSIZE 2000M , '/alpha/oradata/prod01/undotbs04.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 104K MAXSIZE 2000M , '/alpha/oradata/prod01/undotbs02.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 25600K MAXSIZE 2000M -
When to backup the rollback segments?
Does anyone know when do I need to backup the rollback segments and what for? How are they used during restore/recovery?
I'm using RMAN in Oracle 9.2. We have databases with both manual and automatic undo management. Does the undo management type make any difference?
Thanks,
NikiDoes anyone know when do I need to backup the rollback segments and what for? How are they used during restore/recovery?
Your question is a little large to answer but I am going to summary the most important.
The database works with transactions in commit and in not commit mode. While a transaction has not commit , this transaction has not finished. While the transaction has not finished the rollback segments or undo segments are used to store the image of blocks with changes and without changes. That is the method that Oracle uses to ensure that a block is not going to be modified definitevely until the transaction gets commit.
When you have a point of failure you are going to have transactions with commit and transactions with no commit and that tablespace ( RBS or UNDO ) is needed to carry to the database to a consistent point carrying to disk all transactions with commit and the rest have to suffer a rollback operation. That means that those operations without commit are not going to be complete transactions for the database.
When you want to recover a database all tablespaces are need excepting the temp tablespace because that tablespace is only needed to carry out sorts and operation likeness.
Does the undo management type make any difference?
if you use rollback segments you have to administer them and the management instead if you work with undo tablespace. If you work with undo tablespace it by itself manage its segments you do not have to worry about.
I think that I have answered your questions if you have any doubt or something like that feel free to follow asking.
Good Luck!
Joel P�rez -
Been reading manuals, I have few question to clarify about rollback segments ( Lets leave undo tablespace and automatic undo management aside )
1) Rollback segments can be created in a tablespace - is there a max size/limit which could be specified for a rollback segment to use within a tablespace? - From reading manuals, the storage clause doesnt mention about max size/limt for a rollback segment; is it possible for rollback segment to fill-up tablespace (ummm due to some wired query[read consistency]/transaction) ?
2) We can create a separate rollback tablespace and have multiple rollback segments.
If there are 3 user tablespaces (T1/T2/T3), 1 rollback tablespace (RT).
- I create 1 rollback segment in tablespace T1, T2, T3
- I create 2 rollback segments in rollback tablespace RT
A user with "default tablespace T1" when running a transaction, which rollback segment will be used by this user (when rollback segment is not explicitly specified)?
Oracle-Studentuser11359766 wrote:
Will the transaction spill over to the second rollback segment (i.e start using the 2nd rollback segment which is available and not being used by any other active transaction) or oracle will return an error since the first rollback segment assigned is filled up and the transaction is still active?This will be applied to both SMU and MMU.
From the same link above,
http://download.oracle.com/docs/cd/B10501_01/server.920/a96524/b_deprec.htm#634941
For the duration of a transaction, the associated user process writes rollback information only to the assigned rollback segment.I hope its self explanatory that the transaction can't roll over to any other roll back segment once its own gets out of space. In teh case of SMU also, if the undo datafile can't grow, your transaction would be stopped.
HTH
Aman.... -
Help me regarding Rollback Segment!! It is Very Very Urgent.
My Oracle Version is 8.1.5.0.0
I have created my Database with one Data File and after creating of the Database I have found that my Database is having one Tablespace and then name is "System" and I have also found that a Rollback Segment is also created by Default on The "System" Tablespace and the name of that Rollback Segment is also "System".
Then what I did, I did create another Tablespace name "HR" with the help of the following syntax:
CREATE TABLESPACE HR
DATAFILE 'E:\MANODATA\U5\HR01.DBF' SIZE 100M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K;
Then I tried to create a Rollback segment on the "HR" with the following syntax:
CREATE ROLLBACK SEGMENT HR_RS TABLESPACE HR;
Tablespace is not created but I am getting an error, which I am mentioning below:
Cannot Use System Rollback Segment For Non-System Tablespace 'HR'
Then what I did, I did create another Tablespace name "USERS" with the help of following syntax:
CREATE TABLESPACE USERS
DATAFILE 'E:\MANODATA\U4\USERS01.DBF' SIZE 10M
EXTENT MANAGEMENT DICTIONARY;
Then what I did, I did create a Rollback segment on the Tablespace "USERS" with the following syntax:
CREATE PUBLIC ROLLBACK SEGMENT USERS_RS
TABLESPACE USERS
STORAGE (
INITIAL 50K
NEXT 50K
OPTIMAL 750K
MINEXTENTS 15
MAXEXTENTS 100);
Then what I did, I again tried to create a Rollback segment on the "HR" with the following syntax that you provided:
CREATE ROLLBACK SEGMENT HR_RS TABLESPACE HR;
Now the Rollback Segment is created without any problem.
Now Please tell me why it is so happening. I am very much confused of all this. Can't I create any Rollback Segment on a Locally managed Tablespace unless and until I do not Create a Dictionary managed Tablespace and unless I don't create a Rollback Segment on that dictionary managed Tablespace? Is there any restriction in my Version of Oracle (8.1.5.0.0)?
Please help me in this matter as soon as possible.
Thanking You,
Manojit.My Oracle Version is 8.1.5.0.0
I have created my Database with one Data File and after creating of the Database I have found that my Database is having one Tablespace and then name is "System" and I have also found that a Rollback Segment is also created by Default on The "System" Tablespace and the name of that Rollback Segment is also "System".
Then what I did, I did create another Tablespace name "HR" with the help of the following syntax:
CREATE TABLESPACE HR
DATAFILE 'E:\MANODATA\U5\HR01.DBF' SIZE 100M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K;
Then I tried to create a Rollback segment on the "HR" with the following syntax:
CREATE ROLLBACK SEGMENT HR_RS TABLESPACE HR;
Tablespace is not created but I am getting an error, which I am mentioning below:
Cannot Use System Rollback Segment For Non-System Tablespace 'HR'
Then what I did, I did create another Tablespace name "USERS" with the help of following syntax:
CREATE TABLESPACE USERS
DATAFILE 'E:\MANODATA\U4\USERS01.DBF' SIZE 10M
EXTENT MANAGEMENT DICTIONARY;
Then what I did, I did create a Rollback segment on the Tablespace "USERS" with the following syntax:
CREATE PUBLIC ROLLBACK SEGMENT USERS_RS
TABLESPACE USERS
STORAGE (
INITIAL 50K
NEXT 50K
OPTIMAL 750K
MINEXTENTS 15
MAXEXTENTS 100);
Then what I did, I again tried to create a Rollback segment on the "HR" with the following syntax that you provided:
CREATE ROLLBACK SEGMENT HR_RS TABLESPACE HR;
Now the Rollback Segment is created without any problem.
Now Please tell me why it is so happening. I am very much confused of all this. Can't I create any Rollback Segment on a Locally managed Tablespace unless and until I do not Create a Dictionary managed Tablespace and unless I don't create a Rollback Segment on that dictionary managed Tablespace? Is there any restriction in my Version of Oracle (8.1.5.0.0)?
Please help me in this matter as soon as possible.
Thanking You,
Manojit. Manojit -
Maybe too late but here goes anyways -
You need to have another SYSTEM Rollback segment before you begin the process you mention above. At this stage of developing your database, the SYSTEM tablespace will keep the one rollback segment for it's own use and you need another one to create rollback info in for other objects. Create another system rollback segment in the existing rollback tablespace, then create a separate rollback tablepace with extent management local, then create some rollback segments. You may even want to use the SET TRANSACTION USER ROLLBACK SEGMENT RBS2 for the creation of the new Rollback Tablespace. Then you can continue with the creation of other objects.
Hope this helps,
the Infamous,
Eric Cartman -
Tablespace, Rollback segments and Undo tablespace
hi,
we are frequently getting an error on tablespaces, rollback segments and undo tabelspaces during the ETL load. This was really distrubing us to go further, is there any best practice how to avoid the tablespace errors or any precautions to be taken, we are very new to this ETL loads, pls advice
KishanHello Kishan
Yes. Make tablespaces bigger. However, the proper way to do it is optimizing your queries. If you don't have experience with Oracle DB, consult your DBA.
Hope this helps
Mate -
Maintenance on Rollback segments
Hello experts,
i need some pieces of advice.
1. Is there some maintenance that should be done regularly on my
Rollback segments?
2. Any guidelines for the creation of rollback segments?
3. how will i know if there is a contention on rollback segments?
thanks for your replies
regards
yogeerajPretty large subject -- there are entire chapters written on
RBseg useage in various Oracle manuals.
In general (knowing you will take it upon yourself to start
reading up on RBsegs in the manuals):
1) I always create the largest RBsegs possible given a thorough
knowledge of the range of typical transactions. That way I spend
less time managing large queries from bone-head users who should
know better <grin>. On 8x systems use the ALTER ROLLBACK
SEGMENT... SHRINK on a periodic basis to release space to other
RBsegs.
FYI: RBsegs are going away in 9i, check out the new 9i UNDO
TBspace.
2) don't mix RBsegs with data and index space. Always put RBsegs
in their own tablespace to avoid TX contention. I always create
RBsegs with auto allocate TBS and datafiles.
3) way too much to say on the subject of RBseg contention but...
try to attain zero wait time on RBsegs. KNOW when your users are
running WHAT jobs and steer them towards run-times that favour
the entire DB resources.
RP.
Hello experts,
i need some pieces of advice.
1. Is there some maintenance that should be done regularly on my
Rollback segments?
2. Any guidelines for the creation of rollback segments?
3. how will i know if there is a contention on rollback segments?
>
>
thanks for your replies
regards
yogeeraj -
Setting default values to CUSTOMERH field during creation of ORDER?
Hi guys,
Does anyone know of any BAdI that is called once during the ORDER creation?
I have a CUSTOMERH field that needs to be set to 'X' during creation, and the user can de-select them anything. Anyone know how this can be achieved??
Many thanks in advance, points to be awarded for any helpful ideas.Hi Joshua,
have a look to the interface IF_EX_ORDER_SAVE.
this give you the Methods CHANGE_BEFORE_UPDATE and PREPARE.
I hope you can use this.
kind regards an happy x-mas
Torsten -
Error during creation of application entity for the plug-in.
Hi Experts,
As part of creating Content Database source for SES....
We,
1 Activated the Oracle Internet Directory identity plug-in for the Oracle Content
Database instance.
2) However after activating Identity plug-in for Oracle Internet Directory.... ......... we used the csPlugin.ldif file to create an application entity for the plug-in by running the following command "$ORACLE_HOME/bin/ldapmodify -h oidHost -p OIDPortNumber -D "cn=oracle" -w password -f csPlugin.ldif" ....but in the process executing the above command.... getting the following error(we gave correct login details):
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Invalid credentials (49)
How can i resolve this.
I have another query...in the command "$ORACLE_HOME/bin/ldapmodify -h oidHost -p OIDPortNumber -D "cn=oracle" -w password -f csPlugin.ldif" which user name should i specify..... is it "cn=oracle" or "cn=orcladmin"
Thanks
peter.Hi Raford,
Thanks for your reply.
We tried to create Content Database Source with the details we have...
However in this process getting an exception....
11:20:20:778 INFO main
11:20:20:784 INFO main Oracle Secure Enterprise Search, Crawler: Release 10.1.8.2
11:20:20:785 INFO main Copyright © 2006, 2007, Oracle. All rights reserved.
11:20:20:785 INFO main
11:20:20:785 INFO main ================== Crawling settings ==================
11:20:20:785 INFO main Reading configuration file from /mnt/u08/SOADEVIL/seshome/search/data/config/crawler.dat
11:20:20:785 INFO main Agent = Oracle Secure Enterprise Search
11:20:20:807 INFO main User = EQ_TEST
11:20:20:807 INFO main Database connect string = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=devilrays.appsassociates.com)(PORT=1525))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Devilses.devilrays.appsassociates.com)))
11:20:20:807 INFO main Source type is User-defined
11:20:20:807 INFO main Source is "BJ_Cont"
11:20:20:807 INFO main Document access control policy is user-defined
11:20:20:808 INFO main Number of crawling threads = 5
11:20:20:808 INFO main Queue table = I1S8
11:20:20:808 INFO main URL table = EQ$URL
11:20:20:808 INFO main Maximum documents to crawl = no limit
11:20:20:808 INFO main Maximum depth to crawl = 2
11:20:20:808 INFO main Document size limit = 10M
11:20:20:808 INFO main Locale of the crawler message is "en_US"
11:20:20:808 INFO main URL exclusion rule = (?i:(?:\.gif)|(?:\.jpg)|(?:\.jar)|(?:\.tif)|(?:\.bmp)|(?:\.war)|(?:\.ear)|(?:\.mpg)|(?:\.wmv)|(?:\.mpeg)|(?:\.scm)|(?:\.iso)|(?:\.dmp)|(?:\.dll)|(?:\.cab)|(?:\.so)|(?:\.avi)|(?:\.wav)|(?:\.mp3)|(?:\.wma)|(?:\.bin)|(?:\.exe)|(?:\.iso)|(?:\.tar)|(?:\.png))$
11:20:20:808 INFO main URL exclusion rule = \?.*(.*\+)\1{3}
11:20:20:812 INFO main Document read timeout threshold = 30 second(s)
11:20:20:812 INFO main Crawler default character set is "8859_1"
11:20:20:812 INFO main Crawler default language is "en"
11:20:20:813 INFO main Auto language detection is on
11:20:20:813 INFO main Auto character set detection is off
11:20:20:813 INFO main Document service pipeline is "Default pipeline"
11:20:20:813 INFO main Verbose mode is on
11:20:20:935 INFO main Caching on: directory = /mnt/u08/SOADEVIL/sesdata/Devilses/cache/I1DS8/, max size = 250, action = SES_TASK
11:20:20:935 INFO main Filtering on: filter path = /mnt/u08/SOADEVIL/seshome/ctx/bin/ctxhx, number of filters = 2
11:20:20:935 INFO main MIME inclusions = text/html text/plain application/pdf application/x-msexcel application/vnd.ms-excel application/ms-excel application/x-mspowerpoint application/vnd.ms-powerpoint application/msword
11:20:20:935 INFO main URL table attributes = url, depth, signature, last_modified, status, url_id, access_url, enqueue_status, TITLE, DESCRIPTION, AUTHOR, CRAWLED_DATE, CONTENT_LENGTH, CONTENT_TYPE, LANG, CACHE_FILE_PATH, DS_ID
11:20:20:936 INFO main SQL callback statement is "begin eq_crw.crawler_callback(?,?,?,?); exception when eq_def.search_error then eq_err.raise; when others then eq_err.raise; end;"
11:20:20:936 INFO main Cookie support is enabled
11:20:20:937 INFO main Maximum number of cookies = 300
11:20:20:939 INFO main Maximum number of cookies per host = 20
11:20:20:939 INFO main Maximum size of cookie = 4096 bytes
11:20:20:940 INFO main Cache file deletion is disabled
11:20:20:940 INFO main Crawler plug-in manager class is "oracle.search.plugin.ocs.cservices.OCSCSPluginMgr"
11:20:20:940 INFO main SQL hook ID is "8"
11:20:20:940 INFO main SQL command hook statement is "begin ? := eq_crw.crawler_get_command(?,?,?,?); end;"
11:20:20:940 INFO main SQL response hook statement is "begin ? := eq_crw.crawler_send_response (?,?,?,?,?,?,?,?,?,?,?,?,?); end;"
11:20:20:940 INFO main Crawler launched by schedule "BJ_Cont"
11:20:20:940 INFO main
11:20:20:940 INFO main =================== Crawling status ===================
11:20:20:941 INFO main Crawling started at 9/18/07 11:20 AM
11:20:21:912 INFO main URL manager connecting to Oracle...
11:20:21:974 INFO main connected
11:20:22:586 INFO main Queue manager connecting to Oracle...
11:20:22:631 INFO main connected
11:20:23:497 INFO main Invoking "oracle.search.plugin.ocs.cservices.OCSCSPluginMgr"
11:20:23:501 INFO main URL manager connecting to Oracle...
11:20:23:529 INFO main connected
11:20:23:531 INFO main Initializing crawler plug-in manager "oracle.search.plugin.ocs.cservices.OCSCSPluginMgr"
11:20:23:531 ERROR main SES keystore location: null
11:20:23:532 ERROR main null oracle.search.sdk.crawler.PluginException oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:getParamValue:351 oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:init:479 oracle.search.crawler.WebCrawler:begin:1076 ImtCrawler:run:1831 ImtCrawler:main:480
11:20:23:532 ERROR main null oracle.search.sdk.crawler.PluginException oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:getParamValue:351 oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:init:479 oracle.search.crawler.WebCrawler:begin:1076 ImtCrawler:run:1831 ImtCrawler:main:480
11:20:23:676 INFO Thread-1 Remote command "reportstatistics" received, argument = "quit"
11:20:23:676 INFO Thread-1 Executing remote command "reportstatistics"
11:20:23:697 INFO Thread-1 Send back remote command execution result
11:20:25:944 INFO main Shutting down all crawling threads...
11:20:25:948 INFO main
11:20:25:949 INFO main =================== Crawling results ===================
11:20:25:949 INFO main Crawling started at 9/18/07 11:20 AM
11:20:25:949 INFO main Crawling stopped at 9/18/07 11:20 AM
11:20:25:949 INFO main Total crawling time = 0:0:5
11:20:25:949 INFO main
11:20:25:954 INFO main Total number of documents fetched = 0
11:20:25:954 INFO main Document fetch failures = 0
11:20:25:954 INFO main Document conversion failures = 0
11:20:25:954 INFO main Total number of unique documents indexed = 0
11:20:25:954 INFO main Total data collected = 0 bytes
11:20:25:954 INFO main Total number of non-indexable documents = 0
11:20:25:955 INFO main
11:20:25:955 INFO main Number of times disk cache is full = 0
We have followed the installation details provided in "SESAdmiistratorGuide".
In that guide.... during creation of Content Database source he did not mention any entry for "SES keystore location", and the exception which we are getting is related to "SES keystore location: null" (please look into the exception stack).
could you please guide us.
Thanks
peter. -
Update VBUP-FKSTA (billing relevancy) during creation of invoice
Hi,
We pack items in a delivery. Due to this an extra item is added to the delivery with a ZPAC item category. This item category is set as billing relevancy.
We have created a requirement in copy control that we only want these items in the intercompany invoice, and not in a regular invoice F2. The invoice is created for the customer without the packaging materials and the intercompany invoice has all the items. This requirement is only in a specific scenario for only one shipping point. The customer does not need to pay for the packaging materials, but the intercompany sales organization does.
Now the delivery is still open because the billing relevancy is 'A' (vbuk-fksta), but we actually do not copy it to the invoice. The billing relevancy for the intercompany (vbuk-fkivp) is set to 'C'. We would like to set the vbuk-fksta automatically (if possible) during creation of the F2 invoice to 'C'.
We know transaction VL_COMPLETE we can do this manually.
I tried some user exits but at the moment I can not find the routine where it actually updates this status. And whether there is a user exit (or enhancement) possible to influence this ourselves, so we do not need to update this by hand.Hi
KIndly check the oss note 445763 it may help you
or
write the code with the help of ABAPER by selecting and updating the below tables
VBFA, VBUP & VBUK
Regards
Damu -
During creation of WBS element How to pass ACCount Assignment field as blnk
Hi Experts,
I am creating of WBS element by using BAPI ''BAPI_BUS2054_CREATE_MULTI'' .
during creation, passed the ACCount Assignment field as blank.
but when i check that WBS in CJ20n that ACCount Assignment field in coming as checked. Please suggest me how to pass this field as blank.
Thanks
Susant
Edited by: Susanta22 on May 9, 2011 6:08 PMI have same issue. how you resolved it.
-
What is the table for active rollback segments
Hi,
Can anyone please let me know what is the table name for 'Active Rollback Segments', is it dba_rollback_segs?
Regards,
- SriYes, this is the view which will report you the rollback segment name, owner and other information about the rollback segments.
You can also query dba_undo_extents view. -
Datafile containing rollback segment crashed
Hi,
In one of our production box (oracle 8.1.7.4 and HP UX), datafile containing rollback segment crashed. To open the database, i commented rollback segment line in init file and started the db and brought the crashed datafile to offline for dropping as
alter database datafile '/db10/rollback/rbs01.dbf' offline drop;
and then tried to drop the tablespace containing that datafile but it threw an error saying an active rollback segment R0 is still there in the tablespace. I donot know how to drop this and create new rollback segments. Any help would be greatly appreciated.
Thanks
GunaHi,
Serious case. In case of a failure the instance recovery is automatic but the rollback segments are needed. Having the database open does not mean everything is OK. Just read that :
Crash or instance recovery consists of the following steps:
+# Rolling forward to recover data that has not been recorded in the datafiles, yet has been recorded in the online redo log, including the contents of rollback segments. This is called cache recovery.+
+# Opening the database. Instead of waiting for all transactions to be rolled back before making the database available, Oracle allows the database to be opened as soon as cache recovery is complete. Any data that is not locked by unrecovered transactions is immediately available.+
+# Marking all transactions system-wide that were active at the time of failure as DEAD and marking the rollback segments containing these transactions as PARTLY AVAILABLE.+
+# Rolling back dead transactions as part of SMON recovery. This is called transaction recovery.+
+# Resolving any pending distributed transactions undergoing a two-phase commit at the time of the instance failure.+
+# As new transactions encounter rows locked by dead transactions, they can automatically roll back the dead transaction to release the locks. If you are using Fast-Start Recovery, just the data block is immediately rolled back, as opposed to the entire transaction.+
What did you do exactly after the crash ? Can you post commands/output + last 50-100 lines of your alert.log ?
Best regards
Phil
Maybe you are looking for
-
Mac Pro will not wake up from sleep mode
Hi, In my Energy Saver I have my system set to go to sleep after 15 minutes of not being used. Unfortuantely, when I try to wake the system up from sleep mode, it freezes on the screen saver and I have to hard restart the computer to get it to turn
-
Need help in developing report
Hi All, I have to develop a report for vendor evaluation. fields are like this: Vendor, Average price, price rating Formula for price rating is :Price Rating = If Price of a Vendor for a material is lowest than weightage= 40 SecondLowestVendorforamat
-
Add new field to CEKKO in exit EXIT_SAPLEBND_002
Hi, Can i include a zinclude in the structre of CEKKO in exit EXIT_SAPLEBND_002. I have to assign KTOKK filed from LFA! table to CEKKO structure. I have an inclue in the structure CEKKO as ZCEKKO_KNTTP,can I include the new field there. please advice
-
Help needed with a Nav Bar and PHP page.
Hello, i'm designing a website http://www.ahcagency.com for wich i create a nav bar in FW and exported the html to DW and inserted in a template so that way i update all the pages from the template. Everything works fine, but i have a login page for
-
Computer won't read iPod, reset/restore does not work
My 20GB iPod is having the problem where when you turn it on it displays the file folder and exclamation point and someone I know from school told me it's a corrupt file and I need to clean off my iPod and put all my songs back on to correct it. No f