Sunteți pe pagina 1din 13

Dated 30 April 12

TECHNICAL SPECIFICATION
HD1395802 Italian VAT books - S_ALR_87012357 advance Return for Tax on Sales/Pur.

TABLE OF CONTENTS
Overview........................................................................................................................................... 4
1.1

Program Information...................................................................................................... 4

1.2

Document Cross-References........................................................................................ 4

1.3

Approval........................................................................................................................ 4

1.4

History of Change.......................................................................................................... 4

1.5

List of Programs............................................................................................................ 4

Specification..................................................................................................................................... 5
1.6

Requirement Description............................................................................................... 5

1.7

Technical Solution Explanation/Details..........................................................................6

1.8

Other information:.......................................................................................................... 7

1.9

Infrastructure Requirements.......................................................................................... 7

1.10

Dependencies.............................................................................................................. 7

Report............................................................................................................................................... 7
1.11

Selection-Screen......................................................................................................... 7

1.12

Selection Validation..................................................................................................... 7

1.13

Special Processing...................................................................................................... 8

1.14

Data Dictionary and Logical Database........................................................................8

1.15

Data Processing Steps................................................................................................ 8

1.16

Report Layout.............................................................................................................. 8

1.17

User Interaction........................................................................................................... 8

Data Conversion/INTERFACE.......................................................................................................... 8
1.18

Input File ..................................................................................................................... 8

1.19

Input File Location....................................................................................................... 8

//

1.20

Input File Layout.......................................................................................................... 9

1.21

Additional Information.................................................................................................. 9

1.22

Output Data................................................................................................................. 9

1.23

Output File Location.................................................................................................... 9

1.24

Output File Format....................................................................................................... 9

1.25

Additional Information.................................................................................................. 9

Transaction Development................................................................................................................. 9
1.26

Transaction Attributes.................................................................................................. 9

1.27

Screen......................................................................................................................... 9

1.28

Screen <xxxx>............................................................................................................. 9

1.29

Description................................................................................................................... 9

1.30

Screen Layout............................................................................................................. 9

1.31

Field List...................................................................................................................... 9

1.32

Field Validation............................................................................................................ 9

1.33

GUI Interface............................................................................................................. 10

1.34

Status <xxx>.............................................................................................................. 10

1.35

Menu Option.............................................................................................................. 10

1.36

Push Buttons............................................................................................................. 10

1.37

Function Keys............................................................................................................ 10

Future Enhancements.................................................................................................................... 10
1.38

Business Case........................................................................................................... 10

1.39

Analysis..................................................................................................................... 10

1.40

Solution..................................................................................................................... 10

Data Dictionary............................................................................................................................... 10
1.41

Domain...................................................................................................................... 10

//

1.42

Data Element............................................................................................................. 11

1.43

Structure <xxx>.......................................................................................................... 11

1.44

Transparent Table <xxx>............................................................................................11

1.45

Technical Settings...................................................................................................... 11

1.46

Indexes...................................................................................................................... 11

1.47

Table structure........................................................................................................... 11

1.48

View <xxx>................................................................................................................ 11

1.49

Tables........................................................................................................................ 11

1.50

Join Conditions.......................................................................................................... 11

1.51

View Fields................................................................................................................ 12

1.52

Selection Condition.................................................................................................... 12

Authorisation................................................................................................................................... 12
1.53

Authorisation Profile Requirement.............................................................................12

1.54

User Groups.............................................................................................................. 12

1.55

Authorisation Objects.................................................................................................12

Messages....................................................................................................................................... 12
1.56

Message Class Texts.................................................................................................12

1.57

Selection Messages.................................................................................................. 12

1.58

Text Symbols............................................................................................................. 12

Unit Testing..................................................................................................................................... 13

Overview

1.1

Program Information

SAP CRM/R/3 Version


Business Area1
Location / System2
1

R/3
HR
R3D

Developer
Bus. Consultant
Business Contact

BW, CRM, FI, HR, MM, etc.

//

Venkat(VGIRIBAB)

Development Class
Type of Program

1.2

ZARMR3
Report

Document Cross-References3
Document Name

DocExplorer.

Functional Specification

1.3

Comments
changes to Italian VAT Books
standard Report

Approval
Approval Type

Approved by

Dept.

Date

Business requirement
Technical design
Technical QA
Final Requirement sign-off

1.4

History of Change

Version

Date of Change

1.0

15April 12

1.5

Description

By

Made the changes to address


fields

List of Programs

Specification
1.6

Requirement Description4

The Advance return for tax on sales/purchases (S_ALR_87012357) for Italy includes additional
fields not in the standard report, such as Bill to Party and Bill to Party Name. These additional
fields are added in Class ZCL_IM_RFIDIT_TAX_BADI_011,
IF_EX_FI_TAX_BADI_011~APPEND_TAX_ITEM.
There is now an additional requirement (HD1395802 ) to add the following fields:
Input VAT - VAT number (LFA1-STCEG) and Vendor Address (LFA1)
Output VAT - Bill to Party Address (KNA1)
Requirement - Input Tax: VAT number and Vendor Address required between Busuness
PartnerName and G/L
Advance return for tax on sales/purchases (S_ALR_87012357) Variant ITALY INPUT 10:
2

BWD, CMD, R3D, etc.

This section should contain a location list for all supporting documentation pertaining to this request.

A basic functional description for this development request

//

Requirement - Output tax: Bill to Party Address required between VAT (Bill and G/L
Advance return for tax on sales/purchases (S_ALR_87012357) Variant ITALY OUTPUT 20:

//

1.7

Technical Solution Explanation/Details

Run mode
Transaction
Run frequency/time
Approximate data volume

Foreground/Background

I) Make the below code changes under the method APPEND_TAX_ITEM of the BADI definition
FI_TAX_BADI_011(Implementation is ZRFIDIT_TAX_BADI_011).
If ch_tax_item-mwskz is 'A2' or A6 or A8 or AG or A1 or A3 or AE, make the below
changes.
1. Get LAND1 into lv_land1 By adding LAND1 to the existing query to VBPA
2. Add the additional address fields ort01 pstlz regio stras to the existing query to KNA1.
3. If lv_land1 is Italy (IT), Move the required address fields ort01,pstlz,region, stras and
land1 from lt_kna1 to ch_tax_item-ort01,ch_tax_item-pstlz, ch_tax_item-user_field_b
and ch_tax_item-stras and ch_tax_item-countryt.
If ch_tax_item-blart is 'DA' or 'DR' or 'DZ', Make the below changes.
1. get kunnr into lv_kunnr from VBPA
Where vbeln eq ch_tax_item-belnr and parvw eq 'RE' and land1 eq 'IT'.
2. get name1 name2 stceg land1 ort01 pstlz regio stras into lt_kna1 from kna1
Where kunnr eq lv_kunnr.
3. If lv_land1 is Italy (IT), Move the required address fields ort01,pstlz,region, stras and
land1 from lt_kna1 to ch_tax_item-ort01,ch_tax_item-pstlz, ch_tax_item-user_field_b
and ch_tax_item-stras and ch_tax_item-countryt.

//

IF (ch_tax_item-blart is 'KA' or 'KE' or 'KR' or 'KG' ) and


(ch_tax_item-mwskz is 'VG' or 'A') and
(ch_tax_item-bukrs is '2050' or '2060').
Repeat the above 3 steps.
II) Make the below code changes under the method MODIFY_FIELDCAT of the BADI definition
FI_TAX_BADI_014(Implementation is ZRFIDIT_TAX_BADI_010).
1. If wa_ch_tab_fieldcat-fieldname = 'USER_FIELD_B',
Move Region to wa_ch_tab_fieldcat-seltext_s, wa_ch_tab_fieldcat-seltext_M,
wa_ch_tab_fieldcat-seltext_l, wa_ch_tab_fieldcat-reptext_ddic and Move 25 to
wa_ch_tab_fieldcat-outputlen.
2. Modify ch_tab_fieldcat from wa_ch_tab_fieldcat

1.8

Other information:

1.9

Infrastructure Requirements5

1.10

Dependencies6

Report

1.11

Selection-Screen

Parameter
Name7
P_xxxxxx

Type8
C

Comments9

Description
xxxxx

1.12

Selection Validation10

1.13

Special Processing11

xxxxx

Any special infrastructure requirements: third party systems, etc

List of any, pre-processing that must occur: execution of other programs, etc

P = Parameter and S = Select Option

Output type: C = Check box, D = Data Dictionary field, R = Radio button and T = Text

Any comments or details not captured within the other fields: Screen number, memory ids, etc

10

List and logic of validation for selection-screen variables

11

Details of any addition selection-screen processing refer. to Processing Flow Detail

//

1.14

Data Dictionary and Logical Database12


Type13

Name

1.15

Data Processing Steps14

1.16

Report Layout
Source Field

1.17

Description

Description

Row

Column

Comments

User Interaction15

Data Conversion/INTERFACE
1.18

Input File

1.19

Input File Location


Description

1.20

Destination (Logical, Physical, FTP, etc)

Input File Layout

Field

Type

Length

1.21

Additional Information16

1.22

Output Data

1.23

Output File Location

Description

Description

Comments

Destination (Logical, Physical, FTP, etc)

12

List of date dictionary objects and logical databases used

13

Type: L = Logical database, T = Transparent Table and V = View

14

Data manipulation steps to produce report output refer. to Processing Flow Detail

15

For logic of interactive reports refer. to Processing Flow Detail

16

Other information regarding input file: parameters, sorting, grouping, totalling

//

1.24

Output File Format

Field

1.25

Type

Length

Description

Comments

Additional Information17

Transaction Development
1.26

Transaction Attributes

1.27

Screen

1.28

Screen <xxxx>

1.29

Description

1.30

Screen Layout

1.31

Field List

1.32

Field Validation

1.33

GUI Interface

1.34

Status <xxx>

1.35

Menu Option

Level

1.36

Function Code

Description

Push Buttons
Field name

17

Field name

Function Code

Description

Other information regarding output file: parameters, sorting, grouping, totalling

//

1.37

Function Keys
Field name

Description

Future Enhancements
1.38

Business Case18

1.39

Analysis19

1.40

Solution20

Data Dictionary21
1.41

Domain

Domain

1.42

Comment22

Length

Data Element

Data Element

1.43

Data Type

Domain

PID

Search Help

Comment23

Structure <xxx>
Field

Date
Element

1.44

Transparent Table <xxx>

1.45

Technical Settings

Name

Check Table

18

Business scenario and functional description of issue or enhancement

19

Technical description of issue and enhancement, if available

20

Possible technical solution to issue and enhancement, if available

21

List of custom fields and any included modifications

22

Other information regarding domain: value range, conversion routine, field exits, etc.

23

Other information regarding data element: field label, etc.

24

Other information regarding structure: search help, foreign key relationship, etc.

//

10

Comment24

1.46

Indexes

1.47

Table structure
Date
Element

Field

1.48

View <xxx>

1.49

Tables

Name

Tables

1.50

Join Conditions
Field Name

Table

View Fields
View Fields

1.52

Description

Selection Condition

Authorisation
1.53

Authorisation Profile Requirement

1.54

User Groups
User Groups

25

Comment25

Description

Table

1.51

Check Table

Other information regarding table: search help, foreign key relationship, etc.

//

11

Field Name

1.55

Authorisation Objects

Name

Type

Dev. Class

Auth Class

Description

Messages
1.56

Message Class Texts

ID

1.57

Number

Text

Parameters

Selection Messages
Name

1.58

Condition

Text

Text Symbols
Symbol

Text

Unit Testing
The Unit testing done for the billing document mentioned in the functional spec is attached
below.

//

12

S-ar putea să vă placă și