Sei sulla pagina 1di 24

FUNCTIONAL SPECIFICATION wricef

Scenario (Business Area): sd


Business Process:

PROJECT IDENTIFICATION
Project Name

Project Number

For SSDP
Customer Name

Customer Number

SAP Project Manager

Customer Project Manager

<SAP Project Manager>

<Customer Project Manager>

How to use the Template


Blue text is always intended as instructions, guidelines, explanations, hints, and tips. It has to be removed
when the document is finalized. To provide a consistent representation of this document to the customer,
chapters should not be deleted or inserted. Required additions should be made as sub-chapters to existing
chapters.
Chapters that are not relevant should be marked as such (that is, add not relevant or not applicable).
This document is intended to specify RICEFW object from a functional perspective. It will be followed by a
technical specification. This document has three main sections

General Object information, to be filled in for all RICEFW objects

Object specific section, only relevant sections need to be filled in, e.g. if this document specifies a
report fill out the general information, the report specific and

the test condition section at the end.


This document builds and refers to two preceding documents

Requirements - BPR

Solution design BPD


In addition, all RICEFW object are consolidated in the RICEFW list
The project manager and the quality manager have to revise this template before it is used for the project
and especially before it is given to the customer
Be sure to delete these instructions when you have finished!
Author

Document Location (repository/path/name)

<Author>

<Document location>

Version

Status

Date (YYYY-MM-DD)

Document Classification

0.1

Final

<Date>

Confidential

1 of 24

REVISION HISTORY

Version

Date

Description

0.1
0.2

TABLE OF CONTENT
1.

PURPOSE OF THIS DOCUMENT........................................................................................................4

2.

GENERAL OBJECT OVERVIEW.........................................................................................................5

3.

4.

2.1

Process Requirements Reference.................................................................................................6

2.2

Generic WRICEF Descriptions......................................................................................................6

OBJECT SPECIFIC DESIGN............................................................................................................... 8


3.1

Reporting (operational and analytical)...........................................................................................8

3.2

Interfaces..................................................................................................................................... 12

3.3

Data Conversion / Historical Data................................................................................................15

3.4

Enhancements............................................................................................................................. 17

3.5

Output (e.g. forms)...................................................................................................................... 18

3.6

Workflow...................................................................................................................................... 20

TEST CONDITIONS........................................................................................................................... 21

2 of 24

1.

Purpose of this document

The Specification is the basis for the developments that will be done by SAP. <Customer> has to verify and approve it
formally. Realization starts only after approval.
Within the SAP Custom Development Methodology, the Specification is the link between the business requirements
(normally given in the solution proposal) and the technical design (a separate document). It has the following goals:

Reference to the business requirements (customer requirements) given in the solution proposal.

Show the mapping into standard SAP products.

Describe the solution from an external (user or customer) point of view.


Implementation details (database model, report names, and so on) are generally NOT part of the Specification.
[Customers shall be enabled to recognize that all their requirements are taken into consideration. For approval of the
Specification they have to understand the solution.]

3 of 24

2.

General Object Overview

Object Overview
Business
Process

Object ID

SAP
Module

SAP Release

ECC6

Object Type

( ) Report
( ) Interface
( ) Conversion
( ) Enhancement
( ) Form
( ) Workflow
2nd Choice Stock Report

Object Title
Object Description

SD

2nd Choice Stock Report

Mock Up ID / Name
Cycle of Testing /
Sprint Cycle

C1 / C2 / C3 / C4

Required
Development
Completion Date

Complexity of Object

Simple / Medium /
Complex

Priority

SAP Transaction
Name

SAP Program
Name

Similar SAP
Transaction

Similar SAP
Program

Low / Medium / High

FS Control
Functional Consultant
Author and Phone
Number

<Customer>
Process Owner
and Phone
Number

Planned Date of FS
Completion

Actual Date of FS
Completion

FS Approved By

FS Approval date

Other Contact and


Phone Number

Other Contact and


Phone Number

4 of 24

2.1

Process Requirements Reference

Process Reference

Requirement ID
Requirement
Description
Gap to be
addressed
Alternative SAP
Standard Solution
2.2

8000245234/1000005230
Welfare Open PR &PO Report

Generic WRICEF Descriptions

Justification

FUNCTIONAL DESCRIPTION / DESIGN


[Welfare users need do get details about open PR and OP quantities about non stock items
for open sales orders materials.

TRANSACTION VOLUME

5 of 24

FREQUENCY & TIMING


[Please indicate the frequency that the report should run; i.e.) Ad Hoc, Daily, Weekly,
Quarterly etc, and any timing considerations that should be applied; i.e.) must be run before
7am Monday morning]
Example:
The report will be run on a monthly basis on the last day working day of the month.

DEPENDENCIES
[Predecessors and successors]

AUTHORIZATION REQUIREMENTS
<Every authorization object needs to be documented to provide the security administrator the
information on the purpose and use of the object. The following sections are the minimal
documentation requirements.>

RELATED DOCUMENTATION (ATTACH OSS NOTES, EMAILS, DOWNLOAD OF EXISTING


REPORT, ETC)

6 of 24

3.

3.1

Object Specific Design

Reporting (operational and analytical)

<reference to the RICEFW section in the BPD.>


Reporting

WRICE
F-ID

Description

Report Type
(ABAP, BI,
BOBJ)

Data Elements

Relevant KPI

Owner

Selection Criteria

7 of 24

Table/
Structur
e Name

Field Name

TVKO

Format

Defaul
t
Value

Table
Value/
Checkbox
/
Radio
Button/
Radio
Button
Group

Select
Option or
Paramet
er

Mandator
y or
Optional

Field
Labels

VKORG

Select
Option

Mandator
y

TVTW

VTWEG

Select
Option

Mandator
y

TSPA

SPART

TVAK

AUART

Select
Option
Select
Option

Mandator
y
Mandator
y

VBAK

ERDAT

T178T

VTEXT

Select
Option
Select
Option

Mandator
y
Optional

MARA

MATNR

Optional

MARA

MTART

Select
Option
Select
Option

MARA

MATKL

Select
Option

Optional

Sales
Organi
zation
Distrib
ution
Chann
el
Divisio
n
Sales
Docu
ment
Type
Order
Type
Materi
al
Pricing
Group
Materi
al
Materi
al
Type
Materi
al
Group

Optional

Functional Design, Validation and Variants

8 of 24

Select VBAK-VBELN (Sales Document)


Where
VBAK- ERDAT (Created on) = <Selection Screen>
VBAK- AUART (Sales Doc. Type) = <Selection Screen>
VBAK- VKORG (Sales Org.) = <Selection Screen>
VBAK- VTWEG (Distr. Channel) = <Selection Screen>
VBAK- SPART (Division) = <Selection Screen>
Then pass the selected VBAK-VBELN to the VBUK table as,
VBUK- VBELN (Sales Document) = VBAK-VBELN
Then fetch the data according to following conditions
If VBUK- GBSTK (Overall status) = C
Then select relevant VBUK- VBELN and pass to the LIPS table as,
LIPS- VGBEL (Reference doc.) = VBUK- VBELN
And fetch the
LIPS- VBELN (Delivery)
Next get the DISTINCT LIPS- VBELN (Delivery) by grouping against VBUK- VBELN
Then pass the set of selected DISTINCT LIPS- VBELN (Delivery) to the VBUK table
as,
VBUK- VBELN (Sales Document) = LIPS- VBELN (Delivery)
Then check VBUK- WBSTK (TotalGdsMvtStat)
If VBUK- WBSTK (TotalGdsMvtStat) = C for all LIPS- VBELN (Delivery)
Delete VBUK- VBELN
If set VBUK- WBSTK (TotalGdsMvtStat) C for any LIPS- VBELN (Delivery)
Take in to account that LIPS- VBELN and pass that value to the LIPS as LIPSVBELN and fetch the
LIPS- VGBEL (Reference doc.)
LIPS- VGPOS (Reference item)
Then assign to below variable,
Var_Sales_Doc = LIPS- VGBEL (Reference doc.)
Var_Sales_Item = LIPS- VGPOS (Reference item)
Else

9 of 24

Then select relevant VBUK- VBELN and pass to the VBAP table as,
VBAP- VBELN (Sales Document) = VBUK- VBELN
And fetch the
VBAP- VBELN (Sales Document)
VBAP- POSNR (Item
Where
VBAP- ABGRU (RejectionReason) = <Blank>
Then assign to below variable,
Var_Sales_Doc = VBAP- VBELN (Sales Document)
Var_Sales_Item = VBAP- POSNR (Item)
Then pass the selected Var_Sales_Doc and Var_Sales_Item to the VBAP table
and fetch the
VBAP-MATNR (Material) and
VBAP- KWMENG (Order Qty).
Where
VBAP- VBELN = Var_Sales_Doc
VBAP- POSNR = Var_Sales_Item
VBAP-MATNR (Material) = <Selection Screen>
VBAP- MATKL (Material Group) = <Selection Screen>
Next get the unique (Material) and sum of VBAP- KWMENG (Order Qty).
Then pass the selected VBAP-MATNR to the MARA table and fetch the
MARA-MATNR (Material)
Where
MARA-MATNR (Material) = VBAP-MATNR
MARA-MTART (Material Type) = MARA-MTART <Selection Screen>.
Then pass the selected MARA -MATNR to the MVKE table and fetch the MVKEMATNR
where
MVKE-MATNR = MARA -MATNR
MVKE-KONDM (Material Pricing Gp.) = T178T-VTEXT <Selection Screen> and
MVKE- VKORG (Sales Org.) = <Selection Screen> and
MVKE- VTWEG (Distr. Channel.) = <Selection Screen>.
Sales
Organization
Distribution
Channel
Division
Material
Material Description

VBAK- VKORG (Sales Org.) where VBAK-VBELN = Var_Sales_Doc


VBAK- VTWEG (Distr. Channel) where VBAK-VBELN =
Var_Sales_Doc
VBAK- SPART (Division) where VBAK-VBELN = Var_Sales_Doc
MVKE-MATNR
Using the Function Module READ_TEXT, pass the following
information,

10 of 24

o
o
o
o

Text ID
: 0001
Language
: EN
Text Object : MVKE
NAME
: MATNR, VKORG, VTWEG
(Ex: 1.1.1
<13 spaces>

110020)

Material Type

Pass the selected MVKE -MATNR to the MARA table as MARA-MATNR and
fetch the value of MARA-MTART

Material Gp

Pass the selected MVKE -MATNR to the MARA table as MARA-MATNR and
fetch the value of MARA- MATKL

Logical Gp

Fetch the MVKE-MVGR2 by using MVKE MATNR and MVKE-VKORG =


<Selection Screen> and MVKE-VTWEG = <Selection Screen>.

Super Gp

Fetch the MVKE-MVGR1 by using MVKE MATNR and MVKE-VKORG =


<Selection Screen> and MVKE-VTWEG = <Selection Screen>.

Material Pricing Gp

Fetch the MVKE-KONDM by using MVKE MATNR and MVKE-VKORG =


<Selection Screen> and MVKE-VTWEG = <Selection Screen>.

Total Order Qty

Sum of VBAP- KWMENG (Order Qty) for MVKE-MATNR

Stock

Pass the selected MVKE -MATNR to the MARD table as MARD-MATNR and get
the sum of MARD- LABST (Unrestricted)

Balance Qty

Stock - Total Order Qty

Short Description

Pass the selected MVKE -MATNR to the MAKT table as MAKT MATNR
(Material). Then fetch the MAKT-MAKTX (Description) where MAKT SPRAS
(Language) = EN

Open PR Qty

Fetch the
EBAN BANFN (Purchase Req.)
EBAN BNFPO (Requisn Item)
EBAN MENGE (PR Qty) and
EBAN BSMNG (PO Qty)
where
EBAN- MATNR (Material) = MVKE -VBELN (Material)
EBAN- LOEKZ (Deletion Ind.) X
EBAN-FRGKZ (Release ind.) 2 or X
<<<check each PR fully released
or not>>>
Then check,
If EBAN MENGE (PR Qty) - EBAN BSMNG (PO Qty) = 0
Delete EBAN BANFN (Purchase Req.) and EBAN BNFPO (Requisn Item)

11 of 24

from the selection


Else if EBAN MENGE (PR Qty) - EBAN BSMNG (PO Qty) > 0
Get the difference between EBAN MENGE (PR Qty) - EBAN BSMNG (PO
Qty) and count based on EBAN- MATNR (Material)
Finally display that values

Open PO Qty

Fetch the
EKPO- EBELN (Purchasing Doc.)
EKPO- EBELP (Item)
EKPO MENGE (Quantity)
Where
EKPO- LOEKZ (Deletion Ind.) X
EKPO- ELIKZ (Deliv. Compl.) = <Balnk> and
EBAN- MATNR (Material) = MVKE -VBELN (Material)
Then pass the selected data to EKET table and fetch
EKET- MENGE (Scheduled Qty)
EKET- WEMNG (Delivered)
Where
EKET- EBELN (Purchasing Doc.) = EKPO- EBELN (Purchasing Doc.)
EKET- EBELP (Item) = EKPO- EBELP (Item)
Finally display,
Sum of EKET- MENGE (Scheduled Qty) Sum of EKET- WEMNG (Delivered)
by grouping EBAN- MATNR (Material)

Report Output

12 of 24

Output Method
Example:
Saved to File / Sent to print / Send to email account / Download to excel

Example:
The main report heading will be: Contracts Nearing Expiry

Sub Heading

LAYOUT
Table/Structure
Name

Field
Name

EKET
EKET
EBAN
VBAK

MENGE
WEMNG
MATNR
VKORG

VBAK

VTWEG

VBAK
MVEK
MARA

SPART
MATNR
MTART

MARA

MAKTL

MVKE
MVKE
MVKE

MVGR2
MVGR1
KONDM

VBAP

KWMENG

Total Order
Qty

MARD
MAKT

LABST
MAKTX

Stock

Format
(ie
decimal
places)

Default Value

Column Name

Translation Rule

Scheduled Qty
Delivered
Material
Sales
Organization
Distribution
Channel
Division
Material

Material Type
Material Group
Logical Group
Super Group

Material
Pricing Gp

Short
Description

13 of 24

DRILLDOWN REQUIREMENTS

TOTALING
Example:
Number of contracts matching user selection criteria to be displayed at the bottom of the report

Any page-break requirements?


SORTING
Example:
Users will be able to sort on contract type and vendor. Default sort sequence will be by contract type.

Any page-break requirements?

PAGE BREAK
Example:
Page breaks will be used where necessary to prevent overflow of retrieved data

ERROR HANDLING
Typical errors include: No data found for given selection criteria.

14 of 24

3.2

Interfaces

<Identify all interfaces required to provide inputs to or outputs from this part of the process. Provide a
functional description of the interfaces including the source and type of data.>
Interface

WRIC
EF-ID

Description

Interface
Method

Application
s

Data Elements

Frequency /
Volumes

Owner

Interface Process Flow Diagram, incl.Transfer Method/ Network Integration

[Please insert an interface flow diagram showing source and target systems with directions]
This will include the screen flow diagram, specify the proposed load method (e.g. IDOC, batch
transaction processing), and the proposed transfer program name and the inbound/outbound file format
(e.g. .txt, .xls)]

File Specifics

[Filenames, delivery method, file type (ascii, comma-delimited, etc)

15 of 24

MAPPING SAP FIELDS TO SOURCE / TARGET


[Please provide details of the expected mapping between the Source / Target system and
SAP fields. This can either be done within a table in this document or as an attached Mapping
Document.
Specifications for the following elements should be present on the Mapping document (where
applicable):

SAP Transaction
SAP Screen number
SAP Table name
SAP Field name (functional)
SAP Field name (technical)
SAP field length
SAP field type
Mandatory / Optional flag
Source / Target Field ID
Source / Target Field Name (functional / technical)
Source / Target Field length
Source / Target Field type
Mapping Details
Implementation Comments

16 of 24

RECONCILIATION PROCEDURES & AUDIT REQUIREMENTS


Reporting

[Please describe any reporting that is expected to be provided in support of this interface]

Approach

[Detail the method of data reconciliation e.g. reports produced in SAP]

Metrics

[Provide details on the metrics used to facilitate reconciliation e.g. Record Count]

Error Handling

[Include potential errors, notification procedures, and contingency procedures.]

17 of 24

3.3

Data Conversion / Historical Data

<Note all master and transactional data conversion requirements. Please note specific fields that are unique
to this design and the business requirement that drives that design. Note whether manual and automated
data conversion requirements. Provide details of all data required from Legacy Systems (Consider System
name, level of detail, time dimension). Identify requirements for historical data conversion mandatory for the
process. This is not meant to be an exhaustive functional spec but a place to list conversions related to this
process.>
Conversions

WWRIC
EF-ID

Conversio
n Object

Source

Conversio
n Activities
(e.g.
cleansing)

Conversion
Method
(manual /
automated)

# of
Objects to
be
converted

Owner

1MAPPING SAP FIELDS TO SOURCE / TARGET


[Please provide details of the expected mapping between the Source / Target system and
SAP fields. This can either be done within a table in this document or as an attached Mapping
Document.
Specifications for the following elements should be present on the Mapping document (where
applicable):

SAP Transaction
SAP Screen number
SAP Table name
SAP Field name (functional)
SAP Field name (technical)
SAP field length
SAP field type
Mandatory / Optional flag
Source / Target Field ID
Source / Target Field Name (functional / technical)
Source / Target Field length
Source / Target Field type
Mapping Details
Implementation Comments

18 of 24

RECONCILIATION PROCEDURES & AUDIT REQUIREMENTS


Reporting
[Please describe any reporting that is expected to be provided in support of this interface]

Approach

[Detail the method of data reconciliation e.g. reports produced in SAP]

Metrics
[Provide details on the metrics used to facilitate reconciliation e.g. Record Count]

Error Handling

[Include potential errors, notification procedures, and contingency procedures.]

19 of 24

3.4

Enhancements

<Specify the enhancement based on the proposed gap resolutions listed in the Detailed Requirements and
Design documents. Provide as much detail on the requirements and design considerations as you can. If
there is a large enhancement then consider detailing that in a separate design or functional spec. document.
>
enhancements

WRIC
EF-ID
XXxxE001

Description

Data Object
(Sales Order)

Functional
Gap

Alternative
SAP Standard

Reason

Owner

Functional Design / Flow, Validation and Variants


Flow

[Please provide the flow of object to be enhanced. For example in the program XYZ go to
screen/Sub screen 101 there modify/add a field]

Design

How should the data be processed in the program functional logic?

20 of 24

3.5

Output (e.g. forms)

<Identify outputs and forms>


Output

WRIC
EF-ID

Description

Data Object Output Type


(Sales
(Form, EDI, etc.)
Order)

Frequency

Volumes

Owner

XXxxO001
Process Flow Diagram

[Please insert a flow diagram describing the form output procedure e.g. Purchase Order input
using transaction ME21N; save Purchase Order automatically generates Purchase Order
Form printout]

Form Layout

[Please provide a sample layout for first, subsequent and last pages, detailing actual
positions of output fields, fonts, font sizes]
Please indicate if there is pre-printed stock and which portions are on the pre-printed stock
Example:

Form Title
User: xxxxx2
ID
xxxxx3
xxxxx
xxxxx
xxxxx

Date: xxxxx1

Value
xxxxx4
xxxxx
xxxxx
xxxxx

Description
xxxxxxxxxx5
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx

21 of 24

Printer Requirements

Duplex Printing, label printing, label dimensions, standard, etc.

Legal Requirements

Determine if there is any text that is required legally on the form, including font size, text to be
printed on the back of documents,

Existing Sample Forms

[If an existing program is available to be enhanced, provide details in this section]

Program Name

Menu / Transaction

Legacy Form name

Legacy Program Title

Legacy Form Number

Related Transactions

22 of 24

3.6

Workflow

<Identify workflow requirements for this process. Provide detailed requirements for the workflow. e.g., purchase order
approval process and authority levels etc.>
Workflow

WRIC
EF-ID
XXxxW001

Description

Business / Data Object


(Sales Order)

Engaged Parties

Owner

Process Flow Diagram

[Please insert a flow diagram of the workflow]

Trigger Events
Transactions and Batch Programs that trigger the workflow

Start Conditions

Rules and Determination


Standard Rules
Latest End, Latest Start

Requested End , Requested start

23 of 24

4.

Test Conditions

BUSINESS TEST CONDITIONS (TO BE FURNISHED BY THE FUNCTIONAL CONSULTANT)


[Please indicate the business level test conditions that should be used to verify successful
operations of the Report]
[Document all technical scenarios associated with this development. Examples would include
1) testing an error-free run; 2) testing the exception processes; 3) testing the error handling.]
[Document all control scenarios associated with this development. Examples would include 1)
Rounding of dollars and cents; 2) Audit trail processing; 3) Reconciliation reporting]

Scenario #

Input Selection Criteria

Expected Result

24 of 24

Potrebbero piacerti anche