What are Virtual Chars & KFs
Hi Friends,
I am new to BW. I would like to know about Virtual Chars & key figures.
Where can they be created ? How to create them? Whats the use of them?
If anyone of you have any document which speaks about them , pls send it to
[email protected]
Thanks
mv_d
hi,
A virtual characteristic / key figure can be used to derive values at
query run time
The virtual characteristic / key figure must be added to the cube as a
characteristic or key figure but not filled in update rules or transfer
rules
Useful for determining values that are not known or determined until
query runtime
Cache not used Could have performance impact
Can be used in conjunction with variable userexit
n The value selection made by the user for the variables can be used in
the virtual characteristics and key figure exit.
EXIT_SAPMRSRU_001 - BW: Definition of Virtual Characteristic
ZXRSRTOP Global Variable Definition Section
ZXRSRU02 Specify if infoobject should be read or populated during
exit
ZXRSRZZZ Enhancement Coding (Update Logic)
Transaction RSRT can be used to troubleshoot virtual characteristics
For queries with virtual characteristics or key figures you are able to activate the use of the cache, which is deactivated by default.
Also look at the following post for a typical scenario,
How to implement Virtual Characteristics or Virtual key figures
try out these links for similar issue..
Virtual Characteristics & Virtual Keyfigures....Scenarios
virtual chars and keyfigures
Virtual Keyfigures and Characterisitics
Virtual Characteristics...
assign points if it helps....
Similar Messages
-
Hi,
I need some help on how to create virtual chars & KFs.
I hv created an Info object in a DSO.
I donno how to go abt writing the code and where.
Can some one point me to some material on this?
Thanks,
Arun KKrefer:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/93ed1695-0501-0010-b7a9-d4cc4ef26d31 -
Urgent: what are "virtual host" and "external alias" used for on SICF?
I wonder what is their functionality?
Please help. Points guaranteed. Thanks!Payal:
Your help is great!
The link says:
<b>1.2.5.6
acmegate.acme.com
<b>acmenet.acme.com</b>
If more than one host name is assigned to one IP address, one host name is the default name, and the others are aliases. In the table, the default name is in bold type.</b>
We want:
1) for all incoming requests from the internet to the ITS use:
acmegate.acme.com(i.e. the default name. The user will type http://acmegate.acme.com:####/xxxxxx);
2) for all responses from the ITS to the internet use:
acmenet.acme.com(i.e. the alias. The user will get
http://acmenet.acme.com:####/xxxxx).
If you could help with this, I really appreciate with 10 points.
Best regards. -
Urgent!!Virtual Char & KF using customer exit!!
Hi
Anyone explain me in easier way the steps for Virtual char & KF & where we use it??H to use it with the help of customer exit & why??
Pls xplain me .
thnx
raj.Hi,
A virtual characteristic / key figure can be used to derive values at
query run time
The virtual characteristic / key figure must be added to the cube as a
characteristic or key figure but not filled in update rules or transfer
rules
Useful for determining values that are not known or determined until
query runtime
You will find the Doumentation and Example in SMOD for Virtual Characterstics and Keyfigures.
for Documentation and Example.
Goto Tcode SMOD -> Enter Enhancement as RSR00002 ,Select the Radio button Documentation -> Click on Display
check the thread for more info...
what are Virtual Chars & KFs
virtual char and keyfig -
Hi Gurus,
can i use the Virtual Chars and KFs in an ODS
and then use them in the reporting and through codeing can i get them filled from the required value of an char or kf of the ODS only basing on a business logic.
If somebody can forward me the docs on them i will be happy or else any links of service.sap.com will also do please
thanks and regards
NeeluHi Neel
Virtual chars & KFs are just normal infoobjects. You add them to your provider without storing any information in there. Just leave them initial. The values for the virtual infoobjects will be derived during runtime of the query using the user exit of enhancement RSR00002. (go to SMOD transaction and take a look to the available documentation for RSR00002 enhancement).
Also Just have a look at the following threads
Re: Virtual Key figure
How to implement Virtual Characteristics or Virtual key figures
How to implement Virtual Characteristics or Virtual key figures&tstart=120
Hope it helps
Regards
Pradip -
OLAP Virtual cubes in PS 2010: what are their components ?
Hi,
I read somewhere that the 3 following OLAP Cubes in Project Server 2010 are virtual cubes built with the "aggregation" of several other cubes. What are these "primary" cubes?
Thanks
MSP_Portfolio_Analyzer
MSP_Project_SharePoint
MSP_Project_TimesheetTo understand the Total fields and Dimensions available in the 14 OLAP cubes available in Project Server 2010, it is helpful to group the OLAP cubes based on the Total fields and Dimensions they have in common with one another. Therefore, consider
the following logical groupings for the fourteen OLAP cubes:
Assignment: The Assignment Non Timephased, Assignment Timephased,
MSP Portfolio Analyzer, and MSP Project Timesheet
OLAP cubes contain assignment data. Each of these OLAP cubes includes many of the same Total Fields (such as Actual Cost, Actual Overtime Cost, Actual Work, and Actual Overtime Work) and many of the same Dimensions (such as Assignment Owner and Project List)
Project Workspace:The Deliverables, Issues,
MSP_Project_SharePoint, and Windows SharePoint Services (WSS). This data includes Risk, Issues, Document, and Deliverable information about each project.
Timesheet: The EPM Timesheet and Timesheet OLAP cubes contain timesheet
data. You can use these two OLAP cubes to report on Actual Work Billable and Actual Work Non Billable, for example.
Project:The Project Non Timephased OLAP cube contains project
data. Although this OLAP cube contains some information in common with several others, the common information is so limited that I include it in its own group.
Resource: The Resource Non Timephased and Resource Timephased OLAP cubes
contain resource data. These two OLAP cubes do not contain any Total fields in common, but do contain several Dimensions in common (such as Booking Type and Resource List).
Task:
The Tasks Non Timephased OLAP cube contains task data. This OLAP cube contains only one Total field and six Dimensions, two of which it has in common with other OLAP cubes. Because this OLAP cube contains so little information, and has so little in common
with other OLAP cubes, I include it in its own group.
In other way you can conclude :
MSP_Project_Timesheet:: combines the Assignment Timephased, Resource Timephased, and EPM Timesheet cubes.
MSP_Project_SharePoint :: combines Project Non-Timephased, Issues, Risks, and Deliverables cubes.
MSP_Portfolio_Analyzer :: combines the Assignment Timephased and Resource Timephased cubes
kirtesh -
If all methods are virtual, what's up with this?
I've got two class
Class A {
public void foo() {
System.out.println("As foo");
public void bar() {
foo();
Class B extends A{
public void foo() {
System.out.println("Bs foo");
Then in my main method
B myB = new B();
myB.foo();
the output is "As foo". Should it not be "Bs foo"? How can I make it execute Bs foo, without giving B it's own bar() method?Ok, problem solved. My foo() type methods were
actually private. I made them protected and all is
well.And that answers your question as well. Not all methods are virtual. -
Virtual Char error - UC_OBJECTS_NOT_CONVERTIBLE
I posted this on BI general, but thought may be this is a better place..please respond..
Hi all, I am trying to implement a virtual char and I foolowed the how to paper from SAP...My example is a very simple one where I want to test how this concept works. What I wanted to do is to be able to assign a constnt value to the characteristic 0PLANT, but I get the following runtime error when I test the report in RSRT.
UC_OBJECTS_NOT_CONVERTIBLE - Data objects in Unicode programs cannot be converted.
The statement
"MOVE src TO dst"
requires that the operands "dst" and "src" are convertible.
Since this statement is in a Unicode program, the special conversion
rules for Unicode programs apply.
In this case, these rules were violated.
here is the code I had in the method: IF_EX_RSR_OLAP_BADI~COMPUTE
method IF_EX_RSR_OLAP_BADI~COMPUTE.
field-symbols <fs_0material> type any.
field-symbols <fs_0plant> type any.
data: l_plant type /BI0/OIPLANT.
assign component p_cha_0material of structure c_s_data to <fs_0material>.
assign component p_cha_0plant of structure c_s_data to <fs_0plant>.
<fs_0plant> = l_plant.
endmethod.
I tried to search in SDN and on Service market place but could not find proper documents. Can someone help?Ok I am past the error message and can actually execute it throught RSRT, but I dont see the virtual chars being filled in the output result. I can see through debug mode that the Virtual char in this case ZMRPDATE getting a value and also c_s_data being filled with that value, but finally when it outputs the result in RSRT it shows nothing. Is there any step that I am missing??
METHOD IF_EX_RSR_OLAP_BADI~COMPUTE .
field-symbols <fs_zmrpdate> type any.
field-symbols <fs_0material> type any.
field-symbols <fs_0plant> type any.
field-symbols <fs_zberw2> type any.
data: l_plant(4) type c.
l_plant = 'ABCD'.
if p_cha_0plant is not initial.
assign component p_cha_0material of structure c_s_data to <fs_0material>.
assign component p_cha_0plant of structure c_s_data to <fs_0plant>.
assign component p_cha_zmrpdate of structure c_s_data to <fs_zmrpdate>.
assign component p_kyf_zberw2 of structure c_s_data to <fs_zberw2>.
endif.
select single /bic/zmrpdate from /bic/azpur_mdp00 into (<fs_zmrpdate>)
where
material = <fs_0material> and
plant = <fs_0plant>.
<fs_0plant> = l_plant.
<fs_0material> = l_plant.
******<fs_zmrpdate> = sy-datum.
<fs_zberw2> = '999'.
Write afte the above step I could see that the C_S_DATA has changed, but the output result in RSRT will not the fields filled, they are still blank!!!!!!!!!!!!!!!!
Edited by: Ram Gowda on Feb 11, 2008 11:15 AM -
Where-Used list for BEx query chars & KFs
Hello everyone. I am trying to find a way to identify what Characteristics and Key Figures are used withing an infocube in BW. I think that the BW Statistics cubes may help, but that was going to be my fallback option.
I couldn't find a way to do a where-used list for characteristic and key figures when in the Query Designer. I can do a where-used on restricted key figures and char. variables.
Does anyone know of other ways to do this. How about looking in some of the core BW DB Tables (eg. RS*)?
Thanks,
KevinOh my, I just realized that I typed in my question wrong. I am sorry. That's what I get for doing this during a long meeting!
Here's the right question (I double-checked this time):
I am trying to find what queries contain some specific chars & KFs.
So you are exactly right that the previous suggestion for using RSD1 would work to find what infocubes they are used in.
Sorry for the confusion.
Kevin -
Dear Experts,
I have the following requirement:
In my cube I have the following Chars:
Reference #
Clearing Date
Net Date
Date1
Date2 => Virtual Charc
I have a query with input variable as Key Date based on Infoobject Date2 in the cube. I want to restrict a Key Figure based on value of Date2.
In my query I want to accept user input via Key Date. Then,
If Reference# <> blank and (Clearing Date = Blank OR Clearing date GT Key Date)
I want to assign Net Date to Date2
else
I want to assign value in Date1 to Date2
I would really appreciate if someone could point me how to do it.
I know the characteristics and Key Figures can be accessed in Virtual Char/KF implementation but my question is how can I access the value of Key Date which is a user input value in Virtual Char/KF implementation?
Thanks.
Regards,
bw_newbieTry this document:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e473ab90-0201-0010-22ac-fdd925cac167
It isn't exactly what you are doing, but it should be close enough to get you where you want to go...
Brian -
Hi friends,
how can we define virtual charecterstics and Virtual keyfigures.. in the info object creation screen there is no option to define that object as a Virtual.. then how can we define that object as virtual..
and in what situation we can declare as virtual... can you plz give me a brief explination abt this... plz dont suggest any links... i did't got any conclusion by seeing those links..
help ful answers will be highly appriciated...
regards
Babuhi babu..
virtual key figures are key figures within an InfoProvider that are not filled with data. Instead the key figure value is determined at runtime of the query using custom ABAP coding .(or)
Virtual characteristics and Key figures are useful if you want to dynamically pouplate data from the fact table to the field which doesn't have any data in the fact table and also used to build an internal security model before the data gets passed to DATA_PROVIDER.
Virtual Characteristics and Virtual key figures are not part of data targets.
By Virtual Characteristics and Virtual key figures Query performance is going to impact.because these are not part of the data targets.
Ex: you have keyfigures profit,sales
You are going to create a Virtual key figures say COST = sales - profit.
so these cost is a Virtual key figures which is not part of a data target.
when you execute particular query your OLAP processor is going to pick the data by caluclating the COST.& it impacts the query performance.
You can get more information if you review the documentation for enhancement RSR00002.Go to SMOD type in RSR00002 and select the documentation radiobutton..
/people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
/people/sanyam.kapur/blog/2005/04/30/custom-fields-and-bw-extractors-making-a-mixed-marriage-work-part-ii
Also check these threads tooo.
Virtual Characteristics and Virtual keyfigures
Virtual chars and key figures
sampel code for virtual key figures
Virtual Key Figure
Virtual Key Figure
Virtual key figure
Code for Virtual keyfigure
virtual key figures
See this:
https://forums.sdn.sap.com/click.jspa?searchID=3080291&messageID=3366412
https://forums.sdn.sap.com/click.jspa?searchID=3080291&messageID=3371606
and
https://forums.sdn.sap.com/click.jspa?searchID=3080292&messageID=3309795
In SAP BW, values of key figures and characteristics do not necessarily have to be stored permanently in an InfoCube or in a master data attribute table. Virtual key figures and virtual characteristics allow the dynamic computation or derivation of values for key figures and characteristics at query execution time.
Examples 4 Virtual Characteristics
Dynamic categorization of key figure values such as age groups and price ranges, where the basis for calculating the categorical values is variable (as for the age).
2.Computation of complex compound values, combining information read from the InfoCube
with current information retrieved from other sources (e.g., master data attributes).
Virtual key figures can be used to perform complex computations on the fly that are
beyond the scope of the formulas available in the BEx Query Designer.
Examples include
1.Dynamic computation of the current age of a customer based on the current date and the birth date of the customer or the number of days on back order.
Both virtual key figures and virtual characteristics are rarely used, as they impact query performance and the degree of flexibility in defining aggregates significantly.
hope this helps.. -
Virtual char's not working with new session
This is a weird one...
I've managed to build virtual char's and key figures in BW 3.5. It is working fine with my first query, but when I start a new session of BEx Analyser (or WAD) the values are suddenly empty.
I've found that if I reactivate the cube it works again, but only for the first session. With the next session the values are empty again.
Any thoughts?burkey7669 wrote:
I put it in the freezer( an online solution),
No intelligetent person puts electronics in the freezer.
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). If none of this resolves, then the device should be taken to Apple for evaluation.
If Apple determines the device has suffered a hardware failure, they will either replace under warranty (if under warranty) or offer an Out of Warranty replacement.
So what exactly is the problem? They offered an Out of Warranty replacement for the defective device. -
What are the different values available for type attribute
Hi,
I am working with IDOC to Stored Procedure. For each field we need to give the values for 'isInput' and 'type' attributes. I need to pass values for 'datetime' and 'numeric' fields. What are the list of values availabIe for 'type' attribute. I know only about 'CHAR' attribute.
Can anybody please tell me what all the values availabe for attribute 'type'. I am facing this problem while giving the value for type attribute.
Thanks in Advance,
Murthy.Does this help
tring
Data that contains a combination of letters, numbers, and special characters. String data types are listed below:
CHARACTER: Fixed-length character strings. The common short name for this data type is CHAR.
VARCHAR: Varying-length character strings.
CLOB: Varying-length character large object strings, typically used when a character string might exceed the limits of the VARCHAR data type.
GRAPHIC: Fixed-length graphic strings that contain double-byte characters.
VARGRAPHIC: Varying-length graphic strings that contain double-byte characters.
DBCLOB: Varying-length strings of double-byte characters in a large object.
|BINARY: A sequence of bytes that is not associated with a |code page.
|VARBINARY: Varying-length binary strings.
BLOB: Varying-length binary strings in a large object.
|XML: Varying-length string that is an internal representation |of XML.
Numeric
Data that contains digits. Numeric data types are listed below:
SMALLINT: for small integers.
|INTEGER: for large integers.
|BIGINT: for bigger values.
DECIMAL(p,s) or NUMERIC(p,s), where p is precision and s is scale: for packed decimal numbers with precision p and scale s. Precision is the total number of digits, and scale is the number of digits to the right of the decimal point.
|DECFLOAT: for decimal floating-point numbers.
REAL: for single-precision floating-point numbers.
DOUBLE: for double-precision floating-point numbers.
Datetime
Data values that represent dates, times, or timestamps. Datetime data types are listed below:
DATE: Dates with a three-part value that represents a year, month, and day.
TIME: Times with a three-part value that represents a time of day in hours, minutes, and seconds.
TIMESTAMP: Timestamps with a seven-part value that represents a date and time by year, month, day, hour, minute, second, and microsecond.
Regards
Ravi -
Are Virtual Copies saved in Backups? How do I insert a backup into an existing catalog?
Are Virtual Copies saved in Backups? How do I insert a backup into an existing catalog
I deleted a tif image file that I didn't intend to, which had several LR virtual copies created from it. The virtual copies had a lot of important history that document my print preparation edits. Are these virtual copies saved in the LR backups?
If so, how can I insert them into the catalog I am using? I have made a lot of edits in the two days since my last backup and don't want to lose that history either. Do you suggest I make a current backup before retrieving files from my last backup? I know I'm supposed to go to the backup location and open the last backup, but how do I blend that with the current work from the last 2 days?
Any help would be most appreciated. Thanks, TomRob,
That was exactly what I was after. However, I'm still having trouble getting the virtual copies imported. The master file was in my trash, I restored it to the original hard drive folder. Before I got your message I re- imported it to LR but of course LR came up with a new name since I was importing from and saving it to the same folder in LR. And of course no copies. This may have been a mistake, but before starting the procedure you described, I re-named the master file (it seemed that the import from backup would re-create it so I didn't want a conflict).
Then I did what you said and used the 'Import From Another Catalog' feature. I found the virtual copies in the backup and checked them. But when the import completed, the it gave me file names xxx/Copy1, xxx/Copy2 but there was no image or history or metadata. When I tried to find the folder containing the files, it said it couldn't be found. So I missed something in the settings. When I tried again, there was a warning saying the file(s) exists in the catalog and its settings differ. I went ahead anyway and the message I got was "No Photos in previous import"
Here's what the import from backup shows:
A box with catalog contents and all the folders and files within them, that you can check.
A New Photos section, which gives 2 file handling choices: a)add new photos to the catalog without moving them or b) don't import new photos
A Changed existing photos section with 2 replace options: a) nothing or b) Metadata and develop setting only. If you choose this you can check a box to preserve old settings as a virtual copy.
Not sure what to do. I changed the master file back to its original name, but that didn't make a difference. Suggestions? Thanks, Tom -
What are the fields in BDC table
hi
what are the fields in BDC table. what is the last entryhi,
BDC table structure
FIELD TYPE DESCRIPTION
Program CHAR (8) Program name of transaction.
DynPro CHAR (4) Screen number of transaction.
DynBegin CHAR (1) Indicator for new screen.
Fnam CHAR (35) Name of database field from screen.
Fval CHAR (80) Value to submit to field.
Hope this is helpful, Do reward.
Maybe you are looking for
-
UL are not showing up in my div correctly? CSS issue
I can not figure out what I am doing wrong here. I had this working fine until I tweaked my site to get rid of the majority of tables on my site and optimize my pages for better peformance. If you take a look at the shopping support and learning cent
-
How to invoke the "loading data" javascript
Hi I would like to be able to reuse the piece of code which performs the 'loading data' meter in flash charts. I would like to enable the same 'loading data' behaviour for sql reports which takes some seconds to execute. I guess it is a piece of java
-
How do you change the number of processes in XE
Processes are set to 40 in XE, how do i change this?
-
I can't open iTunes, MacBook Pro 10.10.3
I can't open iTunes, MacBook Pro 10.10.3
-
Can it ever be a phone again?):
I put my sim tray in the wrong way when I was putting my sim card in my new Iphone. Pulling it out it got stuck and broke, leaving my sim card and the bottom part of the tray inside. Trying to get the sim card out I somehow broke one of the metal pla