Conditional drill based on level
I have a requirement that users can drill down through a hierarchy in the standard way. However when they get to the bottom (leaf node) of the hierarchy
then they should be directed to a different report which shows data for a selected measure(I cannot use a federated query for this since the dimensionality of the 2nd report is different)
For example, the initial report would show data for a given year, they could then drill to quarter and then to month and then day. When they get to this level they would be be able to click on a measure and be directed to a different report which shows the base transactional data for that measure.
Is there any way to achieve this ? I can use the standard 'navigate' functionality to drill down, but when I get to a certain level in the hierarchy I need to use the 'GO URL' to perform the drill through.
What I need to do is detect that the user has hit the leaf node and then enable drilling to the second report.
What I have in mind is to let the user drill down until they get to the leaf node. Then for a given measure I would enable the drill through based on a case statement in the formula for the measure. Something like
case when <at leaf> then
create go URL link to other report
else
show measure
end
is this possible - I can't work out how to detect the fact that the user cannot drill down any further - the standard drill down functionality must do something similar since you can drill down until you get to the leaf and then no further.
thanks,
Chris
Chris,
I assume your transactional data is present in oracle tables. so you need to import the table along with the fact that has that information and drop it in your BMM in the required dimension(In your case Time) as a multiple logical source. Now you need to map the transactional data column to your lowest level column(assuming date in ur case) in the column mapping. Now create a dummy level in the hierarchy as gen 5,transaction or some thing assuming gen 4 is lowest gen of your dimension. Specify the level in the multiple logical source as well as the relational fact in the BMM. Also assign the column that is used in in join between fact and dimension of the relational tables in the dummy hierarchy and create a key on it. Also in the BMM diagram the dimension that has to be navigated should be joined to both the essbase cube and the relational fact.now in the reports create a report made out of relational tables with essbase dimensions prompted.Now nable a navigation link on dollars of the essbase report once it reaches to the lowest level, clicking on the dollars will seemlessly navigate to the relational report.So basically we tricked the OBIEE to make it believe that there is another level below gen 4 which is gen 5. that is the reason why you create the dummy hierarchy.hope this helps
Thanks
Prash
Similar Messages
-
Proble in VA01, cant see condition types in condition tab at item level
Hi
Well i am facing a strange problem in VA01, i am not able to see condition type whole grid under Condition tab at item level in VA01. actually i was given a project to hide pricing data from particular users based upon Authorization object value. initially i though it might be because of that so i revert back all the changes but the problem remain Intact.
well do you have any idea which user exit or enhancement may affact this or do you knoe if it can be because of SD configuration changes.
i mean can be hide condition type in VA01 through pricing condition.
the other thing is its working fine in VA02.
i made changes in following include
MV45AFZZ
MV45AFZB
LV69AFZZ
RV60FUS4
any help will be highly appreciated .
rewards for sure
mandy
Edited by: mandy on Jan 15, 2008 2:11 PMuse this
INCLUDE MV45AFZZ. include.
u will find FORM USEREXIT_PRICING_PREPARE_TKOMK
where u can change
princing
i am puting my code which i did
ok
DATA : WA_KOMV LIKE XKOMV,
WA_ZPRICING LIKE ZPRICING1.
IF SY-TCODE = 'VA01'.
IF VBAK-AUART = 'YYOR'.
LOOP AT XKOMV INTO WA_KOMV where KPOSN = VBAP-POSNR.
IF WA_KOMV-KSCHL = 'ZABS'.
SELECT SINGLE *
FROM ZPRICING1
INTO WA_ZPRICING
WHERE VKORG = VBAK-VKORG
AND VKBUR = VBAK-VKBUR
AND VTWEG = VBAK-VTWEG
AND MATNR = VBAP-MATNR.
IF SY-SUBRC = 0.
delete XKOMV.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF. -
Conditional display based on Page Template
I'd like to make some conditional display based on Page temlate value (definition). Example:
return page_template='TABS';With such an feature it will be easy to exclude some elements defined on "Page 0" on some pages. I know that this could be done by enumerating page_id's...but in this way it will be much flexible...
Is there such a feature? Will it be ever possible?A more flexible way (IMHO) to do this sort of thing would be to define onload application-level computations that set a application item to either SHOW or HIDE depending on the conditions you need. Then make the Page 0 components conditional upon this application item's value.
-
How to build the members in essbase based on levels using EAL
Hi All,
How to restrict the members to build the in essbase based on levels using EAL.
I've requirement, in one dimension, needs to build the one level1 member as level0 in essbase.
please let me know the procedure, if any one implemented or face similar.
Thanks in advance,
Kiranthere's no such functionality in EAL to create Essbase outlines based on levels. the only workaround to this is to use Mapping tables:
1- create the dimension in essbase with the desired HFM level 1 members as level 0.
2- set this specific dimension to mapping in your design grid within your EAL Bridge
3- create the SQL Mapping table and start mapping those members from HFM to Essbase.
Tanios -
Hi All,
I have a simple PowerView report (Excel 2013) in which I have a hierarchy (three columns), an image column, and a Value column:
When I change the Show Levels option to "Rows - Enable Drill Down One Level at a Time", image column also hide.
I want to keep the image column displayed while drill down/up to the hierarchy.
Is it possible? If yes, then how?
Thanks & Regards,
Muhammad Ehsan
If this answers your question please mark as answer. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.Hi Muhammad,
According to your description, you have images at child level. Now you want to have the images displayed when have the child level items collapsed. Right?
In this scenario, when you show the data in a matrix in Power View, those images, Size ID and Prices have been added into a child group. If we enable drill down, all the items within the child group will be collapsed. We can't change it at all in Power
View.
For your requirement, we suggest you design your report using SQL Server Data Tools in Reporting Services. In Reporting Services, we can have specific columns toggled by the parent item.
Reference:
Add drill-down to a Power View chart or matrix
Drill-down Behaviour in Power View
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
Crm_order_maintain ,changing pricing condition value at item level
Hi,
I am trying to change the pricing condition value at item level while creating sales order through CRM_ORDER_MAINTAIN.
I am not able to change the condition value.
Code is below.
wa_inputfields-ref_guid = wa_orderi-guid.
wa_inputfields-ref_kind = 'B'.
wa_inputfields-objectname = 'PRIDOC'.
wa_fieldname-fieldname = 'KBETR'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KMEIN'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KPEIN'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'KSCHL'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
wa_fieldname-fieldname = 'WAERS'.
append wa_fieldname to wa_inputfields-FIELD_NAMES.
INSERT wa_inputfields INTO TABLE it_inputfields.
wa_pricing_add-KSCHL = 'ZP06'.
wa_pricing_add-WAERS = 'USD'.
wa_pricing_add-KBETR = '10'.
wa_pricing_add-KPEIN = '1'.
wa_pricing_add-KMEIN = 'ST'.
INSERT wa_pricing_add INTO table it_pricing_add .
wa_pricing-REF_GUID = wa_orderi-guid.
wa_pricing-REF_KIND = 'B'.
wa_pricing-PRICING_TYPE = 'A'.
wa_pricing-COND_ADD = it_pricing_add.
wa_pricing-PRICING_PROCEDURE = 'ZVDSP'.
append wa_pricing to it_pricing.
Can you tell me how to overwrite the condition value while creating sales order using crm_order_maintain.?
Regards,
Indhra.EHello Indhra,
Check the CT_INPUT_FIELDS table, in the OBJECTNAME field you will find all the tables that are filled during the function call. Check those tables mentioned in the OBJECTNAME to look for any pricing related data.
When your order is in change mode and you activate debug <b>just before you make the change</b>, the CRM_ORDER_MAINTAIN FM call contains <b>data only relevant for the change you just made</b>. In other words, you need to fill exactly the same tables as CRMD_ORDER does.
E.g. You just change the pricing procedure and you see in debug that 5 tables are filled, you must do exactly the same in your code! It's quite anoying but you're using a low-level API FM that can handle ANY transaction type in CRM!
Check it, it works!!
<b>Reward points if useful!</b>
Regards,
Joost -
REG: Freight condition maintain in delivery level
Hi Gurus,
I want to maintain one freight condition type in delivery level because my customer sometimes picked from my depo & some times we send by our transport.
What should be my approach for this?
can I maintain any pricing procedure at delivery level. If yes then how ?
I created a sales order & tried to put a condition type at delivery level But in item level condition tab is greyed out.
Thanks & regardsIn IMG path select Logistic Execution => Shipping => Basic Shipping function => Pricing => Define Pricing Procedure for delivery, assign the pricing procedure to your delivery type and save.
Now include the freight condition in delivery.
thanks
G. Lakshmipathi -
Condition Currency at Header Level
Hi,
Using SRM 7.0, SP09, ECS.
We are unable to change the Conditions Curency for Header Level Conditions while creating RFx Response. Is it standard behaviour?
Note: It is working fine with item level conditions.
GanapathiHi,
Someone who is using conditions in RFx/RFx Response kindl check and reply.
In RFx, before publishing add more than 1 currency in Bidder's tab page. In Response, go to condition tab page...
add a condition at item level for which calulation type is not %. You will get a box to select reqired currency....
add a condition at header level for which calculation type is not %. You don't get any option to selectu currency. The field is grayed out.....Is it so in your system?
Ganapathi -
Pricing Conditions deactivation at header level of Sales Order
Hello there,
We have used a routine in pricing procedure (BaseType Routine) to deactivate condition MWST in the MWST condition line in pricing procedure, transaction V/08.
In the routine, We played with the KINAK (set to K )and KOBLI (set to space) flags of structure KOMT1 and XKOMV and delete the MWST entry in the TOBLI table and succeeded to deactivate the MWST at item level of the sales order. (MWST condition appear in the conditions tab at item level as inactive)
We have created a sales order with only one item that has the MWST condition deactivated at item level.
But in the conditions at header level the MWST condition does not appear. Shouldn't the MWST condition appear at header level but deactivated (with a yellow triangle next to MWST)?
If yes is there a flag that we forgot to set?Hi experts,
Has anyone done the above mentioned before, please reply... -
SCM230 - Time based Capacity Leveling by decreased storage (Days Supply)
Hi,
Reading through the SCM230 training course on the subject of Capacity Leveling, the manual describes the following functionality:
If you choose Time-Based Capacity Leveling by decreasing storage (days'
supply), the system levels the order with the largest days' supply first, then
the one with the second largest supply, and so on.
Can anyone explain this functionality in plain English and what / where are the parameters etc to influnce it?
Thanks for your help
MarkHi Marius,
I understand forward and combined forward/backward scheduling in capacity leveling using SNP Heuristics/Optimizer method. However, forward leveling or combined forward/backward leveling does not fulfil the requirement because then capacity overloads (aka SNP planned orders) are shifted in future causing shortage in weeks where demand exist. Business needs a way to shift capacity overloads in previous available buckets, if available capacity exists in previous weeks or months. If sufficient available capacity does not exist in previous weeks then the remaining capacity overload should stay in the week/month where that overload occurs due to excess demand. This will provide business an opportunity to meet demand by finding alternate methods of balancing that capacity overload by either adding capacity (running machines overtime, opening up production on a non-workday) or by outsourcing that overload to sub-contractors. However, neither heuristics nor optimizer method of capacity leveling in SNP fulfils this requirement.
Regards,
Jagjeet. -
When drilling to lower level - Totals are not matching in BI Analytics OOB
Hi All,
I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
FY BCost ACost
2011 100 120
2012 150 140
Total 250 260
But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
FY FY Qrt BCost ACost
2011 2011 Q1 80 100
2011 Q2 100 90
2011 Q3 110 120
2011 Q4 90 130
Total 380 440
Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
Any suggestions?Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
Mark as helpful if it helps.
Regards,
Veeresh Rayan -
Freight condition calculated on header level , not at item level
Hi,
I am creating PO with 2 line items..
mat X qty 1 price 100 INR
mat Y qty 1 price 100 INR
Now i have given freight as 500 INR in header level...
My prob is freight is getting calculated based on number of item level...
It means if i have 2 item levels my freight is coming 1000 INR....
it is adding based on line item.....
but it shud come 500 INR....
I want my freight to be added at header level......
UtsavHI
What will u do if in case freight shud be 500 + 500 = 1000
So leave this condition as it is
Goto Tcode M/06 ... and create a new condition for freight ... by copying the present condition type and then add it in pricing procedure
But in "details "of this new condition type put a tick mark against group condition and header condition.
"To go into details of a condition type ... select the condition type and then click on lens button" -
Price Condition at the Header Level
Dear SAPfans,
Can we set the pricing procedure at the header level of sales order,
i would like to configure the rounding mechanism work on the header condition on the sales order, can it be done thru pricing procedure ?Hi,
You can make condition type either header or item level.
header level coniditon type doesnt have access sequence and you generally enter the value manually.
You can use this condition type in Pricing procedure.
Check all about Condition type in V/06
Hope this will help.
Reward Point if helpful.
Thanks,
Raja -
No condition types at Item Level
In the header of a sales order the Pricing procedure is triggered but at item level there are no condition types in the condition tab.
I have maintained condition records for few condition types as well but still the condition tab is blank.
What could be the possible cause of it?Hi Christino,
Please check up whether these condition types for which you have maintained condition records are header condition or item conditions?
Regards
Mohammed Roshan -
1 Conditional report based on 3 select lists/ 3 different select statements
I have made 1 report based on the three select lists. The report is displayed in the center of the page. The user needs to fill them in order, the select lists are:
Selectlist:
1. P1_LOVPG - Null is allowed, but is only appearing at top with a label of Productgroup
2. P1_LOVSG - Null is allowed, but is only appearing at top with a label of Subgroup
3. P1_LOVMA - Null is allowed, but is only appearing at top with a label of Manufacturer
LOVPG contains a distinct collect of the ProductGroups
QUERY LOV = select distinct pg from X
LOVSG contains a distinct collect of the SubGroups inside the selected PG.list
QUERY LOV = select distinct sg from X where pg = :P1_LOVPG
LOVMA contains a distinct collect of the Manufacturers inside the selected SG.lst
QUERY LOV = select distinct ma from X where sg = :P_LOVSG
Based on the the selected items the user would see the following:
Table X
PG SG MA ART
A-----X----M---1
A-----X----N---2
A-----Y----M---3
A-----X----M---4
B-----X----M---5
B-----Y----N---6
B-----Z----O---7
Seletion 1 PG = A -> selects PG A in select list result, User sees:
Report A
PG SG MA ART
A-----X----M---1
A-----X----N---2
A-----Y----M---3
A-----X----M---4
Query would be: select * from X where PG = :P1_LOVPG
Selection 2, user still sees the above, can only select from the SG select list NULL, X, Y. User needs to choose between X or Y value. He picks X, he sees:
Report B
PG SG MA ART
A-----X----M---1
A-----X----N---2
A-----X----M---4
Query would be: select * from X where PG = :P1_LOVPG and SG = :P_LOVSG
Selection 3, user still sees selection 2 on his screen, can only select from the MA list bewteen NULL, M or N, user needs to choose between M or N. He picks M, he sees:
Report C
PG SG MA ART
A-----X----M---1
A-----X----M---4
Query would be: select * from X where PG = :P1_LOVPG and SG = :P_LOVSG
As you can see the query changes as the user goes deeper into the structure. It is a simple if then else system where the quey changes. How do I set this up in htmldb?
(I've read something about Oracle's SQL and it's decode function, but can they be used with changing select statements?)are you sure your data meets the JOIN conditions?
You can make a quick check.. only example...
select single * from KONP into ls_konp
where knumh = P_knumh.
if sy-subrc eq 0.
select * from from A905 into table lt_a905 where
kappl in so_kappl
and kschl in so_kschl
and VKORG in so_vkorg
and vtweg in so_vtweg
and kondm in so_kondm
and wkreg in so_wkreg
and knumh = ls_konp-knumh.
if sy-subrc eq 0.
select * from A919 into table lt_a919
for all entries in lt_a905
where kappl = lt_a905-kappl
and kschl = lt_905-kschl
and knumh = lt_905-knumh.
endif.
endif.
Maybe you are looking for
-
Question typed in subject space. Sorry!
-
SAP R/3 4.6 C Integration with Active Directory
Dear Friends, We have a requirement to Integrate Active Directory User Authentication to SAP User authentication. Currently we are using following systems in our organization: SAP R/3 4.6 C Kernel 46D SAP ECC 6.0 with EHP4 Currently users are
-
Upgraded 10.5.6 from Tiger, can't see my messages only boxes
I just upgraded to this system keeping Previous user and settings intact. I open up MAIL and it does not show anything, I have to go to WINDOW to Message Viewer to see the window. All my mailboxes are there but not messages. Can someone help please?
-
How to know if ane new fields are added matl. master ? In our system some new field were added, we need to know how many new fiels are added like this ? pl help guru
-
ICloud Contacts duplicates first name
I list my family and close friends by their first names only in my Contacts, leaving the surname field blank. Contacts has now started to duplicate their first names into the surname field, so that my wife's entry reads "Fiona Fiona" and my daughter'