Script to drop/re-create sequences is generated with errors
Hello,
I'm migrating an Oracle 10g instance running on Solaris 10 to an Oracle 11g instance running on RedHat Linux. I'm following the "Platform Migration" White Paper ( URLhttp://www.oracle.com/technology/deploy/availability/pdf/maa_wp_11g_platformmigrationtts.pdf ).
In the appendix, there's the code for a script that's supposed to generate an SQL script that drops and re-creates the sequences on the target machine:
set heading off feedback off trimspool on escape off
set long 1000 linesize 1000 pagesize 0
col SEQDDL format A300
spool tts_create_seq.sql
prompt /* ========================= */
prompt /* Drop and create sequences */
prompt /* ========================= */
select regexp_replace(
dbms_metadata.get_ddl('SEQUENCE',sequence_name,sequence_owner),
'^.*(CREATE SEQUENCE.*CYCLE).*$',
'DROP SEQUENCE "'||sequence_owner||'"."'||sequence_name
||'";'||chr(10)||'\1;') SEQDDL
from dba_sequences
where sequence_owner not in
(select name
from system.logstdby$skip_support
where action=0)
spool off
I have run it on my Solaris machine, and it generates a file that looks like this:
/* ========================= */
/* Drop and create sequences */
/* ========================= */
CREATE SEQUENCE "MDSYS"."TMP_COORD_OPS" MINVALUE 1000000 MAXVALUE 2000000 INCREMENT BY 1 START WITH 1000000 NOCACHE NOORDER CYCLE
CREATE SEQUENCE "MDSYS"."SDO_TOPO_TRANSACT_SUBSEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE ORDER NOCYCLE
I don't have any "drop sequence" commands, and there is no semicolon (;) at the end of the "create sequence" lines, so those are not executed.
I'm not at all familiar with PL/SQL, could somebody point me to the error?
Thank you,
Adrian
Why do you need the "REGEXP_REPLACE ()" function?
This would be simpler:
SET long 32000 longc 80 pages 0 lin 80 trims on
COL ddl wor
SELECT 'DROP SEQUENCE "'
|| sequence_owner
|| '"."'
|| sequence_name
|| '";'
|| CHR (10)
|| DBMS_METADATA.get_ddl ('SEQUENCE', sequence_name, sequence_owner)
|| ';'
|| CHR (10) DDL
FROM dba_sequences
WHERE sequence_owner NOT IN (SELECT NAME
FROM SYSTEM.logstdby$skip_support
WHERE action = 0);
/:p
Similar Messages
-
Conversion program generated with errors
in lsmw idoc method at the step 11 convert data iam getting error as conversion program generated with errors can some body help me .i assigned port ,partnertype and partner number and activated inbound processing but still getting this error.somebody pls help me its urgent.
Hi Mamidi,
Go to the LSMW you have choosen and if it is Recording Method you are getting this error.
Select Goto-->Recordings.
Select the Recording you have choosen in the Edit Mode.
Click on the Defaults All Button and save the recording.
Now go to the option Convert Data and check .
You will receive a message ..Conversion program successfully generated.
Thanks,
Sri -
Can we create table maintence generator with out key field
Hi,
I have created a ztable in that client is the primary key as I don't want any other field as primary key.
For this i have created table maintenace generator but when i open it in sm30 blnak screen is coming.
Here my question is can we create a table maintenace generator with out key field other than MANDT.
If it's possible please let me know.
Regards
hari>
Mathews Joseph wrote:
> I agree to the above points , but you can try one thing.
>
> When you create the table maintenance screen , from SE11 you assign a function group.
>
> Double click on the function group and you can go to the main program and open that in SE80, take screen generated and try manually adjusting the screen and putting the non key field details...
>
> Not sure this will work , but may be you can give it a try.
>
> Mathews
But the table could hold at most a single record (per client). The design is lacking.
Rob -
Task Sequence has failed with error code: 0x80070570
I've created task sequence for Windows XP OS Deployment. WinPE boot image loads successfully, Partitions are formatted successfully too. But during "Applying image 1 from volume C:\" I receive following error:
Task Sequence: My_task_sequence_name has failed with error code: 0x80070570.
What I need to do? Any ideas? (My computer has following details: ASUS P5KSE motherboard, Core 2 Duo, SATA HDD, Atheros L1 adapter)No, a build and capture task sequence automates the build of the image removing any and all human intervention so that rebuilding or refreshing an image becomes a simple matter. Building images by actually manually installing Windows is anti-IT.
File corruption can be caused by many, many things; e.g., anti-virus, physical disk errors, network transmit errors, etc.
Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys -
Creat Sequence / Auto generate No
I created a from with master and detail block
In master block I assigned a field (FRNO) autogenerated
written the following code in pre-insert.
declare
v_sr number(4):=0;
begin
select max(frno) into v_sr from fabric_rec ;
if v_sr is not null or v_sr<>0 then
:fabric_rec.frno:=v_sr+1;
else
:fabric_rec.frno:=1;
end if;
exception
when no_data_found then
:fabric_rec.frno:=1;
end;
it is working successfully.
I want to also create autogenerate no in detail block
first it check table, find Max NO then increament with it,
if I use above code that is not working becauase when I enter first record in frist row it will fetch Max record+1 and when I will go on 2nd row if will fetch same although I need
in first row Max+1
and row wise increament and save in database
Message was edited by:
KamiDear Uzair AOA
Your code is OK. but not for my situation.
I am using master and detail block. master in form and detial in tabular.
in MAster block it is working proerply, but in detail block It can not. I want that check the max no from detail block and add+1 with the row, if I inserted in detail 5 row that will generate recored accrodingly.
like. max(srno) = 5
I inserted 5 more record in detail
then replace with 6,7,8,9,10 like that.
see my following code.
I used the following code in detail block when create record
declare
v_sr number(4):=0;
begin
select max(ojobno) into v_sr from sub_fabric_rec ;
if v_sr is not null or v_sr<>0 then
:sub_fabric_rec.ojobno:= v_sr + :SYSTEM.cursor_record;
else
:sub_fabric_rec.ojobno:=1;
end if;
exception
when no_data_found then
:sub_fabric_rec.ojobno:=1;
end;
it is working but if I inserted 5 record in detail block first 2 rows Auto No are same??
and after 2nd row other reocords working accrodingly.
like
16
16
17
18
19
20 etc -
Creates JCO Destination Fails with Error
Hello
I am trying to create a JCO Connection in our EP6-SP9 (Menu Content Administration -> Web Dynpro -> Create JCO Connection). I have not installed a SLD for EP6 but have configured the EP6 to use the SLD of the XI 3.0 SP9. The test connection works OK. The creation of the JCO fails with the message below
An error has occurred:
"Failed to process the request."
Please contact your system administrator.
Web Dynpro client:
HTML Client
Web Dynpro client capabilities:
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
Web Dynpro runtime:
Vendor: SAP, Build ID: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
Web Dynpro code generators of DC sap.com/tcwdtools:
No information available
Web Dynpro code generators of DC sap.com/tcwddispwda:
No information available
Web Dynpro code generators of DC sap.com/tcwdcorecomp:
No information available
J2EE Engine:
No information available
Java VM:
Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
Operating system:
Windows 2000, version: 5.0, architecture: x86
Error stacktrace:
java.lang.NullPointerException
at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:871)
at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:272)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:237)
at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:144)
at com.sap.tc.webdynpro.tools.sld.wdp.InternalNameDefinition.wdDoInit(InternalNameDefinition.java:223)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:398)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:398)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:620)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:263)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:737)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:350)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
I request help in resolving the above error
Thanks & regards
S LahiriHi Subhabrata, I get the same error. Let me know the solution if you already solved it. Maulin
-
The new VM is being created via a P2V process run from SCVVM. It reaches a completion of 60% and dies. I asked about this in another question detail of the VVM can be seen at this link:
http://social.technet.microsoft.com/Forums/en-US/virtualmachinemgrp2vv2v/thread/71aae7dc-13b5-46f1-b794-cc1b8085541f
Running Win2008 R2 w/ Hyper-V role enabled & SCVVM 2008R2
In any event I checked the Hyper-V logs to see if they might shead any light on the problem and there were two error messages associated with the attempted conversion. The first Event ID 3430
Log Name: Microsoft-Windows-Hyper-V-Worker-Admin
Source: Microsoft-Windows-Hyper-V-Worker
Date: 5/23/2011 4:51:25 PM
Event ID: 3430
Task Category: None
Level: Error
Keywords:
User: NETWORK SERVICE
Computer: Virtual-Mgt.amrinc-corp.local
Description:
'test1' failed to set/change partition property: The system cannot find message text for message number 0xtest1 in the message file for 18568CA2-82E9-4A9F-B462-701D8FB4C447. '0x8007013D'.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
<EventID>3430</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2011-05-23T21:51:25.956775200Z" />
<EventRecordID>1</EventRecordID>
<Correlation />
<Execution ProcessID="3316" ThreadID="2716" />
<Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
<Computer>Virtual-Mgt.amrinc-corp.local</Computer>
<Security UserID="S-1-5-20" />
</System>
<UserData>
<VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<VmName>test1</VmName>
<VmId>18568CA2-82E9-4A9F-B462-701D8FB4C447</VmId>
<ErrorCodeString>%%2147942717</ErrorCodeString>
<ErrorCode>0x8007013D</ErrorCode>
</VmlEventLog>
</UserData>
</Event>
And the second Event ID 3040
Log Name: Microsoft-Windows-Hyper-V-Worker-Admin
Source: Microsoft-Windows-Hyper-V-Worker
Date: 5/23/2011 4:51:25 PM
Event ID: 3040
Task Category: None
Level: Error
Keywords:
User: NETWORK SERVICE
Computer: Virtual-Mgt.amrinc-corp.local
Description:
'test1' could not initialize. (Virtual machine ID 18568CA2-82E9-4A9F-B462-701D8FB4C447)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
<EventID>3040</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2011-05-23T21:51:25.956775200Z" />
<EventRecordID>2</EventRecordID>
<Correlation />
<Execution ProcessID="3316" ThreadID="2716" />
<Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
<Computer>Virtual-Mgt.amrinc-corp.local</Computer>
<Security UserID="S-1-5-20" />
</System>
<UserData>
<VmInitialize xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<VmName>test1</VmName>
<VmId>18568CA2-82E9-4A9F-B462-701D8FB4C447</VmId>
</VmInitialize>
</UserData>
</Event>
I have blownout the server and reinstalled the operating system and SCVVM and applied all the current updates to no avail. I have the exact same issue again. The problem seem to be at least on the serface an authority problem because I have no problem creating
new VM via the P2V process on an old Virtual Server running on Win2003R2.
Oh yes I can create new virtual machines on the system in question and move them to the library as was suggested to verify in a Blog post so I am really wondering what the problem is?
Configuration Analyzer Just gave me a warning about reporting not being setup on the VVM which it isn't so no suprise there?
Any information that might help me figure this would be greatly appreciatedI've looked at both threads, and there simply isn't enough information for me to tell you what is wrong. Please collect a trace (instructions in General forum) and open a case with CSS. CSS can provide more in depth analysis than what a forum
post allows.
As a shot in the dark, I have seen the issue outlined in the following KB article cause this exact same error message and symptom,
http://support.microsoft.com/kb/967902
Best Regards, Mike Briggs [MSFT] -- posting provided "AS IS" with no warranties and confers no rights -
Create Expense Report ended with error
Hello Experts,
We are facing problem in Create Expense Report under Employee Self Service page.
But when we check this iview directly from Content Administration -> Portal Content -> Content Provided by SAP -> End User Content -> Employe Self Service -> iviews -> Travel & Expense -> Create Expense Report -->>>>>>>>>>> it works fine.
As part of ESS/MSS post installation, we have done following activities ->
1. Created System in Portal pointing to backend.
2. Created Aliases -> SAP_R3 (set to default), SAP_ECC_TRAVEL and DV1CLNT311 (which is logical name of backend system).
3. Maintained Portal System -> ITS parameters
4. Maintained Portal System -> WAS Connection Parameters.
Connection test for Connector, ITS and WAS is working fine.
But accessing Create Expense Report from Employee Self Servcie page dumps, here is the error from defaulttrace file ->
#1.5 #005056BF4C8A007A0000001D000006FC000465017F230EE8#1236957009345#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#ALTOBELLM#19361##n/a##f99954c00fe011de8d8d005056bf4c8a#SAPEngine_Application_Thread[impl:3]_22##0#0#Error#1#/System/Server#Java###Exception ID:03:10_13/03/09_0019_4020550
[EXCEPTION]
{0}#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_travel_expenses/com.sap.pct.erp.ess.12.allmytrips/com.sap.pct.erp.ess.12.allmytrips
Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
User : ALTOBELLM
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &\#39;<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-ep-iviewhandle=007<ESID[HASH]>&sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&sap-wd-tstamp=<$TimeStamp>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>&\#39;; the problem occured at position 310. Cannot process expression <System.client> because Invalid System Attribute:
System: &\#39;SAP_LocalSystem&\#39;,
Attribute: &\#39;client&\#39;.
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
... 29 more
#1.5 #005056BF4C8A007A0000001F000006FC000465017F231514#1236957009345#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#ALTOBELLM#19361##n/a##f99954c00fe011de8d8d005056bf4c8a#SAPEngine_Application_Thread[impl:3]_22##0#0#Error##Java###03:10_13/03/09_0019_4020550
[EXCEPTION]
#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &\#39;<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-ep-iviewhandle=007<ESID[HASH]>&sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&sap-wd-tstamp=<$TimeStamp>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>&\#39;; the problem occured at position 310. Cannot process expression <System.client> because Invalid System Attribute:
System: &\#39;SAP_LocalSystem&\#39;,
Attribute: &\#39;client&\#39;.
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
Looking forward to get ideas on how to resolve this issue.
Thanks
Davinderpal SinghHello Sriram,
Thanks for your time.
When i have checked PA0105 table for user ALTOBELLM, i am able to see following entry maintained for the user.
MANDT PERNR SUBTY OBJPS SPRPS ENDDA BEGDA SEQNR AEDTM UNAME HISTO ITXEX REFEX ORDEX ITBLD PREAS FLAG1 FLAG2 FLAG3 FLAG4 RESE1 RESE2 GRPVL USRTY USRID
311 02000267 0001 31.12.9999 01.01.2009 000 02.03.2009 ALTOBELLM 0001 ALTOBELLM
Please let me know how can i check whether Travel Privelages IT0017 is maintained for this employee in the date range.
Thanks
Davinderpal Singh -
Smartform pdf generated with error
Hi Gurus,
Need your help.
I had converted smartform to PDF and sent it as attachment to mail ( 3 PDF's) the loop is running fine and I got all the three
PDF's as mail attachment but only one I am able to open rest to file damaged.
the process goes like :
1.select upto 3 rows
2. loop the three rows one by one.
3. within first loop entry.
3.1 CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
3.2 CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
3.3 CALL FUNCTION V_FM " ( calling generated func module )
3.4 CALL FUNCTION 'CONVERT_OTF'
3.5 CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
then back to second loop entry and third , But when I check my inbox only 1 PDF is generated properly rest are file damaged.
I am working on - EHP4 ERP 2005 ECC 6.0 - Retail can I use cl_bcs in above?
Edited by: DeepakNandikanti on May 24, 2010 7:02 AMHi Aidan,
Thank you for your reply,
I have done the SCOT setting,
could you tell me how to pass OTF data obtained from Function module below to send as mail:
CALL FUNCTION V_FM
EXPORTING
CONTROL_PARAMETERS = W_CTRLOP
OUTPUT_OPTIONS = W_COMPOP
USER_SETTINGS = 'X'
WA_LFA1 = WA_LFA1
IMPORTING
JOB_OUTPUT_INFO = W_RETURN
TABLES
IT_POTAB = IT_POTAB
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* End of: Call Generated Function Module
I_OTF[] = W_RETURN-OTFDATA[].
Using which parameter of function SO_NEW_DOCUMENT_ATT_SEND_API1 should I send the OTF data.
Regards,
Deepak -
Hello
I'm setting up a DPM server (2012 R2) at a remote site; everything goes well with no issues until a protection group is created, at which point I get the following error;
Create protection group: Protection Group 1 failed:
Error 360: The operation failed due to a virtual disk service error
Error details: The system cannot find the file specified
Recommended action: Retry the operation.
The environment is as follows;
- Virtual Machine Running Server 2008 R2 Fully updated
- Storage Pool is an iSCSI connection Thick Provisioned 1TB GPT and shows in Disk Management with no issues.
- Have connected to Session 0 (console)
- Error log shows The provider did not receive a Plug and Play service notification for the volume. volume=10 for the VDS Dynamic Provider
Can Anyone Help?
Thanks
.Adam LangdonHi,
Disk defrag is initiated when a volume shrink is attempted. See if there is any problem defragging a volume and correct any problems doing that.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
I get the following error when I try to create a Virtual desktop
collection;
"The Virtual desktop template does not meet the provisioning requirements."
although I'm specifing a sysprep'd VM installed WS2012 for a virtual desktop template.
Is there any way to resolve?
Or, is there any couses of this message?
thanks.I realize this is an old thread. I'll post and see if I get a response. If not, I'll create a new thread. My question is how does Microsoft suggest SPLA partners create VDI pools since they cannot license Windows 7 or 8 via SPLA? Why
would you restrict the provisioning to only the desktop operating systems that you won't allow partners to license for deployment?
Are there any plans to change this to include 2008 R2 or WS2012 as the base OS for a VD template?
Rob -
Creating a planned order with error "Material requires configuration"
Dear All,
I am facing a problem for creation of a planned order with error "Material requires configuration".
To follow the note 180317, I change Account Assignment Category to "U" (Unknown).
However, the system still does display the same error.
Could you please help provide possible solution for this?
Regards,
PhongSee also the following blog post:
Configurable planned order for material variants: Exception "53: No BOM explosion due to missing configuration"
BR
Caetano -
Can a strored procedure contain Drop Sequence /Create Sequence statement?
I am trying to schedule a job to update the starting value of a sequence. So I need to write a strored procedure to drop and then recreate the sequence. But when i tried to cimpile the follwing stored procedue, it gave me the error "'DROP' is not a valid identifier". Is it illegal to have "Drop Sequence /Create Sequence " in a stored procedue? If this is true, is there any way to accomplish my task (simply recreate the same sequence with different starting value every month)? Thanks!
Begin
DROP SEQUENCE TEST_SEQ;
CREATE SEQUENCE TEST_SEQ
START WITH 0
MAXVALUE 999999999999
MINVALUE 0
NOCYCLE NOCACHE NOORDER;
EndIn general, it is a bad idea to try to encode information into a key because it
- complicates queries in the future
- complicates updates to the data in the future
- can easily be generated on the fly from other data elements
Inevitably, if you do something like what was proposed, you'll find out that the data encoded in the key gets out of date from the data stored in the row, that users are writing queries that do things like strip off the first 6 characters of the string in order to do date searches, and that users discover they want to be able to modify the data to fix the data that's encoded in the keys, which can be terribly expensive if there are child tables.
Rather than trying to do this, I would store a DATE value and a non-reset sequence. You can always generate the reference number for the user by doing a TO_CHAR on the DATE and concatenating the output of an appropriate ranking function. If the users decide that they need to correct the DATE of an event, the reference number will be updated automagically since it was never stored in the database. A number generated in the query can also be guaranteed to be gap-free, which tends to please users.
Justin -
Hi All,
I am using
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionI have schema with following roles
ALTER ANY OUTLINE
CREATE ANY OUTLINE
CREATE ANY SYNONYM
CREATE DATABASE LINK
CREATE MATERIALIZED VIEW
CREATE PUBLIC DATABASE LINK
CREATE VIEW
DROP ANY OUTLINE
DROP PUBLIC DATABASE LINK
SELECT ANY TABLE
UNLIMITED TABLESPACE
CONNECT
DBA
EXP_FULL_DATABASE
IMP_FULL_DATABASE
OEM_MONITOR
RESOURCEI can able create a sequence through SQLPLUS as well as from toad.
SQL> CREATE SEQUENCE ROLE_ACTIVITY_SEQ START WITH 225006249 INCREMENT BY 1 MAXVALUE 9999999999999999999 MINVALUE 225006249 NOCYCLE CACHE 100 ORDER;
Sequence created.
SQL>when i try to create sequence dynamically through PL/SQL procedure getting error
SQL> execute PROC_CLONE_BU;
BEGIN PROC_CLONE_BU; END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SUPERNOVA.PROC_CLONE_BU", line 19
ORA-06512: at line 1
SQL>Even though I have DBA role for the schema. I don't know what privileges oracle still excepting..
Pls guide me to resolve it..
Thanks & Regards
SamiHi All,
As said early creating sequence through dynamic SQL
its creating sequence fine but when i try to use sequence in same procedure then procedure getting error..
create or replace procedure proc_seq_genrate as
begin
EXECUTE IMMEDIATE 'CREATE SEQUENCE BU_ROLE_DSK_ITEM_SEQ START WITH 100 INCREMENT BY 1 MAXVALUE 9999999999999999999 '||
'MINVALUE 100 NOCYCLE CACHE 100 ORDER';--- hard coded value 100 will changed according to PK max value of the table .. for getting max value i will write SQL Query
end;
Procedure created.
create or replace procedure proc_seq_genrate as
begin
EXECUTE IMMEDIATE 'CREATE SEQUENCE BU_ROLE_DSK_ITEM_SEQ START WITH 100 INCREMENT BY 1 MAXVALUE 9999999999999999999 '||
'MINVALUE 100 NOCYCLE CACHE 100 ORDER';--- hard coded value 100 will changed according to PK max value of the table .. for getting max value i will write SQL Query
INSERT INTO ROLE_ACTIVITY (SELECT ROLE_ACTIVITY_SEQ.NEXTVAL, -98, ACTIVITY_CD, REC_ST, 1, ROW_TS, USER_ID, CREATE_DT, SYS_CREATE_TS, CREATED_BY FROM ROLE_ACTIVITY WHERE ROLE_ID=-99 );
end;
7 35 PL/SQL: ORA-02289: sequence does not existI have understood that its looking for Sequence but
pls any one explain me why its looking sequence in compile time itself.. any way we are going to use the sequence only at run time right.. i would like to know is there any technical reason behind this..
Thanks & regards
Sami. -
Using dynamic query to create sequence
Hello,
I created the sequence dynamically in a Procedure, but when I executed, it gave me an Insufficient privileges error:
SQL> create table dummy (id number, module_id varchar2(20), p_order number, status varchar2(1));
SQL> insert into dummy values (10, 'test', 0, 'D');
SQL> CREATE OR REPLACE PROCEDURE PRO_SEQ_ARRNGE(P_ID NUMBER) AS
V_MOD DUMMY.MODULE_ID%TYPE;
v_query1 varchar2(200);
v_query2 varchar2(200);
V_COUNT NUMBER;
begin
v_query1 := 'drop sequence unqid';
v_query2 := 'create sequence unqid start with 1 increment by 1 minvalue 1';
SELECT COUNT(*)
INTO V_COUNT
FROM USER_SEQUENCES
WHERE SEQUENCE_NAME = 'UNQID';
IF V_COUNT = 0 THEN
execute immediate v_query2;
ELSE
execute immediate v_query1;
execute immediate v_query2;
END IF;
SELECT distinct MODULE_ID INTO V_MOD FROM DUMMY WHERE ID = P_ID;
update dummy
set P_order = 0, status = 'D'
WHERE ID = P_ID
and module_id = v_mod;
--COMMIT;
execute immediate 'UPDATE DUMMY SET P_ORDER = UNQID.NEXTVAL WHERE MODULE_ID = V_MOD AND STATUS = ''A''';
--COMMIT;
END PRO_SEQ_ARRNGE;
SQL> exec PRO_SEQ_ARRNGE(10);
BEGIN PRO_SEQ_ARRNGE(10); END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SYSTEM.PRO_SEQ_ARRNGE", line 15
ORA-06512: at line 1
Can you please advise how to resolve it?
Thanks in advance,
TinkuWhen I try it, I get a different error
SQL> create table dummy (id number, module_id varchar2(20), p_order number, status varchar2(1));
Table created.
SQL> insert into dummy values (10, 'test', 0, 'D');
1 row created.
SQL> CREATE OR REPLACE PROCEDURE PRO_SEQ_ARRNGE(P_ID NUMBER) AS
2 V_MOD DUMMY.MODULE_ID%TYPE;
3 v_query1 varchar2(200);
4 v_query2 varchar2(200);
5 V_COUNT NUMBER;
6 begin
7 v_query1 := 'drop sequence unqid';
8 v_query2 := 'create sequence unqid start with 1 increment by 1 minvalue 1';
9 SELECT COUNT(*)
10 INTO V_COUNT
11 FROM USER_SEQUENCES
12 WHERE SEQUENCE_NAME = 'UNQID';
13
14 IF V_COUNT = 0 THEN
15 execute immediate v_query2;
16 ELSE
17 execute immediate v_query1;
18 execute immediate v_query2;
19 END IF;
20
21 SELECT distinct MODULE_ID INTO V_MOD FROM DUMMY WHERE ID = P_ID;
22
23 update dummy
24 set P_order = 0, status = 'D'
25 WHERE ID = P_ID
26 and module_id = v_mod;
27 --COMMIT;
28
29 execute immediate 'UPDATE DUMMY SET P_ORDER = UNQID.NEXTVAL WHERE MODULE_ID = V_MOD AND STATUS = ''A''';
30 --COMMIT;
31
32 END PRO_SEQ_ARRNGE;
33 /
Procedure created.
SQL> exec PRO_SEQ_ARRNGE(10);
BEGIN PRO_SEQ_ARRNGE(10); END;
ERROR at line 1:
ORA-00904: "V_MOD": invalid identifier
ORA-06512: at "SCOTT.PRO_SEQ_ARRNGE", line 29
ORA-06512: at line 1The problem is that you can't refer to a local variable like V_MOD in a dynamic SQL statement. You'd need to use a bind variable
SQL> ed
Wrote file afiedt.buf
1 CREATE OR REPLACE PROCEDURE PRO_SEQ_ARRNGE(P_ID NUMBER) AS
2 V_MOD DUMMY.MODULE_ID%TYPE;
3 v_query1 varchar2(200);
4 v_query2 varchar2(200);
5 V_COUNT NUMBER;
6 begin
7 v_query1 := 'drop sequence unqid';
8 v_query2 := 'create sequence unqid start with 1 increment by 1 minvalue 1';
9 SELECT COUNT(*)
10 INTO V_COUNT
11 FROM USER_SEQUENCES
12 WHERE SEQUENCE_NAME = 'UNQID';
13 IF V_COUNT = 0 THEN
14 execute immediate v_query2;
15 ELSE
16 execute immediate v_query1;
17 execute immediate v_query2;
18 END IF;
19 SELECT distinct MODULE_ID INTO V_MOD FROM DUMMY WHERE ID = P_ID;
20 update dummy
21 set P_order = 0, status = 'D'
22 WHERE ID = P_ID
23 and module_id = v_mod;
24 --COMMIT;
25 execute immediate 'UPDATE DUMMY SET P_ORDER = UNQID.NEXTVAL WHERE MODULE_ID = :1 AND STATUS = ''A'''
26 using v_mod;
27 --COMMIT;
28* END PRO_SEQ_ARRNGE;
29 /
Procedure created.
SQL> exec pro_seq_arrnge(10);
PL/SQL procedure successfully completed.Of course, I'm not using the SYSTEM schema. You should really, really avoid SYS and SYSTEM-- things often work differently there than they do normally. I also join the other folks that have tried to help you in suggesting that creating a sequence dynamically in a procedure is a very poor idea and almost certainly indicates that you need to reconsider your design.
Justin
Maybe you are looking for
-
Avg/yahoo page comes up when i open a new tab how can i change it back to my home page
avg/yahoo page comes up when i open a new tab how can i change it back to my home page. it does have a get rid of this page button but it is a link t buy the full edition of avg. == i downloaded avg free edition
-
Quartz Composer - Effects of Other Cards? Any New Ideas?
I have read the discussions here about Quartz Composer, and noticed a mix of difficulties: 1 hardware restrictions (G4 or video card) 2 can't get preview (white screen), but can get render 3 can get preview, but can't get render (white screen) 4 can'
-
Problem with activation Cs6 multilicense
Hi, I have a problem with the activation of CS6 production premium, I work in a university and I Install the software using Symantech Ghost, we install all software in one computer and then we get the image and we pass it to the other computer, the p
-
Indesign-incopy-indesign workflow problem
sorry for my bad english :) i hope someone can help me, i have no more ideas ... this is the problem in our indesign-incopy-indesign work flow: only the indesign user, which has created the indesign file (with the incopy-links) can read the content p
-
Tracking objects and updating a table
Hi, I have 12 programs and whenever i run any of the programs a ztable shoud be updated (created by me) with program name , rundate and no of times it is executed. This functionality should be written in a separate fumction module. so could any pls s