You are on page 1of 9

Functional Specification

Functional Specification

FS id: FI_R_032
Name: Spread Calculation

1/9
Functional Specification

Document History

Specification
Section I: Object General Information
Title (RICEF No): FI-R-032 Date: 02.07.2016
Short description: Spread Calculation
SAP Module/Team: SAP FI
Functional Contact: Atul Kumar Vashist
Technical Contact Anshika Agarwal
Priority:
Complexity Level
Program type Report

Reviewer

Role Name Signature Date


Consultant Atul Kumar Vashist

Approver

Role Name Comments Received Date


Project Manager Aditi Guptaa

2/9
Functional Specification

Table of Contents

1. Overview and Scope 4


1.1. Functional Description 4
1.2. Assumptions 4
1.3. Transaction Volume 4
1.4. Frequency & Timing 4
1.5. Processing Type 4
1.6. Output Time 4
1.7. Retention Requirements 4
1.8. Audience and Distribution 5

2. Detailed Functional Requirements 5


2.1. Functional Specification for Reports / Forms 5
2.1.1. Report / Form Fields 6
2.1.2. Selection Criteria 6
2.1.3. Other Information 7
2.1.4. Program Name 7
2.2. Error Handling 8
2.3. Security and Authorization 8
2.4. Processing and Operational Considerations 8
2.4.1. Performance 8
2.4.2. Batch Requirements 8
2.4.3. Others 8

3. Test Script 8
3.1. Testing Pre-requisite 8
3.2. Test Case 8

4. Appendix 9
4.1. Glossary of Terms 9
4.2. Additional Reference Documentation 9

3/9
Functional Specification

1. Overview and Scope

1.1. Functional Description


Spread (Margin) Calculation is required at Sales Order level

1.2. Assumptions

1.3. Transaction Volume

1.4. Frequency & Timing

1.5. Processing Type

1.6. Output Time

1.7. Retention Requirements

4/9
Functional Specification

1.8. Audience and Distribution

2. Detailed Functional Requirements

2.1. Functional Specification for Reports / Forms


Following is the format and logic of the report for Spread Analysis report

Format is in the attached file

Logic is as under:

Pass Material Number (MATNR) in Table MAKT and get MAKTX


Pass Condition No. (VBAK-KNUMV), Line Item No. (VBAP-KPOSTNR) & Condition Type (KSCHL = PR00)
in Table KONV to get KBETR & KUMZA
Pass Condition No. (VBAK-KNUMV), Line Item No. (VBAP-KPOSTNR) & Condition Type (KSCHL = ZPR1)
in Table KONV to get KBETR.
Pass VBAK-VBELN & VBAK-POSNR in KANZ and pick KANZ - KALNR_KEKO
Then pass KANZ - KALNR_KEKO & WERKS (as given in selection screen) in KEKO and pick KEKO -
LOSGR & KEKO - MATNR, KEKO - MEINS where KZROH EQ 'X'
For HDPE Rate, Pass Condition No. (VBAK-KNUMV), Line Item No. (VBAP-KPOSTNR) & Contition Type
(KSCHL = ZBSP) in Table KONV to get KBETR & KUMZA valid as on date
Pass VBAK - VBELN in VBAP - VBELN and pick VBAP - MATNR, VBAP - VRKME, VBAP - MEINS where
VBAP - PSTYV EQ 'ZFGI'. Check for the Material Group
Pass VBAP - MATNR in MBEW and pick MBEW - VERPR
Truck Size : Pass VBAK - VBELN in VBKD - VBELN and pick VBKD - VSART (Ship Type)
No of Trucks: Pass sales order number & Co Code as given on the selection screen in VBAK - VBELN
and VBAK - BUKRS_VF and pick VBAK - ZVEHICLE. UOM to be hardcoded as 'NO' for trucks
Freight Rate : from Condition type as per Truck Size

(1) Pass Sales Order number as given on the selection screen in field VBAK - VBELN and pick VBAK -
KNUMV and then pass VBAK - KNUMV along with sales order item number as given on the selection
screen in table KONV in field KONV - KPOSN and fetch
KONV - KBETR, KONV - KMEIN, KONV - KWAEH where KONV - KSCHL EQ ' ZFRT' & 'ZFR1'
(2) Same logic as per (1) and only check for KONV- KSCHL EQ ' ZFR3' , 'ZFR4' , 'ZFR5' and if these
condition value EQ to '0' pick value from 'ZFR2'
KBETR (Rate), KWERT (Value)
Pass Sales Order number & Co Code in field VBAK - VBELN & VBAK - BUKRS and pick VBAK –ZTPI,
then pass sales order number in VBAP - VBELN and pick VBAP - POSNR & VBAP - NTGEW

5/9
Functional Specification

Row-wise logic is attached for better understanding:

Spread Calculation
Logic

2.1.1. Report / Form Fields

2.1.2. Selection Criteria

The report will be developed with following Input screen:

Sales Organization
Plant
Sale Order Number
Sales Order Date
Customer

6/9
Functional Specification

2.1.3. Other Information

1. Heading information
2. Sub Heading information
3. Totaling or other calculation requirements
4. Sorting
5. Page breaks
6. Stationary details ( layouts, paper size, etc)
7. Logo(s)
8. Interactive capabilities

2.1.4. Program Name

T-Code: ZSD_SPREAD

7/9
Functional Specification

2.2. Error Handling

2.3. Security and Authorization

2.4. Processing and Operational Considerations

2.4.1. Performance

2.4.2. Batch Requirements

2.4.3. Others

3. Test Script

3.1. Testing Pre-requisite


[Indicate the pre requisite conditions to use to verify successful operations of the conversion.]

Pre-requisite Type Data Element Details


(Master data, Config,
Other Development)

3.2. Test Case

Test Test Step Description T Code Input Data Expected Results Results Obtained
Step
No

8/9
Functional Specification

4. Appendix

4.1. Glossary of Terms

Term Definition

4.2. Additional Reference Documentation

9/9

You might also like