Quarter field

Hi Gurus,
I have one report with the field Quater. Is there any table in r/3 contain this field??.
i need to show the Expenditure based on the quarter in report.
Plz help me out on this issue.
Thanks
Regards
Aravinda

Hi,
My Cube is Summary Records( 0JVAJoint Venture _C01).
As per the requirment i need to dispay Expenditure data  Period wise,
Quater,Year to date.
the above cube was standard cube.
Plz help me out on this.
Thanks
Regards
Aravinda

Similar Messages

  • How to filter the result by using a Quarter fields

    How can i fiter the output by using the quarter field for example I want to display the output for letting date 07060801 and quarter 1(Q1-2007) thanks
    SELECT tab.description, tab.itmenum, tab.units, tab.countyname, tab.datelet,'Q'||tab.Quarter,
           tab.contid, tab.vendor, tab.vendorname, tab.quantity, tab.EngineersPrice ,
            (tab.EngineersPrice*tab.quantity) EngineersTotal, tab.vendorsPrice,
           (tab.quantity * tab.vendorsPrice) VendorsTotal
      FROM (SELECT   INITCAP (i.idescrl || '  ' || e.isupdes) description,
                     e.isupdes, i.idescrl, SUBSTR (e.eiitem, 1, 4)|| '.'|| SUBSTR (e.eiitem, 5, 9) itmenum,
                     e.eiitem, func_get_unit_name (iunits) units,
                     INITCAP (func_get_county_name (p.ccnty1)) countyname,
                     b.datelet,TO_CHAR(b.datelet, 'Q-YYYY') Quarter, p.contid, d.vendor, l.CALL, g.csecnum, e.iplineno,                         
                     SUM (e.iqty) quantity,
                     (TRIM (d.vendor) || ' : ' || INITCAP (v.vnamel)) vendorname,
                           (SELECT br.bidprice
                        FROM bidtabs br
                             --------------------Select Letting Dates-------------------------------
                       WHERE br.letting  between '&lettingDatePlease' and  '&lettingDatePlease2'
                         AND br.lineflag = 'L'                                   
                         AND br.iplineno = e.iplineno
                         AND br.CALL = l.CALL
                         AND br.vendor = d.vendor) vendorsPrice,
                         (SELECT DISTINCT pi.price
                                 FROM propitem pi
                                WHERE pi.contid = p.contid
                                         AND pi.lineflag='L'
                                         AND trim(pi.iplineno) <> ' '
                                  AND trim(pi.iplineno) = trim(e.iplineno)) EngineersPrice
                FROM itemlist i,
                     estitem e,
                     estcatg g,
                     propproj x,
                     proposal p,
                     letprop l,
                     bidlet b,
                     bidders d,
                     vendor v
               WHERE p.contid = x.contid
                 AND x.pcn = g.pcn
                 AND e.pcn = g.pcn
                 AND e.cn = g.cn
                 AND i.item = e.eiitem
                 AND i.ispecyr = p.cspecyr
                 AND e.iplineno <> ' '
                 AND e.eiitem <> '2550601/01000'
                 AND e.eiitem <> '2565601/00031'
                 AND e.eiitem <> '2565601/00033'
                 AND e.eiitem <> '2402601/01000'
                    -----Select Item Number----------
                 AND e.eiitem = '&itemNumberPlease'
                 AND l.lcontid = p.contid
                 AND l.letting = b.letting
                 AND l.letting = d.letting
                 AND l.CALL = d.CALL
                   -- AND l.LETSTAT='A'---------------------why 6/22 is not included----------------------------work with this-------------------------
                 AND d.vendor = v.vendor
                    ------Select Letting Dates--------
                 AND b.letting between '&lettingDatePlease' and  '&lettingDatePlease2'
            GROUP BY p.contid,
                           d.vendor,
                     g.csecnum,
                     e.iplineno,
                     SUBSTR (e.eiitem, 1, 4) || '.' || SUBSTR (e.eiitem, 5, 9),
                     b.datelet,
                     l.CALL,
                     e.eiitem,
                     (i.idescrl || '  ' || e.isupdes),
                     func_get_unit_name (iunits),                
                     iunits,
                     p.ccnty1,
                     i.idescrl,
                     e.isupdes,
                     i.idescrl,
                     v.vnamel,
                     e.isupdes)  tab
    DESCRIPTION     ITMENUM     UNITS     COUNTYNAME     DATELET     'Q'||TAB.QUARTER     CONTID     VENDOR     VENDORNAME     QUANTITY     ENGINEERSPRICE     ENGINEERSTOTAL     VENDORSPRICE     VENDORSTOTAL
    Mobilization        2021.501/00010     LUMP SUM     Hennepin     3/30/2007     Q1-2007     060048              ALS0010            ALS0010 : Ames / Lunda / Shafer (Jv)     1     11376150     11376150     14357900     14357900
    Mobilization        2021.501/00010     LUMP SUM     Hennepin     3/30/2007     Q1-2007     060048              MP0001             MP0001 : Mccrossan/Pcl (Jv)     1     11376150     11376150     15600000     15600000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              C320               C320 : Central Specialties Inc     1     130459     130459     637860     637860
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              D420               D420 : Duininck Brothers Inc     1     130459     130459     362000     362000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              H151               H151 : Hardrives Inc     1     130459     130459     516000     516000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              H438               H438 : Hoffman Construction Company     1     130459     130459     255000     255000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              K0037              K0037 : Knife River Corporation - North Central     1     130459     130459     290953.37     290953.37
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              M0027              M0027 : Midwest Contracting Llc     1     130459     130459     285000     285000

    Hi gourous,
    I am sorry, my question is a little bit more complex. I hope I may repost here, without opening another thread. Thank you for your understanding.
    The EQUIPE_ID column of the table refers to a team. This id is returned by a select list named :P60_EQUIPE_ID which select all the EQUIPE_ID available. Then if one choose a team in this select list, the choosen EQUIPE_ID is returned. If nothing is selected in the select list, then a null value is returned.
    The AGENT_ID refers to a person. This id is returned by a select list named :P60_AGENT_ID, which returns all the members of the previously selected EQUIPE_ID. If nothing is selected, then a null value is returned.
    A team may have several persons belonging to that team.
    I would like that if a TEAM is selected, without selecting an agent in the :P60_AGENT_ID select list (returning a null value in this case), then all the people belonging to that theam will be retrieved by the select QUERY of a report.
    Then one could refine the query by selecting a person in the :P60_AGENT_ID select list in order to view only the people of that team in the report.
    To resume :
    IF EQUIPE_ID is NULL -> all the teams and all the persons are displayed in the report.
    IF EQUIPE_ID is NOT NULL and :P60_AGENT_ID is NULL -> All the people of that selected team appears on the report
    IF EQUIPE_ID is NOT NULL and :P60_AGENT_ID is NOT NULL -> The report displays only the results of the query for that person of that team.
    Thank you for your kind help !

  • Quarter Prompt hierarchy

    Hi,
    I hav year ,quarter and month revenue columns
    In dashboard promt select year and then select Quarters
    if I select Q1 report should display JAN ,FEb And March
    if select Q2 report should display Jan,feb,mar,apr,maty and june
    if select Q3 ..................................jan... to... September
    if selects Q4 .......................Jan... to.... Dec
    how can i achieve this ..
    very urgent thanks in advance
    Regards,
    Jes

    Create a pivot table. Add the month column into the pivot columns section. This should do it. If with the hierarchy doesnt work, create a prompt with 2 fields , 1 for the year, and 1 for the quarter and set the quarter field to depend on the year.
    J.-

  • Domains for calendar month and quarter

    Hi,
    I have a fields that are calendar month and quarter fields. Are there a domains for these fields for use to check the data to be filled or would Ihave to write code to check for the format before saving the data intot the table?
    Thanks
    Will

    Hi Arun,
    Actually I am referring to a table that I created a Z data element but I am using CHAR for types. But for the Fiscal Year I created the Z data element with the domain GJAHR. I am looking for a domains for creating Z data elements for the calendar month and quarter. I would suppose the domain GJAHR will check for the correct data format when I update my table to the field Z fiscal Year.
    Thanks & Regards

  • Unable to restrict a rolling char field in MDX Universe.

    Hello!
    I am trying to create a restricted Characteristic in a SAP BW OLAP Universe. The chararcteristic is a Quarter field and has to be restricted for some reports to not display the last quarter in a rolling quarter period.There are a few menthods I followed inorder to achieve this, which are as below:
    1) Object - SELECT CLAUSE : <EXPRESSION>EXCEPT( [0CALQTR].[LEVEL01],[0CALQTR].[LEVEL01].CurrentMember.LastSibling)</EXPRESSION>. This gives and error messsage that the MDX expression is not valid.
    2) Object - WHERE CLAUSE : <EXPRESSION>EXCEPT( [0CALQTR].[LEVEL01],[0CALQTR].[LEVEL01].CurrentMember.LastSibling)</EXPRESSION>. This gives and error messsage that the MDX expression is not valid.
    3) Pre-Defined Filter -
    <FILTER KEY="[0CALQTR].[LEVEL01]">
    <CONDITION
    OPERATORCONDITION="NotEqual">
    <CONSTANT CAPTION="[0CALQTR].[LEVEL01].CurrentMember.LastSibling"/>
    </CONDITION>
    </FILTER>. This also does not work giving a MDX statement not valid error message.
    However, the only thing that works in all of the above the is the predefined filter with the following expressions:
    <FILTER KEY="@Select(Fisc. Year/Quarter\L01 Fisc. Year/Quarter)">
    <CONDITION
    OPERATORCONDITION="NotEqual">
    <CONSTANT CAPTION="@Prompt('L01
    Quarter','A','L01 Fisc. Year/Quarter',mono,constrained)"/>
    </CONDITION>
    </FILTER>.
    Kindly suggest if I can avoid using the prompt and just restrict the Quarter characteristic (with rolling quarters) to avoid displaying the last quarter.
    Any inputs are highly appreciated.
    Thanks,
    Vivek.

    Hi,
    I believe you have to explicitly include a validate activity...
    http://docs.oracle.com/cd/E25054_01/dev.1111/e10224/bp_appx_ref.htm#BABJDHEH
    Cheers,
    Vlad

  • Exception while drilling into data object values

    Hi everyone,
    I get the following exception : String was not recognized as a valid DateTime, when drilling into data values. This occurs specifically when drilling into reports that have datetime series or groups on the non-data axis. More specifically, the error doesnt occur when I drill into the report to show all values. It occurs when I drill into the report to show values for a particular time period (say, all sales in the month of Jan) instead of drilling to show details of all sales.
    The following is the relevant stack trace obtained from WebApps.txt.
    2007-08-08 16:43:56,272 [AsyncPageThreadPool (static 10)] DEBUG - ReportEngine WebPage.ReportException. oException.Message=String was not recognized as a valid DateTime., oException.StackTrace= at System.DateTimeParse.ParseISO8601(DateTimeRawInfo raw, __DTString str, DateTimeStyles styles)
    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
    at System.DateTime.Parse(String s, IFormatProvider provider, DateTimeStyles styles)
    at System.DateTime.Parse(String s, IFormatProvider provider)
    at System.Convert.ToDateTime(String value, IFormatProvider provider)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.ConvertValueFromTypeAndString(DataTypes eDataType, String strValue)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.BuildTwoEntryFilter(XmlNode xnExpression, ComparisonOperator eComparisonOperator, String strXmlSchema)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterEntryComparisonExpression(XmlNode xnExpression, String strXmlSchema)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterExpression(XmlNode xnExpression, String strXmlSchema)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterExpression(XmlNode xnExpression, String strXmlSchema)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetFilterExpression(XmlNode xnExpression, String strXmlSchema)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.AddFilters(XmlDocument oXmlModifier, Modifier oAdcModifier, String strXmlSchema)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetAdcModifier(String strXmlModifier, String strXmlSchema, Boolean bIgnoreRecordFields, Boolean bGroupsInOneLevel, XmlDocument oXmlProperties)
    at Oracle.BAM.Middleware.ActiveDataCache.ModifierFactory.GetAdcModifier(String strXmlModifier, String strXmlSchema, Boolean bIgnoreRecordFields, Boolean bGroupsInOneLevel)
    at Oracle.BAM.ReportServer.Chart.GetChartAdcModifier(ViewSet oViewSet)
    at Oracle.BAM.ReportServer.Chart.RenderChart(String strXmlModifier, String strXmlProperties, String strActive, String strClientWidth, String strClientHeight, String strBrowserTimezoneOffset, Boolean bEMail, String strUserName)
    The following data might be useful for reproducing the exception by any BAM developer.
    The modifier xml is:
    <Modifier dataset="_ImportLCIssuanceDataObject" id="0" bAggregate="false"><FieldRefs></FieldRefs><Filter><Branch type="ALL"><Branch type="ALL"><Entry type="EQ"><Node type="COLUMN">ContractCurrency</Node><Node type="STRING">USD</Node></Entry></Branch><Branch type="ALL"><Entry type="GE"><Node type="COLUMN" bDrilling="true">IssueDate</Node><Node type="DATETIME">2000-07-01T00:00:00.0000000+05:30</Node></Entry><Entry type="LE"><Node type="COLUMN" bDrilling="true">IssueDate</Node><Node type="DATETIME">2000-07-31T23:59:59.0000000+05:30</Node></Entry></Branch></Branch></Filter><Groups><Group level="0"/><Group eTimeUnit="DAYOFMONTH" iQuantity="1" zeroFill="true" isTimeline="true" level="1" datasetField="IssueDate"><Aggregate operandDatasetField="_ContractAmount" operation="SUM"/></Group></Groups></Modifier>
    The relevant properties are:
    <Properties ContentType="ThreeDBarChart" datasetId="_ImportLCIssuanceDataObject"><Title display="true" color="#ffffff" font-family="Tahoma" font-weight="Bold" font-size="11" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" background-color="#7B97C0" text-align="left"><Text bUseViewName="false">Total%20value%20of%20LCs%20issued</Text></Title><ChartTitle display="false" font-family="tahoma" font-weight="Bold" font-size="11" color="#000000" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bCheckField="true" ModifierID="0"></ChartTitle><DataAxis auto="true" min="" max="" major="" minor="" font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bShowGridlines="true"/><NonDataAxis font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bAllowDiagonal="true" bShowGroupLabels="true"/><Legend display="false" font-family="tahoma" font-size="11" color="#000000" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" location="bottom"/><ColorPalette selected="101"/><ActiveData showColor="true" newColor="#FFE299" newTimeSeconds="1000"/><Groups bynumber="false"/><SeriesValues font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false"/><ErrorMessage font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false"/><HorizontalAxisLabel showlabel="false" labelpos="onside" font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bCheckField="true" ModifierID="0"></HorizontalAxisLabel><VerticalAxisLabel showlabel="false" labelpos="atend" font-family="tahoma" font-size="11" color="#ffffff" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false" bCheckField="true" ModifierID="0">LC%20Amount</VerticalAxisLabel><Target bUseTarget="false" fTargetValue="" bShowValue="true" strTargetLabel="" eDashStyle="solid" strTargetColor="" iDashThickness="1" font-family="tahoma" font-size="11" color="#000000" underline="false" overline="false" line-through="false" capitalize="false" uppercase="false" lowercase="false"/><Empty display="true" text="No%20Values"/><ThreeDOptions fBackDepth="25"/><Body background-color="transparent"><Border color="#000000" width="1px" style="solid"/><Margin><top width="0"/><left width="0"/><bottom width="0"/><right width="0"/></Margin></Body><Series datasetField="_ContractAmount" dataType="FLOAT" bShowValue="true" bShowPercent="false" bShowSeriesName="false" bShowAggFunction="true" ModifierID="0" aggregate="SUM" include="true" chartType="ThreeDBarChart" order="0" color="#E2CBFF" marker="none" borderColor=""><Format category="Number" decimals="2" color="red" use_thous_separator="true" negative_style="2" bRound="true" strRoundSeperator="," strRoundSuffix="K">#,0,.00K;[Red]#,0,.00K</Format></Series><Drilling ModifierID="0" bAllowDrillThrough="true" strDrillThroughViewType="UpdatingOrderedList"><DrillThroughField ID="_ContractReferenceNo"/><DrillThroughField ID="_ProductType"/><DrillThroughField ID="_Applicant"/><DrillThroughField ID="_Beneficiary"/><DrillThroughField ID="_ContractAmount"/><DrillThroughField ID="_ContractCurrency"/></Drilling><TopN active="false" quantity="1"/><SurfacePrompts><GoButton background-color="#E7E7E7" color="#000000" font-size="11px" font-family="Tahoma" display="DisplayInViewTitle" text="Refresh"><Border color="#4C4C4C" width="1px" style="solid"/></GoButton><ViewSurfacePrompt id="7" display="DisplayInViewTitle"><Input background-color="#FFFFFF" color="#000000" font-size="11px" font-family="Tahoma"><Border color="#000000" width="1px" style="solid"/></Input><DropDownSelectedLine background-color="#4A598C" color="#ffffff" font-size="11px" font-family="Tahoma"/><PromptTitle color="#ffffff" font-size="11px" font-family="Tahoma" font-weight="Bold"/></ViewSurfacePrompt><ViewSurfacePrompt id="8" display="DisplayInReportLevel"><Input background-color="#FFFFFF" color="#000000" font-size="11px" font-family="Tahoma"><Border color="#000000" width="1px" style="solid"/></Input><DropDownSelectedLine background-color="#4A598C" color="#ffffff" font-size="11px" font-family="Tahoma"/><PromptTitle color="#ffffff" font-size="11px" font-family="Tahoma" font-weight="Bold"/></ViewSurfacePrompt></SurfacePrompts><DrillPath><Hierarchy ModifierID="0" ID="320873a2918f48ddb2925519dfd8cfd0"><Field ID="_IssueDate" number="0" type="Year" name="Year"/><Field ID="_IssueDate" number="0" type="Quarter" name="Quarter"/><Field ID="_IssueDate" number="0" type="MonthNumber" name="Month"/><Field ID="_IssueDate" number="0" type="DayoftheMonth" name="Day of the Month"/><Field ID="_IssueDate" number="0" type="WeekdayNumber" name="Day of the Week"/></Hierarchy></DrillPath><GroupLevel datasetField="_IssueDate" dataType="DATETIME" eTimeUnit="DAYOFMONTH" iQuantity="1" isTimeline="true" zeroFill="true" fieldID="DAYOFMONTH__IssueDate"/></Properties>

    Fixed!! The timezone on the BAM server was changed to GMT, and that somehow solved the problem. Seems like the GMT offset should be zero while executing a drill down query.
    FYI, the modifier XML now sent is :
    <Modifier dataset="_ImportLCIssuanceDataObject" id="0" bAggregate="false"><FieldRefs></FieldRefs><Filter><Branch type="ALL"><Branch type="ALL"><Branch type="ALL"><Entry type="EQ"><Node type="COLUMN"><![CDATA[_ContractCurrency]]></Node><Node type="STRING">USD</Node></Entry></Branch><Branch type="ALL"/></Branch><Branch type="ALL"><Entry type="GE"><Node type="COLUMN" bDrilling="true"><![CDATA[_IssueDate]]></Node><Node type="DATETIME"><![CDATA[2000-07-01T00:00:00.0000000-00:00]]></Node></Entry><Entry type="LE"><Node type="COLUMN" bDrilling="true"><![CDATA[_IssueDate]]></Node><Node type="DATETIME"><![CDATA[2000-09-30T23:59:59.0000000-00:00]]></Node></Entry></Branch></Branch></Filter><Groups><Group level="0"/><Group eTimeUnit="MONTH" iQuantity="1" zeroFill="true" isTimeline="true" level="1" datasetField="_IssueDate"><Aggregate operandDatasetField="_ContractAmount" operation="SUM"/></Group></Groups></Modifier>

  • Reset data picker page item by selection page item in Apex

    Hi,
    Need to create a report based on date ranges and for this created a interactive report and two page item datepicker fields P15_fromdate and p15_todate. Report works fine with this criteria.But user wants one more field quarter(P15_quarter), When they select the quarter the range values has to get reset and as to get applied to report.
    Issue here is unable to find a way to set the page range item values based on the quarter field selection
    Need help how to reset the page item fields.
    Thanks in advance.
    Thanks,
    Sandeep

    Ligon,
    You're right to think this is pretty laborious stuff. A co-worker wanted to do the same, to make sure users didn't lose a change when clicking Cancel. I suggested he look at calculating the query checksum before and after, which he tried. But it got very cumbersome very fast and he ended up dropping the idea. He's fairly new with Apex, but he's also a quick study, so it's not like he's a novice coder.
    I don't have his implementation details anymore to even share with you.
    Sorry I couldn't be more help.
    Good luck,
    Stew

  • Chart Axis Order

    Hi All,
    I have a report which has a chart, the x axis has quarter details...but I need to put them in ascending order of quarters....like q1 2008 q2 2008 q3 2008 q4 2008 q1 2009.....etc
    I am not able to do this change using the existing propoerties? Can any one suggest a solution
    Thanks
    Natraj

    try one thing. in the step 1 of your report design, set the order of the quarter field to ASC and then generate your graph

  • Answers showing differnt number of results than expected

    Hello everyone!
    I have two fact tables (Bookings, Opportunity) and three dimension (Time, Geography, Product) in my schema. Each of the dimension connects to both the dimensions. I am trying to compare Bookings vs Opportunity. Now, when I select the criteria as Year, Quarter, Month, Booking value, Opportunity value I should be receiving 48 rows (I have 4 yrs of data so 4 * 12 months) but I am receiving only 12 rows for 2006 year only. I have no filters. When I check my log as pasted below, the query actually is fetching 48 records from the database but returning only 12 to the client.
    Can anyone throw some light on this issue please.
    Thanks,
    D
    +++Administrator:2a0000:2a0009:----2010/01/19 11:49:39
    -------------------- Rows 48, bytes 1920 retrieved from database query id: <<2134>>
    +++Administrator:2a0000:2a0009:----2010/01/19 11:49:39
    -------------------- Physical query response time 0 (seconds), id <<2134>>
    +++Administrator:2a0000:2a0009:----2010/01/19 11:49:39
    -------------------- Physical Query Summary Stats: Number of physical queries 2, Cumulative time 0, DB-connect time 0 (seconds)
    +++Administrator:2a0000:2a0009:----2010/01/19 11:49:39
    -------------------- Rows returned to Client 12
    +++Administrator:2a0000:2a0009:----2010/01/19 11:49:39
    -------------------- Logical Query Summary Stats: Elapsed time 0, Response time 0, Compilation time 0 (seconds)

    Hi Dan,
    Yeah, I do see something wrong. Or at least I think I do.
    How do you have your hierarchy defined in your TIME_DIMENSION?
    Is it like this:
    <B>Level - Key</B>
    Total - N/A
    Year - Year
    Quarter - Quarter (quarter field as seen in report below)
    Month - Month (month field as seen in report below)
    Is the above correct? If so, I see a little bug. You have to keep in mind that when you choose a Key for a given level, it must have ONLY one parent.
    So if you use quarter as the key for the level under year, your instantly going to run into problems. For example, if your in quarter 4, what's your parent going to be? 2010? 2009? 2008? The numbers 1, 2, 3 and 4 repeat each year and are not good for level key. Instead, use something like "2010 Q1" or "Q42009" as a level key. That will always have only one parent. The exact same thing can be said for your month key in your time dimension. You need to do something like "2010 Jan" or "2009 01".
    Give that a shot and see if it fixes your problems.
    Best regards,
    -Joe

  • Using current dimmensions for new business areas with coarser granularity

    Hi,
    I have a time dimension which has month, quarter, semester and year attributes.
    I am creating a new business area in which each fact refers to a quarter (we have no monthly data). In this case I am considering two options:
    1) Using an attribute in the fact table that points to the quarter field in the dimension table (or creating a quarter code in the dimension table, and pointing to that code -there is already month-year code as primary key-).
    2) Creating a new dimension table with just quarter, semester and year.
    What should be best? Is there another option?
    Thanks for yout help.
    Fernando.

    Hi Sam,
    I am not sure wheher memory is really a serious constraint anymore. Consider this:
    a) the price of memory today is pretty much at the price point of hard disks in the year 2000 (at least according to a study I saw). In 2000 we happily ran business systems without being worried about the cost of hard disks ... and that is where we are today with RAM. Sure, disks also became much cheaper, as did flash memory, but the speed benefits of RAM are so superior that it is worth investing in it.
    b) there are already 1 TB RAM blades available, and I think there is now a 2 TB RAM blade on the market (I heard about Samsung having one, and others may have one too)
    c) we indeed routinely achieve compression factors of 10-20 x. It all depends much on how full the table field is, and how homogeneous the content. A field "Currency" compresses great, a field with a "UUID (Universally Unique Identifier)" does not.
    d) customers typically only want to access this and last year's business data (and keep the rest just for reference)
    So I think that it is quite possible to have the active business data even of the largest SAP customers completely in memory, at a reasonable price point. Sure, more expensive than disk ... but who cares about disk anymore (apart for backup)?
    Kind regards, Oliver

  • Crosstab trouble: surpressing subcolumns somehow !?

    Post Author: proliva
    CA Forum: Charts and Graphs
    Hi all! I need to put together a report with a table that looks like this:
    Presentations held in 2007
    2006
    2007
    Total
    1st Quarter
    2nd Quarter
    3rd Quarter
    Total
    Department_1
    52
    7
    7
    4
    18
    Department_2
    26
    1
    9
    2
    12
    That's something of a problem. All I can get is this:
    Presentations held in 2007
    2006
    2007
    1st Quarter
    2nd Quarter
    3rd Quarter
    4th Quarter
    Total
    1st Quarter
    2nd Quarter
    3rd Quarter
    Total
    Department_1
    13
    13
    11
    15
    52
    7
    7
    4
    18
    Department_2
    5
    9
    4
    8
    26
    1
    9
    2
    12
    That holds all the information, but sadly I'm required to only show the sum for 2006, so I need to find a way to supress the data for the quarters for one year, while still showing it for the other.
    The table needs to be put together with a parameter for the current year and the current quarter. This should give you  an idea of what I'm doing:
    {v_Presentations.year}
    {v_Presentations.quarter}
    Total
    {v_Presentations.dep}
    value calculated by distinct count of {v_Presentations.presentationID}
    Data is selected to go in the report according to this formula:( {v_Presentations.year} = {?Year} and {v_Presentations.quarter} <= {?Quarter} )or ( {v_Presentations.year}) = ({?Year})-1)
    {?Year} - Parameter entered for current year.{?Quarter} - Parameter entered for current quarter.{v_Presentations.dep} - Field containing ID of the department that gave the presentation.{v_Presentations.year} - Field with the year in which the presentation was held.{v_Presentations.quarter} - Field with the quarter in which the presentation was held.{v_Presentations.presentationID} - Number unique to each presentation.
    I hope I described the problem well. I'm using a German version of Crystal, so I'm not so firm on the Englísh terminology. Can somebody help me out? Any ideas welcome, I'm at a dead end.
    Thanks! Peter

    Post Author: jguitard
    CA Forum: Charts and Graphs
    I would try something like creating a group based on a formula that would lump everything for 2006 in a category and lump 2007 data by month... somehow... you might also look at an intervention at the source i.e. create a view of 2007 data in detail, UNIONed with 2006 data in summary and using this view as a basis for the creation of your crosstab

  • Advanced Custom Field help. Need fiscal quarter/fiscal week.

    A coworker is setting up an MS Project...project, and she asked
    for some help adding a custom field that would convert the Start date field into our Fiscal Quarter Fiscal Week schema, to display as FQFW, e.g. Q1W1. I've written a formula that accomplishes this quite nicely in excel, but I've never even touched Project
    until this week. Apparently it doesn't take formulas quite the same way as Excel does. I tried using the ''Switch" function in Project, and it worked, but it only accepts 14 arguments(right?), and there are obviously 52 weeks we're dealing with. Does
    anyone have any suggestions? Would there be a way to do this using VBA? (I know next to nothing here as well.)
    Formula in excel where A1 is the Start Date:
    =IF(AND(A1>=DATE(2014,2,1),A1<=DATE(2014,5,2)),CONCATENATE("Q1","W",(INT((A1-DATE(2014,2,1))/7)+1)),IF(AND(A1>=DATE(2014,5,3),A1<=DATE(2014,8,1)),CONCATENATE("Q2","W",(INT((A1-DATE(2014,5,3))/7)+1)),IF(AND(A1>=DATE(2014,8,2),A1<=DATE(2014,10,31)),CONCATENATE("Q3","W",(INT((A1-DATE(2014,8,2))/7)+1)),IF(AND(A1>=DATE(2014,11,1),A1<=DATE(2015,1,30)),CONCATENATE("Q4","W",(INT((A1-DATE(2014,11,1))/7)+1)),FALSE))))
    Any and all suggestions welcome.
    Thanks.

    msinnen,
    You're correct, switch statements and if statements can only be nested to 15 levels. However, VBA can get you there. This macro should do what your coworker needs with the following assumptions - the fiscal year starts in January and quarters end on the
    last day of the month, not the last Friday. If either or both of those assumptions are incorrect, then this macro will need some tweaking. Note: the quarter and work week designator will be written into the Text1 field.
    Sub FQuartsandWeeks90()
    Dim t As Task
    Dim Mon As Integer
    Dim Qtr As String, Wk As String
    For Each t In ActiveProject.Tasks
        If Not t Is Nothing Then
            t.Text1 = ""
            Mon = Month(t.Start)
            Select Case Mon
                Case 1 To 3
                    Qtr = "Q1"
                    Wk = "W" & CStr(DatePart("ww", t.Start))
                Case 4 To 6
                    Qtr = "Q2"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 13)
                Case 7 To 9
                    Qtr = "Q3"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 26)
                Case Else
                    Qtr = "Q4"
                    Wk = "W" & CStr(DatePart("ww", t.Start) - 39)
            End Select
            t.Text1 = Qtr & Wk
        End If
    Next t
    End Sub
    John

  • Field which calculates the Quarter

    Hi,
    Currently the reports use the date on each opportunity product to calculate the quarter, and the close dates on the opportunity products are not updated if you change the overall opportunity close date. I need to either be able to automatically update all the opportunity product close dates to match the opportunity close date OR (which i think will be easier) I was going to insert a field which will calculate the quarter based on the opportunity close date and add that as a column in the report.
    What I need to know, is what function do i use to calculate the quarter based on the opportunity close date and what is the syntax?
    Thank you.

    Go to that concerned document and on top Enviornment changes

  • Fields in purchasing cube

    Hi experts,
    I am using the cube 0pur_c01 which is loaded from 3 datasources 2lis_02_itm, 2lis_02_scl, 2lis_02_s012.
    But there are only few fields in this standard cube. I want to add some more fields.
    Can anyone please suggest me what are the major fields for Purchasing data. So that i will include them into my infocube.
    Regards,
    Bhadri M.

    Hi,
    We have modified our cube to contain the following key figs and charracteristics.  These are available by modifying the standard datasource by changing it in LBWE and pulling in additional fields available for selection.
    1.  Characteristics which are of use are as follows:
    Calendar Day
    Calendar Year/Month
    Calendar Year/Week
    Fiscal year / period
    Fiscal year variant
    Calendar Year/Quarter
    Base Unit of Measure
    Local currency
    Country key
    Company code
    Number of purchasing info record
    Purchasing info record category
    Material
    Valuation type
    Product Description
    Material group
    Purchasing organization
    Indicator: Data to Be Canceled
    Vendor
    Version
    Value Type for Reporting
    Flag for Contracts
    Plant
    Storage location
    Supplying Plant
    PO Number
    PO Line Number
    Purchasing document type
    Puchasing document category
    "Delivery Completed" Indicator
    Item Category in Purchasing Document
    Reason for Ordering
    Acct Assignment Category
    Control indicator for purchasing document type
    Confirmation control key
    Tax on sales/purchases code
    Shipping conditions
    Purchasing group
    2.  Key Figures of use:
    Number of deliveries
    Delivery Date Variance 1
    Delivery Date Variance 2
    Delivery Date Variance 3
    Delivery Date Variance 4
    Delivery Date Variance 5
    Delivery quantity variance 1
    Delivery quantity variance 2
    Delivery quantity variance 3
    Delivery quantity variance 4
    Delivery quantity variance 5
    Invoice amount: Returns
    Weighted total delivery time
    Effective order value of returns
    Value of goods received in local currency
    Goods receipt value as at posting date
    Invoice Receipt Quantity as at Posting Date
    Invoice Amount as at Posting Date
    Actual goods receipt quantity
    Goods receipt quantity of returns
    Goods receipt qty in base unit (calculate wtd.delivery time)
    GR value: Returns as at posting date
    Invoiced amount
    Invoice receipt quantity of returns
    IR quantity: Returns as at posting date
    IR value: Returns as at posting date
    Invoice receipt quantity
    Effective purchase order value
    Target delivery quantity
    Order quantity (returns)
    Number of contract items
    Number of scheduling agreement schedule lines
    Number of purchase order schedule lines
    Number of purchase order items
    Order quantity
    Number of quotation items
    Number of request for quotation items
    Number of scheduling agreement items
    Total delivery time in days
    Net Purchase Order Value
    Purchase Main IV Value
    Cheers...

  • How do I use SQL statements to perform calculations with form fields????

    Please help!!! I don't know how to use a SQL statement within my APEX form......
    My form is below. The user will enter the values in the form. Click on Submit. Then we need to run a SQL select statement with those values.
    Our form looks like this:
    Start_Date ____________
    Per_Period ____________
    Period ____________
    [Submit Button]
    The user will enter these 3 values in the form.
    This is an example of an user providing the values:
    Start_Date 03/14/08_______
    Per_Period $200.00________
    Period 4____________
    [Submit Button]
    Then they will click the Submit Button.
    The SQL statement (BELOW) returns output based on the users selections:
    START_DATE PER_PERIOD PERIOD
    14-MAR-2008 00:00 200 Week 1 of 4
    21-MAR-2008 00:00 200 Week 2 of 4
    28-MAR-2008 00:00 200 Week 3 of 4
    04-APR-2008 00:00 200 Week 4 of 4
    Total 800
    This is the full text of the SQL that makes the output above:
    with criteria as (select to_date('03/14/08', 'mm/dd/rr') as start_date,
    4 as periods,
    'Week' as period,
    200 per_period from dual),
    periods as (select 'Week' period, 7 days, 0 months from dual
    union all select 'BiWeek', 14, 0 from dual
    union all select 'Month', 0, 1 from dual
    union all select 'ByMonth', 0, 2 from dual
    union all select 'Quarter', 0, 3 from dual
    union all select 'Year', 0 , 12 from dual
    t1 as (
    select add_months(start_date,months*(level-1))+days*(level-1) start_date,
    per_period,
    c.period||' '||level||' of '||c.periods period
    from criteria c join periods p on c.period = p.period
    connect by level <= periods)
    select case grouping(start_date)
    when 1 then 'Total'
    else to_char(start_date)
    end start_date,
    sum(per_period) per_period,
    period
    from t1
    group by rollup ((start_date, period))
    THANKS VERY MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    You're just doing a parameterized report, where the input fields are your parameters.
    Check out the Advanced Tutorial titled Parameterized Report here:
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/rprt_query.htm#BGBEEBJA
    Good luck,
    Stew

Maybe you are looking for

  • Getting Error while posting through KB11N : No true sender object entered

    HI Expert, We have stastical internal order defined and same we are using in Asset. Let me explain the scenarion. We created the Purchase requisition with the stastical Internal Order then we did Purchase Order and MIGO -Goods Receipt. Now we realise

  • Dispaly Printing Details like printing date

    Hi Does any know if there is an option to display/print in every report the printing details like printing date , title , page , and input parameters  fields Thanks in advance Regards

  • How to choose iMessage or text message with the iOS8.2

    Why, now with iOS8.2, can't I choose whether to send a text message or an iMessage? In older versions, simply turning off iMessage in Settings would allow me to send text messages without use of data/wifi.  Now, 1) I cannot control when I hit "send"

  • ALV grids to spool

    Hi All, I am working on ALV's .I have 3 ALV grids in one screen . I want to send these 3 alv grids to spool. I am running this in back ground.I am using classes to display the LAV grids. Is it possiable to display the 3 ALV grids to spool. Thanks, Sw

  • Cannot select last lines on page?

    I'm using Pages 09 and I am writing a novel. I have put the novel in the correct size/format for printing (so it isn't A4), and I want to make one or two minor tweaks and changes before I finish. However, I can't select the last 6-7 lines or page num