Keyfigure values are incorrect in BEx Query based on infoset
Hi Experts,
I have created a infoset using 3 DSO's . 1 main DSO( from which i rquire all the data) is linked with other 2 DSO's using left outer join. DSO is linked with other 2 DSO's with a field return GUID .
Now when i am executing a query , key figure values are coming incorrectly because suppose if there is 1 record related to
RETURN GUID in main DSO and there are 4 reords in 2nd DSO with the same RETURN GUID then in infoset data 4 rows are getting created with the replication of all the fields from first DSO against those 4 rows. So in query result amount field is getting 4 times of its original value because of aggregation of all those 4 rows.
I don't have set of key fields by which i can link the all the DSO's to get unique linking of records.
How can i get the amount only one time in query result?
Hope i am clear.
Please help. I need to create report urgently.
Regards,
Ajay
Hi Ajay:
Please take a look at the blog series provided by Sunmit Bhandari.
Infoset Keyfigure multiplicity Part 1
/people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-1
Infoset Keyfigure multiplicity Part 2
/people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-2
Infoset Keyfigure multiplicity Part 3
/people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-3
Regards,
Francisco Milán.
Similar Messages
-
BEx query based on virtual cube donu00B4t display a valid List of Value (LOV)
Hello
I have a problem with an invalid LOV. The scenario is the following; There´s a BEx query based on a virtual cube. The query has an exit variable on caracteristic that is based on 0CALMONTH.
At Universe Designer I simply create a connection, a universe based on this query and export.
At Web Intelligence (also at Live Office), when I try to execute de query, the prompt to fill my exit variable display a list of value that doesn´t match with the values of the caracteristic at the cube.
Actually, the list at the prompt starts with 01.0000 and finishes with 05.0968.
In Universe Designer, the option to edit the list of values is not available. But I think that editing the LOV is not the correct way.
I´ve tried creating a new query based on the DSO that is the source of the virtual cube. In this case, I had a valid list. Unfortunately, I can´t use this DSO.
Did anyone already have this problem?Hi James,
can you explain what you mean with "input length for that filed" ?
The field in the table is varchar2(120). I coudn't found options for the List of value.
Thanks for your response
Carsten
null -
How can we remove the commas from the Formula value in SAP BW BEx query
Hi All,
How can we remove the commas from the Formula value in SAP BW BEx query
We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
Regards
Venkat.Do you want to remove the commas when you run the query on Bex Web or in RSRT?
Regards -
RWI 00200 Error while scheduling the Bex Query based Webi report
Dear All,
I am facing the below error while scheduling the Bex Query based Webi report.
Error:RWI 00200
We are using BO XI 4.0 Sp05.
Please adviseHi,
I am on BO 4.0 SP05 Patch 6. Webi reports are just showing processing but not giving results. When I try to create new report it is throwing java security error.
Tried applet patch upgrade(From link : https://websmp207.sap-ag.de/~sapidb/011000358700000902752013E) for webi certificate but didn't help.
Please suggest what could be done.
Thanks and Regards,
Ankit Sharma -
Open Credit values are incorrect
The open value credit values are incorrect. we have to run RVKRED77 every night to correct them. We have been unable to replicate the error so the SAP position is they need to replicate the error in order to fix it. I can see the S067 strucures with the incorrect values. A further problem is that as the day goes on the values get corrupted and are not fixed until the correction is ran. I have been reviewing OSS note 124571
Hi Dave,
I was able to fix the issue by implementing OSS note 491718.
As for the cleanup - ohhhh boy, I have been working on it for over a year and it's still not done. I can only manage one CCA per weekend. I run Z_CREDIT_VALUE_COMPARE (oss note 666587) every Friday for a given CCA to identify the customers with incorrect value. I then update a default variant for RVKRED77 and enter the CCA and the list of identified customers. RVKRED77 is setup as a job (with the default variant) to be executed every Saturday night after the system backup. This will ensure that users will not be in the system and not have any locks on SD tables. Otherwise, RVKRED77 will fail since it cannot get a lock on SD tables.
SAP has yet to come up with a better approach to correct these incorrect values and to prevent it from happening again. However, SAP Solution Manager and central consistency monitoring (Data Consistency Cockpit) may help by notifying you as soon as this issue appears again. You can read more on this in OSS note 1040893.
Hope this helps,
Keyvan -
Performance of the Bex query, buit on infoset is very low
Dear experts,
I have a bex query developed on infoset, has hit the performance problem.
when I am trying to check the query, found warning message as following
Diagnosis
InfoProvider ABC does not contain characteristic 0CALYEAR. The exception aggregation for key figure xyz can therefore not be applied.
System Response
The key figure will therefore be aggregated using all characteristics of ABC with the generic aggregation SUM.
but the infoobject 0CALYEAR is active and is in infoset as an attribute to the one of the Master data infoobject.
Now, could you please help me to improve the performance of the query, which is buit on infoset.
Thanks,
MannuHi,
If Info set is based on Cube then
-->Create Aggregate on the cube for those object used in the Query
-->Compressed the Info Cube
-->then run the query
and also in RSRT there are many properties according to the Target please check which property is suitable for you..
Best Regards
Obaid -
Can we import Bex query, SPO, MP, INFOSET, OHD to HANA studio
Hi all,
Can we import Bex query, SPO, MP, Infoset, OHD to hana studio ?.
If yes then how ?.
Note: We are already on BW on HANA, SP6 pack.
Please can any one provide some light on it.
Regards
Pavnete RanaCan we import Composite provider, Hybrid provider, Virtual Porvider, Advance DSO, Transient Provider to HANA Studio?
-
Webi base on BW query based on Infoset comes back with wrong values
Hello:
I have a Webi report on an OLAP Universe, on Bex Query.
The bex query is based on 1 INFOSET.
When I run the webi report the values that comes back a totally wrong values.
The correct results are not brought back.
When I do a test with crystal reports to the infoset, I can see the correct values. (I'm aware crystal uses different drivers).
The test is BW query designer, and crystal brings back proper values from Infoset based BW query.
Webi on Infoset based BW Query comes back with wrong data.
query is simple.
Pull in 3 attributes, 3 key figures, where componentkey = "111"
I get 36 rows in Crystal and 36 rows in Bex Analyzer, 36 rows in BW query designer (web analyzer).
I get many rows in webi (almost like a CARTENSIAN product).
I search a round this forum but still did not see a conclusive answer to this problem.
But I see another thread that several others faced this same issue without a resolution.
My environment.
BOE XI 3.1 SP2
No fix packs
SAP IK 3.1 SP2
HPUX-IA64
Thanks in advance for any help.
DwayneWas this problem ever solved?
I am having a similar problem with an infoset based query.
I have created the BW infoset, and confirmed that the correct data is returned from the underlying infoproviders. A simple BW query on that infoset yields the same results.
Create the universe, and then the WEBI, and WEBI now shows hundreds of records where I expect 10. Data is being returned in WEBI that definitely shouldn't be there. It's almost like the restrictions applied in the characteristic restriction area of my BW query are being ignored, even if I include them in the WEBI query.
Cheers,
Andrew -
Keyfigures values are not displaying
Hi Experts,
There is an issue that when the user is trying to execute the report (maybe workbook) he is not able to see the keyfigures values.Keyfigures are not hidden and they are in display mode in designer.He is getting blank values
But when I execute the same report in Bex Analyzer I can able to see the keyfigure values.But if I rerfresh the report which the user has executed I am not able to see any values for keyfigures.
Can anybody suggest something on the same issue.
Thanks in advance.Do you see blank values for all the KFs or some specific key figures. Try running the query for some different selection and let us know if you can see the result.
To check the authorization, check the InfoObject property for all the IO used in the query. Check the BEx tab and there is checkbox called this object is authorization relavent. If this is checked for any of the infoobject, you must have those IOs in the selection screen as mandatory variables. You can not run the report keeping selection for this IOs blank.
Parallely also check with your security team if any authorization is assigned to those IOs which are authorization relevent. Check if you are given all the required roles to see the values.
If the answer to my first question is YES, which is all the KFs are blank and that is true for any other selection, there could be a possibility that query is corrupted in Production. That happened to me once. The solution given by SAP was to save the query again in Production and reembed in teh workbook again.
- Danny. -
Dynamic filter on time characteristics on OLAP SAP BEX query based universe
Dear all,
I'm currently working on the integration between SAP NetWeaver BI 7.0 and SAP BusinessObjects XI 3.1 FP 1.5 via integration kit.
I've built an OLAP universe on the top of a BW query based on a multiprovider that contains 10 infocubes.
Everything works fine but I need to create a filter in the OLAP universe that allows to restrict data by current date (e.g. using TIME characteristic of Infocube such as 0CALDAY or 0CALMONTH). From that filter we could start creating other conditions to compare data to different time periods.
I've already tried to use a SAP exit variable in a BW query but this kind of object would restrict query data only by current date and for example it would be impossible to browse data by previous years (to bypass this problem we could use restricted key figures with different offsets but we have too many key figures in the query and the number of restrictions
would rise exponentially).
In a relational DataBase we can do that using a "where condition" based on 'CURRENTDATE' (SQL DB2 syntax).
Now, we need to apply the same logic but translated in MDX syntax.
Is it possible to enter a dynamic filter in the OLAP universe or just fixed or promt values ?
Any advise?
Thanks in advance.
Best Regards.
M.Hi Ingo,
1) My question is: "How can I have to manage variable in BEX queries and in the UNIVERSE in order to obtain the maximum flexibility to create reports with measures on actual day (for example) without asking the user to promt a value ?"
I want to use an unique BEX query to define an unique UNIVERSE. On this UNIVERSE I want to create many reports (actual day, previous day, and so on).
If I restrict 0CALDAY with an EXIT variable then shall I be able to create a different restrictions on the same Universe based on 0CALDAY ?
2) Another question is:
Is it possible to insert an XML / MDX filter on the OLAP Universe with dynamic derivation of the system date ?
For example:
Instead of this:
<FILTER KEY="[0FISCYEAR].[LEVEL01].[NAME]">
<CONDITION OPERATORCONDITION="Equal">
<CONSTANT CAPTION="Z12008"></CONSTANT>
</CONDITION>
</FILTER>
Is it possible to insert a tag with a dynamic function to derive the system date ?
Thanks in advance.
Best Regards. -
IF ELSE Statement in BEx Query based on the results
Hi experts,
I want to realize the following IF/ELSE statement in a BEx Query in respect to the result values
If the result of KF1 equals 0, than set the KF2 to 0, Else (KF1 NE 0) show the value of KF2
Background: I want to report the order backlog. In the example above we have an incoming order value of 23.700,80 EUR in periode 12.2013 and an turnover of 22.370,80 EUR in periode 01.2014. The order backlog in ST (KF1) is 1 ST (12.2013) - 1 ST (01.2014) = 0 ST. The order backlog in EUR (KF2) is 23.700,80 EUR (12.2013) - 22.370,80 EUR (01.2014) = 1.330 EUR. The Order and Invoice is finished, but we have an positive order backlog in EUR (reason: less turnover as incoming order).
For this case I want to realize the IF/Else statement to check if the oder backlog in ST = 0, if yes, than set the order backlog in EUR also to 0.
Any best practices?
Many thanks and best regards,
MichaelHi Suman,
thanks aigain for your reply!
I have tried your proposal before you have posted it.
In my special case the following if/else statement works successfully:
CKF = calculated key figure
Formula1 = (CKF1 == 0) * 0 + (CKF1 <> 0) * CKF2
In my case the CKF2 is the result value from "Incoming Order value" - "Turnover"
So I had to define a separate Formula (1:1 equals to CKF2) and then I was able to set "*CKF2" in the statement.
The statement CKF2 = (CKF1 == 0) * 0 + CKF2 is not possible (because it´s not possible to calculate from CKF2 itself).
Now it works
Best regards,
Michael -
Keyfigure values are not displayed below freecharacterictics - how to show?
Hi,
I am working a workbook, to see the all the values of the keyfigures below freecharacteristics what we need to do?
I am able to see the keyfigures but not the values. (this is which we find above the report) in the workbook.
Please help, checked all the text elements, which didnot help
thanks,
rani.
IHi,
In the workbook, before the report(rows and columns) the free characteristics, key figures are displayed.
Against keyfigures i want to display values.
For example:
Title: ReportName(XXXXXXXXXXX)
Sold-to party
Sold-toPartyCountry
Material
Key figures < here i want to display the values of all the keyfigures>
Below are text elements
Division (Selection Options, Optional) Empty Demarcation
Division (Selection Options, Optional) Empty Demarcation
Author SAP
Last Changed By SAP
Here the report comes
Thanks,
rani -
Restricted values are seen in the query
I have restricted few values in the query. when i execute the query those restricted values are displayed on the top. can any one tell me how to remove it.
As Paveen suggested, Open the Analyzer...instead of opening a query, open a workbook(the one you have saved already). Here, you van change the variable also and execute. It wont have restrivted value.
Thanks...
Shambhu -
Search on key or text in query (based on infoset)
Hi all,
I've build an infoset based on the masterdata 0employee and an ODS. After that I build a query on the infoset with in the rows the object 0employee. On this object I created a user-entry variable. By executing the query, the variable screen will be available. When I click on the search button (or F4) I only see the key values. I want to display also the TEXTvalues, is this possible...and what is my action to do?
I hope my question is understandable
Regards,
PieterThat is strange. I havent seen that happen.
Sometimes infoobjects have too many attributes and you may have to scroll a long way to get to the texts.
or does it just show the keys and nothing else ?
Did you check what the default description is set for this infoobject on the BEX tab page in infoobject maintenance. Are you filling up the text in the default (short Text) or are you filling up some other length.
Check the filter display box on this tab as well to see if you have the appropriate selection. Try changin it to see what happens.
Message was edited by:
A S -
How to increase performanceof query based on Infoset?
How to increase the performance of a query based on a Infoset?
As per designing of query, all the necessary fields are placed where they are required.Hi Akshara ,
To improve performanceof query try to remove unnecessary characteristics, attributes, or key figures ,Superfluous conditions or variables .Large InfoCubes and Complex hierarchies .Variables populated by user exits
For characteristics specify either variables or restrictions .
You can create indexes on DSO and Aggregates on cubes (if any).
Please go through the links :
http://help.sap.com/saphelp_crm40/helpdata/en/77/4a213cc534f20ae10000000a11402f/content.htm
Re: Performance of query built on infoset
Query performance issue - Infoset query
Hope you will find this helpful.
Regards,
Jaya
Maybe you are looking for
-
How to add related fields from one transaction to other transacction?
Hi all, I have a problem. I need to add an OPPORTUNITY field (SALESCYCLE) to the ACTIVITY transaction because of an upgrade and I'm now in a new world... The CRM 2007 is an unexplored place to me. I added some custom fields (Z fields from the CUSTOME
-
I have mu phone set up on locked screen and passcode. I want to take this off. I am unable to receive calls in locked screen. I need to hear all my incoming calls.
-
Hi, I am using JIDE for GUI development in my project. Almost all the JIDE components are extends Swing Component. For example (JButton in the swing is JideButton in JIDE). As all you know that TreeTable is something which will show the information w
-
How to determine exchange rate type in shipment costs document?
I would like to determine exchange rate type in shipment costs document, but I don't want to do it manually. Can anyone please give me a hint on how to do it? Thanks & Regards BJ
-
Hi all, I have a req in report programming where i have 4 selection screens in all. The 3rd selection screen should appear only after I select values from 1st and 2nd selection screens and the 4th selection screen should appear after value selection