Diffrence b/n char date &key fig date

hi experts,
what is the diffrence b/n the date field in char &date in key fig
in what scenario we will use this
pl give clear idea about how to use
thanks in advance
venu

Hi,
according to me, the difference between DATE(s) as char. is you can use this
char. as a display column or as a free char. but you'll not be able to perform any
restrictions or use as a conditional parameter or perform any calculation on this
DATE, whereas if the DATE is avaialbe as a keyfigure, could do all the above
mentioned activities...that's advantage of having date as a keyfigure, to build a
complex logical query..
Hope it helps..
pls. assign points if useful..
Cheers,
Pattan.

Similar Messages

  • Virtual chars/key figs

    Hi BW gurus--
    Let me know the Purpose of Virtual chars and key figs.
    also how to handle and how to create the same.
    Regards,
    Rambo.

    Hi Rambo,
    virual chars/key figs are normally created infoobjects. They will be added to a provider, but there is no value posted to them in the provider. They will stay initial. In the relevant user exit (enhancement rsr000001) you have to implement the coding to populate the values during runtime of your query.
    You can use them
    a) to show movements without having any data posted to your provider (e.g. you can set a flag identifying a sales order for 'in time', 'due' or 'late' if you compare the run date of the query with the desired delivery date of the customer. Of course for order without having the status 'delivered'.)
    b) to create flexible classifications (e.g. sales orders amounts: 0 - 100 = class A, 101 - 1000 = class B.... if you want to change the classification based on the amounts you have to use virtual infoobjects)
    Hope this helps!
    regards
    Siggi

  • Does CHAR data type work with Forms 11g

    We have an application in Forms 11g (32bit - version 11.1.2.0.0). DB is a Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production.
    When our Forms calls a stored procedure which has parameters defined using column name type (i.e. like p_customer_code customers.code%TYPE ) and if the column data type is CHAR we get a run time error when executing the package (ORA-06502: PL/SQL: numeric or value error string).
    When we change the data type of the tables column to varchar2, it works??
    Problem is we have dozens of tables with CHAR data type columns and we can't do all the changes manually. For one thing, if they are part of a primary or unique key or even foreign key, we can't change the data type of the column without dropping the constraint.
    What is the solution to this pls??

    When our Forms calls a stored procedure which has parameters defined using column name type (i.e. like p_customer_code customers.code%TYPE ) and if the column data type is CHAR we get a run time error when executing the package (ORA-06502: PL/SQL: numeric or value error string).this might also be related to compile settings, check your NLS settings (NLS_LANG, NLS_LENGTH_SEMANTICS) both times when you compile forms AND your stored procedures.
    As for the CHAR datatype: CHAR internally is treated like a blank padded varchar:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1542606219593
    Speaking of that it might be time to use varchar2 instead your char columns. You'd have to drop and recreate your constraints, but with the help of the data dictionary (+user_tables+, user_tab_cols, user_cons_columns, user_constraints) and dbms_metadata this shouldn't be that hard.
    Also you'd of course need to recompile all your forms after you are finished, but I guess you are aware of that ;)
    cheers

  • Char data type in mvc

    Char data type taking the numeric value  instead  of char data type while binding in the Mvc view

    For MVC questions please use the ASP.NET forums:
    http://forums.asp.net/1146.aspx/1?MVC

  • Initialization for char data type?

    I observed that as String I can declare something like this:
    String str = ""; but for char data type, if I declare:
    char ch = ''; the compiler will have an error: "empty character literal". So how can I fixe this problem when I want to initialize my char variables as "empty"? Anyone got an idea?
    Message was edited by:
    hoangSoccer
    Message was edited by:
    hoangSoccer

    Strings (and StringBuffers/Builders) are collections* of characters - so it makes
    sense to be able to refer to a String with precisely zero characters. But char is not a collection of anything - it has whatever value it has and can never
    be empty.
    *collections with a small 'c'.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Converting char data element to curr data element?

    Hi,
    In one of the transaction we have a custom field (Amount field) - but they used char data element  for this currency field.  And now in this field if we don’t supply amount value in Currency  format then the program is dumping.
    I need to solve this situation.
    1. This data element is using in lot of various tables, views and structures. So If I change this data element then how to handle rest of the object?
    Do we have any other solution to solve this issue?
    Please share your opinions.
    Thanks a lot.
    Venkat.

    Hi thanks for your information.
    What ever the field I am talking about in the transaction, the same field has been created in several SAP tables,structures and views. So If I change the data element for this field its going to impact all other objects?
    But I am in the process of finding  why this data element(currency field) has been created in char fomat.
    So if I change in the data element all other tables,views do I need to activate again? or when I activate this data element is it take cares?
    If I want to use field exit, as this is a custom field we can create field exit for this?
    Thanks  a lot for ur information.
    Venkat.

  • How to call VC++ dll whiich return char[] data type value in powerbuilder

    Hi Everyone,
    I am using PowerBuilder 11.1 build 8123.
    I am calling VC++ DLL in our PowerBuilder application which return char[] data type value.
    I just declare Global External Function:-
         Function  char getOSSectionName() library "DocServClient.dll" alias for "getOSSectionName;Ansi"
    And then call this function in window as:-
         Char      ls_section[1] = 'DOCAPPLICATIONS9X'
         ls_section[1]=getOSSectionName()
    When I check ls_section[1] value in messagebox it display a symbol (please check attached attached image.)
    VC++ function and return variable declaration:-
         __declspec(dllexport) char *  __stdcall getOSSectionName()
           char    SectionName[_MAX_PATH];
    Please let me know that my code is valid or not.
    Please help..

    Hi,
    Thanks to Everyone for your suggestions.
    I am solved my problem to change VC++ function as :-
         Int __declspec(dllexport)  __stdcall getOSSectionName(char* SectionName)
                        instead of
         __declspec(dllexport) char *  __stdcall getOSSectionName()
    and declare global function as:-
           Function int getOSSectionName(Ref char ls_section[100]) library "DocServClient.dll" alias for "getOSSectionName;Ansi"
    and call function in window as:-
         int li_ret
         char ls_section[100]
         string ls_sec
         li_ret=getOSSectionName(REF ls_section)
         ls_sec=ls_section
    Thanks,
    Vikrant

  • Hot to conver text to number....i.e char to key figure

    Dear All,
    we have field called 0base_location characteristic.
    The data for this field is  30 WAGONS
                                           2 WAGONS  Etc...
    Based on this data i need to do a calculation i.e 32 i mean total of above two
    its being a characteristic, i can not do the summation.
    I feel the alternative is to map a this characteristic  to a Z key figure and do some routine...my query is wil this solve the problem?
    If so kindly give me the ABAP code....
    please suggest other alternatives
    please help me out
    Regards
    venu

    Hello venu,
    Ur problem can be solved using Virtual Char. And Virtual Key Fig.
    U need 1 Virtual  Key Fig. and Chara. each.
    U can move last par "WAGONS" inot cha. and numeric part to Key Fig.
    After which u can sum up key part at query level.
    Any futher details required let me.
    Regards,
    Sachinkumar.

  • Key figs not populating in Multiprovider Query

    Folks,
    I have created a multiprovider on a Order Header and and Order Items with the following fields -
    Order Header - Sales Doc
                             Orde_ date
                             Promotion_Code
    Order Items - Sales Doc
                          Order_date
                           Sale_amt
                          Order_cnt
                          Line_Cnt
    My Report should display -
          __Order_date__   __Prom_Code__  __Order_Cnt__ __Lin_Cnt__  __Sale_ amt__
    Even though I have order date as 1st column in my report (which is common field in both providers), in the report it is displaying as 2 different rows for each Order date.
    1st row displaying Promotion_code from Provider 1 and the 2nd row displaying all the Key fig's.
    How can I get all fields in one row? please share your thoughts..
    Thanks,
    KK

    Thanks Mansi and Arun for your response, Promotion code infoobject is only available in Header Cube...Is there any alternative way of doing this other than adding this field in Order item and doing look up in header cube?? I do not want to do a look up as it will effect my dataload performance.
    Thanks,
    KK
    Edited by: kumar K on Aug 21, 2009 12:14 PM

  • Problem facing while cumulating the key fig

    Hi to all,Arun & gopi
    The report excecute for current month.
    Forecast values have month starting day to ending date.
    Actual values have month starting date to the present day(system date).
    According to client requirement in layout, i have to show shipmentforecast(day) and shipmenforecast(cumulate) from month starting date to ending date and shipmentactual(day) and shipmentactual(Cumulate) from month starting day to present day(system date).
    shipmentforecast(day) and shipmentactual(day) comes from cube, based on that i created shipmentforecast(cumulate) and shipmentactual(cumulate) using new selection and in properties i selected cumaulte, apply to the result, cumulate along rows.
    while cumulating, shipmentactual(cumulate) is showing corect cumulate values from month staring day to present day(system day), after present day it showing last cumulate value ( present day value) by default to remaining days.
    Even i am restricted the Actual(cumulate) with a customer exit variable( month starting date to system date ), still it showing last cumulate valye to remaing cells ( after present day to end of the month)
    i should not get this.
    In rows i taken 0calday.
    in columns i taken Key figs which are
    1) shipmentforecast(day)
    2) shipmentactual(day)
    3) shpmentforecast(cumulate)
    4) shipmentactual(cumulate)
    5) gap(cumulative) is calculated as ( NODIM ( 'Actual(Day)' ) <> 0 ) * 'Actual(Day)' - 'Foreseen(Day)' and properties i checked the cumulate.
    in filters i taken as Ocalyear/month which is restricted for current month.
    i mean total reprot has to display for  current month  days.
    and forecast(day) and forecast(cumulate) values has to display for whole month.
    actual(day) and actual(cumulate) values has to display for form starting of the month to the current day(system date)
    Please give me help.
    with regards
    m.rajnikanth reddy

    Hi to all,Arun & gopi
    The report excecute for current month.
    Forecast values have month starting day to ending date.
    Actual values have month starting date to the present day(system date).
    According to client requirement in layout, i have to show shipmentforecast(day) and shipmenforecast(cumulate) from month starting date to ending date and shipmentactual(day) and shipmentactual(Cumulate) from month starting day to present day(system date).
    shipmentforecast(day) and shipmentactual(day) comes from cube, based on that i created shipmentforecast(cumulate) and shipmentactual(cumulate) using new selection and in properties i selected cumaulte, apply to the result, cumulate along rows.
    while cumulating, shipmentactual(cumulate) is showing corect cumulate values from month staring day to present day(system day), after present day it showing last cumulate value ( present day value) by default to remaining days.
    Even i am restricted the Actual(cumulate) with a customer exit variable( month starting date to system date ), still it showing last cumulate valye to remaing cells ( after present day to end of the month)
    i should not get this extra values.
    In rows i taken 0calday.
    in columns i taken Key figs which are
    1) shipmentforecast(day)
    2) shipmentactual(day)
    3) shpmentforecast(cumulate)
    4) shipmentactual(cumulate)
    5) gap(cumulative) is calculated as ( NODIM ( 'Actual(Day)' ) <> 0 ) * 'Actual(Day)' - 'Foreseen(Day)' and properties i checked the cumulate.
    in filters i taken as Ocalyear/month which is restricted for current month.
    i mean total reprot has to display for  current month  days.
    and forecast(day) and forecast(cumulate) values has to display for whole month.
    actual(day) and actual(cumulate) values has to display for form starting of the month to the current day(system date)
    Please give me help.
    with regards
    m.rajnikanth reddy

  • Add new key figs or characteristics and "Repair full request"

    Hi Gurus, here are my questions
    1.If I add new key figs or characteristics(which are not Key fields) to ODS and Cube containing tons of data, Will the transport for structure changes fail due to presence of data?
    2.The extractor to the ODS which inturn is feeding the cube, is delta enabled. So the newly added objects wont have entries for historical records. If I change this extractor to "Repair full request" after adding the new fields, will the new fields then get populated?
    3. After the "Repair Full Request" activity, Can I change the Infopackage setting back to delta update mode?
    Thanks for the help in advance!!
    Simmi

    Hello Simmi,
    1. Transport should go fine. As you are not changing the key fields, it should not cause any problem even if data is present.
    2. Yes. But make sure what data you want to laod. As with full repair, system is not going to check for duplicate data. The responsibility lies with you.
    3. Sure. if you mark the full load as repair, the delta settings will be unaffected.
    Hope it helps.
    Regards,
    Praveen

  • Values are aggregated at query end hence key fig gives incorrect output

    Hi expert,
    Support team have faced the issue at query level. The system is migrated from 3.5 to 7.0.
    We have 3 key fig as A1, A2, A3 and it contains zero as well as non-zero values.
    We need to ignore zero values and only non-zero values should be considered to calculate the KF.
    Please suggest.
    Thanks in advance.

    Amar,
    It's ok supress and delete the records which have zero KF values.
    there is no purpose in having them in the cube if you don't use them for the reporting (cumulation of the all the records)
    as far the facts are empty in the report, neither they help in decision making nor  they  add any significance.
    So why just have the data for characteristics which doesn't have facts (key figure values). use Zero elimination technique as i said.
    it will also reduce the datavolume in the cube.
    Regards,
    Sudheer.

  • Displaying Key Fig values differently with german & english logins

    HI,
    our BW Datamodel, reports etc have been built on a german system, i.e. with german language (DE) login. Hence Key Figs in the BEX Reports are displayed as 12.345.678,000 Euros for example. We need to make the same reports available in English, i.e. with an english language login (EN). The KeyFigs need to look like 12,345,678.00. How can I achieve this?
    Pls help. Thanks.
    SD

    Hi Sebastian,
    You can do this in the User profile settings for the User.
    Goto System Menu - > User Profile -> Own data . In the Defaults tab you can change the Decimal notation.
    Regards,
    Hari
    Edited by: Hari Krishnan K on Jul 12, 2010 7:32 PM

  • Documentation How to use Virtual Key fig.

    Hi all ,
    Can u please send me Documentation How to use Virtual Key fig. to [email protected]
    Nice weekend.

    check this doc to get a headsup on Virtual objects - though the doc talks abt the virtual char, the procedure is pretty much similar to KF too.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20variable%20time%20references%20in%20currency%20conversion
    How to implement Virtual Characteristics or Virtual key figures

  • Sum of Key fig at Universe level

    Hi, I have created a Universe on the Top of SAP BW Cube.
    I have 5 Key fig in the Key fig class.
    My question -
    1. Can i create a new key fig which contains the sum(Salary) , Assuming salary is the key fig exist in Universe.
    2. What will be the syntex for the same.
    Thanks

    Hi,
    take a look here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    Keep in mind that when you connect to the cube directly you will lose the following:
    - navigational attributes
    - restricted keyfigures
    - calculated keyfigures
    - variables
    >> including authorization variables.
    Ingo

Maybe you are looking for

  • Exporting my movie

    I am using Final Cut Express 4. One of my files is in .wmv and I have downloaded Flip4mac. I have followed the User Manual's steps for exporting a movie. I have clicked on Clear In and Out to export my whole sequence. But whenever the movie is being

  • Callout Javascript to remove e-mail as attachment option?

    Hi, In our organisation, we're running Sharepoint 2013. On hovering over every folder/file there is a drop down list with a e-mail as attachment option. Is there any javascript which will modify a callout and remove e-mail as attachment? Thanks.  

  • How to change the name of the user of the iphone?

    I have bought a used iphone and want to change the name of the iphone from the old users name to my name. Where do I set this setting?

  • Error: "ID = -108" – hardware inadequate?

    Hi there I'm working with a very dense vector drawing in Illustrator. There is nothing very complicated – it's just strokes and fills and basic text – but there are hundreds of layers. The file is about 13MB. For final output I probably won't need mo

  • CAT2 problem: Error when attempting to IMPORT object "C1

    Hello Friends, We are upgraded from SAP 4.6C to ECC6.0 I am getting problem for CAT2 Transaction. CAT2 is working fine for most of the personnel numbers but for few persons, it is giving an ABAP dump. Runtime Errors         CONNE_IMPORT_WRONG_COMP_TY