Missing values for a year
Hello,
I am trying to load a dimension and all data gets loaded successfully, however when I retrieve the data, I see the all the values are missing for one year only (i.e - all months/Qtrs in 2005 are showing #Missing, but other years are showing correct values).
I have made sure that file had correct data for 2005 and reloaded the file, but I am still not having any luck.
Please help.
Thanks
First clear All data.
Quey the data belongs to year 2005 only by filtering in the SQL query.
Try to load data using rule file and check whether data is getting loaded or not.
This is useful for issue analysis.
Go thru below link further helpful
http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_dbag/frameset.htm?ddlload.htm
Edited by: Srinivas Bobbala on Jan 2, 2009 12:43 PM
Similar Messages
-
ORA-23460: missing value for column column name in resolution method
Hi All,
We have implemented bi-directional replication via oracle streams..Oracle 10g 10.2.0.4
We are getting following error in conflict resolution .ORA-23460: missing value for column "ASSIGNED_APPL_USER_ID" in resolution method "<method>" for
"TMADMIN"."PATIENT_VISITS"."REP_UPDATE" ORA-01403: no data found .
Above column ASSIGNED_APPL_USER_ID is NULL column ,We are using MAXIMUM resolution method for update conflict handler .We tried many times on toad the same scenarios and working fine.
We have set supplemental logging on primay and unique columns.
I found many docs on internet and they all said add supplemental logging on all columns.
We did set up like this ...:
DECLARE
COLS DBMS_UTILITY.NAME_ARRAY;
BEGIN
cols(1) := 'STUDY_ID';
cols(2) := 'KENDLE_STUDY_SUB_ID';
cols(3) := 'SITE_ID';
cols(4) := 'PATIENT_ID';
cols(5) := 'VISIT_NUMBER';
cols(6) := 'VISIT_TYPE';
cols(7) := 'VISIT_DATE';
cols(8) := 'CRF_COLLECTION_DATE';
cols(9) := 'DT_CREATED';
cols(10) := 'DT_MODIFIED';
cols(11) := 'MODIFIED_BY';
cols(12) := 'MONITOR_VISIT_DATE';
cols(13) := 'UNSCHEDULED_VISIT_REASON';
cols(14) := 'LAST_SCHEDULED_VISIT_NUMBER';
cols(15) := 'VISIT_DATE_IN_TRIALBASE';
cols(16) := 'PROJECTED_VISIT_DATE';
cols(17) := 'SEND_CERTIFIED_LETTER_YN';
cols(18) := 'ASSIGNED_APPL_USER_ID';
cols(19) := 'DATE_CERTIFIED_LETTER_SENT';
cols(20) := 'DURATION_OF_CALL_IN_MINUTES';
cols(21) := 'COMPLETED_APPL_USER_ID';
cols(22) := 'CALL_STATUS';
cols(23) := 'VISIT_HYPERLINK';
cols(24) := 'NEXT_CALL_DATE';
cols(25) := 'DT_PMNT_REQUESTED_TO_SPONSOR';
cols(26) := 'VISIT_DATE_NAP_YN';
cols(27) := 'MONITOR_VISIT_DATE_NAP_YN';
cols(28) := 'CRF_COLLECTION_DATE_NAP_YN';
cols(29) := 'IMPORTED_SUBJECT_VISIT_DATE';
cols(30) := 'REMINDER_SENT_DATE';
DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
OBJECT_NAME =>'TMADMIN.PATIENT_VISITS',
METHOD_NAME =>'MAXIMUM',
RESOLUTION_COLUMN =>'DT_MODIFIED',
COLUMN_LIST =>cols);
END;
DT_MODIFIED is our resolution columns......
Any help would be appreciate...
Thanks in advance.
Thanks,
Nick.You should post this question the Oracle Server forums.
Good luck!
Warm regards.
ashok -
- How to Display Sales Qty & Value for This Year & Last Year in 2 Columns -
Dear All,
I'm having trouble in extracting the last year figures based date entered. I'm actually would like to create a query where I'm able to know the "TOP 10 item sold based item category". I've created a query, which show the top10 item sold (total quantity & value) for this year, but not able to display the last year figure (quantity). Please advise & thanks for your help and time.
SET ROWCOUNT 10
SELECT T1.ItemCode, T2.ItemName, T3.ItmsGrpNam, SUM(T1.Quantity) as "Total Qty Sold", SUM(T1.TotalSumSy) as "Total Amount"
FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
WHERE T0.DocDate >='[%0]' AND T0.DocDate <='[%1]' AND T3.ItmsGrpNam ='[%A]'
GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
ORDER by SUM(T1.Quantity) DESC
I wish to have the output as follow
Item Qty (2008) Qty (2007) Value(2008) Value(2007)
A 300 150 1000 500
B 250 300 800 650
C 100 250 700 550
Currently, My results display:
Item Qty (2008) Value(2008)
A 300 1000
B 250 800
C 100 700
Cheers,
SereneHi,
if you want more flexible, you could try this modified Istvan's query:
SELECT top 10 T1.ItemCode, T2.ItemName, T3.ItmsGrpNam, SUM(T1.Quantity) as "Total Qty Sold",
SUM(T1.TotalSumSy) as "Total Amount" ,
(select sum (r.Quantity) from ODLN h
inner join DLN1 r on h.DocEntry=r.DocEntry
where h.DocDate>='[%4]' and h.DocDate<='[%5]'
and r.ItemCode=T1.ItemCode) '2007 Sold',
(select sum (r.TotalSumSy) from ODLN h
inner join DLN1 r on h.DocEntry=r.DocEntry
where h.DocDate>='[%6]' and h.DocDate<='[%7]'
and r.ItemCode=T1.ItemCode) '2007 Amount'
FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
WHERE T0.DocDate >='[%0]' AND T0.DocDate <='[%1]' AND T3.ItmsGrpNam between '[%2]' and '[%3]'
GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
ORDER by SUM(T1.Quantity) DESC
Rgds, -
CL20N Status changed: missing values for required chars for ROH & FERT
Dear Expert,
I am getting this message no. CL500 (Status changed: missing values for required chars) when I try to save variant class (Class type 300) assignment to material master (Raw Material) with Released 1 status in CL20N; but I do not get this message during assignment for FERT. I can save a FERT with Released1 status to a variant class without any system message. I am using configurable material in purchasing and this message is not valid in this case. Is there anywhere I can turn off this message for raw material just like FERT?
Regards,
HKHello Han Keat,
There are notes for this error message. Can you please check note 1537443 and 1431600 if it is in your system
Thanks Amber -
Scripting: How to retrieve the value for next year
Hi Experts,
Need help on HFM rules for retrieving the next year value
Specificationt: Financial year values start from Apr to Mar
I am bale to retrieve the values from Apr to dec, when trying to retrieve for Jan and mar getting the wrong values
using : A# xxx.C1#xxx.y#cur
please suggest your comments
Thanks,
SSrHi,
Still getting the wrong values
FYear start from April to Mar
For ex:
2012 2013
apr may jun jul aug sep oct nov dec jan feb mar
1 1 1 1 1 1 1 1 1 1 1 1
YTD
OT 1 2 3 4 5 6 7 8 9 10 11 12
Thanks,
Ssr -
BSC: Display values for Fiscal Year/Period
Hi all,
We are trying to create a small test scenario to know about balance score card. We have a cube which has Actual and Plan data in one KF diffentiated based on Value type character. Time character is fiscal year/period.
We want to display a graph which displays actual and plan for fiscal year/period wise. But when we execute the score card it shows the total year's plan and actual for the individual fiscal year/period. But ideally it should display actual and plan for the respective fiscal year/period.
we have created two value field in the measures of score card. and formula a/b (Plan / Actual ) is used.
Please guide us in solving the problem.
Regards,
PM<FONT FACE = "Tahoma", Font Color = "Blue">
Hi
<Br>
Do you have Fiscal Year Period in the Rows of your BW Report? If not, please try that.
<Br><Br>Hope it helps.
<Br>
Cheers
Abhijit
<Br>* It's a good habit to reward someone with points in SDN if you think his/her
response was helpful to you
</FONT> -
Invalid value for Fiscal year/period
Hi all,
I have an user exit variable which populates the fiscal year period value from two separate fields.
1) Fiscal Period
2) Fiscal Year
But when I contatenate it and place it in the format 200601 the report in BEx gives me the error
"Value 200601 for user-exit variable ZRMA_FIP is invalid"
ZRMA_FIP is my variable name
The code I have is:
WHEN 'ZRMA_FIP'.
l_yr_zrma_fip = l_v_cur_year.
l_per_zrma_fip = l_v_cur_period.
CONCATENATE l_yr_zrma_fip l_per_zrma_fip INTO
l_calmth_zrma_fip.
r_vari-low = l_calmth_zrma_fip.
r_vari-sign = 'I'.
r_vari-opt = 'EQ'.
APPEND r_vari TO e_t_range.
ENDCASE.
I thought I had to take care of internal/external format but nothing is working...can anybody help?
thanksHi
I have demo code
hope that will help u.
WHEN 'ZMXFIPED'.
clearing the storage areas used above.
CLEAR: l_s_range , loc_var_range .
checking step if it is after inputing the variable value.
IF i_step = 2. "After selecting of input variable
looping at interval range table .
LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZMSFPER8'.
assigning values to year and period values.
l_year_exit = loc_var_range-low+0(4).
l_period_exit = loc_var_range-low+4(3).
putting the from and to values together with year and period values.
CONCATENATE l_year_exit '001' INTO l_s_range-low .
CONCATENATE l_year_exit l_period_exit INTO l_s_range-high .
sign I-> includes the range between.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
appending the fianl interval range table.
APPEND l_s_range TO e_t_range.
exiting after appending.
EXIT.
ENDLOOP.
clearing the storage area for next iteration.
CLEAR: l_s_range .
ENDIF.
by using tha logic u can try. -
How to get monthwise opening qty / value for previous years
I do not get the month wise opening quantity and values for the items for the previous years using the below query. How i can modify this query to get opening qty / value of any year less than current year.
Yogesh
SELECT OPN_ITEM_CODE,
---------------------------------------OPENING QTY---------------------------------------------------
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),3)THEN ROUND(OPSTK,3) ELSE NULL END)APR_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),4)THEN ROUND(OPSTK,3) ELSE NULL END)MAY_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),5)THEN ROUND(OPSTK,3) ELSE NULL END)JUN_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),6)THEN ROUND(OPSTK,3) ELSE NULL END)JUL_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),7)THEN ROUND(OPSTK,3) ELSE NULL END)AUG_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),8)THEN ROUND(OPSTK,3) ELSE NULL END)SEP_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),9)THEN ROUND(OPSTK,3) ELSE NULL END)OCT_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),10)THEN ROUND(OPSTK,3) ELSE NULL END)NOV_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),11)THEN ROUND(OPSTK,3) ELSE NULL END)DEC_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),12)THEN ROUND(OPSTK,3) ELSE NULL END)JAN_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),13)THEN ROUND(OPSTK,3) ELSE NULL END)FEB_OPQ,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),14)THEN ROUND(OPSTK,3) ELSE NULL END)MAR_OPQ,
---------------------------------------OPENING VALUE----------------------------------------------------
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),3)THEN ROUND(OPVAL,3) ELSE NULL END)APR_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),4)THEN ROUND(OPVAL,3) ELSE NULL END)MAY_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),5)THEN ROUND(OPVAL,3) ELSE NULL END)JUN_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),6)THEN ROUND(OPVAL,3) ELSE NULL END)JUL_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),7)THEN ROUND(OPVAL,3) ELSE NULL END)AUG_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),8)THEN ROUND(OPVAL,3) ELSE NULL END)SEP_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),9)THEN ROUND(OPVAL,3) ELSE NULL END)OCT_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),10)THEN ROUND(OPVAL,3) ELSE NULL END)NOV_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),11)THEN ROUND(OPVAL,3) ELSE NULL END)DEC_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),12)THEN ROUND(OPVAL,3) ELSE NULL END)JAN_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),13)THEN ROUND(OPVAL,3) ELSE NULL END)FEB_OPV,
SUM(CASE WHEN SL_DT < ADD_MONTHS(TRUNC(SYSDATE,'YEAR'),14)THEN ROUND(OPVAL,3) ELSE NULL END)MAR_OPV
FROM( SELECT SL_ITEM_CODE OPN_ITEM_CODE, SL_DT,
SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_QTY_BU/IU_CONV_FACTOR/IU_MAX_LOOSE_1)OPSTK,
SUM(DECODE(SL_RCVD_ISSD,'R',1,'I',-1)*SL_VAL_1)OPVAL
FROM OS_STK_LEDGER, OM_ITEM_UOM
WHERE SL_ITEM_CODE = IU_ITEM_CODE
GROUP BY SL_ITEM_CODE, SL_DT
GROUP BY OPN_ITEM_CODEit think you need to look for [lag and lead|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/analysis.htm#sthref1753]
-
Expression to find value for previous year SSRS
Hi
I need some help with expressions.I need a report that shows calcul of a field for current year as well as previous year respecting this rule expression(Last-Last Previous)/Last Previous*100 (I work with MDX Query and i work with SSRS 2008).
Also the report runs on a Year Parameter. Below is an example for the result
for example i selected the years 2010 2011 2012 i can select another years because i have the report runs on a Year Parameter
year
Data 2010 2011 2012
hp 14 25 30
Dell 17 18 20
and the result i want
year
Data 2010 2011 2012 2011/2012
hp 14 25 30 0.002 (Last -Last Previous)/(last Previous*100) =(30-25)/(25*100)
Dell 17 18 20 0.0040
Thanks a lotHi Yassir,
Please find the RDL code, save the code into .RDL and run it
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="matrix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.21in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!value.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
<DataElementOutput>Output</DataElementOutput>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox16">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=((last(Fields!value.Value) -Code.GetValueByKeyValue(Fields!keyvalue.Value)) /Code.GetValueByKeyValue(Fields!keyvalue.Value))*100</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<Format>f2</Format>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox16</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
<DataElementOutput>Output</DataElementOutput>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="matrix1_year">
<GroupExpressions>
<GroupExpression>=Fields!year.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!year.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.21in</Size>
<CellContents>
<Textbox Name="year">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!year.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>year</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>0.21in</Size>
<CellContents>
<Textbox Name="Textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="matrix1_data">
<GroupExpressions>
<GroupExpression>=Fields!data.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!data.Value</Value>
<Direction>Descending</Direction>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="data">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!data.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>data</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<RepeatRowHeaders>true</RepeatRowHeaders>
<DataSetName>DataSet1</DataSetName>
<Top>1.20333in</Top>
<Left>0.10833in</Left>
<Height>0.42in</Height>
<Width>3in</Width>
<Style />
</Tablix>
<Textbox Name="textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Get the last previous value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>12pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>SteelBlue</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox1</rd:DefaultName>
<Height>0.37in</Height>
<Width>5in</Width>
<ZIndex>1</ZIndex>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>data</Value>
<Style>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox7</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="previous">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Sum(Fields!previous.Value)</Value>
<Style>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>previous</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox21">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Code.AddKeyValue(Fields!keyvalue.Value, last(Fields!previous.Value))</Value>
<Style>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="year">
<GroupExpressions>
<GroupExpression>=Fields!year.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!year.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.25in</Size>
<CellContents>
<Textbox Name="year1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!year.Value</Value>
<Style>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>year1</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixMember>
<TablixMember>
<TablixHeader>
<Size>0.25in</Size>
<CellContents>
<Textbox Name="Textbox20">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox20</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="data">
<GroupExpressions>
<GroupExpression>=Fields!data.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!data.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="data1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!data.Value</Value>
<Style>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>data1</rd:DefaultName>
<Style>
<Border>
<Color>White</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet2</DataSetName>
<Top>0.43944in</Top>
<Left>0.29667in</Left>
<Height>0.5in</Height>
<Width>3in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Color>White</Color>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>1.76333in</Height>
<Style />
</Body>
<Width>5.10833in</Width>
<Page>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="DataSource1">
<DataSourceReference>DataSource1</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>87cd8154-60ce-43ca-a678-39a5c1bfeb15</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet2">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<QueryParameters>
<QueryParameter Name="@Year">
<Value>=Parameters!Year.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>select * from
SELECT data, year , value AS previous,cast(year as varchar)+ data as keyvalue,row_number() over(partition by data order by year desc) yeardesc
FROM (SELECT 'HP' DATA, 2010 year, 14 value
UNION
SELECT 'HP' DATA, 2011 year, 25 value
UNION
SELECT 'HP' DATA, 2012 year, 30 value
UNION
SELECT 'Dell' DATA, 2010 year, 17 value
UNION
SELECT 'Dell' DATA, 2011 year, 18 value
UNION
SELECT 'Dell' DATA, 2012 year, 20 value
) AS t
WHERE year IN (@Year)
)t1
where yeardesc <> 1
order by year asc</CommandText>
</Query>
<Fields>
<Field Name="data">
<DataField>data</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="year">
<DataField>year</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="previous">
<DataField>previous</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="keyvalue">
<DataField>keyvalue</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="yeardesc">
<DataField>yeardesc</DataField>
<rd:TypeName>System.Int64</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<QueryParameters>
<QueryParameter Name="@Year">
<Value>=Parameters!Year.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>SELECT data, year, value,cast(year as varchar)+data keyvalue
FROM (SELECT 'HP' DATA, 2010 year, 14 value
UNION
SELECT 'HP' DATA, 2011 year, 25 value
UNION
SELECT 'HP' DATA, 2012 year, 30 value
UNION
SELECT 'Dell' DATA, 2010 year, 17 value
UNION
SELECT 'Dell' DATA, 2011 year, 18 value
UNION
SELECT 'Dell' DATA, 2012 year, 20 value) AS t
WHERE year IN (@Year)</CommandText>
</Query>
<Fields>
<Field Name="data">
<DataField>data</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="year">
<DataField>year</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="value">
<DataField>value</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="keyvalue">
<DataField>keyvalue</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="Year">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>=2010</Value>
<Value>=2011</Value>
<Value>=2012</Value>
</Values>
</DefaultValue>
<Prompt>Year</Prompt>
<ValidValues>
<ParameterValues>
<ParameterValue>
<Value>2010</Value>
<Label>2010</Label>
</ParameterValue>
<ParameterValue>
<Value>2011</Value>
<Label>2011</Label>
</ParameterValue>
<ParameterValue>
<Value>2012</Value>
<Label>2012</Label>
</ParameterValue>
</ParameterValues>
</ValidValues>
<MultiValue>true</MultiValue>
</ReportParameter>
</ReportParameters>
<Code>Public PersSal as New System.Collections.HashTable()
Function ClearList(SomeValue as String) as String
PersSal.Clear
Return SomeValue
End Function
Function AddKeyValue(KeyValue as String, Value as Decimal) as Decimal
Try
PersSal.Add(KeyValue, Value)
Return Value
Catch ex as Exception
End Try
End Function
Function GetValueByKeyValue (ByVal Key As String) As Decimal
For Each clsPair As System.Collections.DictionaryEntry In PersSal
If clsPair.Key.ToString() = Key Then Return clsPair.Value
Next
End Function</Code>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>53660ed8-b969-46cf-960b-2ccb14abf7e7</rd:ReportID>
</Report>
Thanks
Prasad
Mark this as Answer if it helps you to proceed on further. -
"non assigned" value for Calender year quarter not possible
All of us know that we can not assign "#" value to calender year quarter.
In my planning level (which is a part of multi planning area consinsting 2 cubes, Actual COPA cube and Plan COPA cube), I want to copy data from Actual copa cube to plan copa cube using planning function of formula type, but actual copa cube is not getting populated against calyear quarter.
I want to retain calyearquarter as a characteristic in my level as it is acting as a key to my plan data. What shoould be done in such a scenario?santoshkumar,
I would suggest you build a characateristic relationship exit on calendar year quarter, probably based on fiscal year period or 0calmonth.. Make sure you leave Calendar year quarter out of your planning level in the copy so it would derive it.
Hope this helps,
Mary. -
Missing values for BWAPPLNM (Application comp) and BWVORG field in psa
We loaded records in to PSA of 2LIS_02_ITM and 2LIS_02_SCL. However, upon passing through the update rules into 0PUR_C01 and 0PUR_C04, we find that the added records to both these infocubes is 0.
Upon closer examination of the update rules, we came across routines which relied on values in PROCESSKEY (BWVORG) and BWAPPLNM fields. These fields donu2019t have values in the PSA.
Kindly mention if any additional settings or configurations have to be done at ECC and(or) BI side other than BF11 settings so that these values get populated in to the BWVORG and BWAPPLNM fields of 2LIS_02_ITM and 2LIS_02_SCL so that those records can be added to the cubes upon passing through the update rules.
With thanks
samHi,
see in transaction SBIW. There is missing the customzing for industrial sector. Set it to "standard (core)".
=> this you need for purchasing and material inventory.
Sven -
Wrong Depreciation value for subsequent years for further acquisition
Hi All,
Need immediate help...I have a dep key with Unit of Produciton. The method being used is Usage/Remaining and the Base Value is 24 - Net Book Value.
I had posted an acq. on 01.01.2009...it depreciates perfectly as per my usage--say till period 5. Then another acq. was posted in july - and was consumed fully in Feb 2010..
Another acq. was posted in May, 2010...Now my dep for period Jan and Feb is getting reversed and Dep. on Base Value - Balance Carried forward and New Acq - is being calculated, although i had exhausted my balance in Feb itself.
I do not want to go by Sub Assets route...
Why is such a calculation being done???Hi Kartik
Thanks for showing interest in my query...If i am not worng, SAP note mentions to change everything to Start of the year...i had tried it but was of no help.
Regards
Ankit -
Offset values for fisc year /period
Hi
normally period values will be 16, and 4 is additional
how can u use offset values if i need to use last 12 fiscyear/period?
offset values are not workingHi,
Here you need to define all your offset value's logic in the code itself, so that there is no need to provide your offset values to the variable.
Hope this helps..
Rgs,
Ravikanth.I -
SQL Query to find cumulative values for a Financial Year
Dear users,
My requirement is to create a SQL query for a table/view where I have day-wise data. I want to find out cumulative values for financial year by giving any date. It should add the values from start of financial year till that date in the financial year.
I think creating a view of such type will post heavy burden on resources since accuimulation will be done for each day upto that day.
ThanksDear users,
My requirement is to create a SQL query for a
table/view where I have day-wise data. I want to
find out cumulative values for financial year by
giving any date. It should add the values from start
of financial year till that date in the financial
year.
I think creating a view of such type will post heavy
burden on resources since accuimulation will be done
for each day upto that day.
ThanksKumar's solution will serve yours purpose but m not agreed
I think creating a view of such type will post heavy
burden on resources since accuimulation will be done
for each day upto that day. Khurram -
Customizing setting 'Recalculate depreciation for previous years'
Dear Experts,
I have requirement where for tax depreciation areas we want the system to recalculate the depreciation for previous years. For e.g.
Asset acquired on 7/1/06 with value 10000
Useful life: 5 years
Take over date in asset accounting: 9/30/2008
With the above example, I want the system to show me depreciaiton values for the years 2006 and 2007 also in transaction AW01N (Asset Explorer), apart from 2008.
In FI-AA customizing, I have enabled the relevant depreciation areas for recalculation in the node 'Recalculate Depreciation for Previous Years' (Transaction OAYF).
However, when I create the legacy asset and maintain the takeover values, the system just shows me depreciation for 2008 and onwards.
Is there something I am missing? Please advice. I have searched the SAP help and SAP notes, but did not find anything.
Regards,
Vishal.This is not possible. When you takeover an asset using AS91, it is creating an ANLC entry for that year only. 2008 in your case. Regardless of when the asset was originally acquired, SAP will only let you report on it back to 2008.
This concept is no different than any other FI/CO legacy conversion. If the customer is going live on Jan 1st 2008 but they want to do monthly comparison reporting in SAP (Jan 07 and Jan 08), then they need to convert 2007 data. If they want 2006, they need to load that too. Etc.
For FI-AA, if the customer wants to view data back to 2006 you would have to change the takeover date to that year and adjust the data as well (accumulated depreciation).
-nathan
Maybe you are looking for
-
'Group in stack' command fails with selected photos in Lightroom 1.2
I am a Mac user (new Intel iMac running OS 10.4.11), and have successfully been able to stack photos up until this point. Now suddenly, they will not stack. I've color labelled photos in a shoot by theme, and have been stacking them. I can't see anyt
-
Sxmb_moni exception in queue - noinst
Hi, I've got an exception condition on one of my queues in sxmb_moni, when looking at the queue I see the following error - Exeption condition "NOINST" raised. The transaction in the error message is SXMB_MONI and the program is "RSXMB_SELECT_MESSAGE
-
Flexible DLL error code message
HI, I'm using a flexible DLL Action step (C/C++ DLL). The Returned value go to a local error variable. The result Action is set to 'If value < 0 Set Error occurred to true' Set ErrorCode is checked. Now, I get a run time error with the error code di
-
I had a query with regard to the location of datafiles at the time of creation. Should it be in the path like $ORACLE_BASE/oradata/$ORACLE_SID/<file-name>.dbf as in the command CREATE TABLESPACE CRESTELMEDIATIONPRD501 DATAFILE '$ORACLE_BASE/oradata/$
-
how do i take music off of my ipod?