Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Filename:
154561667.doc
Page 1 of 26
Technical Specification
Version Control
Version
Date
Comment/Changes
Project or Change
Request Number
Completed By
1.0
552105
MARSX557
1.1
552278
MARSX557
1.2
552386
MARSX557
Purpose of document
The purpose of this document is to provide technical design and scope for developing ABAP object(s) and Web
applications. This will serve as an input to the developer before he undertakes the development; therefore all the
relevant sections of this document should be completed. This document will also be used by the Service Delivery
team for supporting the systems and therefore it should be kept up-to-date.
Audience
Development teams, Solution Architecture team, and Service Delivery team.
Do not store version numbers in the filename. We will now have a living master document and see section 4.2 for instructions
on how to see version history.
154561667.doc
Page 2 of 26
Technical Specification
Table of Contents
1 Development Summary..........................................................5
2 Scope Summary....................................................................6
2.1 Development Summary.................................................................................................................. 6
2.2 Development Objects per System.................................................................................................. 6
2.3 Reference Programs....................................................................................................................... 6
2.4 Dependency on Other Development or Interface ...........................................................................6
3 Development Scope...............................................................7
3.1 Generic Solution Details................................................................................................................. 7
3.1.1 Configuration............................................................................................................................................ 7
3.1.2 Authorizations.......................................................................................................................................... 7
3.1.3 Message Class and Messages................................................................................................................7
3.1.4 Selection Screen...................................................................................................................................... 7
3.1.5 Data Object.............................................................................................................................................. 7
3.1.6 Input Format............................................................................................................................................. 8
3.1.7 Output Format.......................................................................................................................................... 8
3.1.8 Output Medium........................................................................................................................................ 8
3.1.9 Output Layout Details / Sample Formats................................................................................................8
3.1.10 Screen code . ........................................................................................................................................ 9
3.1.11 Screen layout......................................................................................................................................... 9
3.1.12 Screen Field Definition........................................................................................................................... 9
3.1.13 Menu implementation ............................................................................................................................ 9
3.1.14 Screen Sequence.................................................................................................................................. 9
3.1.15 Business Logic..................................................................................................................................... 10
3.1.16 Run Mode............................................................................................................................................ 12
3.1.17 Error Handling...................................................................................................................................... 12
Page 3 of 26
Technical Specification
3.2.14 Search helps ....................................................................................................................................... 20
3.2.15 Lock Objects ....................................................................................................................................... 20
3.2.16 Number Range Objects ...................................................................................................................... 21
3.3 BW Extractors............................................................................................................................... 21
3.4 Portal / Java Developments.......................................................................................................... 21
3.4.1 General.................................................................................................................................................. 21
3.4.2 Portal iView............................................................................................................................................ 21
3.4.3 Server-side Development...................................................................................................................... 21
3.4.4 Client-side Development........................................................................................................................ 22
3.4.5 Business Logic....................................................................................................................................... 22
3.4.6 BAPIs Used............................................................................................................................................ 22
3.4.7 Authorizations........................................................................................................................................ 22
3.4.8 Error Handling........................................................................................................................................ 22
3.4.9 Branding Requirements......................................................................................................................... 22
3.4.10 Compilation.......................................................................................................................................... 22
3.4.11 Deployment.......................................................................................................................................... 22
3.4.12 Screen Sequence................................................................................................................................ 22
3.4.13 Screen layout....................................................................................................................................... 23
3.4.14 Field Definition..................................................................................................................................... 23
5 Unit Test............................................................................. 25
5.1 Unit Test Specification.................................................................................................................. 25
5.2 Test Data or Sample file............................................................................................................... 25
6 Glossary.............................................................................. 26
154561667.doc
Page 4 of 26
Technical Specification
1 Development Summary
Business Criticality:
Development Model :
Type :
High
Standard
Enhancement
Note
Please do not delete or leave any section blank; put N/A if a section is not applicable.
154561667.doc
Page 5 of 26
Technical Specification
2 Scope Summary
2.1 Development Summary
When a purchase requisition is created for indirect procurement it is subject release strategy. Only upon release
of PR, PO creation is allowed. PR approval process is subject audit and has defined approval processes. This
enhancement is to fill the gaps where the standard system is lacking. This will ensure compliance to audit
requirements.
System
Package
Development
Object
Description
ECC
ZDPS_V2P
COST_CENTER_VALIDATION1
Method
System
Development
Object
Type (Copy or
Call)
Description
N/A
N/A
N/A
N/A
N/A
154561667.doc
Page 6 of 26
Technical Specification
3 Development Scope
3.1 Generic Solution Details
3.1.1 Configuration
Area
Description
Config/Reqs
Webservice
Protocol
N/A
Security requirement
N/A
N/A
Authentication
N/A
Trans - XXnn
N/A
SAP
Comments
3.1.2 Authorizations
N/A
S.No
1
Authorization Object
SAP field
N/A
N/A
N/A
Message
Class
Message
Number
Short Text
Long Text
N/A
N/A
N/A
N/A
N/A
S Select Option
P Parameter
Field Name
S or P
Mandatory
Comments
N/A
N/A
N/A
N/A
System
Data object
Main fields
Comments
N/A
N/A
N/A
SAP
N/A
N/A
N/A
154561667.doc
Page 7 of 26
Technical Specification
3.1.5.1
Data Object
Comments
N/A
N/A
N/A
Level 1
S.No
Field Name
Comments
N/A
N/A
N/A
S.No
Field Name
Comments
N/A
N/A
N/A
Online
(List
Report,
ALV etc)
N/A
N/A
Print
(width,
80, 132
etc)
DMS
N/A
N/A
Other
Fax,
Fiche,
Telex
etc
Special Requirements
N/A
N/A
154561667.doc
Page 8 of 26
Technical Specification
3.1.10Screen code .
N/A
Transaction Code, iView etc
Transaction Text
Transaction Attribute selected
Technical description
Authorization details
N/A
N/A
N/A
N/A
N/A
3.1.11Screen layout
Screen Identification: N/A
N/A
Screen Number
Description
Size
N/A
N/A
Attributes
N/A
Format
N/A
3.1.13Menu implementation
Menu Identification
Function Key
N/A
Menu Code
Button Label
N/A
Menu Label
N/A
Processing
N/A
Module Name
N/A
3.1.14Screen Sequence
N/A
154561667.doc
Page 9 of 26
Technical Specification
3.1.15Business Logic
Check IF ls_head-estkz = 'R' OR ls_head-estkz = 'F'. If yes then check whether IM_ITEM-AKTYP =
V (Change). If yes then get IM_ITEM-BANFN and IM_ITEM-BNFPO.
Select PR Number, Item Number of PR, Account Assignment Category and Purchasing Group from
EBAN table by where PR No is equal to IM_ITEM-BANFN and Item no of PR is equal to IM_ITEMBNFPO.
SELECT banfn bnfpo knttp ekgrp
FROM eban
INTO TABLE lt_eban
WHERE banfn = lv_banfn
AND bnfpo
= lv_bnfpo.
Select PR Number, Item Number of PR, Order Number and Cost Center from EBKN table where PR
No is equal to IM_ITEM-BANFN and Item no of PR is equal to IM_ITEM-BNFPO.
SELECT banfn bnfpo aufnr kostl
FROM ebkn
INTO TABLE lt_ebkn
WHERE banfn = lv_banfn
AND bnfpo
= lv_bnfpo
AND zebkn
IN lr_zebkn.
Select Order Number, Order category, Responsible Cost Center, Settlement cost element from AUFK
table for all entries in Internal Table of EBKN where order no is present.
SELECT aufnr autyp kostv kstar
FROM aufk
INTO TABLE lt_aufk1
FOR ALL ENTRIES IN lt_ebkn
WHERE aufnr = lt_ebkn-aufnr.
Select Order Number, Order category, Responsible Cost Center, Settlement cost element from AUFK
table where Order Number is equal to ls_acdata-aufnr.
SELECT aufnr autyp kostv kstar
FROM aufk
INTO TABLE lt_aufk
WHERE aufnr = ls_acdata-aufnr.
Get Header for Requisition and Data For Line Item
ls_header = im_item->get_requisition( ).
ls_head = ls_header->get_data( ).
lt_item = ls_header->get_items( ).
154561667.doc
Page 10 of 26
Technical Specification
ls_info = ls_item-item->get_data( ).
Version 1.1
Deleted all those items from lt_item which are not present in im_item before looping at lt_item.
DELETE lt_item WHERE item NE im_item.
Page 11 of 26
Technical Specification
If previous account assignment is not equal to F and R then throw error Changing of orders only
allowed when approving cost center is same or change in account assignment field for PR approvals
based on orders not allowed after approval.
Else; If Order type in Internal Table of AUFK is 01 or Order Type is 30 and Settlement Cost Center is
Initial then check whether the Order type in Internal Table of AUFK1 is 01 or Order Type is 30 and
Settlement Cost Center is Initial. If Responsible cost center of AUKF is not equal to that of AUFK1,
then throw error Changing of orders only allowed when approving cost center is same or change in
account assignment field for PR approvals based on orders not allowed after approval else if
Settlement Cost Center of Internal table of AUFK1 is not equal to Responsible Cost Center of AUFK,
throw error Changing of orders only allowed when approving cost center is same or change in
account assignment field for PR approvals based on orders not allowed after approval.
Else; If Order type in Internal Table of AUFK1 is 01 or Order Type is 30 and Settlement Cost Center is
Initial; if Settlement Cost Center of Internal table of AUFK is not equal to Responsible cost center of
AUFK1, throw error Changing of orders only allowed when approving cost center is same or change
in account assignment field for PR approvals based on orders not allowed after approval.
Else if Settlement Cost Center of Internal table of AUFK is not equal to Settlement Cost Center of
AUFK1, throw error Changing of orders only allowed when approving cost center is same or change
in account assignment field for PR approvals based on orders not allowed after approval.
If Account Assignment Category in Internal Table of EBAN is equal to F or R and Account
Assignment Category of ls_info is not equal to F or R then check if Order type in Internal Table of
AUFK is 01 or Order Type is 30 and Settlement Cost Center is Initial then check whether the Order
type in Internal Table of AUFK1 is 01 or Order Type is 30 and Settlement Cost Center is Initial. If
Responsible cost center of AUKF is not equal to that of AUFK1, then throw error Changing of orders
only allowed when approving cost center is same or change in account assignment field for PR
approvals based on orders not allowed after approval else if Settlement Cost Center of Internal table
of AUFK1 is not equal to Responsible Cost Center of AUFK, throw error Changing of orders only
allowed when approving cost center is same or change in account assignment field for PR approvals
based on orders not allowed after approval.
Else; If Order type in Internal Table of AUFK1 is 01 or Order Type is 30 and Settlement Cost Center is
Initial; if Settlement Cost Center of Internal table of AUFK is not equal to Responsible cost center of
AUFK1, throw error Changing of orders only allowed when approving cost center is same or change
in account assignment field for PR approvals based on orders not allowed after approval.
Else if Settlement Cost Center of Internal table of AUFK is not equal to Settlement Cost Center of
AUFK1, throw error Changing of orders only allowed when approving cost center is same or change
in account assignment field for PR approvals based on orders not allowed after approval.
3.1.16Run Mode
Foreground
3.1.17Error Handling
N/A
154561667.doc
Page 12 of 26
Technical Specification
Implementation Name
Z_PR_COST_VALIDATION
Definition Name
ME_PROCESS_REQ_CUST
Multiple Use
No
Filter
No
Method Name
COST_CENTER_VALIDATION1
Business Logic
N/A
Error Handling
N/A
3.2.2 BTE
SAP Transaction
Type of BTE
BTE Number / Description
Function Module Name
Configuration Data
Error Handling
N/A
N/A
N/A
N/A
N/A
N/A
Component
Input / Output Data
154561667.doc
N/A
N/A
N/A
N/A
N/A
Page 13 of 26
Technical Specification
Business Logic
N/A
Error Handling
N/A
N/A
N/A
Business Logic
N/A
Error Handling
N/A
N/A
N/A
N/A
Business Logic
N/A
Error Handling
N/A
N/A
URL
N/A
N/A
Theme
N/A
N/A
Change Details
N/A
Error Handling
N/A
N/A
Type
N/A
N/A
Mode
N/A
Implementing Class
N/A
154561667.doc
Page 14 of 26
Technical Specification
N/A
N/A
N/A
Function Group
N/A
Business Object
N/A
Authorization
N/A
Reference
Type
N/A
N/A
Default
Value
N/A
Import/ Export/
Changing
Parameter
N/A
Comments
N/A
Table Parameters
Field Name
N/A
Reference Type
Comments
N/A
N/A
Exceptions
Short Text
Comments
N/A
N/A
N/A
Exceptions
Business Logic
N/A
Error Handling
Documentation
154561667.doc
N/A
N/A
Page 15 of 26
Technical Specification
N/A
Name
N/A
Short text
N/A
Direction
N/A
Mode
N/A
Proxy Interface
N/A
Implementing Class
N/A
Method Name
Input / Output Data
Business Logic
Error Handling
N/A
N/A
N/A
N/A
N/A
N/A
N/A
3.2.11IDOC Development
3.2.11.1 General
Overall Function Triggering
When is the IDoc Triggered
When is the IDoc created
Batch or On-line
3.2.11.2 IDoc Customizing
Additional segment(s)
Segment Name
N/A
N/A
N/A
N/A
N/A
N/A
Field description
Type
Len
Pos
Remarks
N/A
N/A
N/A
N/A
N/A
N/A
154561667.doc
Page 16 of 26
Technical Specification
No.
Field description
Type
Len
Pos
Remarks
3.2.11.4 Extension
Extension Name
N/A
N/A
Parent Segment
N/A
Mandatory
N/A
Minimum Number
N/A
Maximum Number
N/A
N/A
N/A
N/A
Extension
N/A
N/A
N/A
N/A
Message Type
N/A
Function Module
N/A
N/A
Sender/Client
N/A
Receiver/Server
N/A
Message type
N/A
N/A
Connection Type
N/A
N/A
Directory
N/A
File Name
N/A
154561667.doc
Page 17 of 26
Technical Specification
Function Module
N/A
N/A
Directory
N/A
File Name
N/A
Function Module
N/A
Send DTD
N/A
N/A
Outbound Trigger
Automatic Start
N/A
RFC Destination
N/A
N/A
N/A
RFC Destination
N/A
Content type
N/A
SOAP Protocol
N/A
N/A
Partner Type
N/A
N/A
Port
N/A
Package Size
N/A
Process Immediately
N/A
Collect IDOCs
N/A
N/A
N/A
N/A
Process Code
N/A
Condition Record
N/A
N/A
154561667.doc
Page 18 of 26
Technical Specification
3.2.11.18 ABAP Processing
N/A
Field description
Type
Len
Pos
Remarks
N/A
N/A
N/A
N/A
N/A
N/A
N/A
3.2.11.21 Error handling for inbound/outbound (link to any workflow developments)
N/A
3.2.13Bespoke Table
Table Name
N/A
Short text
N/A
Data Class
N/A
Maintenance
N/A
Transaction
N/A
N/A
Table size
N/A
Buffering
N/A
N/A
N/A
N/A
Field
name
Key
Data Elemt.
Or
type/length
Short text
Check Table
Comments,
display,
N/A
N/A
N/A
N/A
N/A
N/A
154561667.doc
F1
help,
special
Page 19 of 26
Technical Specification
3.2.13.1 Structures / Table Types
N/A
N/A
N/A
N/A
Data Elemt.
Or
type/length
Short text
Check Table
Comments,
display,
N/A
N/A
N/A
N/A
Description(s)
Comments
N/A
N/A
N/A
N/A
3.2.13.3 Domain
S.No Field
Type
Field
Length
Comments
N/A
N/A
N/A
N/A
N/A
N/A
F1
help,
special
N/A
3.2.13.5 Transaction
N/A
3.2.14Search helps
Search Help Name
N/A
Short text
N/A
Search type
Elementary / Collective
Data Source
Search Fields
N/A
N/A
3.2.15Lock Objects
Lock Object
N/A
Short text
N/A
Lock Mode
N/A
Primary Tables
N/A
Secondary Tables
N/A
Lock Parameters
N/A
154561667.doc
Page 20 of 26
Technical Specification
N/A
Short text
N/A
To Year Flag
N/A
N/A
Warning %
N/A
N/A
3.3 BW Extractors
Configuration
N/A
Data Objects
N/A
Business Object
N/A
Error Handling
N/A
Additional Info
N/A
Comments
N/A
154561667.doc
Page 21 of 26
Technical Specification
N/A
Structure name
N/A
Decription
Java Field
Java type
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Description(s)
Comments
N/A
N/A
N/A
N/A
N/A
3.4.7 Authorizations
N/A
3.4.10Compilation
N/A
3.4.11Deployment
N/A
3.4.12Screen Sequence
N/A
154561667.doc
Page 22 of 26
Technical Specification
3.4.13Screen layout
Screen Identification
Screen Number
N/A
3.4.14Field Definition
Screen Identification
Field Name
N/A
Screen Number
Description
N/A
Size
N/A
Attributes
N/A
Format
N/A
N/A
3.6 Actions
TBC
154561667.doc
Page 23 of 26
Technical Specification
154561667.doc
Page 24 of 26
Technical Specification
5 Unit Test
5.1 Unit Test Specification
Step
Step Description
Expected Results
Comments
PR No 2200017361
2
3
4
Test Case Description - Cost centre for PRs with account assignment K
1
PR No 2200017574
2
3
Test Case Description - Settlement cost centre for all other maintenance orders.
1
PR No 2200017578
154561667.doc
Page 25 of 26
Technical Specification
6 Glossary
GT
Global Table
GV
Global Variable
GV
Global Constant
GR
Global Range
LT
Local Table
LV
Local Variable
LV
Local Constant
LR
Local Range
154561667.doc
Page 26 of 26