Cannot select Item Type when creating new Backlog Items
According to the documentation, when creating a new Backlog Item in TFS Online (https://www.visualstudio.com/get-started/create-your-backlog-vs),
illustration #3 shows that you should be able to select the Item Type from a combo box.
However, I can’t. Mine just shows “Product Backlog Item”.
How come I don’t have a combo box to select the Item Type?
I’m trying to create an item with a type of “Bug” as shown in illustration #4.
Hi MBHunt,
You can enable bugs in backlog by following the instructions in below picture.
Or you can work with Bug WIT in the same level as Task WIT by selection option as below.
Cheers!
Chaminda
Similar Messages
-
Issues when creating new web items (chart) - No BLOB!
Please help us...
Background:
We have created a copy of the SAP standard class: CL_RSR_WWW_ITEM_CHART, named: ZCL_RSR_WWW_ITEM_CHART and maintained the tables:
- rsrrenderer
- rsrrendereratr
- rsrrenderert
Problem occurred:
-When running a chart using our new web item its not possible to change chart type other than the default type, bar chart. We have noticed that, for the new web item, the parameter TMP_CHART_DATA_HANDLE is not copied to the HTML-code as for the standard web item (CL_RSR_WWW_ITEM_CHART) when executing Edit chart in the properties tab. When debugging the code we notice that no BLOB is being created for our copy-web-item, and that's why no chart-settings are changed.
Questions:
1.How to get the functionality edit chart to work properly in the new class ZCL_RSR_WWW_ITEM_CHART?
3.If its not possible to use the edit chart functionality in a copied web item then whats the attribute to use in the HTML editor in Web Application Designer in order to set chart type? Or any other suggestions...
Regards
Daniel
Message was edited by: Daniel VasiljevicPrag,
Try this. Execute the following in a SQL window started by a userid that has been granted the USER ADMIN system privilege:
ALTER USER BODS1 VALID FROM NOW UNTIL FOREVER;
You can use a date instead of FOREVER --- '2016-12-31 23:59'.
Good luck,
Robert -
Field Ref. and SRef,mat type when creating new material types
Hi,
While creating new material type we are giving the Filed ref. on that basis sytem find which fields are option mand. etc. below the filed ref. there is also SRef for material type , why this fileld is use ? if this is screen sequence ref. then what is use of industry sector when creating material bcoz industry sector also determines the scrren ref. then which will follow when we creat the material.
regards,
zafarHi,
SRef is the Screen reference .
You have to create the Sref then it should assign depending on the transaction.
Grouping of transactions that determines what screens are displayed depending on the transaction when you maintain material master records. It also determines the order in which the screens appear.
The screen reference Transaction is in table T130M.
In material master the first reference is industry sector,then specific to the industry sector what is the material type & screen sequence.
Regards,
Raj -
Cannot select name when creating new DC
Hi all,
It seems I encounter this kind of problems over and over again when dealing with NWDI )-:
In this thread Cannot select vendor when creating new DC I couldn't select vendor.
I installed a new NWDI system (version is 7.18), did all the post installation steps including the configuration of a name server on the SLD but I cannot select "name" and the vendor I entered is not shown (even if enter it manually I cannot select name so it doesn't help - see snapshot).
[snapshot|http://img134.imageshack.us/i/nwdi.jpg/]
Snapshot: http://img134.imageshack.us/i/nwdi.jpg/
I did name server config on : http://server:port/dtr/system-tools/administration/NameServerConfiguration
Name prefixes are defined under 'Name Reservation -> Development Component Name' - I used <x.y>/* and <x.y>/tst (x.y is namespace like com.omri).
I updated CMS after setting the name server, restart J2EE and did all kind of voodoo without success.
I use local SLD which is part of the J2EE.
I don't get any error messages (from NWDI/SLD/NWDS).
I don't remember this kind of problem with NWDI on 6.40 versions.
Moreover I installed and configured several systems on 7.12 & 7.13 versions without any problems but with 7.14 & 7.18 I've problem with setting the name server...
Please help,
Thanks,
OmriSolved it on my own by deleting and creating the track again (with the same settings!!!)
-
How to customize Category and Category items list while creating New Model
Hi,
what the most convenient way to customize the Category and Category items list while creating New Model?
This is standard:
Now, what we want to achieve, is to customize this menu, to:
1. Display in the Category window only f.e. two categories:
- EA Diagrams
- BPM Diagrams
2. In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available. Additionally, it should behave like a hierarchy ... meaning you can create the second diagram, only as child (related diagram) of the first diagram etc.
I know, excluding the particular diagrams/diagram elements can be configured using the right/profile settings, but how to:
1. Customize the standard New Model menu window
2. Create copies of City Planning Diagrams with different set-ups
3. Set the relationship between diagrams
Is such a configuration change possible?
Thanks a lot for your help!
Regards,
RafalNow, what we want to achieve, is to customize this menu, to:
Question #1. Display in the Category window only f.e. two categories:
- EA Diagrams
- BPM Diagrams
Click on Tools => General Options=> Model Creation
Click on Properties => at right of Default category set
Note : Model template does not work as Category. We can't set. An enchancement request has been open to SAP
In the following example I defined a new default (MyNewDefault.mcc). As you can see only BPMN models are available.
To create a new category set with BPMN choice
a) Copy default.mcc in MyNewDefault.mcc file.
Go to Tools=>General Options=>Model Creation : Select your new category
Go to Tools=>General Options=>Model Creation : Edit properties and remove all things you does not want keep
or
b) Go to Tools=>General options=>Model Creation : Edit properties and click on Save as button and specify the file name "MyNewDefault".
Quit the window.
Select you new category : Go to Tools=>General Options=>Model Creation : "MyNewDefault"
Edit properties and remove all things you does not want keep.
Save you new category
Question #2. How to define copies/replicas of existing diagrams
Wrote an extension
Question #3. How to make sure, particular diagrams can be used (created) only on predefined "levels" and how to set the parent-child relationship, so that PD enforced it directly when creating a new diagram.
Specify yours conditons in your extension attached to your model
Example : When the user want create a child diagram : You can display a list of Parent Diagrams to select from.
You can set in your extension by VBScript parent-child relationship
Question #4 In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available.
If I understand well your question. I suggest to take a look in
Repository=>Administration=>Objects Permission Profile
You can specify objects to show, mask, deactivate at model level.
You can specifiy your own metadata.
But I'm not sure you can mask, deactivate functions following diagram selection. It seem to specific.
Message was edited by: Benoit Le Nabec -
SSMS crash when creating new database diagram
For several years I have been unable to create database diagrams from within SSMS. I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
I have installed, uninstalled, and repaired many dozens of times. I am currently using VS2013 ultimate with SQL2014 express.
I have tried every related 'workaround' that I can find on the internet. Still the problem persists.
Any help would be deeply appreciated.
Here are the relevant details with file versions:
In SSMS, I right-click on a database and choose New Database Diagram. A Blank diagram window appears with the SSMS error dialog:
===================================
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Program Location:
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
Version info taken from Sql Server Management Studio/Help/About dialog:
Microsoft SQL Server Management Studio 12.0.2000.8
Microsoft Analysis Services Client Tools 12.0.2000.8
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.17358
Microsoft .NET Framework 4.0.30319.18444
Operating System 6.1.7601
DLL versions
c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
dsref80.dll version 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
msdds.dll 12.0.21005.1
msddsf.dll 12.0.21005.1
msddslm.dll 12.0.21005.1
msdds.mp.dll 12.0.21005.1
msddsp.dll 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
msddsui.dll 12.0.21005.1Hello,
There is a Connect item related to this issue. This is the link of that Connect item:
https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
Try the workarounds posted there (Workarounds section).
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Refresh document error when creating new document.
I want to refresh document when create new document , but I meet the error.
Output in Console
http://10.173.1.153:6405/biprws/logon/long/
http://10.173.1.153:6405/biprws/raylight/v1/documents
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders/DP0/specification
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/parameters
Exception in thread "main" java.lang.RuntimeException: Failed : HTTP error code : 500
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.getContentJson(CreateWebiReport40Sample.java:323)
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.refreshDocument(CreateWebiReport40Sample.java:186)
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.main(CreateWebiReport40Sample.java:54)
The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
|D55BC38155E54B03B55B81F16912890373|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.YR
|D55BC38155E54B03B55B81F16912890374|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.QUANTITY_SOLD
|D55BC38155E54B03B55B81F16912890375|2015 01 30 07:18:32.356|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
|D55BC38155E54B03B55B81F16912890376|2015 01 30 07:18:32.517|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Query generation failed
com.businessobjects.semanticlayer.qt.internal.QTInternalException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
|D55BC38155E54B03B55B81F16912890377|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Failed query spec: Query (MAIN_QUERY)
Results: [ [uniqueName=YR] [Identifier=DP0.YR], [uniqueName=QUANTITY SOLD] [Identifier=DP0.QUANTITY_SOLD]]
DrillScope: []
Sorts: []
Condition: DEF: null
|D55BC38155E54B03B55B81F16912890378|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
|D55BC38155E54B03B55B81F16912890379|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.dsl.services.query.impl.QueryServiceImpl||[ERROR] [QueryService::getQueryExecutionPlan]
com.businessobjects.semanticlayer.qt.QTException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
|D55BC38155E54B03B55B81F1691289037a|2015 01 30 07:18:32.519|+0000|Error|Error|>>|E| |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||||Exception caught in SL Service: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
com.businessobjects.dsl.services.query.QueryServiceException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:292)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
Java Source code
Java Source Code
package com.sap.oem.restfulws.test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.text.ParseException;
import org.json.JSONException;
import org.json.JSONObject;
public class CreateWebiReport40Sample {
/** CMS System */
private static final String CMS_LOG_HOST = "10.173.1.153:6405";
/** User name used to log in to the CMS */
private static final String CMS_LOG_USER = "Administrator";
/** User password */
private static final String CMS_LOG_PASS = "******";
/** Authentication mode used to log in to the CMS. Here: Enterprise */
private static final String CMS_AUTH_MODE = "secEnterprise";
private static final String WEBI_URL = "/biprws/raylight/v1";
private String logonToken;
private boolean isLogon = false;
private String folderID = "5652";
private String fileName = "eFashioin_IQ_Auto";
private String documentID = "23547";
private String reportID = "1";
private String dataSourceID = "5650";
private String dataProviderID = "DP0";
private String elementID = "8";
private String elementParentID = "2";
private String elementName = "Block 1";
private String axisID = "1";
public static void main(String[] args) throws JSONException,
ParseException, IOException {
CreateWebiReport40Sample webiRep = new CreateWebiReport40Sample();
JSONObject json = null;
String resultStr = null;
webiRep.getLogonToken();
json = webiRep.createDoc();
json = webiRep.addDataSourceInReport();
json = webiRep.refreshDocument();
// json = webiRep.addTableInReport();
// json = webiRep.updateExpressionInAxis();
webiRep.saveDocument();
System.out.println(resultStr);
if (json != null) {
System.out.println(json.toString());
public JSONObject createDoc() throws IOException, ParseException,
JSONException {
String body = "<document>" + "<name>" + this.fileName + "</name>"
+ "<folderId>" + this.folderID + "</folderId>" + "</document>";
JSONObject json = postContentJson("http://" + CMS_LOG_HOST + WEBI_URL
+ "/documents", body);
this.documentID = json.getJSONObject("success").getString("id");
return json;
public JSONObject saveDocument() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID;
String body = "<document>" + " <name>" + this.fileName + "</name>"
+ " <folderId>" + this.folderID + "</folderId>"
+ "</document>";
// System.out.println(urlStr);
JSONObject json = postContentJson(urlStr, body);
return json;
public JSONObject addDataSourceInReport() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/dataproviders";
String body = "<dataprovider>" + "<name>Query 1</name>"
+ "<dataSourceId>" + this.dataSourceID + "</dataSourceId>"
// + "<dataSourceType>unx</dataSourceType>"
+ "</dataprovider>";
JSONObject json = postContentJson(urlStr, body);
this.dataProviderID = json.getJSONObject("success").getString("id");
json = addQueryInDataProvider();
return json;
public JSONObject addTableInReport() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/reports/" + this.reportID + "/elements";
String body = "<element type=\"VTable\">"
+ " <reference>1.B</reference>" + " <name>"
+ this.elementName
+ "</name>"
+ " <parentId>"
+ this.elementParentID
+ "</parentId>"
+ " <position newVerticalPage=\"false\" oneVerticalPage=\"false\" repeatOnEveryVerticalPage=\"false\" newHorizontalPage=\"false\" oneHorizontalPage=\"false\" verticalAnchorId=\"4\" verticalAnchorType=\"End\" horizontalAnchorType=\"None\" y=\"900.0\" x=\"450.0\"/>"
+ " <hide always=\"false\"/>"
+ " <style>"
+ " <border>"
+ " <top style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <bottom style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <left style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <right style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " </border>"
+ " <background height=\"0.0\" width=\"0.0\"/>"
+ " <alternateColor rgb=\"#f8fbfc\" frequency=\"2\"/>"
+ " </style>"
+ " <content>"
+ " <axes duplicateRowAggregation=\"true\">"
+ " <axis role=\"Column\">"
+ " <id>1</id>"
+ " <expressions>"
// + " <formula dataObjectId=\""
// + this.dataProviderID
// + ".YR"
// + "\" dataType=\"String\">=[YR]"
// + "</formula>"
// + " <formula dataObjectId=\""
// + this.dataProviderID
// + ".QUANTITY_SOLD"
// + "\" dataType=\"Numeric\">"
// + "=[QUANTITY SOLD]"
// + "</formula>"
+ " </expressions>"
+ " </axis>"
+ " </axes>"
+ " <layout>"
+ " <zone verticalType=\"Body\" horizontalType=\"Body\">"
+ " <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"5\"/>"
+ " <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"6\"/>"
+ " </zone>"
+ " <zone verticalType=\"Header\" horizontalType=\"Body\">"
+ " <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"8\"/>"
+ " <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"9\"/>"
+ " </zone>"
+ " </layout>"
+ " </content>" + "</element>";
JSONObject json = postContentJson(urlStr, body);
this.elementID = json.getJSONObject("success").getString("id");
return json;
public JSONObject updateExpressionInAxis() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/reports/" + this.reportID + "/elements/"
+ this.elementID + "/axes/" + this.axisID + "/expressions";
// int i = 0;
String body = "<expressions>"
+ " <formula dataType=\"String\">=[YR]</formula>"
+ " <formula dataType=\"Numeric\">=[QUANTITY SOLD]</formula>"
+ "</expressions>";
JSONObject json = putXmlContentJson(urlStr, body);
return json;
public JSONObject refreshDocument() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
// + this.documentID + "/parameters?refresh=true";
+ this.documentID + "/parameters";
// JSONObject json = this.putXmlContentJson(urlStr, "");
JSONObject json = this.getContentJson(urlStr);
return json;
public JSONObject addQueryInDataProvider() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/dataproviders/" + this.dataProviderID
+ "/specification";
// int i = 0;
String body = "<queryspec:QuerySpec xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
+ " xmlns:queryspec=\"http://com.sap.sl.queryspec\" dataProviderId=\""
+ this.dataProviderID
+ "\">"
+ " <queryParameters>"
+ " <duplicatedRowsProperty activated=\"true\" value=\"true\"/>"
+ " <maxRetrievalTimeInSecondsProperty value=\"0\"/>"
+ " <maxRowsRetrievedProperty value=\"0\"/>"
+ " <removeEmptyRowsProperty activated=\"true\" value=\"true\"/>"
+ " <allowOtherUserToEditQueryProperty activated=\"true\" value=\"true\"/>"
+ " <resetContextOnRefreshProperty activated=\"true\" value=\"true\"/>"
+ " <stripQueryProperty/>"
+ " <useBexQueryDefaultValue activated=\"true\" value=\"true\"/>"
+ " </queryParameters>"
+ " <queriesTree xsi:type=\"queryspec:QueryDataNode\">"
+ " <bOQuery name=\"Query\" identifier=\"_"
+ this.documentID
+ "_"
+ this.dataProviderID
+ "_"
+ "query\">"
+ " <resultObjects identifier=\""
+ this.dataProviderID
+ ".YR"
+ "\" name=\"YR\"/>"
+ " <resultObjects identifier=\""
+ this.dataProviderID
+ ".QUANTITY_SOLD"
+ "\" name=\"QUANTITY SOLD\"/>"
+ " <conditionPart/>"
+ " </bOQuery>"
+ " </queriesTree>" + "</queryspec:QuerySpec>";
JSONObject json = putTextContentJson(urlStr, body);
return json;
public String getLogonToken() throws ParseException, IOException,
JSONException {
String body = "<attrs xmlns=\"http://www.sap.com/rws/bip\">"
+ "<attr name=\"userName\" type=\"string\">"
+ CMS_LOG_USER
+ "</attr>"
+ "<attr name=\"password\" type=\"string\">"
+ CMS_LOG_PASS
+ "</attr>"
+ "<attr name=\"auth\" type=\"string\" possibilities=\"secEnterprise,secLDAP,secWinAD\">"
+ CMS_AUTH_MODE + "</attr>" + "</attrs>";
JSONObject json = postContentJson("http://" + CMS_LOG_HOST
+ "/biprws/logon/long/", body);
logonToken = (String) json.get("logonToken");
isLogon = true;
return logonToken;
private JSONObject postContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "POST",
"application/xml; charset=utf-8");
private JSONObject putTextContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "PUT",
"text/xml; charset=utf-8");
private JSONObject putXmlContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "PUT",
"application/xml; charset=utf-8");
private JSONObject postAndPutContentJson(String urlStr, String body,
String method, String contentType) throws IOException,
JSONException {
System.out.println(urlStr);
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod(method);
if (this.isLogon) {
conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
+ "\"");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Content-Type", contentType);
conn.setDoInput(true);
conn.setDoOutput(true);
int len = body.length();
conn.setRequestProperty("Content-Length", Integer.toString(len));
conn.connect();
OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
out.write(body, 0, len);
out.flush();
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP error code : "
+ conn.getResponseCode());
BufferedReader br = new BufferedReader(new InputStreamReader((conn
.getInputStream())));
String jsontxt = br.readLine();
br.close();
conn.disconnect();
JSONObject json = new JSONObject(jsontxt);
return json;
private JSONObject getContentJson(String urlStr) throws IOException,
JSONException {
System.out.println(urlStr);
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
if (this.isLogon) {
conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
+ "\"");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Content-Type",
"application/xml; charset=utf-8");
conn.setDoOutput(true);
conn.setDoInput(true);
conn.connect();
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP error code : "
+ conn.getResponseCode());
BufferedReader br = new BufferedReader(new InputStreamReader((conn
.getInputStream())));
String jsontxt = br.readLine();
br.close();
JSONObject json = new JSONObject(jsontxt);
conn.disconnect();
return json;
Welcome your adviceHi Kevin,
I think you have to set the query specification for the data provider you created. If you don't, no object is available (that'w why you received a such error).
Best regards,
Anthony -
Use a Custom Page Layout When Creating [[new pages]] in Enterprise Wiki
I have followed a few different blogs and I've been able to create a custom wiki content type and create a new page layout based off of that content type. I've also set my site so that my new layout is the default page layout. This works when creating
new pages on the site but when i try to create a new wiki page --> [[new page]], I'm still getting the typical blank wiki template. How on earth do i get my page layout to sync with creating a new wiki page?Hi,
For your issue, go to Site Actions > Site Settings > Page layouts and site templates (Under Look and Feel).
Pages in this site can only use the following layouts: add custom wiki template.
Select default page layout: choose custom wiki template.
Besides, here is a blog, you can use as a reference:
http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
Best Regards,
Lisa Chen -
Cannot select find operations when exposing Business Object
Hi,
I have created a business object from which I need to 'find' instances. The business object has to be exposed as a web service.
The business object has 'find***' operations. However, I cannot select those operations when I try to expose the business object as a web service.
How can I get those operations to be selected?
Regards,
RahulRahul-
There is a limitation with CAF web services that they can not cater to collections. The findXXX methods always return collections hence they can not be exposed as web services. There are alternatives however - create a custom Complex Type which contains the collection. Create a method in an Application Service which calls your findXXX method and then returns the collection "through" the custom type you have created.
For example, if you want to return a list of purchase orders create a wrapper structure as follows:
ReturnStructure
PurchaseOrders [0..n]
Cheers-
Atul -
Alert box:No more free items available, please create new one
Hi,
We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order. Has anyone come across this issue?
Steps to recreated this issue
1. Create an order with any product - quantity is rounded to next possible value.
2. Order created, close the order.
3. Trying to create new order. (Product field is not a text box anymore)
4. Try to transfer product from catalog by hitting shopping basket icon.
5. Error message -> "No more free items available, please create new one".
Thanks,
-TarunHi,
We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order. Has anyone come across this issue?
Steps to recreated this issue
1. Create an order with any product - quantity is rounded to next possible value.
2. Order created, close the order.
3. Trying to create new order. (Product field is not a text box anymore)
4. Try to transfer product from catalog by hitting shopping basket icon.
5. Error message -> "No more free items available, please create new one".
Thanks,
-Tarun -
Test Note (Documentation Type) when creating Test Plan
Hi Gurus.
After we upgraded our SolMan 7.0 system from Support Pack (ST component ) level 19 to level 25, I noticed this new field "Test Note" (Dcoumentation Type) when creating a Test Plan in transaction STWB_2.
Initially, when I haven't chosen any project yet, this field has a list-of-values (i.e. Test Case Note, iTutor Document) but when I choose a project, the list-of-values only showing "ST". I also tried choosing another project and there is no value in the list.
Does anyone know where this list is coming from or how I can configure this?
It looks like project-related and but I couldn't find any settings for this.
Can this field be turned off so it will not show in the screen?
Thanks,
TessHi Tess,
The documentation type ST is the standard documentation type for test notes.
Test notes are needed by testers to document results in detail during/after testing a test case.
In SOLAR_PROJECT_ADMIN there is the text menu 'GOTO - Project Template - Implementation Projects'
and then there to the tap 'Documentation Types' to do the default settings for 'ST' for all implementation projects.
Otherwise you'll have to change settings in the administration for each project!
There you can assign your own documentation template for ST in the central settings.
If you are using other project types for testing you'll have to do the same for each project type.
Regards,
Adelbert -
Programatically create new mail item and open - body text lost on subsequent saves
Hi,
I have a problem with trying to create new GroupWise mail item from a
button in a C3PO. I require programmatic access to this via the Object
API, so it must be a saved draft. This is relativley straight forward to
do - just create a mail item using the object API, and then use the Token
API to open this item.
This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
when the user does a subsequent save, the body text of the message
dissappears in the GUI (it is updated correctly in the draft however) -
and all subsequent saves cause the body text to dissappear. If you close
the mail item and open the draft manually you can continue as normal.
As a test, I also tried to use the Token API to create a new mail item,
and then again to save the item in the work in progress folder. This
seems to work fine the very first time you do this, but each subsequent
time the same behaviour is seen - i.e. the body text of the email is
deleted from the GUI. Also, another observation here, event though the
mail item was saved in the WIP folder via the token API command
ItemSaveMessageDraft, it moves into the users MailBox when the user saves
it manually.
I have posted the two snippets of code from my test C3PO project at then
end.
This is a major problem, as we need to be able to reliably create new mail
items from a toolbar button, so any help very much appreciated.
Regards
Greg
Test case 1: Create a new message object in the WIP folder, and then open
it using Token API...
Dim sRetString As String
Dim DraftMail As Object
Set DraftMail =
g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
("GW.MESSAGE.MAIL", egwDraft)
g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
Test case 2: Create a new mail via token API, then use token API to save
the item in the WIP folder...
Dim sRetString As String
' create the new mail item...
g_Commander.Execute "NewMail()", sRetString
' Get the folder path as a string..
Dim GWFolder As Object
Dim sAccount As String
Dim sFolderPath As String
sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
sFolderPath = sAccount & "\" & GWFolder.Name
' dirty the message so save works...
g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
' do the save...
g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
sRetStringHi,
I have a problem with trying to create new GroupWise mail item from a
button in a C3PO. I require programmatic access to this via the Object
API, so it must be a saved draft. This is relativley straight forward to
do - just create a mail item using the object API, and then use the Token
API to open this item.
This worked fine in 6.5.0, however in 6.5.1 and 6.5.2 I have noticed that
when the user does a subsequent save, the body text of the message
dissappears in the GUI (it is updated correctly in the draft however) -
and all subsequent saves cause the body text to dissappear. If you close
the mail item and open the draft manually you can continue as normal.
As a test, I also tried to use the Token API to create a new mail item,
and then again to save the item in the work in progress folder. This
seems to work fine the very first time you do this, but each subsequent
time the same behaviour is seen - i.e. the body text of the email is
deleted from the GUI. Also, another observation here, event though the
mail item was saved in the WIP folder via the token API command
ItemSaveMessageDraft, it moves into the users MailBox when the user saves
it manually.
I have posted the two snippets of code from my test C3PO project at then
end.
This is a major problem, as we need to be able to reliably create new mail
items from a toolbar button, so any help very much appreciated.
Regards
Greg
Test case 1: Create a new message object in the WIP folder, and then open
it using Token API...
Dim sRetString As String
Dim DraftMail As Object
Set DraftMail =
g_C3POManager.ClientState.CurrentAccount.WorkFolde r.Messages.Add
("GW.MESSAGE.MAIL", egwDraft)
g_Commander.Execute "ItemOpen(""" & DraftMail.MessageId & """)", sRetString
Test case 2: Create a new mail via token API, then use token API to save
the item in the WIP folder...
Dim sRetString As String
' create the new mail item...
g_Commander.Execute "NewMail()", sRetString
' Get the folder path as a string..
Dim GWFolder As Object
Dim sAccount As String
Dim sFolderPath As String
sAccount = g_C3POManager.ClientState.CurrentAccount.RootFolde r.Name
Set GWFolder = g_C3POManager.ClientState.CurrentAccount.WorkFolde r
sFolderPath = sAccount & "\" & GWFolder.Name
' dirty the message so save works...
g_Commander.Execute "ItemSetText(""X00"";Subject!;"" "")", sRetString
g_Commander.Execute "ItemSetText(""X00"";Subject!;"""")", sRetString
' do the save...
g_Commander.Execute "ItemSaveMessageDraft(""" & sFolderPath & """)",
sRetString -
Shortdump when creating new Application set
Hi All,
We have a newly installed BPC system (BPC 7.0, SP 02).
We are facing issues when creating new Application Set. Although on the .Net server it shows that the creation of appset was successful, in SM37 Copy AppSet job is terminated with Shortdump "Raise_Exception, X_Message".
I can see the new appset in RSA1, however not all dimensions and applications are copied from Apshell.
I've seen SAP Note: 1420399, which says that this type of issue happens when the user does not have sufficient access. But we are facing same issue with admin user who has full access.
Any pointers in resolving this issue would be highly appreciated.
Thanks in advance.
Regards,
MeeraPlease verify you have followed the following steps from the installation guide.
These steps are required for proper functioning of the Business Planning and Consolidation software:
1. Set the /CPMB/ namespace to changeable:
a) Go to transaction SE06 and choose System Change Option.
b) Make sure that the BPC Addon is set to Restricted Modifiability.
c) Set the /CPMB/ namespace to Modifiable.
2. Set the /B28/ namespace to changeable:
a) Go to transaction SE06 and choose System Change Option.
b) Make sure that the BPC Addon is set to Restricted Modifiability.
c) Set the /B28/ namespace to Modifiable.
Thanks and best regards,
[Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
SAP BusinessObjects
Enterprise Performance Management
Regional Implementation Group -
When create new projec "An unexpected severe error has occurred"
I've update to JDeveloper when create new project i get the following error
Sep 11, 2010 8:33:43 AM oracle.jdevimpl.rescat2.hook.DTExtensionLoader loadAdapters()
WARNING: error while registering resource catalog adapter factory [oracle.webcenter.content.internal.model.rc.ContentInitialContextFactory] for connection type [oracle.webcenter.content.internal.model.rc.ContentConnectionType]
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: oracle.webcenter.content.internal.model.rc.ContentConnectionType
Dependent class: oracle.jdevimpl.rescat2.hook.DTExtensionLoader
Loader: ide-global:11.1.1.0.0
Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.jdevimpl.rescat2.jar
Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions
This load was initiated at ide-global:11.1.1.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.Did anyone find out why this is happening?I just installed Jdeveloper and I am facing the same problem
Cheers
Sridhar -
if I try to add a new folder to a sub folder, the program does add the new bookmark folder, but it also renames the next folder in line in the parent of the original "subfolder" to the exact same name...
maybe I just need to reload the mozilla, maybe I was hacked and that is what they changed...
I also have a similar problem with microsoft explorer, every time I try to add a new folder it gives it a starting wierd name besides "New Folder"
I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)Do you have that problem when running in the Firefox SafeMode? <br />
[http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this: <br />
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]
Maybe you are looking for
-
Unexpected quit when trying to import from Sony hard drive camera
Hello, My camcorder, Sony HDD SR-200 is listed on the support page as being able to import into iMovie, but whenever I try to import a substantial amount of footage directly into iMovie (connecting the camera, letting iMovie recognize the camera and
-
Problem in running the query on ODS
Hi All, I have been trying to run the query which consists of only 25 fields and doen't contain much calculations and routines and trying to restrict even 7000 records. That too result in system failure reporting on storage parameters somtimes giving
-
Saved IRs lost when installing a new version of an application
Hello, is there any documented solution for the following problem: The client has saved some IR. Now a new application version is installed via script using the apex_application_install api. The application_id of the exported version and the imported
-
Item in FRF is paid in EUR due to expiring currency
Hi Expert, Our client has got error after F110 run for custome in Production due to which he is unable to generate Payment advice. Please find below Error in F110 after Paymen run done "Item 16039805 in FRF is paid in EUR due to expiring currency". C
-
Loading Local DB failed in frontend
hi, I am using vista. I installed my sql server (i think the error is due to this ,not sure). The error i get is *Sapgui 710 [Build 8991] Wed Jul 23 14:46:14 2008 : 'maximum number of connection handles reached Maximum number of handles reached. No m