Time conversion at Query Level

Can anyone suggest any methods to convert the time from UTC time zone to PST time zone at Query level without changing at backend level???

If it is a key figure you can create a formula and add the offset.
If it is a characterisitc and you want to limit the selection you can use customer exit variables. If you want to display the characteristic value, then you may be able to do a replacement path variable to convert characterisitc to KF and then use a formula to adjust the offset.

Similar Messages

  • Currency Conversion at Query Level

    Guys,
    Can some one tell me step by step procedure to do Currency conversion from USD to Mexican PESO at query level in BI 7.0. I have read lot of threads but not clear in maintaining the Exchange rates and also in creating the variables. 
    Thank you,
    Kumar

    Hi Kumar ,,
    You're able to convert the currency amount on the routine ...
    Using this function :
    CONVERT_TO_LOCAL_CURRENCY
    Sample:
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
         EXPORTING
            DATE             =  " current date.
            FOREIGN_AMOUNT   = " local currency amount (peso)
            FOREIGN_CURRENCY =  " local currency
            LOCAL_CURRENCY   = 'USD'
         IMPORTING
            LOCAL_AMOUNT     = RESULT " result.
         EXCEPTIONS
            NO_RATE_FOUND    = 1
            OVERFLOW         = 2
            NO_FACTORS_FOUND = 3
            NO_SPREAD_FOUND  = 4
            OTHERS           = 5.
    To maintain the exchange rate, you can go to tcode: OB08
    Hopefully it can help you a lot..
    Regards,
    Niel
    thanks for the points you choose to assign.

  • Date to Month Conversion at Query Level.

    Hi,
    I have Net due date in the Info provider.
    At query level i have to create a restricted keyfigure based on Net Due Month.
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    Thanks and Regards,
    MuraliManohar.

    Hi,
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    you can calculate , but as he said you can add in cube ,  may be for cal month you are taking som eother date field.
    in this case write one customer exist code .
    create one varaibel on netdue date with customer not ready input (if user wants to enter input then ct=reate user entry varaible with reday input by using customer exit).
    in routine wriet the code as when that varaible .
    l_s_range - high , low and give then take the month form that date
    like netdue date +0(6)-- gives month and year
          netdue date +0(2)-- gives month
    then rtestrict that variable with your keyfigure.
    Thanks & Regards,
    sathish

  • Unit Conversion in Query Designer

    Hi All,
    In one of my report, i have to show the gross weight in column against material which i am reading from material master.
    Now the weight is stored in two different unit's KG & G.
    But i have to show the weight finally in KG.
    Does any body has any idea of performing unit conversion at Query level i.e. in Query Designer.
    Thanks.

    Rakesh the same i am doing, that is reading the weight value from material master through formula variable using replacement path.
    Now when i create a key figure like this, there is a tab of 'Conversion' in that there is mentioned the 'Unit conversion'
    In there, there are 2 options
    1. Conversion type - this is a drop down but with no vlaue
    2. Target Unit - Where i selected KG.
    But output remains the same, i.e. in KG.
    M I missing something ?

  • Time format is showing wrong at query level

    hi,
    i have a problem at query level
    i have two time fields which are key figures
    i have calculated key figure which has a formula
    cal kf =  time (tim1- tim2)
    data at the dso level
    flightno              time1                 time2          
      f001                11:12:24     10:12:24
      f002                11:12:24     10:12:24
      f003                10:12:24     10:12:12
      f004                11:12:24     11:12:12
    query output
    flightno              time1                 time2               calkf
      f001                11:12:24     10:12:24           19:00:00
      f002                11:12:24     10:12:24           19:00:00
      f003                10:12:24     10:12:12           18:00:12
      f004                11:12:24     11:12:12           18:00:12
    calculated key figure is showing me wrong values by adding up 18 hours
    so i added a key figure at dso level and calculated using formula in transformations
    it is showing me correct value at dso level but query level it is showing me wrong values
    how to solve this
    did any one face this problem before
    any ideas
    i will assign points
    Message was edited by:
            venkat s

    Venkat,
    Try out this.
    Since the 2 time fields are key figures,create the calculated key figure for each of them using the Time() data function.
    eg: for tim1 --> create CKF using time data function as TIME(tim1)
    eg: fro tim2 --> create CKF using time data function as TIME(tim2)
    As a next step,now create a CKG for calculating the diff bewteen 2 time CKG.
    eg : TIME(TIME(tim1)-TIME(tim2))
    Hope this helps.
    Thanks & Regards,
    Suchitra.V

  • Automatic time conversion is not possible

    Hi Friends,
    I have a problem in Transformation Level when i am mapping "automatic time conversion is not possible for source field FISCPER to 0FISCYEAR,FISCPER3".can any one help me in this issue.
    Thanks
    Narasimha

    Yes if it was date filed then it would have been possible.If you are trying to derive the fiscal year between datasource and cube then you can get it with the help of simple filed level routine.
    Map your fiscper field from source to fiscal year--Rule type Routine.
    RESULT = SOURCE_FIELDS-(Technical name of source field)+0(4).
    For Posting period
    Map your fiscper field from source to fiscper3 year--Rule type Routine.
    RESULT = SOURCE_FIELDS-(Technical name of source field)+4(3).
    This will give you the required output.
    Regards,
    AL

  • Currency conversion with query selection mask and InfoObject 0Curtype

    Hi,
    question to following scenario:
    in the data source is an column with the currency type. This currency type column contains values like
    10 = company code currency
    20 = account area currency
    So for each data set in the table is an assignment of currency types.
    In the cube is an InfoObject called 0Curtype (for currency types 10,20,30 ...).
    In the BEx Query should a filter or selection be possible before the whole data is displayed.
    The user can select in which currency he wants to display the data. When he selects the 10 the whole data is displayed in different currencies which are available because its local currency (Euro, Dollar etc.). By selecting 20 the whole data is displayed in Euro.
    Does anybody knows how to achieve that? Is there any function module availabe which is provided by SAP and it is available for use?
    Thank you in advance!!!

    Hi There:
    You have two options available.
    One you can define currency conversion variable in transaction RSCUR. Then use this currency conversion variable at query run time using a formula Key figure and go to Conversions tab and select this variable. Then at query run time the query will convert your key figure from source currency type to target currency type. But this can significantly impact your query run time because the query will calculate this at query run time.
    The second option is to use a standard SAP function module CONVERT_TO_LOCAL_CURR in the back end and store this key figure in the back end during data load. This way the query will run faster for you. The difference is significant in my case.
    Good luck.
    Let me know if you need more information.
    MP.

  • Data at Query level

    Good Afternoon everyone,
    data is loaded correctly in my infocube thru flat file.but wen i create query on this provider n drill down on one of the object i see different data then cube(field is 'assigned to' which actually store the person's name who the ticket is assigned to but in query it is showing some data which look as some date in single quotes.ex- '20080101').wat can be possible reson for this?
    Regards,
    Deepika

    Hi,
    You are trying to see a assignne name but u are getting a date.
    Thats only possible if the mappings are wrong(identifications) in multicube or u are giving different restrictions at the cube level and at the query level.
    The cube is defenately going to contain the values shown in the report for that infoobject.
    Again go through the restrictions and filters in the query.
    Query will show whatever is in the cube based on the restrictions.
    It will not do the conversions as u have said in your case.
    If it is a multicube check for the identifications again in the multicube for this charactritics.
    It is possible that update rules are correct but the identification in the multicube is incorrect and assignne is mapped to some date.
    Thanks
    Ajeet

  • Unit of Measure conversion in query runtime

    Hi all,
    I am attemoting to utilise the ability to convert key figure quantities in BI7, at query runtime by using a user entry variable and a conversion type.
    Does anybody know of any decent documentation as to how to configure this?  The SAP help documentation seems both confusing and inaccurate.
    My data records contain key figures with unit 0BASE_UOM and conversion between units for each Material code are held in 0MAT_UNIT.  
    Thanks in advance

    Hi
    My feeling is when you do conversion on aggregated level(multiple products), if any of the product has UOM missing then you coversion fails on aggregted level.
    It looks strange that UOM conversion looks fine when you do conversion on each product.
    I suggest you to check whether the UOMs (that you want to convert)are updated correctly on each product on their repective location in the product master under UOM tab.
    regards
    Vijaya.

  • Multiple Variant Deletion at Query Level

    Hi,
    In our project we built 100's of variants at BEX query level. Right now i need to delete some of them. I am able to delete them one by one. Can any one tell me how to delete all the variants at a time.
    Thanks in Advance
    Vijay

    Hi,
    When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
    Plant     Material      Batch      Caldate         Qty     %
    P1          M1          B101          01/02/2014     1000  20   (for first row in infocube)
    P1          M1          B101          01/02/2014     1000   20  (for second row in infocube)
    I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
    regards
    Yasemin...

  • Exceptional Aggregation Option at Query Level in BW 3.5 Query Designer

    Hi all,
    I want to use Exceptional aggregation with reference char 0CALDAY,on Formula keyfigure in the Query designer(BW3.5).
    But I am not getting that option when I went into Properties of that Keyfigure.So please Suggest  me where I will Find that Exceptional Aggregation option & Ref.Char at the Query level.
    Thanks,
    Kiran Manyam

    Hi
    In the Key Figure Properties dialog box, choose Enhance >>. The Aggregation Behavior field is added to the dialog box.
    You can make settings for the aggregation of the calculated key figure and the time that the calculated key figure is calculated here. Depending on the complexity of the formula, you can select various settings in the enhanced properties of the calculated key figure. The following types of calculated key figures with the corresponding formula complexity are available:
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/56853c08c7aa11e10000000a11405a/frameset.htm
    Hope it helps

  • Heirarchy Selection at query level

    Hi all
    I have 3 heireachy in Dev,let's say H1,H2,H3
    Where as in QA i have heirarchy's like H1,H2,H3,H4.
    If i want to execute the report on H4 in QA,do i need to keep this heirarhy name in DEV query and then i need run in QA?
    Is it possible to select the heirarchys dynamically..like out of N number of heirachys in run time can i select any one heirarchy out of all???
    Regards
    Srini

    Hi Lavany
    So you mean to say i need to have the same heirachy in dev systems also in r3 side..then only H4 i can able to load in BI side and i can keep that at query level.?
    NOrmally for master data..we are giving in filters as direct input even if that is not exisitng in dev.
    example we have order type z1 z2 in dev   prod z1 z2 z3
    while craeting the query in dev we in query deisnger we are kepping filter is z3 and we are trasnpoting the same to production..so in that case it will work fine...can't we make like that for Heirarchys?

  • Set Timout at Query Level

    Hi All ,
    Is it possible to set a timeout on a Query level .
    Say i fire a query on a table (supposed to be well tuned ) over a dblink on another database , (Say then someone dropped an Index on the table) . This shall throw the performance out of the window . In such a scenario , can i set the timout of the query ? or is it possible fat session level only ? is it possible to have such statements in a PL/SQL code ?
    Many Thanks.

    Hi Sven ,
    Thanks for the reply , i have had a look at creating a profile and the only option that are close to the requirement are
    1 .IDLE_TIME
    2. LOGICAL_READS_PER_CALL
    neither do the required check .
    I am not very confident of Administration so kindly confirm if i am correct or not ,
    <BR>
    Referring to the creation of a Special DB user for this shall basically create a new schema where we can have a read only grant to schema we have all the actual tables in another schema(User) , Right ? . Also , There is a time out error given by a query to a database that is down . Is there a way to use / modify that . <BR> This seem strange that there is no query level timeout option for Oracle queries as we commonly deal with a distributed environment .

  • Local Currency At query Level

    Hi All,
    Is their a way to permanently set local currency at query level. Or do we have to set the currency conversion on all the fields.
    Kind Regards
    James

    Yes,You will have to set at each KF at query level.But if you want for all the KF's at one shot,you may have to do the currency conversion for all the KF's at backend cube level  in transformations.
    Is this conversion based on the current day at query level?, if so, the cube level calculations would not be right since the cube data will get conversions based on that days load.

  • When attempting to burn a dvd to a memorex DVD Rdl 8.5GB blank disc, the program says it's not a recordable disc.  The content is a 6.5GB Quick Time Conversion video.

    When attempting to burn a Quick Time Conversion video to a Memorex DVD+Rdl, 8.7GB blank disk, the program reponds that the dic is not recordable.  It's a new blank disk.  The video is 8.29GB in size.

    Hi
    I see two problems
    • Memorex never worked OK on Mac when doing Video-DVDs - I only use Verbatim (more organic dye in them)
    • Size in Gbs - iDVD doesn't care about Gbs at all only duration. And Duration is the sum of Movie time AND MENU TIME.
    I have 500Mb files that are to large to fit and 50Gb files that fit's nicely.
    iDVD 08, 09 & 11 has three levels of qualities. (version 7.0.1, 7,0.4 & 7.1.1) and iDVD 6 has the two last ones
    • Professional Quality
    (movies + menus up to 120 min.) - BEST (but not always for short movies e.g. up to 45 minutes in total)
    • Best Performances
    (movies + menus  less than 60 min.) - High quality on final DVD (Can be best for short movies)
    • High Quality (in iDVD08 or 09) / Best Quality (in iDVD6)
    (movies + menus up to 120 min.) - slightly lower quality than above
    Menu can take 15 minutes or even more - I use a very simple one with no audio or animation like ”Brushed Metal” in old Themes.
    About double on DL DVDs.
    Yours Bengt W

Maybe you are looking for