7/28/2019 DSR Billing Report
1/13
Billing Report Calendar Month.
January 07, 2008Business Information Warehouse
Billing Report Calendar Month.
Technical Design Document
Business Information Warehouse (BIW)
Stream Billing Report Calendar Month
Business Process Sales and Distribution
Report Name
QRY_SD_BILLING_003 : Billing Report Calendar Month.
Billing Report Calendar Month.
Page 1 of 13
7/28/2019 DSR Billing Report
2/13
Billing Report Calendar Month.
Requestor Name
Business Analyst
Author
FunctionalDocument Status[open, in progress, reviewed, finished]
Change History
Change Date Author Comment
2008-01-07 Initial version
Billing Report Calendar Month.
Page 2 of 13
7/28/2019 DSR Billing Report
3/13
Billing Report Calendar Month.
CHANGE HISTORY.....................................................................................................................................2
1 BUSINESS REQUIREMENTS..................................................................................................................4
2.0 CONCEPTUAL DESIGN........................................................................................................................5
3.0 TECHNICAL DESIGN............................................................................................................................5
CUSTOMER EXITS......................................................................................................................................9
3.8CONDITIONS..........................................................................................................................................11
4.0VIEWS......................................................................................................................................................11
5.0 UNIT TESTING......................................................................................................................................12
6.0 OUTSTANDING QUESTIONS............................................................................................................13
Billing Report Calendar Month.
Page 3 of 13
7/28/2019 DSR Billing Report
4/13
Billing Report Calendar Month.
1 Business Requirements
1.1 Business Process
The report provides Daily, Weekly and Quarterly Billing Details.
1.2 Report Objective
The objective of this report is to provide Daily, Weekly and Quarterly Billing Details..
This report gives a clear view of the Billing Details by Daily, Weekly and Quarterly.
1.3 Report Content
In the default layout, Daily, Weekly and Quarterly Billing details.
1.4 Reporting users
1.5 Other Information
There is no candidate query to modify to meet these requirements, therefore, a new
query, REP_BILLING, will be developed in 04s to meet the Backlog Ordersbusiness need.
1.6 Report Reconciliation
1.7 Report Availability
This report will available as a
Billing Report Calendar Month.
Page 4 of 13
7/28/2019 DSR Billing Report
5/13
Billing Report Calendar Month.
a) stand-alone Bex query
1.8 Performance Requirements
According to the Business Requirements, query response times should be between 1
5 minutes, depending on the complexity of the query.
2.0 Conceptual Design
The following section explains, at a high level, the query design.
All the data required for this query will be available via a DSO Z_BILDTL. This is thedefault layout of the report generated by this new query.
The selection criteria for the query are:
3.0 Technical Design
The following sections describe details needed to build the new 04s query
QRY_SD_BILLING_003, Billing Report Calendar Month.
3.1 InfoProvider
Use DSO Z_BILDTL.
3.2 Rows
Key Figures Technical Name Display
As
Suppress
Result Rows
Shipment(Daily) Z_SHIP_D
Shipment(WTD) Z_SHIP_W
Shipment(QTD) Z_SHIP_Q
3.3.1 Filters
Billing Report Calendar Month.
Page 5 of 13
7/28/2019 DSR Billing Report
6/13
Billing Report Calendar Month.
Characteristics TechnicalName
Values
Fiscal YearVariant
0FISCVARNT M0
SalesOrganization
0SALESORG 0SALEORG(Variable Selection)
Sales Director 0SAL_GRP ZSAL_GRP(Variable Selection)
Profit Center 0PROFIT_CTR ZPROFIT(Variable Selection)
Customer
Group
0CUST_GROUP Exclude 10 and PC
Customer 0SOLD_TO Exclude 200040 and 200773Billing Type 0BILL_TYPE Exclude ZRE,ZG2,FR and ZSR
3.3.2 Free Characteristics
Characteristics Technical Name
Billing Type 0BILL_TYPE
Customer 0SOLD_TO
3.4 Selection Criteria
Use the following characteristic value variables for this query:
Characteristic
Value Variable
Technical Name Input Type Mandatory /
Optional
*These are new characteristic variables. Define them as follows if the variable hasnot been created yet.
Billing Report Calendar Month.
Page 6 of 13
7/28/2019 DSR Billing Report
7/13
Billing Report Calendar Month.
Char VariableName
VariableDesc
ProcessingBy
VariableRepresen
ts
VariableEntry
Readyfor
Input
3.5 Restricted Key Figures
Shipment(Daily) :
Shipment(WTD):
Billing Report Calendar Month.
Page 7 of 13
7/28/2019 DSR Billing Report
8/13
Billing Report Calendar Month.
Shipement(QTD) :
Billing Report Calendar Month.
Page 8 of 13
7/28/2019 DSR Billing Report
9/13
Billing Report Calendar Month.
Customer ExitsWHEN 'Z_CURRDATE'.
IF I_STEP = 2.
w_date = sy-datum - 1.
l_s_range-low = w_date.l_s_range-sign = 'I'.l_s_range-opt = 'EQ'.APPEND l_s_range TO e_t_range.EXIT.
ENDIF.
WHEN 'Z_CURWEEKD'.
IF I_STEP = 2.
clear : w_date.
w_date = sy-datum - 1.
CALL FUNCTION 'Z_GET_FISC_WEEK'EXPORTINGDATE = w_dateFISCVAR = 'M0'
IMPORTING
FISCWEEK = W_WEEK.
l_s_range-low = W_WEEK.l_s_range-sign = 'I'.l_s_range-opt = 'EQ'.APPEND l_s_range TO e_t_range.
EXIT.
ENDIF.
WHEN 'ZCUR_QTRD'.
IF I_STEP = 2.
clear : w_fyear,w_date.
Billing Report Calendar Month.
Page 9 of 13
7/28/2019 DSR Billing Report
10/13
Billing Report Calendar Month.
w_date = sy-datum - 1.
CALL FUNCTION 'Z_GET_FISC_QTR'EXPORTINGDATE = w_dateFISCVAR = 'M0'
IMPORTING* FISCQTR = w_fqtr
FISCQTRYR = w_fyear.
l_s_range-low = w_fyear.l_s_range-sign = 'I'.l_s_range-opt = 'EQ'.APPEND l_s_range TO e_t_range.
exit.
ENDIF.
3.7 Columns
Add the following characteristics / key figures to the columns:
Characteristic /
Key Figure
Technical Name Display
As
Suppress
Result Rows
Sales Organization 0SALESORG Key & Text Always Display
Add the following Key Figures to the key figure structure. Make sure to suppress the
Overall Result for the key figure rows.
The shaded boxes indicate the column does not apply for the key figure.
Key Figure
Name
Technical Name Key Figure
Type
Formula
Billing Report Calendar Month.
Page 10 of 13
7/28/2019 DSR Billing Report
11/13
Billing Report Calendar Month.
3.8 ConditionsNo Condition.
4.0 Views
No views are required.
Billing Report Calendar Month.
Page 11 of 13
7/28/2019 DSR Billing Report
12/13
Billing Report Calendar Month.
5.0 Unit Testing
The data for this report comes from DSO Z_BILDTL. For unit testing, this report data
may be reconciled with the contents of that MultiProvider:
1. Using LISTCUBE, compare BW report data with LISTCUBE results. Run forseveral variations and combinations of input variables.
2. Test formatting and totalling for this report by running for differentcombinations of below:
Varying ranges of fiscal quarters
Varying values of materials
3. Tally the standard costs with that in the material master from R/3.
4. Execute any additional tests to prove functionality.
Billing Report Calendar Month.
Page 12 of 13
7/28/2019 DSR Billing Report
13/13
Billing Report Calendar Month.
6.0 Outstanding Questions
1. The standard cost of a material is changed only at the end of a quarter.
2. The current infrastructure gets the values on the basis of a period. Can thestandard cost for a quarter be considered as the standard cost for a period
lying in that quarter?
For example if the first assumption is correct, and all the three periods in the quarter
have the same standard cost for a material, then the standard cost for a quarter isthe standard cost for a period lying in that quarter.
Billing Report Calendar Month.
Page 13 of 13