Status Of Objects INVALID
Hi all
I am trying to load the netscape LDAP supporting classes into database(loadjava), i
found the status of all the classes showing
INVALID can any one suggest me the reason and
how to over come it.
Thanks
Ramu
null
hi Ramu,
I am also facing same problem. What I could figureout is that when we uoload a class file using loadjava the JVM inside the Oracle trys to compile that and if it could not found any of the refrenced class then it mark the status invalid. You can use -resolve option of loadjava to see the actual error.
Now in my case it says oracle.sql.BLOB could not be found. When i looked in user_objects view it has INVALID status for all the oracle.sql.BLOB/CLOB etc.
I think it has to do something with Oracle JVM. If you find out some solution for this pl mail me at [email protected]
Thanks.
Similar Messages
-
Object Invalidation in Oracle 11g R2
Hi All,
I found a distinct behaviour in oracle 11gR2 which is not even available in previous releases . Let me explain with an example.
--creating a small table
create table TEMPSAMPLE (COL1 VARCHAR2(10),COL2 VARCHAR2(10),COL3 VARCHAR2(15),COL4 VARCHAR2(15));
-- Now Creating an Primary key index for table TEMPSAMPLE
ALTER TABLE TEMPSAMPLE ADD CONSTRAINT PKTEMPSAMPLE PRIMARY KEY (COL1,COL2);
---CREATING A VIEW ON THE ABOVE TABLE
CREATE OR REPLACE VIEW VWTEMPSAMPLE AS
SELECT * FROM TEMPSAMPLE;
-- CREATING A PACKAGE WHICH USES TEMPSAMPLE AND VWTEMPSAMPLE OBJECTS.
CREATE OR REPLACE PACKAGE PKGSAMP AS
VAL1 TEMPSAMPLE.COL1%TYPE;
VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
PROCEDURE VERIFYSAMP(INVAL IN NUMBER);
END PKGSAMP;
CREATE OR REPLACE PACKAGE BODY PKGSAMP IS
PROCEDURE VERIFYSAMP(INVAL IN NUMBER)
AS
VAL1 TEMPSAMPLE.COL1%TYPE;
VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
BEGIN
VAL1:='RAVI';
FOR RC IN (SELECT * FROM VWTEMPSAMPLE)
LOOP
DBMS_OUTPUT.PUT_LINE('COL1 '||RC.COL1);
DBMS_OUTPUT.PUT_LINE('COL2 '||RC.COL2);
DBMS_OUTPUT.PUT_LINE('COL3 '||RC.COL3);
END LOOP;
INSERT INTO TEMPSAMPLE VALUES('REC05','RAVI','EEE','CK');
DELETE FROM TEMPSAMPLE WHERE COL1='RECO1';
UPDATE TEMPSAMPLE SET COL4='CKR' WHERE COL1='RECO2';
DBMS_OUTPUT.PUT_LINE('VALUE IS '||INVAL);
DBMS_OUTPUT.PUT_LINE('VALUE IS '||VAL1);
END VERIFYSAMP;
END PKGSAMP;
--CREATING A PACKAGE PKGSAMP2 WHICH USES TEMPSAMPLE TABLE ITSELF
CREATE OR REPLACE PACKAGE PKGSAMP2 AS
VAL1 TEMPSAMPLE.COL1%TYPE;
VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
PROCEDURE VERIFYSAMP(INVAL IN NUMBER);
END PKGSAMP2;
CREATE OR REPLACE PACKAGE BODY PKGSAMP2 IS
PROCEDURE VERIFYSAMP(INVAL IN NUMBER)
AS
VAL1 TEMPSAMPLE.COL1%TYPE;
VAL2 CONSTANT TEMPSAMPLE.COL1%TYPE:='11';
BEGIN
VAL1:='RAVI';
FOR RC IN (SELECT * FROM TEMPSAMPLE)
LOOP
DBMS_OUTPUT.PUT_LINE('COL1 '||RC.COL1);
DBMS_OUTPUT.PUT_LINE('COL2 '||RC.COL2);
DBMS_OUTPUT.PUT_LINE('COL3 '||RC.COL3);
END LOOP;
INSERT INTO TEMPSAMPLE VALUES('REC05','RAVI','EEE','CK');
DELETE FROM TEMPSAMPLE WHERE COL1='RECO1';
UPDATE TEMPSAMPLE SET COL4='CKR' WHERE COL1='RECO2';
DBMS_OUTPUT.PUT_LINE('VALUE IS '||INVAL);
DBMS_OUTPUT.PUT_LINE('VALUE IS '||VAL1);
END VERIFYSAMP;
END PKGSAMP2;
-- OBJECT STATUS OF PACKAGES
SELECT OBJECT_NAME,OBJECT_TYPE,STATUS FROM USER_OBJECTS WHERE OBJECT_NAME IN ('PKGSAMP','PKGSAMP2','VWTEMPSAMPLE');
OBJECT_NAME OBJECT_TYPE STATUS*
VWTEMPSAMPLE VIEW VALID
PKGSAMP2 PACKAGE BODY VALID
PKGSAMP2 PACKAGE VALID
PKGSAMP PACKAGE BODY VALID
PKGSAMP PACKAGE VALID
Alter table TEMPSAMPLE DISABLE constraint PKTEMPSAMPLE KEEP INDEX;
DROP INDEX PKTEMPSAMPLE;
--OBJECT STATUS OF PACKAGES AFTER DROPPING INDEX
SELECT OBJECT_NAME,OBJECT_TYPE,STATUS FROM USER_OBJECTS WHERE OBJECT_NAME IN ('PKGSAMP','PKGSAMP2','VWTEMPSAMPLE');
OBJECT_NAME OBJECT_TYPE STATUS*
VWTEMPSAMPLE VIEW INVALID
PKGSAMP2 PACKAGE BODY VALID
PKGSAMP2 PACKAGE VALID
PKGSAMP PACKAGE BODY INVALID
PKGSAMP PACKAGE VALID
Alter table TEMPSAMPLE ENABLE constraint PKTEMPSAMPLE;
As per the above process, if we observe that drop of index on a table arel lead to invalidation of view which* depends on that table and all the objects which uses this view will also get invalidated.*
The above invalidation is being occurred only in Oracle 11g R2, due to which we are facing the issue in our application.
We got a procedure where we disable a constraint , drop a index and process the insertion/updation into the tables. After successfull insertion/updation, at finally we are enabling the constraint.
This worked fine with previous releases of oracle 11g R2 , where as we recently migrated to 10g R2 which was leading to invalidation of all packages which uses the view , and in the application which uses previous db sessions are unable to access the invalidated package and raising an exception.
Please provide the solution if any possibleI tested the behavior in 10.2.0.4 and 11.2.0.3
In 10.2.0.4, The view was valid if we disabled the constraint using the keep index option but it became invalid after dropping the index. SO i guess you are making them as unusable and rebuilding them after data load.
in 11.2.0.3, The view became invalid as soon as we disabled the constraint using the keep index option. -
State code or status code is invalid while deactivate the custom entity record
Hi,
We have migrated to CRM 2013 and facing one issue while deactivating the custom entity record
Error- State code or status code is invalid: State code is invalid or state code is valid but status code is invalid for specified state code
when downloading the log, it is giving below error.
<s:Envelope xmlns:s="<faultcode>s:Client</faultcode><faultstring">http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring
xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en-US">-1 is not a valid state code on new_partner.</faultstring><detail><OrganizationServiceFault xmlns="<ErrorCode>-2147187704</ErrorCode><ErrorDetails">http://schemas.microsoft.com/xrm/2011/Contracts"><ErrorCode>-2147187704</ErrorCode><ErrorDetails
/><Message>-1 is not a valid state code on new_partner.</Message><Timestamp>2014-03-18T05:42:04.5523897Z</Timestamp><InnerFault><ErrorCode>-2147187704</ErrorCode><ErrorDetails /><Message>-1 is not a
valid state code on new_partner.</Message><Timestamp>2014-03-18T05:42:04.5523897Z</Timestamp><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails /><Message>System.ArgumentException: -1 is not a valid
state code on new_partner.
Parameter name: stateCode</Message><Timestamp>2014-03-18T05:42:04.5523897Z</Timestamp><InnerFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:nil="true"
/><TraceText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:nil="true" /></InnerFault><TraceText xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
i:nil="true" /></InnerFault><TraceText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:nil="true" /></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>
I checked into system, we have not customized the status reason. We have only two option value "Active"(1) and Inactive(2).
Also we don't have any plugin on SetStateDynamicEntity, we have only one plugin on create for that entity.
Did anyone face this issue? any pointer why its giving this issue??
Thanks in Advance.
Arvind
Regards, Arvindposting the trace log here..
# ScaleGroup:
# ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools, VssWriter, EmailConnector
[2014-03-18 04:13:32.491] Process: w3wp |Organization:d133c867-097c-e011-a247-02bf9d3bc4f8 |Thread: 62 |Category: Exception |User: 7492ef42-9460-e311-940e-002dd80b0ca0 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | CrmException..ctor
ilOffset = 0x7
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x7
at CrmException..ctor(String message, Exception innerException, Int32 errorCode) ilOffset = 0x5
at StatusCodeValidator.Validate(EntityMetadata entityMetadata, Int32 stateCode, Int32 statusCode) ilOffset = 0x54
at BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context) ilOffset = 0x0
at BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context) ilOffset = 0x1A
at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) ilOffset = 0x25
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0x89
at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider) ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) ilOffset = 0x58
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode,
ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x16E
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext
context, Boolean returnResponse) ilOffset = 0x16A
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x3D
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x24
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x241
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0x100
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x48
at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) ilOffset = 0xC6
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x62
at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) ilOffset = 0x256
at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) ilOffset = 0xF1
at ChannelHandler.AsyncMessagePump(IAsyncResult result) ilOffset = 0x39
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at AsyncResult.Complete(Boolean completedSynchronously) ilOffset = 0xC2
at AsyncQueueReader.Set(Item item) ilOffset = 0x21
at InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread) ilOffset = 0xD6
at InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread) ilOffset = 0x0
at SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread) ilOffset = 0x3D
at EnqueueMessageAsyncResult.CompleteParseAndEnqueue(IAsyncResult result) ilOffset = 0x61
at EnqueueMessageAsyncResult.HandleParseIncomingMessage(IAsyncResult result) ilOffset = 0x13
at AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result) ilOffset = 0x52
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at AsyncResult.Complete(Boolean completedSynchronously) ilOffset = 0xC2
at ParseMessageAsyncResult.OnRead(IAsyncResult result) ilOffset = 0x43
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x70
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) ilOffset = 0x4
at ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask) ilOffset = 0x45
at Task.FinishContinuations() ilOffset = 0x67
at Task.Finish(Boolean bUserDelegateExecuted) ilOffset = 0x3C
at Task.ExecuteWithThreadLocal(Task& currentTaskSlot) ilOffset = 0xC4
at Task.ExecuteEntry(Boolean bPreventDoubleExecution) ilOffset = 0x96
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0xA2
>Crm Exception: Message: -1 is not a valid state code on new_partner., ErrorCode: -2147187704, InnerException: System.ArgumentException: -1 is not a valid state code on new_partner.
Parameter name: stateCode
[2014-03-18 04:13:32.562] Process: w3wp |Organization:d133c867-097c-e011-a247-02bf9d3bc4f8 |Thread: 62 |Category: Platform.Sdk |User: 7492ef42-9460-e311-940e-002dd80b0ca0 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | VersionedPluginProxyStepBase.Execute
ilOffset = 0x65
>Web Service Plug-in failed in SdkMessageProcessingStepId: {1FE67FC9-85A6-E011-AEE1-002DD802FEB1}; EntityName: new_partner; Stage: 30; MessageName: SetStateDynamicEntity; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel,
Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: Microsoft.Crm.CrmArgumentException: -1 is not a valid state code on new_partner.
at Microsoft.Crm.BusinessEntities.StatusCodeValidator.Validate(EntityMetadata entityMetadata, Int32 stateCode, Int32 statusCode)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
Inner Exception: System.ArgumentException: -1 is not a valid state code on new_partner.
Parameter name: stateCode
--- End of inner exception stack trace ---
at Microsoft.Crm.BusinessEntities.StatusCodeValidator.Validate(EntityMetadata entityMetadata, Int32 stateCode, Int32 statusCode)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
[2014-03-18 04:13:32.586] Process: w3wp |Organization:d133c867-097c-e011-a247-02bf9d3bc4f8 |Thread: 62 |Category: Platform |User: 7492ef42-9460-e311-940e-002dd80b0ca0 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | MessageProcessor.Execute
ilOffset = 0x1C5
>MessageProcessor fail to process message 'SetStateDynamicEntity' for 'new_partner'.
[2014-03-18 04:13:32.586] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 62 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | ExceptionConverter.ConvertToFault
ilOffset = 0x69
>UNEXPECTED: no fault?
Thanks,
Arvind Singh
Regards, Arvind -
Help!Cache status of object for Central Adapter Engine is incorrect
this problem cconfused me several days!
version:PI 7.1
after i activate the communication channel, the cache not update for central adapter engine
problem: in cache status overview, the update for central adapter engine not yet started, but notification is ok.
the update for integration server and mapping run time are all correct.
then when i display wsdl for sender agreement(SOAP sender), show message:Cache status of object abcd123 for Central Adapter Engine is incorrect
if i ignore this message, error message popup:dapter Engine af.xid.sapittest for communication channel abcd123 not registered in SLD
who can help me solve this problem.
thank you in advance.Hi cheng,
Kindly check if you have set theparameter 'com.sap.aii.connect.integrationserver.sld.name' in your
Exchange Profile, since it's not set by default. Open note #1278563 and follow the procedures.
And you may check the following notes:
#1031321 - Self-Registration of Adapter Engine and RWB fails
#1334053 - No automatic PI 7.10 SLD Registration (Here you'll see the note 764176 which you have already applied and also the note #1117249).
In RWB, is the adapter Engine "red light"? If yes, what is the specific error?
Regards,
Caio Cagnani -
Hi,
I have a code which drops and creates a job.
But, while dropping the job i am getting an error -object invalid.
what could be the possible reason for my job to be invalid.
The job calls a pl sql block which in turn runs thru a loop and calls a procedure.
I am using oracle 11 rel2FOR cur_date IN (SELECT TO_DATE (v_prevprocesdte, 'dd-mon-yyyy')
+ LEVEL dt
FROM DUAL
CONNECT BY TO_DATE (v_prevprocesdte, 'dd-mon-yyyy')
+ LEVEL <= v_procesdte)
LOOP
DBMS_SCHEDULER.DROP_JOB(JOB_PRC_DROPACQTXN);
DBMS_SCHEDULER.create_job
(job_name => 'JOB_PRC_DROPACQTXN',
start_date => SYSDATE + 1 / 1200,
repeat_interval => 'FREQ=DAILY; INTERVAL=1',
end_date => NULL,
job_class => 'DEFAULT_JOB_CLASS',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN FOR cc IN (select * from src_txn)
LOOP
v_errm :=null;
prc_drop_acq_txn(''cur_date.dt'',''cc.src'',''cc.txn_type'',v_errm);
IF v_output=1
THEN
dbms_output.put_line(v_errm);
END IF;
END LOOP;
END;',
comments => NULL,
enabled =>TRUE
END LOOP; -
Approval Status using Object ID
Hi Experts,
I am creating a Backend Report which gives the SC Status. I have Shopping Cart number, Based on the SC# how can I find the status like who approved or with whom the SC is waiting for approval. I dont have Work Item ID here.
Pls let me know which table / FM I can use to get the above status using Object ID( SC# ).
Thanks in Advance.
Rupachandran GHi,
Please refer the link..
How to Get WorkItem ID
Saravanan -
While using Status for Object button it is taking more than 15 mins to open
Hi Gurus,
We are trying to attach documents to ZBOS & OR types sales documents , while opening the Status for Object button of the sales order it is taking more than 15 mins to open , once it is opened it is working as normal.
can you please let us know is it the system functionality because of which it is taking so much time to open or the problem is with something else.
please let us also know whether it is system impacting process.
We are using 4.6C.
Thank You,
Boyeni.Hi Syed ,
Greetings!!!...
Thank you very much for your Swift response!.
could you be so kind to let me know The Program that needs to be refreshed.
Thank You once again for your Assistance.
Boyeni. -
Unhandled Error (HTTP Status:500): unmarshal.invalid.xml
Hello Gurus,
I am facing a typical problem while assigning users to the Environment in BPC 10.0 NW SP 4.
In BPC Web interface I am able to see the user list, but when I try to add user and save system pops an error nessage
Unhandled Error (HTTP Status:500): unmarshal.invalid.xml
waiting for your expert advice.
Regards
Manoj DamleHi Manoj,
Please see note - 1693703. It says environmentshell is not properly activated.
Please implement 1615644 to fix the issue.
Regards,
Ashish -
"Material purchase requisition" not allowed (Use Status PROV, object TM0000
Hello Gurus,
I am getting the following message every time I enter a material in the sales order. The material entered requires a Purchase Requisition (PR) to be created when it is entered in the order. We have done Configuration thru Order Status Profile that will prevent PR creation at time of Order creation.
The message is as follows:
"Material purchase requisition" not allowed (Use
Status PROV, object TM0000000001VB)
Solution requested: We do not want to see this message appearing so many times. Can you pl let me know if there is a way to avoid this.
Thank you
VasaviHi Vasavi,
I am not talking about the po check above that one tab like check purchse order no in this feild keep emty and also below that enter po number also keep un check
and also please check when you creating sales order beside po date one tab is availble check any data in default that
that tab name is display doc header details in that tab purchase order tab in that any infirmation is default check that also
Hope this will helps you
Prem -
Create delivery not allowed ( Sys. Status EXLS,object vb0004321713000010
Hello SAP gurus,
I am getting the fllowing error while creating a delivery. The delivery message says create delivery not allowed ( Sys. Status EXLS,object vb0004321713000010)
Diagnosis : the status check for the status object VB0004321713000010 indicated that the procedure "create delivery" cannot be performed because Sys. status EXLS forbids it
System response: procedure create delivery is not performed
Procedure
If procedure is to be performed, the Sys. status EXLS of the object VB0004321713000010 must be reset.
Other statuses thatn Sys. status EXLS can also prevent the procedure. This message does not tell you all status which currently prevent procedure create delivery.
Can you please tell me how to resolve this issue?Hi
It seems that status profile is activated.
So goto SAles order header or Item level and goto status tab and release the sales order by clicking on the status EXLS
regards
Prashanth -
"Create delivery" not allowed (Sys. status Cost, object VB0000000237000010)
Dear All,
While creating delivery i am getting the error saying as below,
"Create delivery" not allowed (Sys. status Cost, object VB0000000237000010). and allowing me to the process delivery. we are the scenario for make to order process.
please suggest the solution.
kamlesh panchalNot clear on your comments
Create delivery "not allowed" (Sys. status Cost, object
VB0000000237000010). and "allowing me to the process delivery"
When the error message says creating delivery is not allowed, then how are you able to process delivery.
Nevertheless, go to VA02, input the sale order reference and execute. From top menu bar, click on "Goto -- Header -- Status". There again click on "Object status" and check whether any lock is there. If so, change it and then retry
thanks
G. Lakshmipathi -
Updating INVALID status of objects in procedure
Hi guys.
I'm trying to create a procedure to update/recompile all invalid objects.
I am having a few issues with the syntax, and was wondering if any of you have done anything like thsi before. I obviously have not. :)
Here's teh code:
CREATE OR REPLACE PROCEDURE recompile_sp
IS
CURSOR recompile_cur
IS
SELECT object_name, status
FROM user_objects
WHERE STATUS='INVALID';
BEGIN
FOR rec_cur IN recompile_cur LOOP
ALTER rec_cur.object_name COMPILE;
END LOOP;
END;
/I know your way makes way more sense, but the
assignment (yes, I'm in school) is asking for a
procedure to update teh invalid objects, which is why
I was looking to do it that way in the first place.Fair enough :-)
The correct way would be, as stated by others:
begin
dbms_utility.compile_schema(<schema>);
end;Doing it it like in your procedure, you should probably do something like this:
(NOT recommended, NOT tested)
CREATE OR REPLACE PROCEDURE recompile_sp
IS
CURSOR recompile_cur
IS
SELECT object_name, object_type, status
FROM user_objects
WHERE status = 'INVALID';
PROCEDURE exe(rec IN recompile_cur%ROWTYPE)
IS
BEGIN
EXECUTE IMMEDIATE 'ALTER '
|| rec.object_type
|| ' '
|| rec.object_name
|| ' COMPILE';
EXCEPTION
WHEN OTHERS
THEN
dbms_output.put_line(sqlerrm);
END exe;
BEGIN
FOR rec_cur IN recompile_cur
LOOP
BEGIN
exe(rec_cur);
END;
END LOOP;
END recompile_sp;
/Regards
Peter -
Snapshot "UNDEFINED" object invalid
Here's what I'm doing:
create snapshot TEST as select * from TEST@TEST_MASTER;
This creates two objects of name TEST - a table and an object of type "UNDEFINED".
Now, here's the problem:
The status of the "UNDEFINED" object will change to "INVALID" anytime I do a refresh. The refresh succeeds, all of the data is moved over and everything appears great, except that the status is "INVALID". I can recompile the snapshot and the status remains "VALID" until I do another refresh at which time the status changes back to "INVALID".
I have searched every book I can find, as well as this site, and news to get more information on the "UNDEFINED" object, but can't find anything. If anyone has a suggestion, I'd be very appreciative.
Cheers,
ScottThis is an Oracle 8i bug that is fixed in Oracle 9i. Actually, I believe it is two bugs. The Materialized View showing up as UNDEFINED has to do with a bad view in the data dictionary. I believe a object of type '28' isn't getting decoded properly. The materialized view being 'INVALID' shouldn't be an issue. If you would like to fix this grant 'query rewrite' and 'global query rewrite' to the owner of the materialized view. Then do a 'alter materialized view <view_name> compile' to put it back in a VALID state. The bug related to this has to do with not being able to pick up these grants view a ROLE (DBA in most cases).
-
IMP do some sysman objects invalid
Hi folks
I have a doubt.
I can not use imp schema, or impdp
If I do a full import using the "IMP", a lot of objects from sysman stay INVALID.
What I can do to fix this ?
Maybe recreate the EM repository ?
Tks
MantovamHi there,
A Sybrand says we need more information before we can help you on this. Please post the version of the database where the export was created and the version where you are trying to do an
import.
export in 10.2.0.4. Import in 10.2.0.4
Also the command line with any parameters that were used when creating the export and attempting the import.
imp full-y ignore=Y
Finally, can you specify where you witness the invalid status for the objects. Was it during the import that you noticed an error or after the import and in either case what error did you see ?
Don't have ERROR messages, only Warning message in the end of import.
Tks
Mantovam -
Checking Lock Status of Object before passing it to FM RH_RELATION_MAINTAIN
hi all,
While passing the object id to FM RH_RELATION_MAINTAIN if object id is locked i.e say open in a standard tcode then,this FM terminates.
is there any way to detect whether this Object is Locked or not before passing it to FM ??? this way i cud give the status msg that the " given object is locked" without termination the program.>
Ajay84 wrote:
> hi all,
> While passing the object id to FM RH_RELATION_MAINTAIN if object id is locked i.e say open in a standard tcode then,this FM terminates.
>
> is there any way to detect whether this Object is Locked or not before passing it to FM ??? this way i cud give the status msg that the " given object is locked" without termination the program.
Please check the FM 'HR_ENQUEUE_OBJECT', it is well documented.
Regards
Rajesh.
Maybe you are looking for
-
Bookmarks are not automatically creating based on Word 2013 Table of Contents.
Bookmarks are not automatically creating based on Word 2013 Table of Contents. In older version of Word, the Style built Table of Contents converted into Bookmarks when PDFing.
-
Hi,I would like to know if it's possible to create a PDF form compliant with PDF / A standard. thanks
-
Hi, I m creating a sample application using struts. i have a submit button in jsp. On submit the corresponding method in LookukDispatchAction executing twice....... What might be the reason ? P()()ja
-
WRONG ADDRESS AND DUPLICATE BILLING
I am sick and tired of BT. I honestly wish that I would have gone with an alternative provider for both line and broadband. After informing them that I had moved house (provided new address) and said I wanted my old line cancelled and a new line put
-
i downloaded rented movies and they will not play, it says that they are on another device.