Académique Documents
Professionnel Documents
Culture Documents
Wipro
Confidentiality
This document is the property of WI, who owns the copyright thereof. The
information in this document is given in confidence and without the written
consent of WI, given by contract or otherwise, this document must not be
copied, reprinted or reproduced in any material form, either wholly or in
part. Also the contents of this document or any methods or techniques
available there from, must not be disclosed to any third party whatsoever
Functional
Specification
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
Table of Contents
1.0
PURPOSE................................................................................................................. 3
2.0
ROLE......................................................................................................................... 3
3.0
3.1
HEADER............................................................................................................................................................3
SPECIFICATION NAME.......................................................................................................3
FUNCTIONAL MODULE.......................................................................................................3
3.2 OBJECT VERSION HISTORY............................................................................................................................4
3.3 INPUT / HEADER / SUB-HEADING / OBJECT BODY...................................................................................4
3.3.1
Object Name:....................................................................................................................................4
3.3.2
Heading:
DEBIT MEMO FOR CASH DISCOUNTS............................................................4
3.3.3
Sub-Heading (if any):....................................................................................................................4
3.3.4
Sub-Heading (if any):....................................................................................................................4
3.4 PROGRAM FUNCTIONS....................................................................................................................................4
3.4.1
Pls. use the FS Format/ Program Logic cum selection screen template in this
way
5
3.5 ANY SPECIAL REMARKS WRT PROGRAM LOGIC OTHER THEN GIVEN IN EXCEL SHEET............................9
3.6 ASSUMPTIONS/ DEPENDENCIES/ CHECKS/ FILTERS/ HARD CODED FIELDS:.......................................9
4.0
5.0
PRODUCTION CHECKLIST.................................................................................9
1.0 Purpose
Page 2 of 9
Functional
Specification
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
2.0 Role
Header
Specification Name
Specification Number
SAN_FS_SD_REVERSAL OF CASH
DISCOUNTS_002_1.0
Specification Type
(Report / Module Pool / Interface
/ BDC / SAP Script / Dictionary/
Enhancements)
Process Development
Functional Module
Priority (H /M /L)
Arun Kumar
Kiran Marekar
3.2
New
Version
Page 3 of 9
Previous
Version
Date of
change
Functional
Specification
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
Program Name
Development Class
Transaction Code
Completion Date
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.4
3.4.1
Program Functions
Pls. use the FS Format/ Program Logic cum selection screen
template in this way
Cash discount is already captured in each commercial invoice of trade sales (distribution channel 10) as one
condition type ZCSH and this value is statistical at the time of commercial invoice and is deducted from the base
price of the condition type ZPRO.
As per the discussion, all plants would be adopting a uniform process such as including only the cash discount in the
commercial invoice as a statistical condition.
There would be two z tables for the slab rate maintenance.
1. Create a Z table, with the Region of the Plant, Plant code and no of days indicating the payment receipt of
the customer. This table is used in exceptional cases such as West Bengal depots where the dumping is
done.
Country
Region of Plant
Plant
IN
IN
IN
25
25
25
1404
2404
3404
From
Date
0
4
6
To
Date
3
5
10
Slab
From Day
To Day
120
100
80
01.01.2009
01.01.2009
01.01.2009
31.12.2010
31.12.2010
31.12.2010
Page 4 of 9
Type
of
Instrument
C or D
Functional
Specification
IN
IN
IN
IN
IN
IN
IN
IN
IN
25
25
25
25
25
25
25
25
25
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
1405
2405
3405
1406
2406
3406
1410
2410
3410
0
4
6
0
4
6
0
4
6
3
5
10
3
5
10
3
5
10
120
100
80
120
100
80
120
100
80
01.01.2009
01.01.2009
01.01.2009
01.01.2009
01.01.2009
01.01.2009
01.01.2009
01.01.2009
01.01.2009
31.12.2010
31.12.2010
31.12.2010
31.12.2010
31.12.2010
31.12.2010
31.12.2010
31.12.2010
31.12.2010
2. Create a Z-table, with the Region of the plant and no of days indicating the payment receipt of the customer.
Country
Region of Plant
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From
Date
To
Date
Slab
Page 5 of 9
From
Day
To Day
Type
of
Instrument
C or D
Functional
Specification
IN
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
35
Page 6 of 9
Functional
Specification
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
VBELN
Billing Document
VKORG
Sales Organization
VTWEG
Distribution Channel
FKDAT
Billing date for billing index
BELNR
Accounting Document Number
BLAND
Region (State)
KUNRG
Payer
FKIMG
Actual Invoiced Quantity
MEINS
Base Unit of Measure
MATNR Material Number
Also to fetch
Customer Name (NAME1) from KNA1 based on KUNRG and
Material Description (MAKTX) from MAKT based on MATNR
And check the profit center (PRCTR) of the billing documents and if the profit center is different then the system
should create two Debit notes for the customer and after the quantity cumulation
Eg: If the customer is billed for 100 MT in depot 1901 and 200 MT in depot 2901, then the system should check for
the slab as defined in Z table and then multiply rate * 100 MT (based on the plant in the invoice) as one Debit note
and rate* 200 MT as another Debit note.
Output:
1) Output should be in ALV Grid form.
2) Summation for the field Quantity (FKIMG)
a) For every material
b) For every customer
c) For each profit center
3) On double clicking the customer (KUNRG), other details should be populated in ALV Grid list.
Apart from the above list, following columns need to be appended
1) Quantity slab from and TO as per Z table (Based on the quantity shown in yellow color, system should pick up
respective data from Z table)
2) Rate from Z table (Based on the slab available for the above combination from the Z table)
Note: While creating the sales order through BAPI, pass 0 into VBAK- TAXK1 where VBRP- REGIO_AUFT is
not equal to 35 i.e., the taxes are applicable in case of Uttaranchal only.
Execution of BAPI
Once the user validates the record and upon execution / F8 the system should check whether, these Debit notes are
already generated. This can be checked by verifying whether the input month is already appended in the field
Update from- DATAM and Update To-DATAM.
If it is blank, then system should prompt a message Do you want you process for generating the Debit Notes",
On clicking OK, system should process the BAPI
Step-6-Debit Note Processing through BAPI
A. Creation of Debit note request (VA01)
Order Type ZDDM- Depot, ZSDM- Factory
Sales Organization 1000
Distribution Channel 10 (Trade)
Sales Office -1000
Sold to Party
Order Reason- AUGRUcan be used for account assgnmt
Page 7 of 9
Functional
Specification
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
Note: If VBAK-AUART = ZDDM then FKART should be ZBDM and if it is ZSDM then FKART
should be ZFDM.
Finally,
(1) System should update the Z table (1) Update From- DATAM and (2) Update To-DATAM as per the input
parameters
(2) It also output the list of Debit notes generated
3.5
3.6
OUTPUT:
A) List
B) Grid Display
C) Interactive
D) Direct Download
Page 8 of 9
Functional
Specification
4.2
SAN_FS_SD_REVERSAL
OF
CASH
DISCOUNTS_002_1.0
EXECUTION:
B) Background
4.3
Check
(tick)
Notes (Names of
reports, tr. code, etc.)
done
by
To
The
___________________
Requested By (Originator)
___________________
Functional Consultant
_____________________
Technical Consultant
Page 9 of 9