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 PM
There 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
Similar Messages
-
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 queryWITH 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 -
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 -
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 -
Hi SAP Guru,
My client is UK base want fiscal year week wise as per below:- Fiscal year Oct to Sept.
Month Day Period Year Shift
10 28 1 +1
11 28 2 +1
12 35 3 +1
Means 1 period 4 week, 2 period 4 week, 3 period 5 week.
System is showing (date 35.12.2009 is not valid )error in period 3 and not allow to day 35.
I have maintain year dep. How can i maintain period in that case. Please advise.
Thanks in advance.
Regards,
PankajHi Pankaj,
I believe your client's fiscal year (2009) is Oct'08 to Sept'09.
this is how you have to do the config:
Fiscal year variant XX
Calender year 2009
Year Dependent X
Month Day Period Year Shift
10 25 01 +1
11 22 02 +1
12 27 03 +1
12 31 04 +1
01 24 04 0
02 21 05 0
So your day is actual date in that particular month.
I hope this helps.
Cheers
Samir -
Sales Analysis Report based on Supplier-wise
Hi Experts,
My client requirement is ,We are into trading so , we want a Sales analysis report based on Supplier-wise. like,
Selection critieria is
1)Supllier name
2)From and To date.
Heading are
Item name Sales UoM Jan(quantity) Feb(quanitity) mar(quantity) April(quanitiy).........
here, i need only the sum of the quantity for the items for that particular month based on the date giving in selection criteria.
Regards,
Dwarak
Edited by: Dwarak@SMS on Aug 23, 2010 4:29 PMHi experts,
For my clients requirement,
I could able to alter my previous query(find below).
My object is
1)To get sales report based on Manufacturer.
2)To get the TOTAL SALES QUANTITY OF THE MONTHS in the report. I go that in the below query, and only thing is that is have to minus the total Credit note for items to get the ACTUAL TOTAL SALES OF THE MONTHS. so , can anyone help me to alter the query to get me the ACTUAL TOTAL SALES OF THE MONTHS.
the query is
SELECT T0.ITEMCODE,T0.ItemName,T0.OnHand,
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 1 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JAN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 2 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'FEB ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 3 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 4 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'APR ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 5 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'MAY ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 6 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUN ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 7 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'JUL ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 8 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'AUG ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 9 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'SEP ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 10 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'OCT ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 11 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'NOV ',
(SELECT SUM(T1.QUANTITY) FROM INV1 T1 with
(NOLOCK) WHERE MONTH(T1.DOCDATE) = 12 AND T1.ITEMCODE = T0.ITEMCODE AND YEAR(T1.DOCDATE) = YEAR(GETDATE())-0) AS 'DEC '
FROM dbo.OITM T0
LEFT JOIN dbo.INV1 T1 ON T1.ItemCode = T0.ItemCode WHERE T0.SellItem = 'Y' and T0.[FirmCode] =[%0]
GROUP BY T0.ItemCode,T0.Itemname,T0.OnHand,YEAR(T1.DOCDATE) HAVING YEAR(T1.DOCDATE) =
YEAR(GETDATE())-0
ORDER BY T0. ITEMCODE -
Report for monthly sales(sales office wise,sales group wise,plant wise)
Please send the Report for monthly sales(sales office wise,sales group wise,plant wise) with T.CODE.,
Hi
As per my knowledge there is no Standard Report in SAP based on sales office, sales group. and plant.
You may create your own report using MC18,MC21 and MC24.... Otherwise ask your ABAPer's help...
Muthu -
Vendor wise product wise details report
Dear all,
please give me any standard report for vendorwise product wise details. and also customer wise and product wise details report.Pls have a look on the blw link which is the std sap reports, its provided by sap.. hope it will be helpful for u.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/erplo/sapStandardReports -
AP REPORT AGE WISE, VENDOR WISE REQUIRED
Hi,
Please give me if there is any T-code to get the AGE wise VENDOR wise AP report at on go as we know the report code ( S_ALR_87012078 ) only for the same, in which, unless otherwise, we go for drill down this report further, the report is being displayed for one vendor only and next we have to scroll to get the another vendor. This will not be helped to analysis in one paper.
In view of the above, we need all your help to get the AP report with my above requirement in SAP Standard T-Code - if any, ( or ) please confirm whether we need to go for development thro ABAP for the same.
Please guide us immediately - if possible.
Thanks
G. JanarthananHi,
Check this below reports for aging purpose for vendors
S_ALR_87012084 Open Items - Vendor Due Date Forecast
S_ALR_87012085 Vendor Payment History with OI Sorted List
S_ALR_87012104 List of Cleared Vendor Items for Printing
S_ALR_87012105 List of Down Payments Open On Key Date - Vendors
Hope this helps. Do not forget to assign points if helpful
regards,
radhika
Message was edited by:
kolipara radhika -
Datasource or Cube for GL wise customer wise sales report
Hi BI Masters,
I am using Bi. 7.0, there is requirement for Sales report i.e. 'GL wise customer wise Sales Report '. For this i am searching standard datasource or cube which can help to develop the desire report. i shall appreciate all of you if you can share your experience in this type of requirement.
With Best Regards & Thanks
Kamal Purohit
INDIAHi,
Check the following datasource in ECC in RSA5.
0FI_GL_10 General Ledger: Leading Ledger Balances
0FI_GL_11 General Ledger: Balances of Leading Ledger via Line Items
0FI_GL_12 General Ledger: Balances of Leading Ledger via Delta Queue
0FI_GL_2 General ledger: Transaction figures - Cost of sales ledger
0FI_GL_4 General Ledger: Line Items with Delta Extraction
0FI_GL_6 General Ledger Sales Figures via Delta Extraction
0FI_GL_7 General Ledger Cost of Sales Ledger via Delta Extraction
0FI_GL_8 General Ledger: Statistical Key Figures
0FI_TX_4 Taxes: Line Items by Means of Delta Extraction
Thanks
Reddy -
Customer wise Item Wise Price List History Report
Hello Experts,
My Customer Wants the Customer wise Item Wise Price List History Report
Dixit PatelDear Dixit,
SELECT CardCode,ItemCode,T0.DocDate,DocNum,Price FROM RDR1 T1
INNER JOIN ORDR T0 ON T1.DocEntry=T0.DocEntry
ORDER BY CardCode,ItemCode,T0.DocDate DESC
Is this will be enough?
Best Regards,
Hendry Wijaya -
Can i view customer report as per the business area wise , region-wise how?
can i view customer report as per the business area wise , region-wise how?
Hi,
You can view the report business area wise, extract the report and go to dynamic selection and selection business area. When the report is display just sub total on business area. System is showing report as per your requirement.
Regards,
Pankaj -
Cost Center Report with Cost Element wise Subtotal
Hi All,
We have a requirement where customer wants a Cost Center report with Cost Element wise Subtotal and selection options required are Company Code, Cost Center, Cost Element.
KSB1 solves the requirement, but when executed for 2 or more company codes it is taking 3 to 4 hours.
The other alternative report we tried is S_ALR_87013611- Actual/Plan but this report gives debit and credit values in seperate columns.
Please let me know if we can copy the report S_ALR_87013611 and change it using report writer to have the output by Cost Element wise total.
Also please let me how we can increse the speed of KSB1 report.
Thanks
Satishfor KSB1 Report the following is my suggestion
1. Please go to the selection criteria for the cost elements and de select the secondary cost elements in the the exclude range and try running the report this is generate the report faster.
2. also check the date range please give the date range for 3 t months and if you want to run for multiple company codes. if you want to execute it for longer periods say 9 months or 6 months generate the report in 2 to 3 installments and download them to your excel and consilidate them in excel for your analysis
Best Regards,
Maybe you are looking for
-
Working Color type always CMYK? Issue opening files in flash
I have illustrator CS3. The problem is I create a web document, set to rgb colour, I can view proof colours on monitor to see how it looks as jpeg, thats fine. The issue is when importing an AI file into flash it uses cmyk colours? Why is this? Is il
-
How do I receive a hpprinter email address?
Where can I obtain a hpprinter printer email address for my printer??
-
I'm running Yosemite 10.10.2 on a mid 2010 Macbook Pro 13" Ever since upgrading to Yosemite, I haven't been able to play flash video without it skipping, freezing and stuttering. It happens on players like JW Player. This doesn't happen on non-flash
-
Can't find AE CC Folder?
I'll try to explain the whole situation to better explain the situation. I got a colorpack from FilmRiot in which you put the presets in a folder for After Effects. When I originally got this, I had After Effects CS6, I was able to find the support f
-
Clickable hypertext links in Edge
Hi, Is it possible to have clickable hypertext links within a text element in Adobe Edge ? I have a layout where a sidebar with text comes in as an overlay as animation completes. When I try to code in a text link in a text element, the HTML shows