Beruflich Dokumente
Kultur Dokumente
Report Name
QRY_SD_BILLING_003 :
Page 1 of 13
Change History
Change Date 2008-01-07 Author Comment Initial version
Page 2 of 13
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
Page 3 of 13
1 Business Requirements
1.1 Business Process
The report provides Daily, Weekly and Quarterly Billing Details.
Page 4 of 13
3.1 InfoProvider
Use DSO Z_BILDTL.
3.2 Rows
Key Figures Shipment(Daily) Shipment(WTD) Shipment(QTD) Technical Name Z_SHIP_D Z_SHIP_W Z_SHIP_Q Display As Suppress Result Rows
3.3.1 Filters
Page 5 of 13
.
Values M0 0SALEORG(Variable Selection) ZSAL_GRP(Variable Selection) ZPROFIT(Variable Selection)
Characteristics Fiscal Year Variant Sales Organization Sales Director Profit Center
Exclude 10 and PC Exclude 200040 and 200773 Exclude ZRE,ZG2,FR and ZSR
*These are new characteristic variables. Define them as follows if the variable has not been created yet.
Page 6 of 13
.
Processing By Variable Represen ts Variable Entry Ready for Input
Char
Variable Name
Variable Desc
Shipment(WTD):
Page 7 of 13
Shipement(QTD) :
Page 8 of 13
Customer Exits
WHEN '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' EXPORTING DATE = w_date FISCVAR = '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.
Page 9 of 13
w_date = sy-datum - 1. CALL FUNCTION 'Z_GET_FISC_QTR' EXPORTING DATE = w_date FISCVAR = '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 Sales Organization Technical Name 0SALESORG Display As Key & Text Suppress Result Rows 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
Page 10 of 13
3.8 Conditions
No Condition.
4.0
No views are required.
Views
Page 11 of 13
2. Test formatting and totalling for this report by running for different combinations 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.
Page 12 of 13
Page 13 of 13