Issue with date reporting level

guys,i need help with a field. ok so i have a date like 04/09/09 and i have another field which contains '3' now i need to subtract this 3 from the date on reporting level.  so my result should be 04/06/09. how can i accomplish this task? thanks.

Hi,
You can do it by using Formula variable on Date Field.
Create Formula variable on Date Field
Process by = Replacement path
Reference Cha = Your date field
In Replacement tab:
Replace variable with = InfoObejct
Replace with  = Key
Use interval = This you need to set properly       " This is importent for you
Offset setting = From & TO = check it and set properly. " This is importent for you
Then display it in columns and do teh substracion with another formula.
Thanks
Reddy

Similar Messages

  • Issue with DATA RETENTION LEVELS PARTNER

    HI I am having an issue
    The issue is in contract where I have a data retention partner level .I have partner retention level at purchase organization level and want to copy it to a plant level where in when I try to copy the other partner functions are being copied but the partner function VN is not being copied .
    Could any one tell me why this is happening and how I could overcome this issue .

    Hi,
    set the propety "display" to medium text for this charateristic either in the BEx report itself either in the query definition.
    Ensure that the text are well loaded (run tran RSDMD with this IObj in norder to display master data)
    Only having meduim texts will prevent you to display "key and texts" in reports.
    You could enhance your IObj and enable short/long texts as well; in the transfer rules just load the medium text in short (truncate its length to 20) as well as in the long text.
    hope this helps...
    Olivier.

  • Issue with Data Provider name in variable screen for BEx Analyzer

    Hello all,
    We got an issue with Data Provider name in Variable screen in BEx Analayzer.
    We want to change the DataProvider name there to Description of the report instead of its Technical name.
    Any inputs are appreciated.
    Thanks
    Kumar

    You have to create a workbook to do this.
    Refresh your query/report. In Bex analyser, there is one toolbar named BEx design toolbox, If you are not able to see it in analyser, right click on the toolbar space of BEx analyser and click on BEx design toolbox. Here, goto to design mode, by clicking on a sysbol like 'A'. after that place the curser where you want to see the Query description. and click on insert text (T) in BEx toolbox. click on it and check "Query description" in constant tab. in the general tab you need to assign a dataprovider, for that assign your query name in workbook settings (in Bex design toolbox). also check the "display caption" in general tab.
    Pravender

  • Issue with Date Format

    Hi All,
    I m facing an issue with Date format in the prompt. I have used date presentation variables in my column formula as shown below:
    FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" <= DATE '@{todate}{2900-01-01}')
    The report returns data when I don't select any date range for start & end date prompts on the page. But when I select the start & end date values in the prompt, I m getting the following error:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 10/22/2009 12:00:00 AM from 10/22/2009 12:00:00 AM does not match the specified format. (HY000)
    I included the following formulas for start & end date prompts:
    Start Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.1900' as date) end
    End Date prompt: case when 1=2 then License."Ips Creation Date" else cast ('1.1.2900' as date) end
    Can you please help me resolve the issue.
    Thanks,
    Kartik

    Hi Nico,
    I tried putting the format that you mentioned, I m getting an error message.
    My prompts have the following formula :
    Start: case when 1=2 then License."Creation Date" else cast('1.1.1900' as DATE) end
    End: case when 1=2 then Time."Calendar Date" else cast('1.1.2900' as DATE) end
    My column formula has the following syntax:
    FILTER("SKU Order Details"."Fulfilled Quantity" USING Time."Calendar Date" between DATE '@{start}{1900-01-01}' AND DATE '@{end}{2999-01-01}')
    Error Message:
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46047] Datetime value 11/17/2009 from 11/17/2009 does not match the specified format. (HY000)
    Can you please let me know if something needs to be changed.
    Thanks,
    Kartik

  • Performance Issue with VL06O report

    Hi,
    We are having performance issue with VL06O report, when run with forwarding agent. It is taking about an hour with forwarding agent. The issue is with VBPA table and we found one OSS note, but it is for old versions. ours is ECC 5.0. Can anybody know the solution? If you guys need more information, please ask me.
    Thanks,
    Surya

    Sreedhar,
    Thanks for you quick response. Indexes were not created for VBPA table. basis people tested by creating indexes and gave a report that it is taking more time with indexes than regular query optimizer. this is happening in the funtion forward_ag_selection.
    select vbeln lifnr from vbpa
         appending corresponding fields of table lt_select
         where     vbeln in ct_vbeln
         and     posnr eq posnr_initial
         and     parvw eq 'SP'
         and     lifnr in it_spdnr.
    I don't see any issue with this query. I give more info later

  • Variable input values issue with Portal reports in WAD

    Hi Gurus,
    We have issue with our reports which are created in WAD and when executed through CRM portal. We are executing the report with some selection criteria by changing default values, and once we get the out put we use SAVEAS option to save the report to favourites. But  the issue arises when we open the reprot again by clicking OPEN tab next to SAVEAS button. It opens our report, but the selection screen vaues are getting changed to default instead of showing the values which we entered before saving the report.
    ex: we have fiscalyear/period: default value is 001.2009 - 010.2009, but i changed the value to 001.2010 - 010.2010 and saved the out put of the report. when i reopen the report useing open option, it is showing 001.2009 - 010.2009 in input screen.
    Please let me know if some one has come accross this issue, or is it standard SAP behaviour. It is working fine when executed through Query designer. This is not related to personlization of variabl.es.
    Regards,
    Yada

    Hi Hari,
    Thanks for your promp response...but is there any settings to get the variable values with out saving as variant, because its working fine when executing through query designer....
    Regards,
    Yada

  • Issue with data dictionary -Table maintanance generator

    Hi all,
    I have an issue with Data dictionary, table maintenance generator. I have entered some records in a custom table (ZBCSECROLETOGRP) and changed the delivery class from C to A. When I create the table maintainance generator, I am encountered with the following errors:
    1)Field ZBCSECROLETOGRP-PORTALGROUP shortened (new visible length: 000032)
    2)0012 could not be generated
    3)In TCTRL_ZBCSECROLETOGRP field LENGTH has the invalid value 01
    My main motto is to create the table maintainace generator and transport to the furthur systems .
    Please help.
    ThnX in advance,
    Vishal..

    HI,
    Regenerate the table maintenance by selecting the checkbox of "Modified field structure" => new entry & then save.
    Also ensure that the new changes are not affecting old data bcz of data type changes. If that is the case, then delete the old records, regenerate table maint. & re-enter those records which you had deleted.
    Thanks,
    Best regards,
    Prashant

  • Issues with BEx Reports in SAP Enterprise Portal

    Hello Experts,
    I am facing issues with BEx reports integrated in portal. Below are more details:
    Scenario 1:
    Execute a BEx report in the portal, save it in 'My Portfolio' using 'Save As' button. Now open the saved report from 'My Portfolio'. Below is the issue for this scenario:
    When I open the saved report, I get 2 error messages and 1 info message at the top of the report. They are as follows:
    The metadata of 'ITE' 'TEMPLATE_PARAMETERS' are incorrect for parameter 'COMMAND_PROCESSING'
    The metadata of 'ITE' 'FILTER_PANE_ITEM' are incorrect for parameter 'TEXT_WRAPPING'
    Variables for characteristic Fiscal year/period[0FISCPER] cannot be processed
    Scenario 2:
    Execute a BEx report in the portal, save it in 'BEx Portfolio' or 'Favourites' using 'Save As' button. Now open the saved report and click on 'Send' button. As expected, the BEx broadcaster wizard should appear but, it shows '400 BAD HTTP REQUEST'. While if I open the report (not the saved one) and click on 'Send' button, it works.
    Helpful pointers appreciated.
    Thanks
    Vikash

    HI Suman,
    I am not adding the report to favourite using browser favourite. Below is the flow:
    Run the report in portal.
    There is a 'Save As' button at the top of the report. When I click that button, I get a pop-up with 3 tabs  for saving the report.:
    Favourite
    BEx Portfolio
    My Portfolio
    save the report in the favorites or BEx portfolio tab and then open it and press 'Send' button
    BEx Broadcaster Wizard should appear but instead of that, it shows '400 BAD HTTP REQUEST'.
    If I press send for unsaved report, then BEx broadcaster Wizard is shown.
    Thanks,
    Vikash

  • User issue with a report supply planning area today monthly

    this is a support issue....the user has an issue with a report supply planning area today monthly.  The user is getting wrong values in BW, it sums PLOs and POs under production (config).  for eg:  BW says we are producing 46T while in R/3 we have 4T.

    The issue was related to the heap size being too much and as a result the Class block memory was not getting enough memory. I think we can make a use of -XXCompressedRefs:32 parameter in the Java start up to allow the heap size to increase till 32 Gb.

  • Issue with Scheduled Reports

    Having an issue with running reports.  We have created the folder under C:\Program Files\Cisco CRS Historical Reports\reports ..to resolve a bug but now the user gets the attached error message every morning.  Any ideas?
    Thanks,
    Joe

    Hi Joe
    No attachment?
    Aaron

  • Unusual behavior of View selector with the report level 'Add to Briefing Bo

    Hi All,
    With the report level ‘Add to Briefing Book’ link, we came across an unusual behavior of View selector in a report.
    The Briefing Book saves only the default view from View selector in an Updatable Content type, however it behaves perfectly fine when a Snapshot type is selected for saving in Briefing book.
    Has anyone faced similar behaviour, is there any fix?
    Regards,
    Priti

    A case needs to opened via support

  • Issue with Date showing Null in interactive report

    I created an interactive report for a customer and was confused to see blanks or more specifically dashes where there should be dates in one of the fields. I knew this field should have data so I did some testing and this is what I have found:
    The sql I am running is:
    select
    assigned_to_company,
    last_resolved_date,
    incident_id
    from
    rhpd0009_im_adherence_rpt2_vw
    When I run the command in SQL workshop I get the following results with data in the last_resolved_date field:
    [http://i83.photobucket.com/albums/j299/yogibayer/apexdateissuesqlcommand.jpg]
    I copied and pasted the SQL from SQL workshop and created a new interactive report and got the following results with no last_resolved_dates showing up:
    [http://i83.photobucket.com/albums/j299/yogibayer/apexdateissueinteractivereport.jpg]
    For some reason the order is different, but the first one INC1117629 shows up in both of them and has a last_resolved_date in SQL workshop, but not in the interactive report. Any help would be appreciated.
    Thank You
    Scott

    Varad,
    It seems to be related to the function we use to convert Remedy dates to Viewable dates. Remedy dates are stored as an integer that represents the absolute number of seconds from Jan 1, 1970 at 12:00 AM. We use a function that converts this number into a human readable date. I have tried encapsulating the result of the function in a TO_DATE and a TO_CHAR with the same results as before. There is something about the resulting data from the date convert function that Apex doesn't like. It would be interesting to isolate what exactly the issue is, but right now I'm just trying to find a work around.
    Thank You
    SCott

  • Issue with Crystal Report based on 2 different data sources

    Hi there,
    I am having a frustrating problem with a report I've designed and I'm hoping someone might be able to assist please.
    The report has 3 different prompts, each of which is based on a dynamic list of values retrieved via views within a SQL server db.
    We are wanting to introduce the use of Universes as much as possible, so the data returned is based off a BO Universe data source query.
    I have uploaded the report into BO and have provided the necessary database logon information for the report (in the "Process" > "Database" settings in the CMC) for both the direct db datasource connection (for the views) and the BO Universe query connection.
    When the report is run however, the report still prompts for the database user name & password credentials. I have triple checked my db connection settings, and also have "Use same database logon as when report is run" set to true. I also tested a cut-down version of the report without the Universe connection with the same db logon credentials I provided and there was no credentials prompt when it was run, proving those values are accepted.
    Does anyone know why this is happening & if there is a way around it? Alternatively, is there some way that a report prompt may be based on a dynamic list of values retrieved via a Universe connection? This way I'd be able to remove the db connection for the views and have the report solely based on the Universe.
    Another issue that occurs is out of the 3 prompts, a user can select a User Name OR Number, and also must select a Period. However if the User Name or Number is left blank the message "The value is not valid" is shown. So I tried a cut-down version of the report with only the BO Universe as a data source (static prompts) and this didn't occur, i.e. I was allowed to leave either the User Name or Number empty.
    I hope this all of makes sense - let me know if not. If anyone is able to help out with any of this it would be very much appreciated.
    Cheers,
    Marco

    Please re-post if this is still an issue to the Business Objects Forum or purchase a case and have a dedicated support engineer work with you directly

  • Performance Issue with Webi report uses SAP BI Query as the data source

    Hello.
    I have created a Webi ad-hoc report which connects to a SAP BI query through BO OLAP universe.
    The layout of Webi is the exactly the same as the BI query.  There are filters in the Webi to restrict the number of data extraction, but even with data result of 5000 rows, it took about 30 seconds.
    If I execute the BI query with the same filter restriction, it tooks less than 10 seconds.
    It seems that large percentage of time is consumed at the MDX part.
    Is there any tuning method that could speed up the process time of MDX?
    Thank you.
    Justine
    Edited by: Justine Liu on Mar 18, 2009 6:59 AM

    Hi,
    please take a look here:
    [https://service.sap.com/sap/support/notes/1142664] (Look under related notes)
    It includes references to various performance improvements of the MDX interface. From what I saw there it is advisable to upgrade your SAP BI (7.0)  up to at least Support Package 21 (you are currently on SP 15).
    This may also be interesting for you: There is a new Fix Pack 1.4 coming out for BOBJ XI 3.1. Combined with the related SAP Enh.Pack (not sure about the version of this one) should also improve WebI performance. This fix pack is not yet officially released though but it should not take look.
    I recommend that you try the upgrade to Support Package 21 first.
    BTW it is also advisable to take a look in the results of your MDX query (e.g using the MDXTEST transaction). You should make sure that your query is indeed restricted as expected. Sometimes the results you see in SAP native reporting tools (e.g. BEx Analyzer) differ from those returned from the MDX component, depending on the way variables/restrictions where defined in the query designer. It is all about making sure that there is no apples/oranges comparison here.
    Regards,
    Stratos

  • Issue with Data at Infoset Level

    HI All,
    I have an Infoset designed above an DSO and a Cube.
    Plant between the DSO and Cube are linked in the Infoset.(Inner Join...Also Tried Left Outer Join)
    Dso has got a Capacity Keyfigure and the data in DSO is as below..
    Company code    Plant     Capacity
    CC1              P1     7000
    CC2              P2     28000
    CC3                       P3     5000
    CC4              P4     2000
    When I execute the report on Infoset the data displayed as follows:
    Plant     Capacity      Stock Pal           In-Transit                      Utilisation
    P1     1,89,000     108              2          0.1%
    P2     1,484,000     647              1          0.0%
    P3     10000     18              0          0.2%          
    P4     358,000     654,771            57          182.9%
    The Capacity Data is incorrect..
    At the Cube level I have got material level data, which I think is the culprit.
    At Infoset level If I view the Data, I can see capacity of the ware house at every material..so when aggregated in the report at plant level the values are wrong..
    Can you let me know where can I do a change to overcome this problem.
    Appreciate your Help in Advance.
    Regards,
    Harika

    HI
    Thanks for your replies.
    I tried changing the Excception Aggreation wth First, Last , minimum, Maximum Values.. But there is no change in the report.
    I also tried creating a multiprovider. I can see data at Multiprovider level . But when coming to report level i dont see data for capacities. The query is run based on Calday. But the ODS doesnt have Calday. It has got Calmonth only. I can't  view the data in the report on Multi provider for capacities. I can't include the calday in the ODS as it is in live being used in many other infoproviders.
    Regards,
    Harika.

Maybe you are looking for