Week wise report
Hello all,
I would like to create new report for weekly wise details.But I do not know how to generate valid query for which report .
The requirement like this, the user will dynamically give two dates like 'from date' and 'to date' and every week will started with 'Saturday' and ending with 'Friday'
Example:
From Date: 1/1/2013
To Date:31/12/2013
Days
week
1/1/2013
week01
1/2/2013
week01
1/3/2013
week01
1/4/2013
week01
1/5/2013
week02
1/6/2013
week02
1/7/2013
week02
1/8/2013
week02
1/9/2013
week02
1/10/2013
week02
1/11/2013
week02
1/12/2013
week03
1/13/2013
week03
1/14/2013
week03
1/15/2013
week03
1/16/2013
week03
1/17/2013
week03
1/18/2013
week03
1/19/2013
week04
1/20/2013
week04
1/21/2013
week04
1/22/2013
week04
1/23/2013
week04
1/24/2013
week04
1/25/2013
week04
1/26/2013
week05
1/27/2013
week05
1/28/2013
week05
1/29/2013
week05
1/30/2013
week05
1/31/2013
week05
2/1/2013
week05
2/2/2013
week06
2/3/2013
week06
2/4/2013
week06
2/5/2013
week06
2/6/2013
week06
2/7/2013
week06
2/8/2013
week06
2/9/2013
week07
2/10/2013
week07
2/11/2013
week07
2/12/2013
week07
2/13/2013
week07
2/14/2013
week07
2/15/2013
week07
2/16/2013
week08
2/17/2013
week08
2/18/2013
week08
2/19/2013
week08
2/20/2013
week08
2/21/2013
week08
2/22/2013
week08
2/23/2013
week09
2/24/2013
week09
2/25/2013
week09
2/26/2013
week09
2/27/2013
week09
2/28/2013
week09
3/1/2013
week09
3/2/2013
week10
3/3/2013
week10
3/4/2013
week10
3/5/2013
week10
continue
continue
The new week always start with Saturday and End with friday,
Kindly help me.....i am totally confused with this query
WITH input_dates AS
(SELECT to_date( '01-Jan-2013','dd-Mon-YYYY') stdt ,
to_date( '01-Mar-2013','dd-Mon-YYYY') eddt
FROM dual
date_gen AS
(SELECT ( stdt + level -1) dt ,
DECODE ( TO_CHAR(stdt,'D') , 7 , 0,1 ) ad
FROM input_dates
CONNECT BY level <= (eddt - stdt)
SELECT TO_CHAR(dt , 'DD-Mon-YYYY') Dat,
TO_CHAR(dt,'Day') DAY,
'Week '
||(SUM (DECODE (TO_CHAR(dt,'D'),7,1,0)) over (order by dt) + ad ) wk_no
FROM date_gen
DAT
DAY
WK_NO
01-Jan-2013
Tuesday
Week 1
02-Jan-2013
Wednesday
Week 1
03-Jan-2013
Thursday
Week 1
04-Jan-2013
Friday
Week 1
05-Jan-2013
Saturday
Week 2
06-Jan-2013
Sunday
Week 2
07-Jan-2013
Monday
Week 2
08-Jan-2013
Tuesday
Week 2
09-Jan-2013
Wednesday
Week 2
10-Jan-2013
Thursday
Week 2
11-Jan-2013
Friday
Week 2
12-Jan-2013
Saturday
Week 3
13-Jan-2013
Sunday
Week 3
14-Jan-2013
Monday
Week 3
15-Jan-2013
Tuesday
Week 3
16-Jan-2013
Wednesday
Week 3
17-Jan-2013
Thursday
Week 3
18-Jan-2013
Friday
Week 3
19-Jan-2013
Saturday
Week 4
20-Jan-2013
Sunday
Week 4
21-Jan-2013
Monday
Week 4
22-Jan-2013
Tuesday
Week 4
23-Jan-2013
Wednesday
Week 4
24-Jan-2013
Thursday
Week 4
25-Jan-2013
Friday
Week 4
26-Jan-2013
Saturday
Week 5
27-Jan-2013
Sunday
Week 5
28-Jan-2013
Monday
Week 5
29-Jan-2013
Tuesday
Week 5
30-Jan-2013
Wednesday
Week 5
31-Jan-2013
Thursday
Week 5
01-Feb-2013
Friday
Week 5
02-Feb-2013
Saturday
Week 6
03-Feb-2013
Sunday
Week 6
04-Feb-2013
Monday
Week 6
05-Feb-2013
Tuesday
Week 6
06-Feb-2013
Wednesday
Week 6
07-Feb-2013
Thursday
Week 6
08-Feb-2013
Friday
Week 6
09-Feb-2013
Saturday
Week 7
10-Feb-2013
Sunday
Week 7
11-Feb-2013
Monday
Week 7
12-Feb-2013
Tuesday
Week 7
13-Feb-2013
Wednesday
Week 7
14-Feb-2013
Thursday
Week 7
15-Feb-2013
Friday
Week 7
16-Feb-2013
Saturday
Week 8
17-Feb-2013
Sunday
Week 8
18-Feb-2013
Monday
Week 8
19-Feb-2013
Tuesday
Week 8
20-Feb-2013
Wednesday
Week 8
21-Feb-2013
Thursday
Week 8
22-Feb-2013
Similar Messages
-
Hi ALL,
I am very new to BI and have got an issue at hand.
we have a vendor ageing report that is distributed month wise i.e 0-30, 31-60 and so on..is there a way by which i can change the months to weeks and get the report..
Regards
Arvind KumarHi,
How it is distributed month wise, assuming at transormation level...you can either enhance rule written for this distribution or load this data to new infoprovider and there distribute week wise.
Hope it helps...
Regards,
Ashish -
Report - Day wise /Week wise
Hi Experts,
I have 2 reports for which the data is fetched from 1 DSO.
I have CREATED DATE and DESPATCHED DATE in that.
I want to view both the reports Day Wise / Week Wise.
In the DSO i have mapped the Created Date to the CalDay and CalWeek/Year. Which will be used in the report 1
And I want to do the same mapping for the Despatched Date too. In order see the Day/Week trend in the report 2.
Since there is only one CalDay and CalWeek/Year objects available in the DSO im not able to bring the trend for despatched date.
Can anyone give solution to fx this issue please.
Thanks
Edited by: MO AHMED on Jan 7, 2010 4:30 PMThere are different solutions to this topic. The easiest is described by Roy:
Create two InfoObjects DESP_DAY and DESP_WK, copy them from 0CALDAY and 0CALWEEK and populate them from DESPATCHED_DATE in the transformation. I think you might need a routine for DESP_WK, simply use the function module DATE_GET_WEEK there.
If this doesn't work for you, e.g. if the DSO is used in a Multi Provider you might add an additional InfoObject DATE_TYPE to the DSO key. This is CHAR 1 and filled with either C for created date or D for dispatched date. Then you use two different field groups in the transformation to create two lines, one where 0CALDAY and 0CALWEEK are filled from CREATED_DATE with DATE_TYPE C and one where they are filled from DESPATCHED_DATE with date type D.
Best regards
Dirk -
Hi All,
Can anyone help me to generate my report like this please in bex 7
......................................... 1st Week 2nd Week 3rd Week Total Consumption Parts wise
Model of Bike XX Parts consumed A 2 1 1 4
. Parts consumed B 1 2 3 6
. Parts consumed C 5 3 1 9
Model of Bike YY Parts consumed A 6 3 2 11
. Parts consumed B 2 2 1 5
. Parts consumed C 1 2 1 4
Total Consumtion of Parts Week wise 17 13 9
Please help me to design a query and advice changes that I have to make with my Infoobject
ThanksHi,
Steps:
1. Add 0CALWEEK in your cube or DSO whatever be the info-provider is.
2. map date field(for which you want to calculate the week) from data source to this 0CALWEEK.
3. choose transformation type as routine.
4. in routine write a logic of calculating week based on date.
5. different companies have different definitions for week, some companies states week from sunday - saturday, some has monday - suday. bsed on this week calculationneeds to be done.
6. make sure how about your definition of calweek and write routine acordingly.
7. But thing is for sure in almost all companies that they have 52 weeks in a year.
8. upload the data.
9. use this calweek in your report above consumptin quntity keyfigure i.e. in columns.
Regards,
akshay -
Week Wise Project progress w.r.t. Percentage
Hi All,
I am using Project Server SP1.I have a requirement where I have to determine the week wise percentage completion status of projects.
To elaborate the above,
If the project duration is of 100 days, then I need the data to be calculated percentage wise from week 1 to the final week. This calculation will be on the basis of how much the project percentage was supposed to be completed as per Baseline 0 for every
week and I need to compare this data to the Actual finish percentage for every week so I can see a report.
Is there a way to generate this?
Any sort of help is appreciated. Thanks in advance.
Best Regards,
Chinmay Rajput.Have a look at the earned value fields, especially the timephased ones. One of them may fit your needs.
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz -
Hello Team,
We are maintaining the schedule lines in SA with daily indicator. The same is showing in EKET . Now I would like to know is there any table or report which shows the same information in week wise .. Do you have any Idea.
I have tried to get the same information from MD04 > Week Tab. Howerver the information is updating from structure. Please advise me how to achieve this ...
Thanks and Reg
PavanHello Padmasri,
Thanks for Quick response .....
Yes.. However, our customer need it in Day wise only ... Is there any table or report which shows the same information cumulatively in weekwise ??
My question is answered
Edited by: pavan kulkarni on Nov 28, 2011 7:46 PM -
Work center-Machine wise report
Hi Guys,
I have a work center for ex CNC in which i have taken 3 machines,in capacities i define the individual capacity for each machine & iam also able to split the capacity amoung the machines,Now if i want to take a report to give to the work center supervisor -list of the operations that i have loaded in the work center,<b>is there any standard report available where i can even get the detail of the load in the machines of particular work center?</b> otherwise pls give me some workaroundHi vijay,
what u need is, day or weekly wise prodution load for each machine .. am i correct?
u need a report containing details about what are all materials to be produced and its all operations for each machine.
In that case u have to develop some customized Zreport.
regards
pradeep -
Hello every one,
In my project my client is asking for weekly breakdown report. When i m running mci7 report that report is monthly. When i change cofiguration for Information structure as date wise. System is not calculating all the reports. Is there any other way to get the breakdown reports on weekly basis apart from PMIS.
Regards
AbhishekHi,
Only monthly update period is supported for this structure - see note [80311|https://service.sap.com/sap/support/notes/80311]:
Check the Customizing settings with Transaction OMOS.
The update period for the information structure S070 must be 'Month'.Changing the update period is not allowed.
-Paul -
Production order wise report of all component.
dear all
I want production order wise report of all component.
1) quantity required 2)issue quantity3)currect stock
I got quantity required and issue quantity field in co24 but i didnt get currect stock field(unrestricted stock) in that t-code
Is any t-code is available ?
rgds
SurendraHy Surendra,
In any of the standard SAP reports you will not find the Goods Movements of Particular order along with available Component stock.
Goods movements report of the Production / Process order is static report once the order is close.While Stock report is variable report and may be change Time to Time.
I think if you wish such kind of report then you have to go for Z reorts.
You can find all the Goods Movements of Order in COOISPI/COOIS/IW3M but there is not available stock report.
Regards,
Dhaval -
Missing data in weekly EWA report
Hello SDN,
I have run weekly EWA reports for our productive ECC5 system through SolMan 3.1 for some time, but recently I've noticed that some information is missing from the report.
Section 11.2 (Response Times) includes a graph showing the Top 5 transactions. The transactions are listed as Transaction 1, 2, 3, 4 and 5 on the graph and there used to be a table below the graph that showed that (e.g.) Transcation 1 was MMBE, Transaction 2 was LT27, etc..
For some reason, that table no longer appears and the graph is of no little use on its own, because I have no idea what transactions it refers to.
Has anyone else experienced this problem?
Thanks,
Arwel Owen.Hi Ragu,
The strange thing is that this table used to be displayed up until around 6 weeks ago, when it just disappeared off the EWA report. Nothing was changed (knowingly) to cause this. Also, the graph that the table refers to is still included in the report, it's just the table that's disappeared. If anything had been changed, I would have expected both graph and table to change.
Thanks for your help.
Arwel. -
Dear Friends,
This is with regard to GL account wise balance/trial balance report based on dates (From...To format).
We have tried all standard GL reports especially account balances and trial balance reports and all reports are showing period wise reports eventhough we put posting dates in the dynamic selection screen.
We also checked in SAP Notes and Expert Forum and none of the details are matching with our requirement.
As we are in production client (in ECC 6.0 version) and doing year end procedure, it would be helpful if you could let me know whether there is any transaction code/report/program available in SAP to meet the
above requirement.
Regards,
Dwarak.Hi Dwarak,
All reports balance report are based on posting period. This information is stored in a total table by posting period. These reports are not looking to the posting documents.
When you have BW or special ledger you can create a table with day totals
Paul -
Dear all
Can I have a Delivery Date wise report for Purchase Order.
(T.Code) and what the paramenters that I have to input.
ManojHi
You can get it in the ME series 2L,2M ,2N etc by giving the delivery date range but the delivery dates will not be displayed in the report. To see the PO wise delievry date see the table EKET.
DBehera -
Problenin vendor age wise report
Hi sap gais
Cient he is asked for vendor age wise report and include that document date also required the report
pls
ypshi,
vendor age wise report
path: easy access - financial accounting - A/P - Information system - Reports for A/P accounting - Vendors items - S_ALR_87012085vandor pay history with OI stored list
on these step document date wise,
S_ALR_87012078 due date wise analysis
under output contorl data
Due Date stored list mention the days or age 10 20 40 50 100
i think ur doubt clear -
Hi Experts,
How to create daywise reports in BW.if the end user enters the from date as 01/05/2009 to 10/05/2009, in report, i need to show data that is aggregated as daywise.It should display on daywise. I have created query on Infoset,which is pulling data from 2 ODS.
Can u pls help on this issue.
Thanks,
Ram.Hi..
for displaying day wise report, you need a field having date of the record. ex. posting date. Now in query restrict that date field with a variable to allow user input interval for that date field. It will automatically show fields (which you have put in row & col section including date field) day wise.
hope it helps. if still you have problem in it, pls give more detail about your fields. -
Profit center wise report/ trail balance
Hi,
I need to see profit center wise report I went in through SAP menu. Accounting / Controlling / Profit Center Accounting / Information system / Reports for Profit Center Accounting / Interactive reporting and executed all reports but there are no values comming.
Can some one guide me where I am going wrong I need to view this report.
Please help me its urgent.
Regards,
Pallavi.Hi Kash,
When Running 1KEK getting error Profit Center Acctg locked for posting in fiscal year 2008, company code XXXX
Cany you help me on that.
Regards,
Pallavi
Edited by: Pallavi P on Jul 23, 2008 6:12 PM
Maybe you are looking for
-
A friend of mine has an iPhone with a cellular data plan, a Macbook Pro, and a mini-iPad. She's been using Facetime, but says that all of the devices used to ring at the time of an incoming Facetime call. Now only her iPhone rings. How do you set
-
i have recently bought iphone 3GS and when connected it to pc it showed up in my computer named as digital camera .. itunes was not installed at that time. then i installed itunes. and tried to connect it since then iphone isnt showing in my computer
-
HT1338 How do I install a driver for the speakers I have connected to the headphone jack?
How do you install a driver for speakers I have connected to the headphone jack?
-
Oh blast! - what have I done? How can I evert back to this morning?
Ok - you are going to believe this - it's me - StressedMum! I have been trying to connect on Messenger. I have Office for Mac but that messenger software was useless. Couldn't do what we wanted to do. So I downloaded (:(( ) aMSN. Great piece of kit.
-
Production schedule report/Standard v/s actual report
Dear experts, Need two standard report for 1) Production schedule report- production during the perion and their cost component and items break up 2) Standard v/s actual report - Standard defined for material and actually consumed in term of qty and