Workbook is not Executing in a Role
Hello Experts,
I have created a Workbook in BW3.5 version. My security team were able to assign the workbook to this particular Role called "Sales" in the Dev system. But when I try to execute the workbook, I am getting the following error "The Workbook does not exist in the Document Store". Please advice me to what needs to be done to solve this issue.
Thanks.
Hi Nimish,
Youcan no longer display a workbook. You receive an error message when opening: <Internal error>: 1201 document storage
Cause and prerequisites
In very rare cases, when you store a workbook, you might not be able to open it again.
Solution
Function module BDS_PHIOS_GET_RIGHT has to be changed so that the last available version of the Workbooks can be displayed.
Regards,
Srikanth
Similar Messages
-
Interactive reports do not execute with Z business role
Hi all,
We have created interactive reports which are working fine and displaying results with a standard business role. However, the report does not even execute when we use a custom business role - no blank screen no error, but the report does not execute at all.
What could be missing ? Need your inputs please.
Regards.Compare the profile value for the function profile id REPORTING_PROF in Z business role with your std business role. To check this go to define business roles> select your ZBusiness role>double click on Assign function profiles.
Hope this helps!
Regards,
Kumar -
CUP 5.3 sp7.1 - 049:Role assignment to user not executed completely
Hello Experts,
Message received in audit information:
049:Role assignment to user not executed completely
Can anyone help me with why I am receiving this message?
=[],id=6129,reqNo=201000139,actionDate=Tue Oct 19 10:40:27 EDT 2010,action=ROLE_PROVISIONING_FAILED,userId=U03776,path=,stage=,actionValue=PR4-300,description=049:Role assignment to user U10025 not executedHi,
Check that the connector that you have created is working fine and also the user ID that you are using in the backend system is within the valditiy date and all the required authorizations.
Use remote login and ensure that the user can login with out any issues and has all the required authorizations.
Rgds,
Raghu -
Open Specific WorkBook.v​i: subVI is not executable error
Hi,
I'm trying to programaticaly change some cells of a specific worksheet and then saving it on a new file.
But I can't run the VI because I get the error Open Specific WorkBook.vi: subVI is not executable.
I've atteched a printscreen of my VI.
Any hints?
Daniel Coelho
Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
Solved!
Go to Solution.
Attachments:
VI.JPG 16 KBThis is the Open Specific WorkBook.vi with the error.
Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
Attachments:
VI2.JPG 140 KB -
Hi, I am trying to generate an excel report, and I figured it would be easier to use the MS Office report VI, but I am getting the broken arrow saying the SubVI is not executable and that the library that defines the xnode is broken... here is a screensot attached, I already uninstall and reinstall the report generation toolkit and still the same... this is what I found on NI: "This error occurs when the library that defines the XNode you used is broken. To correct this error, reconfigure the XNode." but no idea how to reconfigure xnode
Attachments:
Error.png 67 KBWhat version of LabVIEW are you using?
What is the nature of your Report? What should it look like? What kind of data should it contain?
Can you show us some code that you've tried to use? If so, include the code as either a Snippet or as a VI attachment (so we can plug it into our own LabVIEW installations and experiment with it).
I generally find that the Report Generation Toolkit is a very easy way to generate Excel Workbooks. I work primarily with LabVIEW 2012 and LabVIEW 2014.
Bob Schor -
SSIS Script task not executing macro through SQL Agent (but it does through bids)
<p>Hello everyone,</p><p>I am having an issue with SQL Agent when executing a macro contained in a script task component. The script task actually opens an excel file, runs the macro, save and closes the file. </p><p>When
I execute the package via BIDS/Visual studio, it works like a charm. However, when i execute the package with SQL agent, the package runs successfully but it seems that the macro is not executed as the excel file has not been modified as it should have. Also,
the history log does not show any error messages. </p><p>Could </p>Thanks!I did create a credential and a proxy too but still the macro is not executed.I have searched online for solutions but no one has experimented this kind of issue before it seems. Please have a look at the script task code:
Imports
Excel = Microsoft.Office.Interop.Excel
Imports
System
Imports
System.Data
Imports
System.Math
Imports
Microsoft.SqlServer.Dts.Runtime
<System.AddIn.AddIn(
"ScriptMain", Version:="1.0",
Publisher:="", Description:="")>
<System.CLSCompliantAttribute(
False)> _
Partial
Public
Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
End
Enum
Public
Sub Main()
Dim Macro_name
As
String
Dim ExcelObject
As
New Microsoft.Office.Interop.Excel.Application
Dim oBook
As Microsoft.Office.Interop.Excel.Workbook
Dim oBooks
As Microsoft.Office.Interop.Excel.Workbooks
Try
Macro_name =
"Macro001"
ExcelObject =
CType(CreateObject("Excel.Application"),
Excel.Application)
ExcelObject.Visible =
True
ExcelObject.UserControl =
False
ExcelObject.DisplayAlerts =
False
oBooks = ExcelObject.Workbooks
oBook =
CType(oBooks.Open("C\Book1.xls"),
Excel.WorkbookClass)
ExcelObject.Run(Macro_name)
Catch ex
As Exception
ExcelObject.Application.Quit()
ExcelObject.DisplayAlerts =
True
ExcelObject =
Nothing
End
Try
Dts.TaskResult = ScriptResults.Success
End
Sub
End
Class -
Workbook does not contain any input-ready variables
Hello Experts,
We have one workbook which is not reacting when click on REFRESH or SHOW VARIABLE.
If clicked on VARIABLE screen it is throwing error "The workbook does not contain any input-ready variables" (screenshot attached)
Points I have checked are as below
1. If I create a new workbook by executing the respective query and refresh then it is working.
2. The file is in xls format and I have checked the USE XLS format under Global setting.
3. My Excel version is 2010. SAP version is SAPKW70105. BEx 7.X, support package 8.
4. It is not authorization issue otherwise the issue would have happened for the new workbook I created for testing.
5. Also I tested with user ID with SAP ALL access.
is there any way to repair the workbook so that it respond to Variable and refresh options ?
Thanks,
Gopi RWork book might be corrupted : As other said need to create / Recover Old work book
Refer Below Doc process For recovering a corrupted workbook :
How to recover a corrupt workbook. -
Workbook does not exist in document store
Hi All,
I have transported a workbook by selecting Role with "only necessry objects" then selected only my workbook, that transport was successful.
My Role has different folders, this workbook is part of one of the folder.when this transport went through it messed up other workbooks in that folder. when i try to run other workbooks in that folder it says " workbook does not exist in document store"
Can anybody explain me why is it sayin so, do i need to select all workbooks in that folder when i transport??
Thanks in advance.
Robyn.Hi Robyn.
Sounds VERY like the issue we have to manage carefully, where an old transport has gone through, and undone the impact of a later transport - could that be the problem? If so, I will explain how we have set up a process to enable us to manage it, cos there are times when we have had up to 6 different workbooks going through in parallel, each with a role transport, and ensuring that the older ones dont undo the effect of the newer ones was nearly impossible!
Patrick -
Warning 'Calculating result as....' was not executed
Hi all,
At the time of executing a report, after giving the inputs for variables I am getting an warning messager: Warning 'Calculating result as....' was not executed'.
Kindly advise.
Thank you,
PraveenHi
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9794b990-0201-0010-2cb4-962bff1f0d19
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ceb827-e6c1-2b10-4b94-de298fccade3
http://help.sap.com/saphelp_nw04/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
www.scribd.com/doc/6412427/How-Tobuild-BEx-Analyzer-Workbooks-for-Planning-With-Excel-Design-Objects -
ERROR: "You are not assigned to a role" in BEx
Hi,
I have a user <i>BEXUSER</i>. In <b>PFCG</b>, I have assigned this user to a role <i>ZR_USER_ROLE</i>.
However, when I tried to open a query in BEx Anlyzer through <b>Open > Workbooks > Roles</b> toolbar, I could not find any workbooks assigned to this user.
Next, I tried to open a query using <b>Open > Queries</b> toolbar, I chose a query and tried to click <b>Enter in Role</b> icon. However, I am prompted with a message saying <b>"You are not assigned to a role".</b>
How is this possible when I have already assigned this user to a role. I have checked <b>PFCG</b> and confirmed that the particular role contains this user. Can someone explain about this?
ThanksI am getting this exact same error, and the values that I have set in my query developer's job role are the following :
S_USER_AGR
ACTIVITY = 01, 02, 06, 22
ROLE NAME = {list of roles that the user should be able to save queries to}
S_USER_TCD
TRANSACTION CODE = RRMX
The user still receives the "you are not assigned to a role" error message when pressing the "save to role" button for a workbook.
In the ST01 authorizations trace, I see that the user is FAILING the authorization check for S_USER_AGR, but is failing the check for role names that he / she not supposed to modify.
So those failures are good, but they seem to prevent from saving the workbook to any role ...
How can it be setup so that the user can save workbooks to roles that were inteded to be saved to, without getting the "your are not assigned to a role" error when trying ? -
Scenario File to RFC (BAPI): BAPI not executed successful
Hi Dear Friends!
At execution of asynchronous Scenario File to RFC (BAPI BAPI_ACC_DOCUMENT_POST)
I have the following error in RWB Communication Channel (RFC receiver):
- Error: 2007-07-25 11:08:25 EEST: Message processed for interface BAPI_ACC_DOCUMENT_POST:
com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message
to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException:
BAPI not executed successful
Simultaniously <b>Test Configuration</b> was executed successfully. And mapping is good.
But I don't any message in <b>target system</b> in <b>sxmb_moni</b> (formed by BAPI).
In <b>XI system</b> I see in <b>sxmb_moni</b>:
<Trace level="1" type="T">--start sender interface action determination</Trace>
<Trace level="1" type="T">select interface mi_sender*</Trace>
<Trace level="1" type="T">select interface namespace urn:file:to:bapi</Trace>
<Trace level="1" type="T">no interface found</Trace>
<Trace level="1" type="T">--start receiver interface action determination</Trace>
<Trace level="1" type="T">Loop 0000000001</Trace>
<Trace level="1" type="T">select interface *</Trace>
<Trace level="1" type="T">select interface namespace</Trace>
<Trace level="1" type="T">no interface found</Trace>
<Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
Please help me understand my error.
With the best regards,
Natalia MaslovaHi, Dear Friends! Thanks for support!
My settings of
Connection between systems:
DX7 01 (client 001) - XI Integration Server and DE2 13 (client 200) - target system.
Phisically both systems are in one server: 10.20.30.24 (srv24)
Business system DE2_200 has Communication Channel: cc_bapi_r, its settings (in Integration Builder Configuration):
Adapter Type: RFC
Receiver
Transport Protocol: RFC
Message Protocol: RFC (RFC XML)
Adapter Engine: Integration Server
RFC Client Parameter:
RFC Server Type: SAP System
Application Server: 10.20.30.24
System Number: 13
Authentication Mode: Use Logon Data for SAP System
Logon User: n_maslova
Logon Password: *******=*******
Logon Language: EN
Logon Client: 200
Maximum Connections: 1
x Advanced Mode
x Send 'Confirm Transaction'
x Commit Handling for Single BAPI Calls
x BAPI Advances Mode
Successful RETURN-TYPE Values: 0
As I understand these settings are the settings of RFC-destination for target system DE2 13 (200) from XI (DX7 01 001).
In SLD, Business system DE2_200 is defined as:
Integration:
Role: Application System
Related Integration Server: DX7_001
Technical System: DE2 on srv24
Client: 200 of DE2
Logical System Name: DE1CLNT200
In target system DE2 13 (200) with the help of transaction sm59 I created
RFC-destination DX7_001 of type H:
Technical setting parameters:
Target Host: 10.20.30.24
Prefix Path: /sap/xi/engine/?type=entry
Service Number: 8001
Registration and Safe:
SSL: Non active.
SSL: client certificate: DFAULT SSL-client
Enter to system:
Language: EN
Client: 001
User: PIAPPLUSER
Status PW: saved
Password: ********
After that in this system DE2 13 (200) with the help of transaction sxmb_adm I set in Integration Engine -> Configuration -> Configurate Integration Engine
(Change Global Configuration Data):
Role of Business System: Application System
Related Integr. Server: dest://DX7_001
Best regards,
Natalia -
Hello Experts,
I am facing stage issue with PI Server,when i am executing scenario it showing black/white flag in MONI,my mapping part/development perfect.
but its not giving target pay load.Pipeline steps also not executing.
its new PI 7.1 server,do i need to configure any settings??
any help highly appreciated.
Regards,
JamesIn the border level please use below steps to check if you Integration Engine Configuration is as per requirements
Logon to PI
Use transaction SXMB_ADM
Choose Integration Engine Configuration
Ensure Role of Business System set to 'Integration Server'
Ensure Corresponding Integ. Server set to http://<hostname:<http port>/sap/xi/engine?type=entry
Then, click on 'Configuration' (pencil icon) button
Ensure RUNTIME (Category); IS_URL (Parameter) has currently value set to http://<hostname:<http port>/sap/xi/engine?type=entry
Please check if your INTEGRATION_DIRECTORY_HMI rfc working fine.
Regards
Sekhar -
SQLGrammarException: could not execute query
Hello,
I created a table with the script belove in a Derby database and created Entity Class for that.
create table "BAHADIR"."User"
"id" NUMERIC(5) not null primary key,
"name" VARCHAR(25),
"email" VARCHAR(100),
"password" VARCHAR(25),
"role" VARCHAR(25)
)In my controller class there's a method like that:
public int getItemCount() {
EntityManager em = getEntityManager();
try{
int count = ((Long) em.createQuery("select count(o) from User as o").getSingleResult()).intValue();
return count;
} finally {
em.close();
}When this method is called I get that exception stack:
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
root cause
javax.el.ELException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
root cause
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
root cause
org.hibernate.exception.SQLGrammarException: could not execute query
root cause
java.sql.SQLSyntaxErrorException: Syntax error: Encountered "User" at line 1, column 42.
root cause
org.apache.derby.client.am.SqlException: Syntax error: Encountered "User" at line 1, column 42.
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
Sun Java System Application Server 9.1
What does these mean? The IDE created the access method automatically, so it can not be wrong. So where's the error?
Thanks.By fixing the HQL query that results in the query that is wrong. So step 1: trace down which HQL query is causing the misery. Step 2: turn on SQL logging to see which sql is generated for that HQL query. Step 3: figure out what is wrong. I can guess that there is something wrong with the annotations on an entity, like declaring something as nullable while it is in fact not according to the database schema. Another common culprit is using a name that is a reserved SQL keyword.
EDIT:
'from limit And the keyword name clash is the cause here. Limit is an SQL keyword in MySQL, so you can't use that as a table name. -
Workflow task showing in sap inbox but not executable by some users
Hello Experts,
We have a workflow task that correctly show in the user inbox but is not executable by some users, we have two users with the same roles, and one is unable to execute the task when it is workflowed into his/her inbox. we have checked if this is an authorization issue and found nothing.
We debugged through program SAPLRHW1 under include LRHW1F02 subroutine READ_ORG_BUFFER, it imports TASK_INFO_BUFFER from the shared memory(see code below) and come back with a number of tasks that the system user can execute. We have task TS&&&&&&&& as a general task but some of the users cannot execute it.
Please advise of what could be the cause of this and the possible solution.
using shared memory
IMPORT CREATION_DATE
CREATION_TIME
ORG_INFO_BUFFER
TASK_INFO_BUFFER
FROM SHARED BUFFER INDX(RH) ID ACT_KEY.
regards,
Thabiso
Edited by: Kamanga Thabiso on Dec 15, 2011 5:33 PMHi All,
I had experienced this type of problem as well, just to share it could be that the Identity of the Portal user misses a role which can be solved by any user assigning the identity in their identity management or it could also be the connection status of the UWL to the backend, there should be at least two connection statuses for workflow items to get into the UWL I could not recall it but I would post it here once I have the access to our system again.
Cheers, -
Af:commandMenuItem action and actionListener are not executing
Hello all!
I use JDeveloper Studio Edition Version 11.1.1.2.0. Here's the problem. I have a popup menu like this
<af:popup id="someMenu" animate="default">
<af:menu id="pt_m1">
<af:forEach var="item" items="#{ContextMenuHelperBean.availableUserRoles}">
<af:commandMenuItem text="#{item.roleName}"
action="#{ContextMenuHelperBean.changeUserRole_Action}"
actionListener="#{ContextMenuHelperBean.changeUserRole_ActionListener}"
immediate="true"
partialSubmit="false"
id="pt_cmi1" rendered="true">
<f:attribute name="userRole" value="#{item}"/>
</af:commandMenuItem>
</af:forEach>
</af:menu>
</af:popup>
The problem is that action and actionListener are not executing, when the menu item is selected (but the page is reloaded with no changes). ContextMenuHelperBean has a "session" scope set in adfc-config.xml. What can be wrong with this?Now I've encountered a new kind of error. I create a menu in a managed bean like this:
In JSPX
<f:view beforePhase="#{RolesMenuSupportBean.createMenus}">
<af:popup id="cxtMenu" animate="default">
<af:menu id="pt_m1"
binding="#{RolesMenuSupportBean.rolesMenu}">
</af:menu>
</af:popup>In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
public void createMenus(PhaseEvent phaseEvent) {
List<IUserRole> rolesList = getAvailableUserRoles();
for (IUserRole role: rolesList) {
Boolean hasItem = false;
for (Iterator iter = rolesMenu.getChildren().iterator(); iter.hasNext(); ) {
RichCommandMenuItem item = (RichCommandMenuItem) iter.next();
if (!hasItem)
hasItem = item.getText().equalsIgnoreCase(role.getRoleName());
if (!hasItem) {
RichCommandMenuItem newItem = new RichCommandMenuItem();
newItem.getAttributes().put("userRole", role);
newItem.setText(role.getRoleName());
newItem.setId(ITEM_ID);
newItem.setActionExpression(getActionExpression("#{RolesMenuSupportBean.changeUserRole_Action}"));
newItem.addActionListener(getExpressionActionListener("#{RolesMenuSupportBean.changeUserRole_ActionListener}"));
rolesMenu.getChildren().add(newItem);
} The menu is created successfully, but when I click on any item, I get an exception
<b>javax.servlet.ServletException: Method not found: com.cs.webb2.view.utils.menu.RolesMenuSupport@d4702.changeUserRole_Action(void)</b>
But of course I have such a method in my com.cs.webb2.view.utils.menu.RolesMenuSupport:
In com\cs\webb2\view\utils\menu\RolesMenuSupport.java
public String changeUserRole_Action()
System.out.println("Action!");
// no code yet
return "adfMenu_Main";
}And there <b>is</b> a managed bean named RolesMenuSupportBean, which is associated with class com.cs.webb2.view.utils.menu.RolesMenuSupport.
Can anyone tell me, what can be wrong?
Maybe you are looking for
-
How to create a specific calculation
Hi all I would like to create a calculation using the sales amount as measure and the geography as dimension The hierarchy of the geography is: ALL -Region --Country ---Store And the calculation I want is: Sales of a Country/ SUM(sales of its Region)
-
HT1349 How do I get rid of duplicates in my library?
How do I get rid of duplicates in my itunes library?
-
I can't figure out why my mac no longer asks me if i want to save my passwords or usernames.
For some reason or another my mac isn't remembering or asking for usernames and passwords.My autofill is turned on.Have tried a couple things using Safari help,but still isn't working.Do some websites just not allow it?
-
Pluggable mapping in ODI?
Hi guys! I was wondering if ODI has a similar functionality to OWB pluggable mapping? If yes please tell me how ;) With regards, PsmakR
-
My i pod not showing up in devices list,
My I pod isnt listed on i tunes under devices on my windows pc