Changing query problem
Hi,
When I am trying to change the Query (Global definition) then it's showing an error "A Dependent object is being locked by Transport System. Whereas there is no entry found as Object locked in the list by transaction RS12 or SM12.
Does anybody know how to solve this problem. It's very urgent.
Thanks in advance,
Vivek
Hi Vivek,
check in the transport connection (rsa1) for the BEx Transportrequest. One way of checking which objects are locked is simply recollecting a Transport request for the Query. When you found the object that is locked, then go to se03 and unlock the object.
Or alternatively you could release the Transport as a special transport that is not imported anywhere to unlock all objects in the Bex TRansport request. That depends a bit on how you guys handle BEx Transports in general.
Hope that helps,
Michael
Similar Messages
-
Problems in creation of workbook using Change query local view.
Hi Experts,
I have created a Multiprovider by using union of two infocubes and created a Query based on Multiprovider. I want to restrict one infocube in Change Query local view for creating new workbooks. In Query global view we drag and drop the Infocube under Filters, but in the Query local view Filter panel is in disable mode. (My requirement is to create the workbooks using change query local view only)
How can I restrict the one Infocube values in the workbooks by using Change query local view?
Thanks in advance.
Venkat.Hi Venkat Prasad
As you told that the query is on multi provider and the view is not allowing to declare/define filter value
Just drag the infoprovider info object avilable under packet dimension to rows and right click on it restrict by selecting the name of the info provider when u right click it will show you the option of restrict once u click on it,it will takes to u a pop up where you can able to see the name of info providers and you specify according to it and finally in the display of results if you dont want to to display the info provider name then just right click on the 0infoprovider object under rows go to properties then choose hide option under display.
Hope its clear a little..!
Thanks
K M R
**Assigning points is the only way of saying thanks in SDN***
>
venkata prasad wrote:
> Hi K M R,
>
> Thanks for ur quick response. Most of the Infoobjects are common for both infocubes. I didn't understand this sentense "retrict the value with the infoprovider which values you are trying to view".
> Please explian elaborately how to restrict the values speicfic to infoprovider under rows. -
Changing Query Component's criteria items at runtime
Hi All,
As per my requirement i am changing query component's criteria items on some user input.
So initially there were 9 components on query panel form and after user input it will become 7. I programatically used to set this two component's UI Hint as setVisible(false).
Its working fine but if user input some value in to be removed 2 components it throws an null pointer exception.
I understood the problem which is:-
On query form if user input any value it used to persist. for same framework used to store this user entered value somewhere and after refresh it apply this value to the relevant components.
Since two of the component are missing after refresh. it throws a null pointer exception as it tried to call setValue() method on removed component which is not there.
After refresh the query panel form is rendered as per defined by QueryDescriptor object.
Is there any way we can update this QueryDescriptor object with the changes...????Hi Simran,
Yes, it is possible with the help of store procedure. In SQL Server there is a IF-Else Conditional block, which you can use inside store procedure. Create a SP with 2 additional parameter something like FlagReadAgain and KeyField. Pass the flag always as True or False. For the Key field pass the record key which you want to read again if you are passing the Flag as True else pass it as 0 or whatever.
In the procedure check if the value of flag is True -> If yes, Read the entry with key name specified in where part.
In the else part put the query which you are using for the normal flow.
IF (FlagReadAgain) = TRUE
BEGIN
SELECT EmpName, EmpAddress
FROM Employee
WHERE EmpID = 'E001'
END
ELSE
BEGIN
SELECT EmpName, EmpAddress
FROM Employee
WHERE Status = 'N'
END
You may also use the approach which Srini mentioned. Create an application to restore any value to intial stage so that it can be picked up by XI when it poll again.
Choose any approach which you like.
Regards,
Jitender Chauhan -
Change Query Global Definition Menu
Hi All,
I seem to be having trouble entering the 'change query - global definition' menu. The error message is as follows:
"This component was edited with a more recent version of the Editor.You also have to use the more recent version to Edit Further.Further processing not possible.Update your front End."I am working in BW3.5.
Is this issue related to any configuration problem?Please help me on this.
Thanks in advance,
DrisyaHi
If u migrate the query of the 3.5 version to 7.0 version u ca only do the edition for that query in 7.0 only,u cannot edit that one in 3.5,but only u can open -
Change Query for SnapShot in Outlook Express Addon
Expert,
I am using SAP 8.8 PL15 and using Outlook Add-On.
we are using SnapShot for our report also but we need report in specific format,
can we change query so that report will change and we have our own report format
Thanks
Nilesh ShahHi Nilesh Shah,
You can try under test environment. Then you will know.
Thanks,
Gordon -
Using "Restrict by app" in change query causes issues with Search Results
Hello!
I am hoping some experienced SP admin can help me out. I am having issues with the relevance ranking for my search results web part.
I created a Wiki (OOTB) within a site collection and on the home page of the Wiki I was looking to apply a Search Box and Search Results web part for easy searching. I wanted to ensure the search results were restricted to the scope of the pages within the
wiki. I did the following after adding the 2 web parts:
Entered edit mode for the page
Started to edit the Search Results web part
Under Properties for Search Results clicked on "Change Query"
Navigated to BASICS and clicked "Switch to Quick Mode"
For Select Query, picked "Wiki (System)" option
For Restrict by app, picked "Specify a URL" and input the wiki URL "http://webapp.com/sites/sitecollection/wiki"
Click OK
The web part has 6 automatic results when I hit the page. These are the only 6 pages in my wiki. When I search a word or title of a page, they are not ranked in order or relevance. The ordering is static to what was being shown before the search, but the
keywords I'm searching are bold. With out the taking the steps above, I can easily search these pages and have them ranked appropriately so I'm not too sure what I'm doing wrong.
Other Details
The pages have been crawled and can be searched from anywhere else in SP.
I am only a site collection admin for this specific site collection.
I other than the steps above, I have not made any changes or customization to the search web parts; they are both out of the box SP.
The SP Farm admin we unable to pin point what the root cause is either.Hi Mikael,
Sorry for the wait, I was unable to post pictures, which i felt would better describe my issue.
Could you output the query template you are ending up with?
If you can tell me how to accomplish this, then I can provide it. Please keep in mind that I am only a site collection admin.
Also, is the ranking/sorting for your webpart set to ranking?
When looking at the web part settings, I didn't see an option to modify the ranking. Unfortunately, some sites in my intranet are down now so I can't even double check. Once it's back up, I will verify this as well.
And how do you know they are ranked incorrectly?
I wanted to display an image showing what I meant by this. As the wiki is down, I'll do my best with words. When I visit the wiki home page, I already have the search and search results web parts there. Without searching anything, the search results
web part displays 6 pages that are available in the wiki. When I search, I expect to see the most relevant result at the top. similar to the following:
*Search result from another section of the intranet site.*
What I receive instead is the same list of wiki pages, in the same order. The most relevant result
is not moved to the top like in the image above, but I can see that the word "rush" is highlighted in bold. I hope this helps.
If you need more of a description, please let me know.
Thank you -
Change query dynamically in DB Adapter
Hi,
Please answer these questions.
1. How to change query dynamically in DB Adapter?
2. I have 2 db adapters, if i got error in 1 db adapter then how to rollback?
Regards,
kprHi,
<div class="jive-quote">How to change query dynamically in DB Adapter?</div>
Unfortunately there is no way to pass the query dynamically in DB Adapter. The reasoning behind that is that the DB adapter configuration wizard creates multiple assist files for each operation including the xsd which can not be created for any query dynamically.
<div class="jive-quote">I have 2 db adapters, if i got error in 1 db adapter then how to rollback?</div>
Either use XA datasources or throw a rollback fault in the catch block.
Regards,
Neeraj Sehgal -
Hello APEX people,
I posted my problem here:
Designing LOV Query Problem
What I have is a sequence like this:
CREATE SEQUENCE
DR_SEQ_FIRST_SCHEDULE_GROUP
MINVALUE 1 MAXVALUE 7 INCREMENT BY 1 START WITH 1
CACHE 6 ORDER CYCLE ;
What I need would be a SQL query returning all possible values oft my sequence like:
1
2
3
4
5
6
7
I want to use it as a source for a LOV...
The reason why I use the cycling sequence is: My app uses it to cycle scheduling priorities every month to groups identified by this number (1-7).
In the Admin Form, I want to restrict the assignment in a user friendly way - a LOV.
Thanks
JohannHere ist the solution (posted by michales in the PL/SQL forum):
SQL> CREATE SEQUENCE
dr_seq_first_schedule_group
MINVALUE 1 MAXVALUE 7 INCREMENT BY 1 START WITH 1
CACHE 6 ORDER CYCLE
Sequence created.
SQL> SELECT LEVEL sn
FROM DUAL
CONNECT BY LEVEL <= (SELECT max_value
FROM user_sequences
WHERE sequence_name = 'DR_SEQ_FIRST_SCHEDULE_GROUP')
SN
1
2
3
4
5
6
7
7 rows selected. -
hi all,
i find a situation when i need to change many queries to include a common variable of a characteristic. is it possible to create a program to change query? are there any function modules for this?
thanks.Hi,
You can run or get an URL for query with ABAP Function modules. but for creation, it may not possible.
As this is a different tool.
Regards,
Ravi Kanth -
De-Activating the 'Change Query' option from the Bex Menu
Hi,
I want to deactivate the button 'Change Query' in BEx Excel. I have the restricted the user for not to change the query through PFCG. When the user selects this option, a error message 'You do not auth. for change' is displaying but he can view the query and also the formulas which are written in the query.
I want to avoid the user to see the formula and details in the query.
Can anyone help in deactivating this option from the menu.
Thanks
Ramesh Ganjihi,
check if helps
Bex Analyzer Toolbar in Excel
Disable or remove "Business Explorer" in the menu bar -
SQL+-MULTI TABLE QUERY PROBLEM
HAI ALL,
ANY SUGGESTION PLEASE?
SUB: SQL+-MULTI TABLE QUERY PROBLEM
SQL+ QUERY GIVEN:
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE FROM PATIENTS_MASTER1, HAEMATOLOGY1,
DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM AND PATIENT_NUM = DLC_PATIENT_NUM AND PATIENT_NUM
= &PATIENT_NUM;
RESULT GOT:
&PATIENT_NUM =1
no rows selected
&PATIENT_NUM=2
no rows selected
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
ACTUAL WILL BE:
&PATIENT_NUM=1
PATIENT_NUM 1
PATIENT_NAME BBBB
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 5
HMTLY_RBC_NORMAL 4.6-6.0
&PATIENT_NUM=2
PATIENT_NUM 2
PATIENT_NAME GGGG
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 42
DLC_POLYMORPHS_NORMAL_VALUE 40-65
&PATIENT_NUM=3
PATIENT_NUM 3
PATIENT_NAME KKKK
HMTLY_TEST_NAME HAEMATOLOGY
HMTLY_RBC_VALUE 4
HMTLY_RBC_NORMAL 4.6-6.0
DLC_TEST_NAME DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE 60
DLC_POLYMORPHS_NORMAL_VALUE 40-65
4 TABLES FOR CLINICAL LAB FOR INPUT DATA AND GET REPORT ONLY FOR TESTS MADE FOR PARTICULAR
PATIENT.
TABLE1:PATIENTS_MASTER1
COLUMNS:PATIENT_NUM, PATIENT_NAME,
VALUES:
PATIENT_NUM
1
2
3
4
PATIENT_NAME
BBBB
GGGG
KKKK
PPPP
TABLE2:TESTS_MASTER1
COLUMNS:TEST_NUM, TEST_NAME
VALUES:
TEST_NUM
1
2
TEST_NAME
HAEMATOLOGY
DIFFERENTIAL LEUCOCYTE COUNT
TABLE3:HAEMATOLOGY1
COLUMNS:
HMTLY_NUM,HMTLY_PATIENT_NUM,HMTLY_TEST_NAME,HMTLY_RBC_VALUE,HMTLY_RBC_NORMAL_VALUE
VALUES:
HMTLY_NUM
1
2
HMTLY_PATIENT_NUM
1
3
MTLY_TEST_NAME
HAEMATOLOGY
HAEMATOLOGY
HMTLY_RBC_VALUE
5
4
HMTLY_RBC_NORMAL_VALUE
4.6-6.0
4.6-6.0
TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
COLUMNS:DLC_NUM,DLC_PATIENT_NUM,DLC_TEST_NAME,DLC_POLYMORPHS_VALUE,DLC_POLYMORPHS_
NORMAL_VALUE,
VALUES:
DLC_NUM
1
2
DLC_PATIENT_NUM
2
3
DLC_TEST_NAME
DIFFERENTIAL LEUCOCYTE COUNT
DIFFERENTIAL LEUCOCYTE COUNT
DLC_POLYMORPHS_VALUE
42
60
DLC_POLYMORPHS_NORMAL_VALUE
40-65
40-65
THANKS
RCS
E-MAIL:[email protected]
--------I think you want an OUTER JOIN
SELECT PATIENT_NUM, PATIENT_NAME, HMTLY_TEST_NAME, HMTLY_RBC_VALUE,
HMTLY_RBC_NORMAL_VALUE, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE,
DLC_POLYMORPHS_NORMAL_VALUE
FROM PATIENTS_MASTER1, HAEMATOLOGY1, DIFFERENTIAL_LEUCOCYTE_COUNT1
WHERE PATIENT_NUM = HMTLY_PATIENT_NUM (+)
AND PATIENT_NUM = DLC_PATIENT_NUM (+)
AND PATIENT_NUM = &PATIENT_NUM;Edited by: shoblock on Nov 5, 2008 12:17 PM
outer join marks became stupid emoticons or something. attempting to fix -
Hello,
Trousseau session asks the password many times in a day.
What to do to change this problem? Mfrance
iMac, Mac OS X (10.7.3)...I wonder how your question solved their question.
-
Changed query, hopw to surpress msg in workbook?
hi,
changed a query(info objects few removed and few added), so after attaching the changes query to workbook...
after refreshing evrytime it is showing a msg box with title
"bex application msgs for query"
and warings like "waring query changed, characterstic _xyz-" no longer exist" is coming.
is there any method to surpass this msg box?/
what to do not to get this?Hi,
If you are getting the Warnign messages after refreshing the Query , then go to that particular work book,Menu>Bex Analyzer>Supress Warning messages.
Save the work book.
It will avoid the Warning messages that were displayed by the Query.
Assign points if it helps............ -
My iPhone 5 says unable to connect to network. I have tried all the trouble shooting...resetting phone, router... No change. Problem occurs everywhere not just at home. Any suggestions?
AmishCake wrote:
Have you tried restoring your softwareyes
yes I have -
can developer change query from one package to other, or only basis guy....will do that?
In the development system, a developer normally has authorizations to do that.
Mathew.
Maybe you are looking for
-
Two Apple Displays and Mac Pro - How To Set Up?
Hello! My boyfriend surprised me yesterday with a second 23" Apple HD Display! Fed Ex delivered it and I had no idea it was coming! Before I take the plunge I need to know how to set it up so it works as with my current Mac Pro and 23" display so tha
-
My ipod was stolen. Can i find with the GPS? If not is there any other way?
My ipod touch was stolen out of my locker. I have all things to prove its my ipod touch. (original box & serial number) I was hoping that it could be tracked by the GPS or some other method. I hope so because I do not have money to buy another one
-
Can't boot from windows 7 usb installation media
When trying to boot from windows 7 usb installation media no efi boot option availiable. Using "boot from efi file" option whith each and every .efi file on installation media results in a message saying "The selected boot device failed. Press <Enter
-
HT204387 ow to pair ipad with iphone?
How do I pair my ipad with my iphone?
-
ABAP Webdynpro - Populating second table based on data selected on first
Hi Experts, I am new to ABAP Webdynpro. I have a requirement to show a search area, one table for header info, and second table for populating item level information. I was successful building a search area and populating first table when the 'Se