Академический Документы
Профессиональный Документы
Культура Документы
Kah Jun, Lai Author The author is signing to confirm that this document has been prepared in
accordance with an approved document management process, that content is
consistent with the deliverable definition found in the GSOP_0286 Design System,
that relevant input from any contributory authors has been included and that an
appropriate review / editing process has been conducted.
Developer The developer, selected by the Project Manager as responsible for the design of
the system, is signing to confirm that the Design Specification is fit for purpose,
that it will deliver a computer system that satisfies the System Requirements and
that it will be used for the development or configuration of the computer system
Table of Contents
Design Specification for...............................................................................................................................1
CERPS DS – CF – Planning Function Exits................................................................................................1
IQMS Role and Reason for Approval..........................................................................................................1
1 Introduction 3
2 Definition/Acronyms...................................................................................................................................3
3 General Statement of Design.....................................................................................................................3
3.1 Assumptions..............................................................................................................................................4
4 References 4
5 Platform Architecture and Environment...................................................................................................5
6 Software Architecture.................................................................................................................................5
6.1 Generic Solution Details............................................................................................................................5
6.2 Specific Solution Details .........................................................................................................................15
7 User Interface............................................................................................................................................16
8 System Operation Specification..............................................................................................................17
9 Data 17
10 Security 18
11 Revision History......................................................................................................................................18
12 Appendices.............................................................................................................................................19
1 Introduction
This document aims to describe the specification for the Revaluation Functionality. The Revaluation
Functionality is based on the developed Class ‘ZCL_PF_REV_SELKF’. The Revaluation Functionality is
used to modifiy the values of the Gross Margin Planning. In this DS the Class ‘ZCL_PF_REV_SELKF’ will be
described in detail.
2 Definition/Acronyms
Item Definition
SAP SAP R/3 version 4.7 as implemented in CERPS
NA Not Applicable
‘IF_RSPLFA_SRVTYPE_IMP_EXEC~EXECUTE’ – Execution
Parameters:
‘ZV_SEL_KF’ – Key Figure,
‘ZV_REV_TYPE’ – Revaluation Type,
‘ZV_REV_PCT’ – Revaluation Percentage.
The traceability between design elements and the System Requirements (SR)
is recorded in the Trace Matrix in Appendix
Tools + version ABAP/4
3.1 Assumptions
• Function Type call shall be trigger by a function pool program to immediately start update.
4 References
NA
6 Software Architecture
N/A
N/A
Selection Screen
Three fields are relevant on the Selection Screen of the corresponding Planning Layout:
Field Field short description Short explanation
parameter
ZV_SEL_KF Key Figure The Key Figure to be modified.
Input Format
N/A
Output Format
N/A
Output Medium
N/A
Screen Summary
N/A
Business Logic
Introduction
This Function Type ‘ZPF_REV_SELKF’ will be used to revaluate the P&L items
and will be called at the time of execution of the assigned BI-IP function. The
Function Type is assigned to exactly one Class which will be explained in more
detail.
The BI-IP system uses this Function in the BI-IP configuration, however the
Detailed Description of the BI-IP configuration is not part of this document.
Program logic
A Planning Function –which uses this function- reads all planning line items
within a specific planning subarea (described in the detailed description of the BI-
IP configuration). The User will choose from a drop down variable field which
Revaluation Function she/he wants to modify. Following Revaluation Function
values can be choosen:
01 Volume Normal
02 Volume Tender
03 Volume SD Stock
04 Volume Sample
06 Price Normal
07 Price Tender
08 Price SD Stock
11 Dis.Nor - Fin
Arrangements %
12 Dis.Nor - Bus.Building %
14 Dis.Ten - Price
Allowance %
16 Dis.SDS - Price
Allowance %
18 R&A Normal %
20 R&A Tender %
21 R&A Tender Adj
22 R&A SD Stock %
24 Reb.Nor - Price
Allowance %
26 Reb.Nor - Fin
Arrangements %
27 Reb.Nor - Bus.Building
%
28 Reb.Nor - Other
Rebates %
29 Reb.Nor – Adjustment
30 Reb.Ten - Price
Allowance %
31 Reb.Ten - Other
Rebates %
32 Reb.Ten – Adjustment
33 Reb.SDS - Price
Allowance %
34 Reb.SDS - Other
Rebates %
35 Reb.SDS - Adjustment
36 Co-Promotional Income
49 Cost FG - Std/Unit
50 Cost FG - Variance
51 Cost FG - Other
52 Royalties %
53 Royalties Adjustment
54 SB14 - Release/Unit
55 SB14 - Variance
56 SB14 - Other
After the User chose the proper ‘Revaluation Function’ Variable Field value, then
the Planning Function will read the ‘ZCFGM_TT_REVAL’ table. This table will
determine the corresponding ‘Revaluation Key Figure Type(s)’ and the
corresponding ‘Invoice Category(s)’ and the ‘Revaluation Key Figure(s)’ and the
corresponding ‘Key Figure(s) 1 - 3’ to each ‘Revaluation Function’.
ZKFTYPE (Revaluation Key Figure Type) –> Derived Key Figure Type from
Revaluation Function
C Standard Cost
D Discount
M Co-Promotional Income
O Other Costs
P Price
R Rebate
S SB14
V Volume
Invoice Category(s):
1 Sales
2 Samples
3 Tenders
4 Free Goods
6 Management alloc.
YROYPER Royalty %
The User will have two Buttons on the Entry Screen. These Buttons will
determine, whether the revaluation should be executed according to the
percentual or according to the absolute calculation methodology.
Example:
The original value of the Key Figure is 100 and the Percentual Revaluation factor
is 5. In that case the new value will be 105.
Example:
The original value of the Key Figure is 1000 and the Absolute Revaluation factor
is 5. In that case the new value will be 1005.
The Program reads the original Line Items and the original Key Figure(s) and
reads the ‘ZCFGM_TT_REVAL’ Table Items (Key is the ‘ZREVALFN’ field). The
Program modifies the values of the ‘ZKEYFIGURE‘ Key Figure, which is in the
corresponding line item of the ‘ZCFGM_TT_REVAL’ table.
If the ‘Key Figure Type’ is equal ‘V’ = ‘Volume’, then additional Key Figures
(‘ZKFREF1’, ‘ZKFREF2’, ‘0G_QVV901‘, 'YFIVOLADJ', 'YMKVOLADJ',
'YSUPCONST') should be taken into consideration by the ‘Volume’ Key Figure
calculation.
_______________________________________________________________
Calculation logic of the percentage values by the ‘Volume’ ‘Key Figure Type (both
for Key Figure Type ’C’ and for Key Figure Type ‘N’:
Key Figure value = (original Key Figure value + additional Key Figure 1 value
(‘ZKFREF1’) + additional Key Figure 2 value (‘ZKFREF2’) + Key Figure value of
the (YSUPCONST) KF) * Revaluation Factor - additional Key Figure 1 value
(‘ZKFREF1’) - additional Key Figure 2 value (‘ZKFREF2’) - Key Figure value of the
(YSUPCONST) KF.
Calculation logic of the percentage values by the ‘non Volume’ ‘Key Figure Type’:
______________________________________________________________
Calculation logic of the absolute values by the ‘Volume’ ‘Key Figure Type’ if
aggregation type eq ‘N’:
Calculation logic of the absolute values by the ‘non Volume’ ‘Key Figure Type’ if
aggregation type eq ‘N’:
______________________________________________________________
Calculation logic of the absolute values by the ‘Volume’ ‘Key Figure Type’ if
aggregation type eq ‘C’:
_______________________________________________________________
Run Mode
Function Call
Error Handling
NA
Element ID STD_00000109775/0001
Business Object NA
Authorisation NA
Business Object NA
Authorisation NA
Element ID STD_00000109775/0003
Business Object NA
Authorisation NA
7 User Interface
NA
8 System Operation Specification
NA
Element Id Description
NA
9 Data
Table Name Field Field Key Field Data Element ….
description
ZCFGM_TT_REVA
L
Element Id Description
NA
10 Security
Table - ZCFGM_TT_REVAL
11 Revision History
Version Reason For Revision
1.0 This is the first issue of this document. APSE number 436.
12 Appendices
STD_00000109775/0001 TBC
STD_00000109775/0002 TBC
STD_00000109775/0003 TBC
Appendices
The appendices below are optional and contain additional detailed specifications to the technical
developer where necessary during the development phase.
Each Appendix below is as a placeholder for this extra information. If it is not used for a particular
design, the content of that Appendix must be deleted and “N/A” inserted. Tables must not be left
blank if not used and the whole Table deleted..
During the Maintenance phase of the system, Operations staff may delete this optional developer
information if it creates duplication of maintenance effort e.g. program logic with actual code.
Methods
- 'ZV_SEL_KF'
- 'ZV_REV_VAL'
- 'ZV_REV_TYPE'
Parameters
Technical Description Execution of the calculation according to the settings in the initialization
method
Parameters