Keyfigure and char
difference between keyfigure and characteristics
Welcome to the SDN!
We recommend that you first search for the solutions to your question in the SDN forums or SAP help, and if you do not find an answer, then you post as a new question.
The difference between chars and key figures is one of the basic building blocks of BI and you can read much about it by a little searching.
You can also search the Library on SDN (which is where you can find the most links to docs) by starting at here:
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_library&adv=true
Give some proper key words and choose the BI area and see what somes up. Several times I have also found Google very useful to search even for forum threads! Also the BI area on SDN is the home to a lot of documents and links to connect to:
https://www.sdn.sap.com/irj/sdn/bi
The above link will help you to get to blogs, How to docs, FAQs, Demos etc.
Hope this helps you...Good Luck
Similar Messages
-
Transformation logic for char and keyfigure from source keyfigures and flag
Hi All,
My requirement is populate char and keyfigure values from source keyfigures and flag, which is like transformation of converting the Key Figure based structure to the accounts based structure. I am loading data from the cube1 to cube2,
cube1 structure with sample data:
Plant Furnace ZFurnace ZPlant1 Zplant2 Flag
P01 Blank 0 56 73 P
Blank F01 335 0 0 F
Target Cube str with sample data
Plant Furnace FS(Char) KYF Flag
P01 Blank 1 56 P
Blank F01 2 335 F
P01 Blank 3 73 P
ZPlant1, ZPlant2 and ZFurnace are the keyfigure tech.names.
FS has master data:
FScode KYF Flag
1 ZPlant1 P
2 ZFurnace F
3 Zplant2 P
While loading data from the source cube1 I need to read FS master data and than fill FS code in target cube based on source Flag and Key figure technical names.
I would be greatly appreciate with points if anyone can help me in writing the ABAP logic. The challenging part for me is comparing key figure technical names in cube1 with the FS master data key figure values.
Thanks.
Baba.Hi All,
Actually there will be 18 records in FS master data and there will not more than 18 Key figures. Is there any way I can hardcore the values and write small code.
something like:
if KYF = Zplant1.
WA_FSCODE = '1'.
WA_EU = source_fields-KYF.
WA_PLant = source_fields-plant.
wa_furnace = source_fields-furnace.
else
if kyf = zplant2
Please let me know the sample logic with code. I greatly appreciate with points..
Regards
Baba -
Difference between Restricted KeyFigure and Filter
Hi Experts
Could anyone tell me what is the main difference between Restricted Keyfigure and Filter.. Normally in which scenario we will use Restricted Key Figure and when we will use in Filter...
Thanks
AjayRestricted Key Figure
In your sales analysis report you have customer,material,sales qty,value for an year..You want to show current month sales one more column.You will create a restritcted key figure based on the current month and show it in the report.You will end up with a report
customer,material,sales qty,value,Current Month Qty,Current Month value.
Filters
The above report you want to show only the current month sales.You will create a filter where the 0CALMONTH = current Month with customer,material,sales qtym,value for the current month only.
Regs
Gopi -
Link between documentation for chars value and chars
Hi,
we need to find out sap transaction or report for link between documentation of chars value and chars.
we know for specific chars through CT04 and going to VALUES sub-tab then selecting perticular chars value and clicking on the documentation for value.Go to transaction CT10 and select display option 'Allowed values'. You will have the characteristics along with their values.
-
How to put both number and char in values?
Hi ,
Cud anyone tell me how can i put both number and char value in one colun. Such as i want to put ..(A121)..in REFNo column . so it includes both number and char .how can i do this?Hi,
If you will ever want to treat the numeric part of refno as a NUMBER, then I suggest you store the values in two separate columns, refno_alpha and refo_num. For example, if "ORDER BY refno" should produce:
A1
A1.1
A2
A10
A11
A100
A121
B1then it will be easier to have two columns.
When necessary, you can always combine the two columns (using "refno_alpha || refno_num"). You can create a function-based index and/or a view with that expression if it helps you.
Also, as William said, validation is easier if the numbers are separate. -
Byte and char !!!
Hi!
What is the diference between an byte and char in Java! Could I use char instead of byte and reverse?
Thanks.TYPE BYTE BITS SIGN RANGE
byte 1 8 SIGNED -128 to 127
char 2 16 UNSIGNED \u0000 to \uFFFF
Both the date types can be interchanged
Have a look at this
class UText
public static void main(String[] args)
byte c1;
char c2= 'a';
c1 = (byte) c2;
c2 = (char) c1;
System.out.println(c1 +" "+c2);
But It Leads to confusion while interchanging because of its SIGN. And the range of byte is very less.So its better to prefer char. -
hi i have got two fields that have data types numc and char. I want to fill value --- in those fields. I know i can do it for char but nt sure for numc. what if i put space or 0000 for numc, will it be any good.
thanks in advance,
Gauravsorry its a repost, i dont know how to take it off.
-
How to put KF's and Char's in order
Hi,
As per requirement i need to show the Char's and KF's in the below order.
1. Sales Org
2. Sold-to party
3. Bill-to party
4. Cust PO Nbr
5. Sales Document
6. Item
7. Sched Line
8. Payment terms
9. Schd Line Qty (key figure)
10. Net Price (key figure)
11. Created On
12. Created By
13. Material
14. Sched Net Value (key figure)
please guide me.
thanks in advance.
bhaskar..Hi Bhaskar,
As the above post suggested, it can be done in Table Display format.You can adjust all your infoobjects (chars and KF's) in a particular order.
Check Table Display Icon in query designer tool bar.
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a569ae09411d2acb90000e829fbfe/frameset.htm
Cheers:-)
Ravi. -
Memory leak and char[] ?
Hello all,
I'm not sure whether this post should be here or in WebLogic section, so correct me if I'm wrong.
I'm working on JDeveloper 11.1.1.3 while deployments are made on standalone WebLogic 10.3.3. This thing occurred in previous versions also.
With every deployment WebLogic increases it's used memory until the famous PermGen space error, which is after about 5-6 deployments.
I'm doing my best to understand how to use memleak detection tools. I've switched JDev and WL from Sun jdk which was used before to JRockit, same thing happens. Both JDev's memory profiler and JRockit mission control show something that I really do not understand. char[] uses around 30% of heap space and keeps growing with deployments, next is String with 8%. I never use char in app.
Am I looking at the wrong thing? Is it normal for char[] to increase on WebLogic on deployments? Does anyone know how to check other things and what to check? Someone on other forums mentioned it would be useful to check if ApplicationContext keeps initializing over again on deployments. Does anyone know how to check this?
One more thing, I have successfully deployed app on Tomcat, and Tomcat said there is a memory leak in app, but could not tell anything specific.
I'm kinda lost in this :(It is normal for the PermGen space of the Sun's JVM to get filled after several re-deployments. PermGen stands for "permanent generational". This space is used by classes that is unlikely to need to be garbage-collected, so they are placed in this memory space that is never garbage-collected (for example, the Class instances). When you redeploy an application, a new class loader instance is used and it instantiates new Class instances that fill up the PermGen space. But why this happens on JRockit either, I could not explain.
We have experienced memory leaks related to classes and components that use native memory. For example, we have had significant memory leak when using Oracle's JDBC OCI driver. We were not able to solve this problem, so we switched to JDBC Thin driver (which is very performant and stable today comparing to some years ago). If you are using Oracle JRockit, you can monitor the overall memory usage by the following JRockit command executed at OS command line:
jrcmd <jrockit_pid> print_memusage>where <jrockit_pid> should be replaced by the JVM process ID.
If you suspect existence of native memory leaks, then have a look at the article Thanks for the memory for explanations about how Java uses native memory.
Dimitar -
Bug 585844 JDBC Thin and Char Fields
I would like to see this bug fixed because the workaround that I
have been using for the past two years is a cluge. I could buy
the reasoning listed in the bug database at to why why this bug
exists, and why it hasn't been fixed, except that it doesn't
exist in the OCI driver. Please make the drivers consistant.
The JDBC API does not provide a way to differentiate
CHARS from VARCHAR2. When setString is used we have chosen to map
it
to a VARCHAR2, and as a consequence the blank-padded and
non-padded
comparison semantics for CHARs don't work.
Since this is an API restriction, we can't easily fix it. What
can be
done to fix it, is to add an Oracle Extension like
setChar(1,"one")
in which case JDBC will know that this type is s CHAR instead of
a VARCHAR2
and the comparison semantics will work. I believe that since this
a JDBC
restriction, it should be treated as an enhancement request.
nullThe OCI would hanlde this sort of thing for you (translating the
char types) which is probably why it works in that driver. The
thin driver is just using java sockets to transport SQL and there
is no underlying client layer support.
null -
How to show kf and char in the adjecent column
hi to all
I am a newbie in the BI..and i have some problem.
i have 52 weeks in the column and along with that i need to show amount column also.how can it possible.i dont want to see weeks under amount.
employee |amount||week 1| week 2|...(like this up to 52 weeks) |total days|
i took employee as the char and amountas kf.for weeks i used 0CALWEEK.
but the problem is when i am executing the Query,weeks are comeing along with amount also.i need separate amount and weeks .
could you people please give some clues?
thanks alotHi gaurav,
its not the Cumilative amount.
for exp....
i have year/weeks and amount along with Employee details
i need to planify that data.some data will be with input ready cells in planification.
i need the result like this..
employee | empname | empoffice | tarif(amount) | week1| week2 | week3 |....week52| total days|
how can ido this...i got some result with variable..but its a bit lenghty to creat 52 variables like weeks na.
so i am looking for a some what good idea.
i put employee details in Row and tarif and 0calweek in columns.i create filter for version.
the problem i am facing is when i keep TARIF in column along with 0calweek...the feild is not ready for input. -
Release Strategy with New Class and Char.
Dear All,
I have facing problem when creating the new release strategy for different country. i have create new Characteristic and class for new Release streategy.
when i going to add in Release group.. system giving the error.
Diagnosis
Here you can assign release groups to release classes. Only one release class should be used within the release groups for overall release and the release groups without overall release in each case. However, in this instance several release classes have been used.
My existing Characteristic for india :
ZP0_GNETW Total net order value CURR 15 2 INR
ZPO_BSART Order type (Purchasing) CHAR 4 0
ZPO_EKORG Purchasing Organization CHAR 4 0
ZPO_EKGRP Purchasing group CHAR 3 0
New Characteristic for South africa :
ZPOSA_BSART PO Order Type ATSA CHAR 4 0
ZPOSA_EKGRP Purchasing Group ATSA CHAR 3 0
ZPOSA_EKORG Purchasing Organization ATSA CHAR 4 0
ZPOSA_GNETW Total net PO value ATSA CURR 15 2 ZAR
ZPOSA_WERKS Plant CHAR 4 0
Please help me how do configure 2 release strategy for 2 country.
I will be very thankfull to u.
Regards,
Vishal GargHI Biju K,
I can use exising Characteristic Like Purchasing Organization & Purchasing Group & Plant etc. But in the case of Net order value : ZPO_GNETW Total net PO value for my indian company Currency is INR and for My SA company currency is ZAR. What will i do in that case.
Please explain..
And aslo clear the concept of creation of new Characteristic as Company Code & design different release strategies based on company code. How i can do that..??
Please explain in details.
I will be highly thankfull to u.
Regards,
Vishal Garg
9810402156 -
Change the font of Eterm so can use ñ and á chars
I've been in a lot of sites on the web trying to find a way to make Eterm use fonts that accept spanish chars like ñ or á and have found nothing. Can anyone point me in the right direction?. I have use the xlsfonts command so it showed me the fonts that can be on Eterm and they work perfect, the thing is, dejavu (for example) should accept those characters and when I go Eterm -F "dejavu . . ." etc it opens a Eterm window with the font loaded but still shows funny symbols instead of ñ or the á (é, í, ó or ú). My locals are good, I have them generated with es_MX and they work in everything else but in Eterm. Should I do something else or anyone knows something that can help me
Last edited by xangelux (2010-07-21 01:30:32)yes, I just did it again in case I missed something but no, still the same problem . Here is what might be an issue:
Configure step:
checking for preferred autoheader... autoheader
checking for preferred automake... automake
grep: ./src/netdisp.c: No such file or directory
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking regexp.h usability... no
checking regexp.h presence... yes
configure: WARNING: regexp.h: present but cannot be compiled
configure: WARNING: regexp.h: check for missing prerequisite headers?
configure: WARNING: regexp.h: see the Autoconf documentation
configure: WARNING: regexp.h: section "Present But Cannot Be Compiled"
configure: WARNING: regexp.h: proceeding with the preprocessor's result
configure: WARNING: regexp.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
Make step:
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/include -g -O2 -MT libscream.lo -MD -MP -MF
".deps/libscream.Tpo" -c -o libscream.lo libscream.c; \
then mv -f ".deps/libscream.Tpo" ".deps/libscream.Plo"; else
rm -f ".deps/libscream.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -MT
libscream.lo -MD -MP -MF .deps/libscream.Tpo -c libscream.c -fPIC
-DPIC -o .libs/libscream.o
libscream.c: In function 'ns_attach_by_URL':
libscream.c:1489:2: warning: #warning compiling in libscream
libscream.c:1494:2: warning: #warning compiling in support for GNU screen
Last edited by xangelux (2010-07-21 02:41:43) -
Help Document for Keyfigures and Characteristics
Hello,
Using BEx Browser I'm generating reports so i need to create help documents for Keyfigues and characteristics that way user will know by looking documentation they will know what is what
How can we create help documentation?
Experts help would be appreciated
Thanksactually we are using BI7.0 version but we don't have portal and web that is the reason we are using old BEx browser for front end but ETL we are using BI7.0.
so using old BEx browser can we create documentation for keyfigures or not?
if so How?
Thanks -
PreparedStatement and CHAR columns
Hi
I am having troubles using preparedStatements on tables with columns of type CHAR:
My table has a column of type CHAR(3). The data in this column is 0,1,2 or three characters long.
My query contains this column in the WHERE clause in the from "WHERE colName = ?".
The problem is now, that I have to use a String in the pstmt.setString(1, str) statement that is exactly 3 characters long. Otherwise I don't get any result.
If I use a 2 char string i get nothing. But with a 'normal' statement or in SQL*Plus it works perfectly fine.
Of course, I could trim() my column or fill the string up to be always 3 chars, but I think that's not state of the art.
Any other solutions?
Thanks in advance.
Andres
nullWhat you describe is the ANSI behavior of a CHAR column. VARCHAR columns can match on any length (and can be any length up to the maximum or the column constrint limit), but a char column is required to be blank padded. If you must use CHAR then write a function to automatically pad the string for you so that it will match.
Maybe you are looking for
-
Cannot awake from sleep after CPU replacement.
I recently upgraded my arch machine from E4500 CPU to a E6700 CPU. Everything seems to be okay, but for some reason I can no longer awake from suspension. My computer kind of just sits with the little blinking white under score at the top of the scre
-
Activate retail in ECC 6.0
Dear All, Please guide 1. How to activate retail system in ECC 6.0 and 2. What are the differences after activating Retail and 3. Any other settings required in customization ?
-
SWDD abends when dragging a step type into existing template
Hello, The following steps cause an abend. Has anyone seen this and found a fix? - Start transaction SWWD - drag a new step type into an existing workflow template - at the cursor a plus sign displays - upon releasing the mouse button the program ab
-
Report RFIDESM340 model 340 for spain. Type of book.
Hi gurus! I have a problem with the report RFIDESM340. It only classificated the type of book just in E or R, but i need that the operation should been identified as I,U,R, J.... How can i do it???
-
We recently switched ISPs. To connect to the new ISP our Airport Extreme has to be in bridge mode. Now our Nintendo Wii won't connect to the Airport. Is it an issue with bridge mode that is causing this? We're running two Macs wirelessly with no prob