BEx: How to change a Query Variable that is not visible in Filters List?
Hello Experts,
Good day, I'm currently editing an old query, I am changing the Query Variables with new ones, but I found one variable that I cannot replace.
Please see the screenshot below, in the Query Properties Window [Variable Sequence Tab (right side of picture)] the Variable that I am trying to replace (Unit) is visible. But when I look for the variable in the "Filter Tab" (left side of picture) under Characteristic Restrictions, it doesn't exist in the list.
How can I find this Variable and replace it with a new one?
Other reports are still using this variable so it will impact the other reports if I simply edit the variable. So I need to replace it with a new variable instead.
Thank you for your time.
Hi,
SInce you are searching for a variable for Unit, look into below screenshot and navigate to the variables.
First click on drop down and select 'Entry for variable' then you will get lisl (after you click on drop down in 'Target Unit' drop down option.
Normally these type of variable called 'Formula Variable' try editing any of the formula and locate the option as shown below,
Hope it helps! don't forget to update the final solution and mark the correct/helpful answers.
Remember it will help others to find the solution and motivate the members to answer your question.
Thanks,
Umashankar
Similar Messages
-
How can I delete flagged emails that are not visible in my account boxes?
Currently I show 43 flagged emails but not in any of my accounts is there a flag. I am not sure if I deleted them early in learning to use my iphone 4s or what. Certainly I had flagged email messages in the past. Any suggestions? I have tired going into my various email accounts on the iphone and checking all of the deleted emails for each account. I only found seven flagged messages.
Much appreciation for any suggestions.
Thanks!Hey OldCT!
I have a link here for you that may help you find your flagged messages a little more easily:
See important messages - iPhone
http://help.apple.com/iphone/7/#/iph3caefa61
Flag a message so you can find it later. Tap while reading the message. You can change the appearance of the flagged message indicator in Settings > Mail, Contacts, Calendars > Flag Style. To see the Flagged mailbox, tap Edit while viewing the Mailboxes list, then tap Flagged.
Thanks for being a part of the Apple Support Communities!
Cheers,
Braden -
How can I delete suggested contacts that are not in my contact list?
I inadvertently sent an email "reply all.". Now all 50 people show up when I get suggested recipients. How can I delete them?
Unfortunately, there is no way to delete those contacts in the current iOS - at least as far as I know. You just have to ignore them and eventually they will at least go to the bottom of the suggestion list that pops up in mail.
-
I have purchased a few audio books on iTunes and in the process of upgrading the audio is no longer on my iCloud account. How do I get these books back? The books are in my purchase history. But iTunes would make me pay for them again if I get it from there.
Audiobooks are currently a one-time only download, so they won't appear in the cloud for re-downloading. Have you not got a copy of them on your computer and/or on a backup ? If not then you can try contacting Apple, but they are under no obligation to let you re-download them : http://www.apple.com/uk/support/itunes/contact/
-
BEx "Can be changed in query navigation"
Hi all,
I am using BEX setting for variable "Can be changed in query navigation".
Unfortunately it is not working.
The variable has following setting:
Type of Variable: Hierarchy Node
Processing by: Authorization
It is Ready for Input + Can be changed in query navigation.
Problem is when user filters some value in hierarchy and after that calls variable screen again and runs the report again, the selected hierarchy filter disappear and report display whole hierarchy.
Is it allowed to use Authorization variable with this "can be changed in query navigation" setting?
Any idea what could be wrong?
Thanks a lot.
Best regards,
PetrTry the following...
Right-click on the InfoObject in the InfoProvider and choose "Provider-Specific Properties". In this menu, change the Display setting to "7 Short Text".
Hope this helps...
Bob -
How to change the query ?
Gurus,
Please clarify this
Select ils.item,(nvl(sum(decode(tdh.loc_type,'S',decode(tdh.tran_code, 1,tdh.units,0),
'W',decode(tdh.tran_code,30,0,31,0,32, tdh.units,33, tdh.units,37,0,38, tdh.units,20,0,1,0))),0))"result"
from tran_data_history tdh, item_loc_soh ils
where tdh.item = ils.item
and ils.item in('100002513','100002484')
and trunc(tdh.TRAN_DATE)
between (*select first_date from (select item,min(trunc(first_received)) first_date From Item_loc_soh*
where item in('100002513','100002484') and first_received is not null
group by item ))
and trunc(sysdate)
group by ils.item
Problem with this query is, the block mentioned in BOLD is returning two rows, and I am writing between and clause .. since the query in bold is returning more than one row, it is throwing error stating that single query returns more than one row .. Requirement is, whatever date which is returned with value 100002513 should be compared with sysdate, and other value 100002484 should be compared with sysdate .. Irrespective of number of items (whether 1 or more than 1) should simultaneously be compared with sysdate
How to change my query
RegardsInner query
Select First_Date From (Select Item, Min(Trunc(First_Received)) First_Date
From Item_Loc_Soh *
Where Item In ('100002513', '100002484')
And First_Received Is Not Null
Group By Item)
this will return 2 rows for each of the item id 2513 and 2484 because you write query for this 2 rows
and select min date
which means
item id 2513 min date
item id 2482 min date
if you want to compare just a date to sysdate then do it directly,
Select Ils.Item,
(Nvl(Sum(Decode(Tdh.Loc_Type,
'S',
Decode(Tdh.Tran_Code, 1, Tdh.Units, 0),
'W',
Decode(Tdh.Tran_Code,
30,
0,
31,
0,
32,
Tdh.Units,
33,
Tdh.Units,
37,
0,
38,
Tdh.Units,
20,
0,
1,
0))),
0)) "result"
From Tran_Data_History Tdh, Item_Loc_Soh Ils
Where Tdh.Item = Ils.Item
And Ils.Item In ('100002513', '100002484')
And Trunc(First_Received) = Sysdate;
however i dont understand importance of Tdh.Tran_Date and which date you exactly want to compare
hope this helps,
if not plz clarify more on the questionsEdited by: Nicloei W on Sep 24, 2008 11:51 PM -
How can i reuse same variables that i create using c:set var="index" /
hi all,
please some one helpme!!!!!!
how can i reuse same variable that i create using
<c:set var="index" value="${0}"/>
cause later in the program i use index to do some condition and based on that i increment ...
so for example if i say...
<c:if test="${index==0}">
<c:set var="index" value="${index+1}"/>
</c:if>
will it be like
if(index==0)
index++;
can i do like i did be4. if not what do i need to do to reuse. cause i use the variable atleast 5 time and its keep changing on diff condition level.Have you tried it?
It should work, provided you are on the same page.
The c:set tag creates the variable in pageScope by default.
If you forward to another JSP you need to set the scope to be "request" so that it is still available. -
HOW TO CHANGE SQL QUERY TO GET SPECIFIC RESULT
I HAVE FOLLOWING QUERY AND ITS FUNCTIONING BUT I WANT ALL THOSE RECORD SHOULD BE DISPLADE WICH HAVE NO TRANSACTION IN SALES ANS SALES RETURN WHILE RETREVING DATA FROM DATABASE.
I TRIED TO USE + OPERATOR BUT I DON'T KNOW HOW TO CHANGE THE QUERY TO GET THE RESULT
MAIN TABLE IS BEING USED TO FETCH RECORD
SALES_HEADER,SALES_DETAIL
SALES_HEADERR,SALES_DETAILR
STOCK_REG
AND THE QUERY IS
select s.item_code,S.DESCR,s.GRAND_TOTAL,
sum(decode(d.dayno,01,NVL(S.QTY,0),0)) DAY1,
sum(decode(d.dayno,02,NVL(S.QTY,0),0)) DAY2,
sum(decode(d.dayno,03,NVL(S.QTY,0),0)) DAY3,
sum(decode(d.dayno,04,NVL(S.QTY,0),0)) DAY4,
sum(decode(d.dayno,05,NVL(S.QTY,0),0)) DAY5,
sum(decode(d.dayno,06,NVL(S.QTY,0),0)) DAY6,
sum(decode(d.dayno,07,NVL(S.QTY,0),0)) DAY7,
sum(decode(d.dayno,08,NVL(S.QTY,0),0)) DAY8,
sum(decode(d.dayno,09,NVL(S.QTY,0),0)) DAY9,
sum(decode(d.dayno,10,NVL(S.QTY,0),0)) DAY10,
sum(decode(d.dayno,11,NVL(S.QTY,0),0)) DAY11,
sum(decode(d.dayno,12,NVL(S.QTY,0),0)) DAY12,
sum(decode(d.dayno,13,NVL(S.QTY,0),0)) DAY13,
sum(decode(d.dayno,14,NVL(S.QTY,0),0)) DAY14,
sum(decode(d.dayno,15,NVL(S.QTY,0),0)) DAY15,
sum(decode(d.dayno,16,NVL(S.QTY,0),0)) DAY16,
sum(decode(d.dayno,17,NVL(S.QTY,0),0)) DAY17,
sum(decode(d.dayno,18,NVL(S.QTY,0),0)) DAY18,
sum(decode(d.dayno,19,NVL(S.QTY,0),0)) DAY19,
sum(decode(d.dayno,20,NVL(S.QTY,0),0)) DAY20,
sum(decode(d.dayno,21,NVL(S.QTY,0),0)) DAY21,
sum(decode(d.dayno,22,NVL(S.QTY,0),0)) DAY22,
sum(decode(d.dayno,23,NVL(S.QTY,0),0)) DAY23,
sum(decode(d.dayno,24,NVL(S.QTY,0),0)) DAY24,
sum(decode(d.dayno,25,NVL(S.QTY,0),0)) DAY25,
sum(decode(d.dayno,26,NVL(S.QTY,0),0)) DAY26,
sum(decode(d.dayno,27,NVL(S.QTY,0),0)) DAY27,
sum(decode(d.dayno,28,NVL(S.QTY,0),0)) DAY28,
sum(decode(d.dayno,29,NVL(S.QTY,0),0)) DAY29,
sum(decode(d.dayno,30,NVL(S.QTY,0),0)) DAY30,
sum(decode(d.dayno,31,NVL(S.QTY,0),0)) DAY31,
sum(S.qty) TU
FROM
(select nvl(sales_detail.qty+sales_detail.bonus,0) as qty,
sales_detail.item_code AS ITEM_CODE,
stock_reg.descr AS descr,
s_date as sale_date,stock_reg.GRAND_TOTAL AS GRAND_TOTAL FROM
SALES_DETAIL,SALES_HEADER,STOCK_REG
WHERE SALES_DETAIL.S_ID = SALES_HEADER.S_ID AND
SALES_DETAIL.ITEM_CODE = STOCK_REG.ITEM_CODE(+) AND
STOCK_REG.COMCODE='C1'
UNION all
select -1*nvl(sales_detailR.qty+sales_detailR.bonus,0) as qty,
sales_detailR.item_code AS ITEM_CODE,
stock_reg.descr AS descr,
RETURN_date as sale_date,stock_reg.GRAND_TOTAL AS GRAND_TOTAL FROM
SALES_DETAILR,SALES_HEADERR,STOCK_REG
WHERE SALES_DETAILR.SR_ID = SALES_HEADERR.SR_ID AND
SALES_DETAILR.ITEM_CODE = STOCK_REG.ITEM_CODE(+) AND
STOCK_REG.COMCODE='C1') S,
(select level as dayno
from dual
connect by level <= 31) d
where d.dayno = to_char(s.sALE_date, 'DD') AND TO_DATE(S.SALE_DATE) BETWEEN '&FROMDATE' AND '&TODATE'
GROUP BY S.ITEM_CODE,S.DESCR,S.GRAND_TOTALwell my query running successfully just the quesion was that i wanted to bring some changes in the query to retrieve the complete record which has no transaction in sales
for exmple
if i write the quey
select dept.deptno,sum(sal) from emp,dept
where dept.deptno = emp.deptno
group by dept.deptno
the recult comes as
DEPTNO SUM(SAL)
10 8750
20 10875
30 9400
though there is another deptno which is deptno no 40
have no sal
and when i use this query
select dept.deptno,sum(sal) from emp,dept
where dept.deptno = emp.deptno(+)
group by dept.deptno
it shows the dept no 40 also
DEPTNO SUM(SAL)
10 8750
20 10875
30 9400
40
so to get this i posted query which was to long to understand easily.
i accept that i sholud post short query to make other understand
so check out this
select STOCK_rEG.item_code AS ITEM_CODE,SUM(qty) as qty
FROM
SALES_DETAILR,SALES_HEADERR,STOCK_REG
WHERE SALES_DETAILR.SR_ID = SALES_HEADERR.SR_ID AND
SALES_DETAILR.STOCKCODE = STOCK_REG.STOCKCODE
AND RETURN_DATE = '01-APR-08'
GROUP BY STOCK_rEG.item_code
ORDER BY TO_NUMBER(ITEM_CODE) ASC
when i execute this query i get the following result
ITEM_CODE QTY
84 2
102 3
108 3
116 6
166 3
170 3
thoug there is other items are aalso available in stock which transaction
yet not been done or not been sold out/
so when i use the outer join i get the same result
select STOCK_rEG.item_code AS ITEM_CODE,SUM(qty) as qty
FROM
SALES_DETAILR,SALES_HEADERR,STOCK_REG
WHERE SALES_DETAILR.SR_ID = SALES_HEADERR.SR_ID AND
SALES_DETAILR.STOCKCODE(+) = STOCK_REG.STOCKCODE
AND RETURN_DATE = '01-APR-08'
GROUP BY STOCK_rEG.item_code
ORDER BY TO_NUMBER(ITEM_CODE) ASC
ITEM_CODE QTY
84 2
102 3
108 3
116 6
166 3
170 3
hope i tried to make u understand on better way -
How to change a phone number that was set-up when you first set Ipad up. Took wife's number instead of mine. Her number is on i-cloud and messaging, face time.
Goto -settings-iCloud-delete account u will then have to set up a new iCloud account.if u do this it will delete anything u may have backed up in iCloud on your old account.
-
I have 100 groups in planning for those 100 groups i want to build roles like interactive,view user,planner etc.for those how to change in export -import folder .xml file in that edit how to change user roles in that xml it will generate automatic id.how to do that in xml file ?
Thanks john for you are reply.
I had tried what you sad.I open shared service in that foundation project i had export shared service.after that in import-export file.In that role.csv,user.csv,group.csv.Like this file have.When i open user file added some users after i trying save in excel it shown messgse
I click yes and save the .csv file and import from share servie. i got error like this
am i doing right way john.or explain clearly -
How to get master data records that do not have transaction data in a query
Hi,
How to get master data records that do not have transaction data in a query output. Can we create a query or any other way to get the master data records that do not have transaction data?Hi,
Create a multiprovider which includes transactional data target and master data info object. Make sure that identification for this master data info object is ticked on both the provider.
Create report on this multiprovider , keep the master data info object in rows , and now you should able to see all the values which are there in master data info object irrespective of transaction happened or not .
Next you may create condition showing only zero keyfigure values , ie. master data without any transaction.
Hope that helps.
Regards
Mr Kapadia -
I'd like to know how to change my profile picture that appears on mail threads on my mac. please help.
There may be other methods, but below is how I change my email photo.
Here is how to change your Mac Mail email photo in Mountain Lion:
Open the App called "Contacts". Type your name in the search field. Your contact info and photo should appear. Click on your photo. You now have some photo options. I use the "Recents" tab, and simply drag photo files from Finder into that window in Contacts. Drag and drop.
If you have trouble finding yourself in "Contacts" you can also get there by doing this:
Open one of your sent messages. Double click your photo in that message. This opens another window with your photo in it. Double-click that photo. This should open your contact information in the Contacts App.
Hope this helps.
-Craig -
How to change the url of "Add New Item" of a particular list in SharePoint 2013???
Hi Guys,
How to change the url of "Add New Item" of a particular list in SharePoint 2013???
I need to redirect it into the page where I have created my Visual web part.
Please suggest
Warm Regards,
Tony JoyHi,
There are multiple ways to change the form url like javascript, SharePoint designer, custom code, editing default form to have custom web part etc, Please follow the url below that describe diffent methods and steps
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec2769a0-683c-4023-8804-b596e4f92a3a/change-default-forms-on-custom-list?forum=sharepointcustomizationlegacy
Hope it helps!!!
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet -
How to select all the people that are not in any equipe ?
Hi,
I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
select a."AGENT_ID",
a."NOM" || ' ' || a."PRENOM" "Nom",
c.libelle "Equipe",
a."DATE_EMBAUCHE" "Date embauche",
a."DATE_DEBAUCHE" "Date débauche"
from OBSERVATOIRE."AGENT" a,
observatoire.equipe_agents b,
observatoire.equipe c
where a.agent_id = b.agent_id
and b.equipe_id = c.equipe_id
order by nom
Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
I have tried but could not succeed !
Thank you for your kind help.
ChristianChristian from France wrote:
It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
( "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
"EQUIPE_ID" NUMBER NOT NULL ENABLE,
"AGENT_ID" NUMBER NOT NULL ENABLE)
CREATE TABLE "OBSERVATOIRE"."AGENT"
( "AGENT_ID" NUMBER NOT NULL ENABLE,
"GRADES_ID" NUMBER NOT NULL ENABLE,
"NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
"PRENOM" VARCHAR2(50 BYTE),
"DATE_EMBAUCHE" DATE NOT NULL ENABLE,
"DATE_DEBAUCHE" DATE)
The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient. -
There was an attempt to change the value of a control that is not visible.
I am getting the below error on submitting on a screen.
"There was an attempt to change the value of a control that is not visible. The submitted value for this control has been discarded."
I am setting the values of the controls in "OnGetScreenEventHandler, OnInvestigationEndedEventHandler" implementation. Is there any way to check if the control is visible?
Thanks,
RajanHi,
How Do I Check for the control Visiblity in the above said event handler?
Here is my code
private void formattAllDate(SessionContext currentContext) {
log.debug("R2_XSR: Formatting all date");
setGlobalInstanceValue(currentContext,"Date1",formatDate(getGlobalInstanceAttribValue(currentContext, "Date1")));
setGlobalInstanceValue(currentContext,"Date2",formatDate(getGlobalInstanceAttribValue(currentContext, "Date2")));
setGlobalInstanceValue(currentContext,"Date3",formatDate(getGlobalInstanceAttribValue(currentContext, "Date3")));
setGlobalInstanceValue(currentContext,"Date4",formatDate(getGlobalInstanceAttribValue(currentContext, "Date4")));
setGlobalInstanceValue(currentContext,"Date5",formatDate(getGlobalInstanceAttribValue(currentContext, "Date5")));
setGlobalInstanceValue(currentContext,"Date6",formatDate(getGlobalInstanceAttribValue(currentContext, "Date6")));
setGlobalInstanceValue(currentContext,"Date7",formatDate(getGlobalInstanceAttribValue(currentContext, "Date7")));
private void setGlobalInstanceValue(SessionContext currentContext, String attribute,Boolean value){
try{
currentContext.getInterviewSession().getRuleSession().getGlobalEntityInstance().getEntity().getAttribute(attribute).setValue(currentContext.getInterviewSession().getRuleSession().getGlobalEntityInstance(), value);
}catch(Exception e){
e.printStackTrace();
private String formatDate(String dt){
String newdt[]=dt.split("/");
if (newdt.length==3){
return newdt[1]+"/"+newdt[0]+"/"+newdt[2];
return "";
}
Maybe you are looking for
-
Unable to preview SWF file.
Hi All, We have a dashboard created on webi report by using Live-Office connection. And i have exported the dashboard as SWF file and stored in my local desktop. When i am trying to open this SWF file, it is showing message "Initializing......" from
-
Hi Experts, At the moment we generating spool from a report and manually we import and save into local directory.. for the same report what ever the spool genarated have to save into one unix directory,,, Could you please help me h
-
New Terminal Results 4 Spyware / Keylogger Detection Review
For Linc and all knowledgeable, My MBPro webcam was taken over a few months ago and video was recorded of me without my knowledge. At the time I thought it was taken over from a website and was unaware of the potential of spyware that could be instal
-
Folks: I need to register Relations between Business Partners, and I'm not making ... Does anyone successfully used the IDoc BUPA_INBOUND_REL_SAVE_M02? Please could leave the sample code here?
-
I had a 5706v installed about a year ago in my Excursion. About a month ago it quit locking the doors but doing everything else. Apparently the BB that installed in no longer has qualified techs so I now have to drive about another 30 mins to a di